Skip to content

Job for Github Action - copy settings to local file system from AWS Secret Manager

Notifications You must be signed in to change notification settings

vdvpie22/github-action-job-copy-settings-from-aws-secret-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copy settings form AWS Secret Manager

This action read AWS Secret Manager by tag and store file to configured directory

Inputs

AWS_ACCESS_KEY_ID

Required AWS Access key. Default null.

AWS_SECRET_ACCESS_KEY

Required AWS Secret Access key. Default null.

AWS_REGION

Required AWS Region where stored secret manager. Default null.

SAVE_TO_DIR

Required Directory path to store json with settings. Default null.

SERVICE_NAME

Required Get secrets by Service Name Tag. Default null.

Outputs

file_names

Stored file names

Example usage

- name: someName 
  uses: vdvpie22/[email protected]
  with:   
    AWS_ACCESS_KEY_ID: '*****'
    AWS_SECRET_ACCESS_KEY: '*****'
    AWS_REGION: 'eu-west-2'
    SERVICE_NAME: 'document-service'
    SAVE_TO_DIR: /tmp/

About

Job for Github Action - copy settings to local file system from AWS Secret Manager

Resources

Stars

Watchers

Forks

Packages

No packages published