Repository navigation
fix(deploy): grant read on the transit key auth-api's JWKS reads - #123
Merged
Merged
Conversation
0.21.1 moved auth-api onto its derived Vault role, auth-system-auth-api, whose policy granted only sign on auth-api-jwt. Its JWKS reads transit/keys/auth-api-jwt, so every new pod failed to start with 403 Forbidden on that path. deploy-kit 1.0 declares that read as the transit operation read.
ExtraToast
enabled auto-merge (squash)
October 27, 2026 18:15
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.
Summary
auth-api 0.21.1's new pods crash at startup:
GET transit/keys/auth-api-jwtreturns 403 Forbidden, so Spring'sjwkSourcefails. 0.21.1 moved auth-api onto its derived Vault roleauth-system-auth-api(#119), whose policy only grantedsignon that key. The JWKS also reads the key's public part. The old role allowed that read, which is why the project file said to stay on it.auth-api-jwtgrant declaresoperations: [sign, read]. deploy-kit 1.0 rendersreadasreadontransit/keys/auth-api-jwt(feat(model): grant read on a transit key deploy-kit#595).To know
Test plan
deploy-kit validate deploy/auth.project.yml deploy/envon 1.0.1: acceptedPart of JorisJonkers-dev/deploy-kit#380.