command
Version:
v0.0.0-...-218c583
Opens a new window with list of versions in this module.
Published: Apr 11, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
convox/crypt
Encrypt/decrypt sensitive information
Usage
# create a key in KMS
KEY=arn:aws:kms:us-east-1:000000000000:key/00000000-0000-0000-0000-000000000000
# set up IAM credentials with access to Decrypt and GenerateDataKey on that key
$ cat <<EOF >.env
AWS_REGION=...
AWS_ACCESS=...
AWS_SECRET=...
EOF
# encrypt
$ cat .env | docker run --env-file .env -i convox/crypt encrypt $KEY > env.encrypted
# decrypt
$ cat env.encrypted | docker run --env-file .env -i convox/crypt decrypt $KEY > .env
License
Apache 2.0 © 2015 Convox, Inc.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.