Crates.io | openv |
lib.rs | openv |
version | 0.1.0 |
source | src |
created_at | 2021-01-02 07:11:52.659712 |
updated_at | 2021-01-02 07:11:52.659712 |
description | A tool that uses the credentials stored in 1password as an environment variable. |
homepage | https://github.com/mrtc0/openv |
repository | |
max_upload_size | |
id | 330447 |
size | 41,083 |
A tool that uses the credentials stored in 1password as an environment variable.
$ eval $(op signin <sign_in_address>)
$ op create vault myenv
$ openv create myenv SECRET_TOKEN
myenv.SECRET_TOKEN> this-is-secret
$ openv list myenv
SECRET_TOKEN
$ env $(openv myenv get) sh -c 'echo $SECRET_TOKEN'
this-is-secret
$ env $(openv myenv get -n SECRET_TOKEN:MY_ENV) sh -c 'echo $MY_ENV'
this-is-secret
TBD
Check out the release page for prebuilt versions of openv
for many architectures.
TBD
# Run tests
$ cargo test
# Build
$ cargo build --bins
# Install
$ cargo install --path . --locked