1.7.3 • Published 4 years ago

@rapidaim/credence v1.7.3

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

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: The AWS_PROFILE to be used (assuming a .aws/credentials file exists with the given profile name)
  • AWS_REGION: The AWS_REGION which will be used for the operations. Defaults to ap-southeast-2.
  • KMS_KEY: The KMS KEY (ID) used for KMS operations.

  • action: Either set or get
  • 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 (on get). Defaults to the table in env.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 (on set).

Note: Creedence will determine the output format from the out filename's extension.

1.7.3

4 years ago

1.7.2

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.1

4 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago