Skip to content

Commit

Permalink
feat: Build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 20, 2019
1 parent 5e4733a commit 31b06d2
Show file tree
Hide file tree
Showing 676 changed files with 144,171 additions and 85,985 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![GitHub Actions Publish](https://github.com/say8425/aws-secrets-manager-actions/workflows/Publish/badge.svg)](https://github.com/say8425/aws-secrets-manager-actions/actions?query=workflow%3APublish)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/say8425/aws-secrets-manager-actions/blob/master/LICENSE)

This GitHub Action helps you use your Environment values that stored at [AWS Secrets Manager](https://aws.amazon.com/secrets-manager).
This GitHub Action helps you define your secrets that stored in [AWS Secrets Manager](https://aws.amazon.com/secrets-manager) to environment values.

## Usage

Expand All @@ -18,10 +18,11 @@ steps:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
SECRET_NAME: ${{ secrets.SECRET_NAME }}
OUTPUT_PATH: '.env' # optional
```
Add your AWS IAM keys. And add you want to use secret name from your AWS Secrets Manager secrets list.
Then your secrets will be environment values.
Add your AWS IAM keys and you secret name that you want to use from your AWS Secrets Manager secrets list.
Then your secrets will be defined environment values.
### AWS IAM
Expand Down Expand Up @@ -53,11 +54,17 @@ And you can get more information at [AWS User Guide](https://docs.aws.amazon.com
Add you want to use secret name from your AWS Secrets Manager secrets list.
You can use only one secret name.

### Environments
### Environment Values

Your secrets will be environment values.
And these environment values are masked with `***`. So never be revealed.

### Export environment variables to file

You can export these environment variables to file with `OUTPUT_PATH` input parameter.
When you define `OUTPUT_PATH`, then action create a file named as you defined.
And environments will be exported into this file.

## Contributing

Your Contributions are always welcome!
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ inputs:
AWS_DEFAULT_REGION:
description: 'Set Aws default region'
required: true
OUTPUT_PATH:
description: 'Set output file where variables are write'
required: false
runs:
using: 'node12'
main: 'dist/index.js'
Expand Down
9,390 changes: 2,507 additions & 6,883 deletions dist/index.js

Large diffs are not rendered by default.

52 changes: 29 additions & 23 deletions node_modules/.yarn-integrity

Large diffs are not rendered by default.

236 changes: 235 additions & 1 deletion node_modules/aws-sdk/CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node_modules/aws-sdk/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions node_modules/aws-sdk/apis/AWSMigrationHub-2017-05-31.min.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 31b06d2

Please sign in to comment.