Skip to content

Commit

Permalink
backport of commit cdaf45d (#23950)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Boudreau <[email protected]>
  • Loading branch information
hc-github-team-nomad-core and Benjamin Boudreau authored Sep 12, 2024
1 parent b975be3 commit e0cc04a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/content/docs/job-specification/vault.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ to the secret directory at `secrets/vault_token` and by injecting a `VAULT_TOKEN
environment variable. If the Nomad cluster is [configured](/nomad/docs/configuration/vault#namespace)
to use [Vault Namespaces](/vault/docs/enterprise/namespaces),
a `VAULT_NAMESPACE` environment variable will be injected whenever `VAULT_TOKEN` is set.
This behavior can be altered using the `env` and `file` parameters.
This behavior can be altered using the `env` and `disable_file` parameters.

If Nomad is unable to renew the Vault token (perhaps due to a Vault outage or
network error), the client will attempt to retrieve a new Vault token. If successful, the
Expand Down Expand Up @@ -162,10 +162,10 @@ the task itself:

```hcl
vault {
role = "prod"
change_mode = "noop"
env = false
file = false
role = "prod"
change_mode = "noop"
env = false
disable_file = true
}
template {
Expand Down

0 comments on commit e0cc04a

Please sign in to comment.