Skip to content

Commit bcc5a67

Browse files
authored
Merge pull request #23 from say8425/docs/output-file
prepare release 1.1.0
2 parents bac521d + 9f89c47 commit bcc5a67

3 files changed

Lines changed: 149 additions & 68 deletions

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ steps:
1818
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
1919
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
2020
SECRET_NAME: ${{ secrets.SECRET_NAME }}
21+
OUTPUT_PATH: '.env' # optional
2122
```
2223
2324
Add your AWS IAM keys and you secret name that you want to use from your AWS Secrets Manager secrets list.
@@ -53,11 +54,17 @@ And you can get more information at [AWS User Guide](https://docs.aws.amazon.com
5354
Add you want to use secret name from your AWS Secrets Manager secrets list.
5455
You can use only one secret name.
5556

56-
### Environments
57+
### Environment Values
5758

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

62+
### Export environment variables to file
63+
64+
You can export these environment variables to file with `OUTPUT_PATH` input parameter.
65+
When you define `OUTPUT_PATH`, then action create a file named as you defined.
66+
And environments will be exported into this file.
67+
6168
## Contributing
6269

6370
Your Contributions are always welcome!

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-secrets-manager-actions",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "GitHub Actions for AWS Secrets Manager",
55
"main": "index.js",
66
"scripts": {
@@ -26,14 +26,14 @@
2626
"homepage": "https://github.com/say8425/aws-secrets-manager-actions",
2727
"dependencies": {
2828
"@actions/core": "^1.2.0",
29-
"aws-sdk": "^2.568.0"
29+
"aws-sdk": "2.594.0"
3030
},
3131
"devDependencies": {
3232
"@zeit/ncc": "^0.20.5",
3333
"dotenv": "^8.2.0",
34-
"eslint": "^6.6.0",
35-
"eslint-plugin-import": "^2.18.2",
36-
"eslint-plugin-jest": "^23.0.4",
34+
"eslint": "6.7.2",
35+
"eslint-plugin-import": "2.19.1",
36+
"eslint-plugin-jest": "23.1.1",
3737
"eslint-plugin-node": "^10.0.0",
3838
"eslint-plugin-promise": "^4.2.1",
3939
"eslint-plugin-standard": "^4.0.1",

0 commit comments

Comments
 (0)