A Github action to load secrets from AWS Secrets Manager into the environment
Add the following step to your workflow:
- name: Configure AWS Secrets Manager
uses: muchobien/configure-aws-secrets-manager@v2
with:
secret-id: mysecret
version-id: someversion # optional
stage: dev # optional
exporters: env,output,file # default, optional
overrides: 'false' # optional, default false (override existing environment variables)
file-path: ./.env # optional, default ./.env
This code is made available under the MIT license.
Configure AWS Secrets Manager is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.