mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-08 05:00:05 +00:00
feat: add github auth and cleanup docs a little
Adds the GitHub Authentication method
This commit is contained in:
parent
9e8c0bad27
commit
795c9eddca
5 changed files with 137 additions and 38 deletions
29
action.yml
29
action.yml
|
|
@ -4,17 +4,38 @@ inputs:
|
|||
url:
|
||||
description: 'The URL for the vault endpoint'
|
||||
required: true
|
||||
token:
|
||||
description: 'The Vault Token to be used to authenticate with Vault'
|
||||
required: true
|
||||
secrets:
|
||||
description: 'A semicolon-separated list of secrets to retrieve. These will automatically be converted to environmental variable keys. See README for more details'
|
||||
required: true
|
||||
namespace:
|
||||
description: 'The Vault namespace from which to query secrets. Vault Enterprise only, unset by default'
|
||||
required: false
|
||||
path:
|
||||
description: 'The path of a non-default K/V engine'
|
||||
required: false
|
||||
kv-version:
|
||||
description: 'The version of the K/V engine to use. Default: 2'
|
||||
required: false
|
||||
method:
|
||||
description: 'The method to use to authenticate with Vault. Default: token'
|
||||
required: false
|
||||
token:
|
||||
description: 'The Vault Token to be used to authenticate with Vault'
|
||||
required: false
|
||||
roleId:
|
||||
description: 'The Role Id for App Role authentication'
|
||||
required: false
|
||||
secretId:
|
||||
description: 'The Secret Id for App Role authentication'
|
||||
required: false
|
||||
githubToken:
|
||||
description: 'The Github Token to be used to authenticate with Vault'
|
||||
required: false
|
||||
extraHeaders:
|
||||
description: 'A string of newline seperated extra headers to include on every request.'
|
||||
description: 'A string of newline separated extra headers to include on every request.'
|
||||
required: false
|
||||
exportEnv:
|
||||
description: 'Whether or not export secrets as environment variables. Default: true'
|
||||
required: false
|
||||
runs:
|
||||
using: 'node12'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue