mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
docs: fix token_period in example Vault role for WI (#18939)
Vault tokens requested for WI are "periodic" Vault tokens (ones that get periodically renewed). The field we should be setting for the renewal window is `token_period`.
This commit is contained in:
@@ -57,8 +57,8 @@ $ vault auth enable jwt
|
||||
```
|
||||
|
||||
Create a configuration file for the default Vault [Role][]. This configuration
|
||||
maps each Nomad job to its own Vault user claim. You can set the `token_ttl` and
|
||||
`token_policies` to whatever value is suitable for your environment. A
|
||||
maps each Nomad job to its own Vault user claim. You can set the `token_period`
|
||||
and `token_policies` to whatever value is suitable for your environment. A
|
||||
recommended policy is shown later.
|
||||
|
||||
```json
|
||||
@@ -71,7 +71,7 @@ recommended policy is shown later.
|
||||
"nomad_namespace": "nomad_namespace",
|
||||
"nomad_job_id": "nomad_job_id"
|
||||
},
|
||||
"token_ttl": "30m",
|
||||
"token_period": "30m",
|
||||
"token_type": "service",
|
||||
"token_policies": ["nomad-workloads"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user