Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 572 Bytes

File metadata and controls

32 lines (21 loc) · 572 Bytes

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