Read and write environment variables. Sensitive configuration data, such as API keys, needs to happen outside of the codebase in revision control and you can use this tool to ensure an entire team and the deployment targets are in sync.
arc envdisplays environment variables for the current
arc env staging FOOBAZ somevaluewrites env variable
FOOBAZ=somevalueto staging Lambdas
arc env remove testing FOOBAZremoves a
arc env verifydisplay a report of Lambdas and their env variables
Things to note
.arcuses AWS Systems Manager Parameter Store as a centralized backing storage mechanism for app environment variables. Read more about AWS Systems Manager Parameter Store.
This file should not be committed into your project git repository.
- Generated by adding or removing env vars using
- Automatically read by
arc sandboxand populates
- Lists env vars for
stagingfor local dev
This is an example file:
# example .arc-env @testing GLOBAL asdfasdf @staging GLOBAL_KEY val