Skip to content

Commit

Permalink
Add documentation for spec.hashiCorpVault.credential.seviceAccount
Browse files Browse the repository at this point in the history
…default value (#1278)

Co-authored-by: Tom Kerkhove <[email protected]>
  • Loading branch information
dttung2905 and tomkerkhove authored Dec 18, 2023
1 parent cb78f37 commit 7bd27b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/docs/2.13/concepts/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ secretTargetRef: # Optional.
### Hashicorp Vault secret(s)

You can pull one or more Hashicorp Vault secrets into the trigger by defining the authentication metadata such as Vault `address` and the `authentication` method (token | kubernetes). If you choose kubernetes auth method you should provide `role` and `mount` as well.
`credential` defines the Hashicorp Vault credentials depending on the authentication method, for kubernetes you should provide path to service account token (/var/run/secrets/kubernetes.io/serviceaccount/token) and for token auth method provide the token.
`credential` defines the Hashicorp Vault credentials depending on the authentication method, for kubernetes you should provide path to service account token (the default value is `/var/run/secrets/kubernetes.io/serviceaccount/token`) and for token auth method provide the token.
`secrets` list defines the mapping between the path and the key of the secret in Vault to the parameter.
`namespace` may be used to target a given Vault Enterprise namespace.

Expand All @@ -222,7 +222,7 @@ hashiCorpVault: # Optional.
mount: {hashicorp-vault-mount} # Optional.
credential: # Optional.
token: {hashicorp-vault-token} # Optional.
serviceAccount: {path-to-service-account-file} # Optional.
serviceAccount: {path-to-service-account-file} # Optional. Default is /var/run/secrets/kubernetes.io/serviceaccount/token
secrets: # Required.
- parameter: {scaledObject-parameter-name} # Required.
key: {hasicorp-vault-secret-key-name} # Required.
Expand Down

0 comments on commit 7bd27b2

Please sign in to comment.