mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
More review fixes
This commit is contained in:
@@ -236,22 +236,23 @@ token_renewable true
|
||||
token_policies [default nomad-server]
|
||||
```
|
||||
|
||||
The `-orphan` flag is included when generating the Nomad server token above to
|
||||
prevent revocation of the token when its parent expires. Vault typically
|
||||
creates tokens with a parent-child relationship. When an ancestor token is revoked, all of its descendant tokens and their associated leases are revoked as well.
|
||||
The `-orphan` flag is included when generating the Nomad server token above to
|
||||
prevent revocation of the token when its parent expires. Vault typically
|
||||
creates tokens with a parent-child relationship. When an ancestor token is
|
||||
revoked, all of its descendant tokens and their associated leases are revoked
|
||||
as well.
|
||||
|
||||
When generating Nomad's Vault token, we need to ensure that revocation of the
|
||||
parent token does not revoke Nomad's token. To prevent this behavior we
|
||||
specify the `-orphan` flag when we create the Nomad's Vault token. All
|
||||
other tokens generated by Nomad for jobs will be generated using the policy
|
||||
default of `orphan = false`
|
||||
When generating Nomad's Vault token, we need to ensure that revocation of the
|
||||
parent token does not revoke Nomad's token. To prevent this behavior we
|
||||
specify the `-orphan` flag when we create the Nomad's Vault token. All
|
||||
other tokens generated by Nomad for jobs will be generated using the policy
|
||||
default of `orphan = false`.
|
||||
|
||||
More general information about creating orphan tokens can be found in the
|
||||
Vault documentation, specifically at
|
||||
[Token Hierarchies and Orphan Tokens][tokenhierarchy].
|
||||
More information about creating orphan tokens can be found in
|
||||
[Vault's Token Hierarchies and Orphan Tokens documentation][tokenhierarchy].
|
||||
|
||||
The token can then be set in the server configuration's
|
||||
[`vault` stanza][config], as a command-line flag, or via an environment
|
||||
The token can then be set in the server configuration's
|
||||
[`vault` stanza][config], as a command-line flag, or via an environment
|
||||
variable.
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user