-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
40 lines (38 loc) · 1.43 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
---
name: dsv-github-action
description: Delinea DevOps Secrets Vault (DSV) GitHub Actions Plugin allows you to access DSV Secrets for use in GitHub Actions
branding:
icon: unlock
color: blue
inputs:
domain:
required: true
description: |
The dsv domain qualified by region.
Example: `mytenant.secretsvaultcloud.com`
- secretsvaultcloud.com
- secretsvaultcloud.eu
- secretsvaultcloud.com.au
- secretsvaultcloud.ca
clientId:
description: The generated clientID for authenticating. This should be saved as a github action secret in the repository or org.
required: true
clientSecret:
description: The generated clientSecret for authenticating. This should be saved as a github action secret in the repository or org.
required: true
retrieve:
description: |
Formatted as json. See README for details.
This is the secrets to retrieve and the resulting secret variable that others steps should be able to use.
required: true
runs:
using: docker
# image docs: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsimage
# using prebuilt docker image to require no building of app
# image: Dockerfile
image: docker://delineaxpm/dsv-github-action:latest
env:
DSV_DOMAIN: ${{ inputs.domain }}
DSV_CLIENT_ID: ${{ inputs.clientId }}
DSV_CLIENT_SECRET: ${{ inputs.clientSecret }}
DSV_RETRIEVE: ${{ inputs.retrieve }}