Repository navigation
Fixes #28299: mask service version secrets from 2.1.0 too - #38187
Closed
Khairajani wants to merge 1 commit into
Closed
Khairajani wants to merge 1 commit into
Khairajani wants to merge 1 commit into
Conversation
Code Review ✅ Approved 🔴 High riskThe 2.1.0 migration irreversibly masks plaintext secrets, including secret: values, in historical service versions, making original values unavailable if later needed. Extends the service version secrets masking migration to run from 2.1.0 as well as 2.0.9, so databases that recorded 2.1.0 before the 2.0.9 step existed also get their version history masked, and includes VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
This was referenced Nov 19, 2026
Contributor
Author
|
Folded into #38117. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #28299
Follow-up to #37975, from the review of its backports.
secret:values are masked: the database secrets manager reads a value starting withsecret:as part of a password, so skipping that prefix left such passwords in plain text. A secret manager reference in an old version is never resolved, so masking it loses nothing.ServiceVersionSecretsMaskingTestfailed first on asecret:prod-passwordtoken, and passes now (MySQL and Postgres).MigrationCodeFingerprintTestpasses.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no actionable issues were found.Summary
This PR extends masking of secrets in service version history to databases already at 2.1.0 and to values beginning with
secret:.secret:values too.No actionable issues found. Tests were not run during this review.
Reviews (1) · Last reviewed commit: "Mask service version secrets from 2.1.0 ..." · Reviewed by Greptile