-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (38 loc) · 1.27 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
name: GitHub Vault Action
description: Access secrets stored on HashiCorp Vault Secrets, in the HashiCorp Cloud Platform.
inputs:
CLIENT_ID:
default: ""
description: Client ID of the HashiCorp Cloud Service Principal/User
required: true
CLIENT_SECRET:
default: ""
description: Client Secret of the HashiCorp Cloud Service Principal/User
required: true
ORGANIZATION_ID:
default: ""
description: ID of the HashiCorp Cloud Organization
required: true
PROJECT_ID:
default: ""
description: ID of project deployed on HashiCorp Cloud Platform
required: true
APP_NAME:
default: ""
description: Name of app deployed on HashiCorp Cloud Platform, using HashiCorp Vault Secrets
required: true
SECRET_NAMES:
default: "[]"
description: a list of secret names, in an app using HashiCorp Vault Secrets
required: false
GENERATE_ENV:
default: ""
description: The name of the .env file to be generated. If not set, no .env is generated. By default this is not set.
required: false
ALL_SECRETS:
default: "false"
description: If set to true, all secrets are retrieved, otherwise only the secrets specified in SECRET_NAMES are retrieved.
required: false
runs:
using: "node20"
main: "dist/action/index.js"