Add keycape check-config; reject duplicate clientIds
net-kingdom asked for a way to validate a rendered configuration before keycape-client.py restarts KeyCape (oidc-browser-relying-party review R4). check-config runs every startup check that needs no secret, key or upstream: validation, registry build, global tokenLifetime, policy-store clients and, with --env-names, the secretRef bindings. The report carries no values. ValidateConfig now refuses a clientId registered twice. The registry is a map, so a duplicate silently replaced the earlier registration. Also records the owners' amended CCR-2026-0018 sequence in KEY-WP-0013. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 779409@bnt-lap001 Assistant-Session: c658ca06-19b5-468d-be64-2985dc20bfd3
This commit is contained in:
parent
5bc4a366b0
commit
c528daa5be
9 changed files with 267 additions and 6 deletions
2
SCOPE.md
2
SCOPE.md
|
|
@ -171,6 +171,8 @@ or factor enrollment themselves.
|
|||
Run the issuer with `keycape --config PATH`; `keycape server` and
|
||||
`keycape migrate` are not implemented subcommands. Caller commands are
|
||||
`keycape login`, `keycape service-token` and `keycape verify-client`.
|
||||
`keycape check-config` validates a rendered configuration offline, before a
|
||||
restart (see [operations](docs/operations.md)).
|
||||
|
||||
Separate binaries under `src/cmd/` are `validator`, `lldap-export`,
|
||||
`keycape-to-keycloak`, and `lldap-to-ldap`. `make -C src build` places binaries in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue