Delete the inline signing-key PEM input
GC_ACCESS_SIGNING_PRIVATE_KEY_PEM put the signing key's bytes into the process environment, and so into any binding, unit or plan that carries environment. The recipe never declared it and GC_ACCESS_SIGNING_PRIVATE_KEY_PATH already covers the key as a file, which a binding binds through [workload.secret_files]. The signing key is now always a file. Idunn secret-files cut, Cut 1 (delete first). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d5acc94fb9
commit
d2d0778847
5 changed files with 6 additions and 21 deletions
|
|
@ -578,7 +578,6 @@ Suggested generic env surface:
|
|||
- `GC_ACCESS_BASE_URL=https://heimdall.gamecult.org`
|
||||
- `GC_ACCESS_INTERNAL_URL=http://127.0.0.1:4100`
|
||||
- `GC_ACCESS_SESSION_SECRET=...`
|
||||
- `GC_ACCESS_SIGNING_PRIVATE_KEY_PEM=...`
|
||||
- `GC_ACCESS_SIGNING_PRIVATE_KEY_PATH=/var/lib/heimdall/signing-key.pem`
|
||||
- `GC_ACCESS_SIGNING_PRIVATE_KEY_BOOTSTRAP=1`
|
||||
- `GC_ACCESS_SIGNING_KEY_ID=...`
|
||||
|
|
@ -604,10 +603,9 @@ Suggested generic env surface:
|
|||
|
||||
Only configure the providers Heimdall actually owns for a given deployment.
|
||||
|
||||
If `GC_ACCESS_SIGNING_PRIVATE_KEY_PEM` is absent, the current skeleton falls
|
||||
back to `GC_ACCESS_SIGNING_PRIVATE_KEY_PATH` if present, and can bootstrap that
|
||||
file on first boot when `GC_ACCESS_SIGNING_PRIVATE_KEY_BOOTSTRAP=1`. If
|
||||
neither PEM nor path is configured, the current skeleton falls back to an
|
||||
The signing key is always a file: `GC_ACCESS_SIGNING_PRIVATE_KEY_PATH` names
|
||||
it, and Heimdall can bootstrap that file on first boot when
|
||||
`GC_ACCESS_SIGNING_PRIVATE_KEY_BOOTSTRAP=1`. If no path is configured, the current skeleton falls back to an
|
||||
ephemeral dev signing key. That is acceptable for local iteration and
|
||||
absolutely not acceptable for real deployment.
|
||||
|
||||
|
|
|
|||
|
|
@ -44,12 +44,11 @@ Purpose:
|
|||
Notes:
|
||||
|
||||
- current skeleton signs with Ed25519
|
||||
- `GC_ACCESS_SIGNING_PRIVATE_KEY_PEM` still works for direct secret injection
|
||||
- `GC_ACCESS_SIGNING_PRIVATE_KEY_PATH` lets the service load a persisted key
|
||||
from disk
|
||||
- if the path is missing and `GC_ACCESS_SIGNING_PRIVATE_KEY_BOOTSTRAP=1`, the
|
||||
service bootstraps a new key file on first start
|
||||
- if neither PEM nor path is configured, the service still generates an
|
||||
- if no path is configured, the service still generates an
|
||||
ephemeral dev key at startup and deserves no sympathy when the `kid` changes
|
||||
|
||||
### `GET /.well-known/heimdall-configuration`
|
||||
|
|
|
|||
Loading…
Reference in a new issue