Skip to content

nsheaps/op-exec

Repository files navigation

op-exec

Execute commands with 1Password secrets as environment variables. Similar to doppler run, but uses a 1Password item as the config source.

Usage

op-exec op://vault/item -- command [args...]
op-exec op://vault/item  # print exports (for debugging)

Examples

op-exec op://Development/my-app-config -- npm start
op-exec op://Work/aws-creds -- aws s3 ls

Installation

brew install nsheaps/devsetup/op-exec

Requirements

License

MIT

About

Execute commands with 1Password secrets as environment variables

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors