Skip to content

[2.1] Fixes #36586: Defer external service secret writes - #36777

Closed
gh-bot-collate[bot] wants to merge 1 commit into
2.1from
backport/2.1/pr-36587
Closed

gh-bot-collate[bot] wants to merge 1 commit into
2.1from
backport/2.1/pr-36587

Conversation

@gh-bot-collate

@gh-bot-collate gh-bot-collate Bot commented Nov 1, 2026

Copy link
Copy Markdown

Automated backport of #36587 to 2.1.

Source PR #36587
Author @pmbrull
Merge commit 715ed8492080b120c3fbd3ffefb7ca4a95eb1794
Method Clean cherry-pick — identical to the commit on main.

Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #36587 is asked to look.

resolver run

* fix(services): defer connection secret writes

Keep preparation free of vault mutations so rejected authorization cannot change credentials. Encrypt through single, versioned, and batch storage paths.

* fix(services): protect prepared connection secrets

Keep prepared and approval-staged credentials encrypted locally. Persist external secrets only when storage runs, preserving existing ciphertext during preparation.

* test(services): cover nested secret preparation

(cherry picked from commit 715ed84)
@gh-bot-collate
gh-bot-collate Bot requested a review from a team as a code owner November 1, 2026 09:11
@gh-bot-collate
gh-bot-collate Bot requested review from mohityadav766 and removed request for a team November 1, 2026 09:11
@gh-bot-collate gh-bot-collate Bot added the safe to test Add this label to run secure Github workflows on PRs label Nov 1, 2026
@gh-bot-collate

gh-bot-collate Bot commented Nov 1, 2026

Copy link
Copy Markdown
Author

🤖 This backport will not merge itself: 2.1 has no required status checks, so there is nothing for auto-merge to wait on. Merge it by hand once CI is green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant