Dotty env
dotty env¶
Store and inject credentials from the macOS Keychain.
Synopsis¶
Manage generic credentials in the macOS login keychain and inject them into
templates and processes — the way the 1Password CLI does, but with no external
service. Secrets are grouped into namespaces; each namespace is a single
keychain item under the service name "dotty:
Examples¶
dotty env add --namespace=aws AWS_ACCESS_KEY_ID
dotty env list --namespace=aws
dotty env get --namespace=aws AWS_ACCESS_KEY_ID
dotty env run --namespace=aws -- aws s3 ls
Options¶
Options inherited from parent commands¶
SEE ALSO¶
- dotty - Utilities for a terminal-driven workflow and dotfiles.
- dotty env add - Store a credential, or capture a whole .env file.
- dotty env get - Print a credential value.
- dotty env list - List the credential names in a namespace.
- dotty env remove - Remove credentials from a namespace.
- dotty env run - Run a command with a namespace's credentials in its environment.
- dotty env use - Fill a template with credential references.