Skip to content

Cherry pick #128955 to 26.3: Hide secrets in system.s3_queue_settings and system.azure_queue_settings - #129302

Merged
robot-clickhouse-ci-2 merged 4 commits into
backport/26.3/128955from
cherrypick/26.3/128955
Nov 5, 2026
Merged

robot-clickhouse-ci-2 merged 4 commits into
backport/26.3/128955from
cherrypick/26.3/128955

Conversation

@robot-ch-test-poll

Copy link
Copy Markdown
Contributor

Original pull-request #128955

Do not merge this PR manually

This pull-request is a first step of an automated backporting.
It contains changes similar to calling git cherry-pick locally.
If you intend to continue backporting the changes, then resolve all conflicts if any.
Otherwise, if you do not want to backport them, then just close this pull-request.

The check results does not matter at this step - you can safely ignore them.

Before you resolve anything

Conflicts are often caused by a prerequisite change that has not been backported yet, rather than by a real divergence. The bot re-tries this cherry-pick against the release branch on every run, so if that is the case here it will merge itself as soon as the prerequisite lands, and you will see a comment saying so. Manual resolution is only needed while the conflict persists.

Troubleshooting

If the conflicts were resolved in a wrong way

If this cherry-pick PR is completely screwed by a wrong conflicts resolution, and you want to recreate it:

  • delete the pr-cherrypick label from the PR
  • delete this branch from the repository

You also need to check the Original pull-request for pr-backports-created label, and delete if it's presented there

The PR source

The PR is created in the CI job

kssenii and others added 3 commits November 3, 2026 13:05
…ttings`

The `value` column showed secret settings such as
`after_processing_move_secret_access_key` as is. Mask them with the same
rules as `SHOW CREATE TABLE`, unless the user is allowed to see secrets.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`StorageObjectStorageQueue::getSettings` does not carry the format settings,
so `format_avro_schema_registry_url` is always empty in the system table.
Drop it from the test, along with the format setting masking that never
applies here.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=128955&sha=5fa5b3027432800c7480a78ce4e2347e23ebbe78&name_0=PR
PR: #128955

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Hide secrets in `system.s3_queue_settings` and `system.azure_queue_settings`
@robot-ch-test-poll robot-ch-test-poll added pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only! do not test disable testing on pull request pr-critical-bugfix labels Nov 4, 2026
Resolve the conflict in `ObjectStorageQueueSettings.cpp`. The 26.3 branch has no
`Parsers/SecretArguments.h`, `Common/HiddenSecret.h` or `CurrentThread` use there,
so the secret check reads `S3Queue::SETTINGS_TO_HIDE` and `AzureQueue::SETTINGS_TO_HIDE`,
the same maps that `SHOW CREATE TABLE` uses on 26.3.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@robot-clickhouse-ci-2
robot-clickhouse-ci-2 merged commit 6f80bb7 into backport/26.3/128955 Nov 5, 2026
1 check passed
@robot-clickhouse-ci-2
robot-clickhouse-ci-2 deleted the cherrypick/26.3/128955 branch November 5, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not test disable testing on pull request pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants