Heimdall__AppSecretFile: keep the Heimdall app secret out of the process environment #78
Loading…
Reference in a new issue
No description provided.
Delete branch "heimdall/appsecret-file"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cuts follow-up heimdall-body:follow_up:bifrost-appsecret-hazard.
Heimdall:AppSecretFile(systemdLoadCredentialstyle%d/name). Resolved once in an options PostConfigure (HeimdallOptions.ResolveAppSecret); the file wins, one trailing newline is trimmed.Heimdall:AppSecret(env) still works and logs a deprecation warning without the value. Neither set: unchanged. Existing header log redaction is untouched and still covers the header.HeimdallAppSecretFileTests(14). Eight mutations each fail a test (no PostConfigure, no validator touch, Trim vs TrimEnd, env wins, empty accepted, missing swallowed, warning removed, secret logged).🤖 Generated with Claude Code