mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-08 15:46:56 +00:00
changes from review
This commit is contained in:
parent
946e87c4c4
commit
c91dd2cae2
2 changed files with 7 additions and 1 deletions
|
|
@ -36,6 +36,12 @@ inputs:
|
|||
description: 'The path to the Kubernetes service account secret'
|
||||
required: false
|
||||
default: '/var/run/secrets/kubernetes.io/serviceaccount/token'
|
||||
username:
|
||||
description: 'The username of the user to log in to Vault as. Available to both Userpass and LDAP auth methods'
|
||||
required: false
|
||||
password:
|
||||
description: 'The password of the user to log in to Vault as. Available to both Userpass and LDAP auth methods'
|
||||
required: false
|
||||
authPayload:
|
||||
description: 'The JSON payload to be sent to Vault when using a custom authentication method.'
|
||||
required: false
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ describe('authenticate with userpass', () => {
|
|||
},
|
||||
});
|
||||
|
||||
// Enable approle
|
||||
// Enable userpass
|
||||
try {
|
||||
await got(`${vaultUrl}/v1/sys/auth/userpass`, {
|
||||
method: 'POST',
|
||||
|
|
|
|||
Loading…
Reference in a new issue