forked from t-botz/aws-secrets-manager-read-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (42 loc) · 1.34 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: 'cce-aws-secrets-manager-read-action'
description: Github Action to read a secret value from AWS Secret Manager'
author: 'CleanChoice Energy'
inputs:
secret-id:
required: true
description: 'Either ARN or friendly name of the secret'
version-id:
required: false
description: 'Version id of the secret'
version-stage:
required: false
description: 'Version stage of the secret'
mask-value:
required: false
description: 'Assume the secret is JSON and mask all JSON object values, even the nested ones'
default: true
mask-json-values:
required: false
description: 'Assume the secret is JSON and mask all JSON object values, even the nested ones'
default: false
keys-as-env-vars:
required: false
description: 'Assume the secret is a JSON object and export the keys as env variables.'
default: false
keys-as-outputs:
required: false
description: 'Assume the secret is a JSON object and export the keys as env variables.'
default: true
append-to-env-file:
required: false
description: 'Assume the secret is a JSON object and append the key values in an env file. The value is the path to the file.'
default: true
outputs:
secret:
description: 'Secret String return by AWS'
branding:
icon: 'lock'
color: 'green'
runs:
using: 'node20'
main: 'dist/index.js'