docs: vault integration docs should reference new token_period field

This commit is contained in:
Seth Hoenig 2019-11-21 14:18:06 -06:00
parent 850ca88635
commit 75539ff281
4 changed files with 6 additions and 6 deletions

View File

@ -3,6 +3,6 @@
"explicit_max_ttl": 0,
"name": "nomad-cluster",
"orphan": false,
"period": 259200,
"token_period": 259200,
"renewable": true
}

View File

@ -3,6 +3,6 @@
"explicit_max_ttl": 0,
"name": "nomad-cluster",
"orphan": true,
"period": 259200,
"token_period": 259200,
"renewable": true
}

View File

@ -141,7 +141,7 @@ An example token role definition is given below:
"explicit_max_ttl": 0,
"name": "nomad-cluster",
"orphan": true,
"period": 259200,
"token_period": 259200,
"renewable": true
}
```
@ -196,7 +196,7 @@ documentation for all possible fields and more complete documentation.
making bootstrapping and upgrading simpler. As such, **setting `orphan = true`
is the recommended setting**.
* `period` - Specifies the length the TTL is extended by each renewal in
* `token_period` - Specifies the length the TTL is extended by each renewal in
seconds. It is suggested to set this value on the order of magnitude of 3 days
(259200 seconds) to avoid a large renewal request rate to Vault. **Must be set
to a positive value**.

View File

@ -192,7 +192,7 @@ submitted to Nomad. We will use the following token role:
"explicit_max_ttl": 0,
"name": "nomad-cluster",
"orphan": true,
"period": 259200,
"token_period": 259200,
"renewable": true
}
```
@ -213,7 +213,7 @@ disallowed policies group. An example of this is shown below:
"explicit_max_ttl": 0,
"name": "nomad-cluster",
"orphan": true,
"period": 259200,
"token_period": 259200,
"renewable": true
}
```