Environment variables from file
mjmeintjes opened this issue · 3 comments
mjmeintjes commented
I'd like to get the sensitive environment variables (like S3 keys) from a file instead of having them directly in the config file.
So similar to the password-file
option, maybe have an env-file
in addition to the current env
option.
creativeprojects commented
Yeah I suppose that shouldn't be difficult to implement 🤔
jkellerer commented
@creativeprojects , I'll take this one.
Had some thoughts about it last year. E.g. this feature should have the following parts:
- Multiple env files support ( e.g. https://github.com/joho/godotenv )
- Env file monitoring and reloading between run steps.
- Template func to create a temporary env file (special case of
{{ tempFile "filename" }}
) that can be used in shell hooks to pass variables around (like in github actions).