Skip to content

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:". get reads one value (like op read), use fills a template (like op inject), and run launches a process with the namespace's secrets in its environment (like op run).

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

  -h, --help               help for env
      --namespace string   credential namespace to operate on (default "default")

Options inherited from parent commands

      --profile string   profile to operate on (defaults to the active profile)

SEE ALSO