Skip to content

Hide secrets in system.s3_queue_settings and system.azure_queue_settings - #128955

Merged
antonio2368 merged 2 commits into
masterfrom
s3queue-settings-hide-secrets
Nov 4, 2026
Merged

antonio2368 merged 2 commits into
masterfrom
s3queue-settings-hide-secrets

Conversation

@kssenii

@kssenii kssenii commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Critical Bug Fix (crash, data loss, RBAC)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Hide secrets in system.s3_queue_settings and system.azure_queue_settings


Workflow [PR]
Sync PR [sync-upstream/pr/128955]

Version info

  • Merged into: 26.11.1.1339-master (included in 26.11 and later)

…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]>
@clickhouse-gh

clickhouse-gh Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [160affb]

Summary: ✅


AI Review

Summary

This PR hides credential values in system.s3_queue_settings and system.azure_queue_settings, using the existing engine masking rules and canDisplaySecrets permission gate. Review of head 160affb8d7fe21ed395f95e198cf5947944c26dc found no unresolved findings. The earlier Avro expectation issue is addressed, and its review thread has been resolved.

Missing context / blind spots
  • ⚠️ Runtime validation remains unconfirmed: the latest Fast test report skips 05493_s3queue_settings_system_table_hide_secrets, and the queue-enabled targeted report currently contains no test results. No local build was available. A passing queue-enabled run would close this validation gap.
Final Verdict

Status: ✅ Approve. No further code changes requested; queue-enabled CI should confirm the regression test passes.

@clickhouse-gh clickhouse-gh Bot added pr-critical-bugfix pr-must-backport Pull request should be backported intentionally. Use this label with great care! labels Nov 3, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 160affb8d with master 5087d8155 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

15 translation units recompiled, 113 s compile time in total, 15 of them have a recent master baseline.

Job report

@clickhouse-gh clickhouse-gh Bot added the comp-s3queue S3Queue/AzureQueue engines (queue-based ingestion from object storage). label Nov 3, 2026
`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]>
@antonio2368
antonio2368 added this pull request to the merge queue Nov 4, 2026
Merged via the queue into master with commit d92bcb9 Nov 4, 2026
185 checks passed
@antonio2368
antonio2368 deleted the s3queue-settings-hide-secrets branch November 4, 2026 15:00
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Nov 4, 2026
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 4, 2026
clickhouse-gh Bot added a commit that referenced this pull request Nov 4, 2026
Backport #128955 to 26.10: Hide secrets in `system.s3_queue_settings` and `system.azure_queue_settings`
robot-clickhouse-ci-2 added a commit that referenced this pull request Nov 5, 2026
Cherry pick #128955 to 26.3: Hide secrets in `system.s3_queue_settings` and `system.azure_queue_settings`
robot-clickhouse added a commit that referenced this pull request Nov 5, 2026
@robot-ch-test-poll robot-ch-test-poll added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Nov 5, 2026
Algunenano added a commit that referenced this pull request Nov 5, 2026
Backport #128955 to 26.8: Hide secrets in `system.s3_queue_settings` and `system.azure_queue_settings`
Algunenano added a commit that referenced this pull request Nov 5, 2026
Backport #128955 to 26.9: Hide secrets in `system.s3_queue_settings` and `system.azure_queue_settings`
Algunenano added a commit that referenced this pull request Nov 5, 2026
Backport #128955 to 26.3: Hide secrets in `system.s3_queue_settings` and `system.azure_queue_settings`
leshikus pushed a commit that referenced this pull request Nov 13, 2026
leshikus pushed a commit that referenced this pull request Nov 13, 2026
leshikus pushed a commit that referenced this pull request Nov 13, 2026
leshikus pushed a commit that referenced this pull request Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-s3queue S3Queue/AzureQueue engines (queue-based ingestion from object storage). pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-critical-bugfix pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants