feat(009,010,002): mount RAUTHY_API_KEY, closing spec 011's secret delta#57
Merged
Conversation
The operator-minted rauthy admin API key (read-users scope plus the read-only admin surfaces) joins the pod Secret as its tenth key (statecraft-secrets.sops.yaml), the catalog (37 keys; required, user-supplied), the regenerated .env.example, and infra.config.json's Encore bindings. This unblocks spec 011's github-identity resolution (federation_uid lookups at login), which has been logging no_api_key since the spec 012 deploy. secrets:validate + secrets:check green; specs 002/009/010 carry the dated notes.
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.
The operator-minted rauthy admin API key (read scopes: users, roles, groups, clients, sessions, scopes, user attributes) is wired end to end:
statecraft-secrets.sops.yamlgainsRAUTHY_API_KEYas the tenth pod Secret key (SOPS re-encrypted; value from the operator.env).infra/secrets/catalog.tomlgains the entry spec 011 §6 named as its catalog delta (user-supplied, secret, required);.env.exampleregenerated (37 keys).infra.config.jsondeclares the Encore$envbinding (takes effect in the next image; the app's env fallback covers the interim).secrets:validateandsecrets:checkgreen. On merge: Flux applies the Secret, then a pod restart makes the key visible, unblocking spec 011's github-identity resolution (currently loggingno_api_key).