How to use AWS Secrets Manager
-
Create a Secret inside AWS Secrets Manager
-
Enter in your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY into the Github Actions secrets feature
-
Use the following actions inside Github Actions to use your secrets
a. configure-aws-credentials
b. aws-secretsmanager-get-secret
-
When we get our AWS secrets, assign them to a variable and use inside Github Actions
-
Refer to flow.yml file in this repo for an example: .github/workflows/flow.yml