Open
Description
I recently had this usecase where I wanted to store multiple similar keys but for test and staging environment:
amber encrypt GH_TOKEN_DEV redacted
amber encrypt GH_TOKEN_STAGING redacted
My usecase is that I want to execute this via amber exec
. But at runtime, I want to change the environment variable appropriately before executing. In the above case, I want to change the environment variable to GH_TOKEN
on the appropriate environment before executing.
I was thinking something like this:
amber exec --rename-env GH_TOKEN_DEV=GH_TOKEN -- gh release download
Any objections to have this feature ? I can volunteer to implement the same if there are no objections.
Metadata
Assignees
Labels
No labels
Activity