This will load your secrets from the AWS Secret Manager into the environment of github actions.
On your action, put:
- name: Pull Secrets
uses: firesquadio/aws-secret-manager-env@v1
with:
json: true
secret: "your-secret"
Params is:
json
: True if the secret is json, and we parse it, false to just load it as a string.secret
: The name of the secret.