Load shell secrets from OpenBao instead of fish config #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Why
Shell credentials (
FORGEJO_API_TOKENand similar) sit in fish config, a plain file that a dotfiles backup or commit can leak by accident. The current one is already dead. OpenBao is live with Kanidm login, so secrets should live there and be loaded into the shell, never written to config.What
user/ginjiruu/shell), keys = env var names. Mount and policy (readable only by my OIDC identity) go through a lab/iac PR, never by hand.~/.vault-tokenis valid, read the path andset -gxeach key. If not logged in, skip quietly and print a hint to log in (vault-login.py). Nothing written to disk beyond the CLI's own short-lived token.fjand API calls fetch their token on demand instead of exporting everything into every shell.Dependencies
https://10.10.1.21:8200, IP SAN).Done when