-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yaml
56 lines (56 loc) · 1.71 KB
/
action.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
name: Fetch Infisical Secrets
author: "Infisical"
description: "Fetch secrets from Infisical into your Github workflows"
branding:
icon: "lock"
color: "yellow"
inputs:
method:
description: "The authentication method to use"
required: false
default: "universal"
client-id:
description: "Machine Identity client ID"
required: false
client-secret:
description: "Machine Identity secret key"
required: false
identity-id:
description: "Machine Identity ID"
required: false
oidc-audience:
description: "Custom aud claim for the signed Github ID token"
required: false
project-slug:
description: "Source project slug"
required: true
env-slug:
description: "Source environment slug"
required: true
domain:
description: "Infisical URL (defaults to https://app.infisical.com )"
required: false
default: "https://app.infisical.com"
export-type:
description: "If set to `env`, it will set the fetched secrets as environment variables for subsequent steps of a workflow. If set to `file`, it will export the secrets in a .env file in the defined file-output-path"
required: false
default: "env"
file-output-path:
description: "The path to save the file when export-type is set to `file`"
required: false
default: "/.env"
secret-path:
description: "Source path"
required: false
default: "/"
include-imports:
description: "If set to `true`, it will include imported secrets"
required: false
default: true
recursive:
description: "If set to `true`, it will fetch all secrets from the specified base path and all of its subdirectories"
required: false
default: false
runs:
using: "node20"
main: "index.js"