5
0
Fork 0
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:
Sai Pranav 2023-03-31 12:11:42 -05:00
parent 946e87c4c4
commit c91dd2cae2
2 changed files with 7 additions and 1 deletions

View file

@ -36,6 +36,12 @@ inputs:
description: 'The path to the Kubernetes service account secret' description: 'The path to the Kubernetes service account secret'
required: false required: false
default: '/var/run/secrets/kubernetes.io/serviceaccount/token' 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: authPayload:
description: 'The JSON payload to be sent to Vault when using a custom authentication method.' description: 'The JSON payload to be sent to Vault when using a custom authentication method.'
required: false required: false

View file

@ -34,7 +34,7 @@ describe('authenticate with userpass', () => {
}, },
}); });
// Enable approle // Enable userpass
try { try {
await got(`${vaultUrl}/v1/sys/auth/userpass`, { await got(`${vaultUrl}/v1/sys/auth/userpass`, {
method: 'POST', method: 'POST',