sisl-uic/HashiCorp Vault

A Github Action that allows you to consume HashiCorp Vault™ secrets as secure environment variables

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
urlThe URL for the vault endpointyes
secretsA semicolon-separated list of secrets to retrieve. These will automatically be converted to environmental variable keys. See README for more detailsno
pkiA semicolon-separated list of certificates to generate. These will automatically be converted to environment variable keys. Cannot be used with "secrets". See README for more detailsno
namespaceThe Vault namespace from which to query secrets. Vault Enterprise only, unset by defaultno
methodThe method to use to authenticate with Vault.notoken
roleVault role for specified auth methodno
pathThe Vault path for the auth method.no
tokenThe Vault token to be used to authenticate with Vaultno
roleIdThe role ID for App Role authenticationno
secretIdThe secret ID for App Role authenticationno
githubTokenThe Github Token to be used to authenticate with Vaultno
kubernetesTokenPathThe path to the Kubernetes service account secretno/var/run/secrets/kubernetes.io/serviceaccount/token
usernameThe username of the user to log in to Vault as. Available to both Userpass and LDAP auth methodsno
passwordThe password of the user to log in to Vault as. Available to both Userpass and LDAP auth methodsno
authPayloadThe JSON payload to be sent to Vault when using a custom authentication method.no
extraHeadersA string of newline separated extra headers to include on every request.no
exportEnvWhether or not export secrets as environment variables.notrue
exportTokenWhether or not export Vault token as environment variables.nofalse
outputTokenWhether or not to set the `vault_token` output to contain the Vault token after authentication.nofalse
caCertificateBase64 encoded CA certificate the server certificate was signed with. Defaults to CAs provided by Mozilla.no
clientCertificateBase64 encoded client certificate for mTLS communication with the Vault server.no
clientKeyBase64 encoded client key for mTLS communication with the Vault server.no
tlsSkipVerifyWhen set to true, disables verification of the Vault server certificate. Setting this to true in production is not recommended.nofalse
jwtPrivateKeyBase64 encoded Private key to sign JWTno
jwtKeyPasswordPassword for key stored in jwtPrivateKey (if needed)no
jwtGithubAudienceIdentifies the recipient ("aud" claim) that the JWT is intended forno
jwtTtlTime in seconds, after which token expiresno3600
secretEncodingTypeThe encoding type of the secret to decode. If not specified, the secret will not be decoded. Supported values: base64, hex, utf8no
ignoreNotFoundWhether or not the action should exit successfully if some requested secrets were not found.nofalse

no outputs