(feat) add support to secrets (SSM and Secrets Manager)
Issue #, if available: We currently have support for fixed environment variables, but not for sensitive data store at SSM or Secrets Manager.
Description of changes: I've added a parameter named secrets where you can set SECRET_NAME=AWS_ARN value. I've added a Regex to validate the ARN. I did not write tests, so... If someone could write those tests, the community would be happy :)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Hi @hectorgrecco, thank you so much for your contribution. Apologies on the delay. We will be working on reviewing Pull Requests on the repository. In the mean time please ensure that below steps, if not already done, are taken care of in your PR:
-
Verify if PR follows semantic pull request conventions.
-
Please be sure to run
npm run packagecommand to update dist/ folder with latest dependencies. -
Resolve merge conflicts on the PR if any.
Hi @hectorgrecco, closing this PR out. Similar changes have been submitted as part of PR 152. PR 152 also attributes this PR in their description and is currently under review.
I will add you as a co-contributor you when we merge the other PR. Please let me know if you have any concerns. Thank you!