@rapidaim/credence
v1.7.3
Published
Credential management using DynamoDB.
Downloads
20
Readme
Environment variables
Set
and get
environmental variables in and from DynamoDB.
Variable values are encrypted using a KMS key.
$> npm i
$> AWS_PROFILE=... \
AWS_REGION=... \
node /app \
--action={action} \
--env={file_name} \
--out={file_name} \
--kms={kms_key} \
--force
AWS_PROFILE
: TheAWS_PROFILE
to be used (assuming a.aws/credentials
file exists with the given profile name)AWS_REGION
: TheAWS_REGION
which will be used for the operations. Defaults toap-southeast-2
.KMS_KEY
: TheKMS KEY
(ID) used for KMS operations.
action
: Eitherset
orget
env
: The file where the environment (table, context and keys) is described. (See./env.json
for an example.)out
: (Optional) File where values will be written (onget
). Defaults to thetable
inenv.json
.kms
: (Optional) If a KMS key ID is provided, values will be encrypted/decrypted using that key.force
: (Optional) Will overwrite existing key/value pairs in the table (onset
).
Note: Creedence
will determine the output format from the out
filename's extension.