abhilash1in / aws-secrets-manager-action

Use secrets from AWS Secrets Manager as environment variables in your GitHub Actions workflow
MIT License
68 stars 43 forks source link

Add support for secret-prefix for environment handling #34

Open suriyanto opened 2 years ago

suriyanto commented 2 years ago

Add secret-prefix using the convention of {secret-prefix}/{secret-name} to ensure that subsequent actions in the workflow can use the secret environment variable uniformly disregarding the environment name.

@abhilash1in, as I'm not sure if this addition is in line with what you plan for the action, I created this in my fork so I can use it in my workflow. That's why I have used my name in some of the README examples. Let me know if you agree with this feature and I'll change the modifications there back.

abhilash1in commented 2 years ago

Thanks for the PR! Dealing with a few other things right now. Will review it in a few days.

tomhaynes commented 1 year ago

+1 for this would be handy 👍