Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Allow TriggerAuthentication Defaults via ENV variables for HashiCorp Vault #1262

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions content/docs/2.13/authentication-providers/hashicorp-vault.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ You can pull one or more Hashicorp Vault secrets into the trigger by defining th

```yaml
hashiCorpVault: # Optional.
address: {hashicorp-vault-address} # Required.
namespace: {hashicorp-vault-namespace} # Optional. Default is root namespace. Useful for Vault Enterprise
authentication: token | kubernetes # Required.
role: {hashicorp-vault-role} # Optional.
mount: {hashicorp-vault-mount} # Optional.
address: {hashicorp-vault-address} # Optional. (env - $VAULT_ADDR)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JorTurFer Is this the format we usually use?

namespace: {hashicorp-vault-namespace} # Optional. Default is root namespace. Useful for Vault Enterprise (env - $VAULT_NAMESPACE)
authentication: token | kubernetes # Optional. (env - $VAULT_AUTH)
role: {hashicorp-vault-role} # Optional. (env - $VAULT_ROLE)
mount: {hashicorp-vault-mount} # Optional. (env - $VAULT_MOUNT)
credential: # Optional.
token: {hashicorp-vault-token} # Optional.
serviceAccount: {path-to-service-account-file} # Optional.
token: {hashicorp-vault-token} # Optional. (env - $VAULT_TOKEN)
serviceAccount: {path-to-service-account-file} # Optional. (env - $VAULT_JWT_PATH)
secrets: # Required.
- parameter: {scaledObject-parameter-name} # Required.
key: {hashicorp-vault-secret-key-name} # Required.
Expand Down