Skip to content

A Github action to load secrets from AWS Secrets Manager into the environment

License

Notifications You must be signed in to change notification settings

muchobien/configure-aws-secrets-manager

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

CodeQL build-test

"Configure AWS Secrets Manager" Action For GitHub Actions

A Github action to load secrets from AWS Secrets Manager into the environment

Usage

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

License Summary

This code is made available under the MIT license.