/
Using Encrypted Env Variables with Cirrus CI
Using Encrypted Env Variables with Cirrus CI
If you need something like an account ID, token or password either backed in to the docker image, or used during the build these should be added to cirrus as a encrypted variable.
To create a new encrypted variable.
- Browse to the Cirrus project https://cirrus-ci.com/github/voluntarily/vly2
- Click the cog in the top right to access settings
- Enter the value you want the env var to have in the secured variables section
- Click Encrypt
- Copy the resulting value (i.e.
ENCRYPTED[475b8092c2cdaa9f3d7a72a2e4b3990399a7500784f53961c51316aa6310e4124fe45275b916f11dd00c43f6bd4fa7d8]) into the .cirrus.yml env section. There should be some examples already there.
, multiple selections available,
Related content
More Docker Stuff
More Docker Stuff
More like this
Deployment Design
Deployment Design
More like this
AWS Cloud Deployment Infrastructure
AWS Cloud Deployment Infrastructure
More like this
Continuous Deployment
Continuous Deployment
More like this
Setting Local environment variables for development
Setting Local environment variables for development
More like this
Archived - AWS Test
Archived - AWS Test
More like this