Skip to content

feat(009,010,002): mount RAUTHY_API_KEY, closing spec 011's secret delta#57

Merged
bartekus merged 1 commit into
mainfrom
012-rauthy-api-key
Jul 22, 2026
Merged

feat(009,010,002): mount RAUTHY_API_KEY, closing spec 011's secret delta#57
bartekus merged 1 commit into
mainfrom
012-rauthy-api-key

Conversation

@bartekus

Copy link
Copy Markdown
Contributor

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.yaml gains RAUTHY_API_KEY as the tenth pod Secret key (SOPS re-encrypted; value from the operator .env).
  • infra/secrets/catalog.toml gains the entry spec 011 §6 named as its catalog delta (user-supplied, secret, required); .env.example regenerated (37 keys).
  • infra.config.json declares the Encore $env binding (takes effect in the next image; the app's env fallback covers the interim).
  • Specs 002/009/010 carry the dated notes.

secrets:validate and secrets:check green. On merge: Flux applies the Secret, then a pod restart makes the key visible, unblocking spec 011's github-identity resolution (currently logging no_api_key).

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.
@bartekus
bartekus merged commit 8ad1f3d into main Jul 22, 2026
2 checks passed
@bartekus
bartekus deleted the 012-rauthy-api-key branch July 22, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant