mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-16 08:45:44 +00:00
rename parameter path to auth_path, set its default to 'jwt-github-actions'
This commit is contained in:
parent
de717b95f1
commit
1a8566e499
2 changed files with 4 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ const defaultKubernetesTokenPath = '/var/run/secrets/kubernetes.io/serviceaccoun
|
|||
* @param {import('got').Got} client
|
||||
*/
|
||||
async function retrieveToken(method, client) {
|
||||
let path = core.getInput('path', { required: false }) || method;
|
||||
let path = core.getInput('auth_path', { required: false }) || method;
|
||||
path = `v1/auth/${path}/login`
|
||||
|
||||
switch (method) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue