Add the dependency to your
dependencies: secrets-env: github: place-labs/secret-env
SECRETS_PATH environment variable to specify the volume used for secrets injection.
If unspecified this will default to
ENV may then be used as per the standard API.
Values fetch from (in order of priority):
- environment variable
- secret of the same name
- fallback (if specified)
Note: attempts to update the environment (
=) will apply this as an env var.
Secrets are immutable.
Once set as env vars take preference over secrets, the new value is readable by the current machine, but is ephemeral.
- Fork it (https://github.com/place-labs/secret-env/fork)
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
- Kim Burgess - creator and maintainer