Skip to content

Commit 163b407

Browse files
committed
Rename Vault backend inputs
Having the word _path_ in the input names feels more in line with other tooling. Yes, this is a breaking change.
1 parent edebf4c commit 163b407

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/tester.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
uses: ./
3535
with:
3636
vault_server: https://vault.arrakis.se:8200
37-
oidc_backend: github-oidc
37+
oidc_backend_path: github-oidc
3838
oidc_role: cert-action-user
39-
ssh_backend: arrakis/ssh2
39+
ssh_backend_path: arrakis/ssh2
4040
ssh_role: cert-action-cert
4141

4242
- name: Examine generated certificate
@@ -48,9 +48,9 @@ jobs:
4848
with:
4949
vault_server: https://vault.arrakis.se:8200
5050
jwt_audience: a-test-audience
51-
oidc_backend: github-oidc
51+
oidc_backend_path: github-oidc
5252
oidc_role: cert-action-at-user
53-
ssh_backend: arrakis/ssh2
53+
ssh_backend_path: arrakis/ssh2
5454
ssh_role: cert-action-at-cert
5555

5656
- name: Examine second generated certificate

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- name: Generate SSH client certificate
2020
if: github.ref == 'refs/heads/main'
2121
id: ssh_cert
22-
uses: andreaso/vault-oidc-ssh-cert-action@v0.9
22+
uses: andreaso/vault-oidc-ssh-cert-action@v0.10
2323
with:
2424
vault_server: https://vault.example.com:8200
25-
oidc_backend: github-oidc
25+
oidc_backend_path: github-oidc
2626
oidc_role: example-user
27-
ssh_backend: ssh-client-ca
27+
ssh_backend_path: ssh-client-ca
2828
ssh_role: github-actions-example
2929

3030
- name: Deploy site

action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ inputs:
88
vault_server:
99
description: URL of the Vault server
1010
required: true
11-
oidc_backend:
11+
oidc_backend_path:
1212
description: Path to Vault's GitHub configured JWT/OIDC backend
1313
required: true
1414
oidc_role:
1515
description: Name of the Vault server OIDC role to use
1616
required: true
17-
ssh_backend:
17+
ssh_backend_path:
1818
description: Path to Vault's SSH CA backend
1919
required: true
2020
ssh_role:
@@ -59,7 +59,7 @@ runs:
5959
env:
6060
ACTION_PATH: ${{ github.action_path }}
6161
AUDIENCE: ${{ steps.determine.outputs.audience }}
62-
BACKEND: ${{ inputs.oidc_backend }}
62+
BACKEND: ${{ inputs.oidc_backend_path }}
6363
ROLE: ${{ inputs.oidc_role }}
6464
VAULT_SERVER: ${{ inputs.vault_server }}
6565

@@ -71,7 +71,7 @@ runs:
7171
ACTION_PATH: ${{ github.action_path }}
7272
VAULT_SERVER: ${{ inputs.vault_server }}
7373
VAULT_TOKEN: ${{ steps.vault_auth.outputs.vault_token }}
74-
SSH_BACKEND: ${{ inputs.ssh_backend }}
74+
SSH_BACKEND: ${{ inputs.ssh_backend_path }}
7575
SSH_ROLE: ${{ inputs.ssh_role }}
7676
TMPDIR: ${{ runner.temp }}
7777

0 commit comments

Comments
 (0)