mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 11:25:41 +03:00
server: add ACL token expiration config parameters. (#13667)
This commit adds configuration parameters to control ACL token expirations. This includes both limits on the min and max TTL expiration values, as well as a GC threshold for expired tokens.
This commit is contained in:
5
command/agent/testdata/basic.json
vendored
5
command/agent/testdata/basic.json
vendored
@@ -4,7 +4,9 @@
|
||||
"enabled": true,
|
||||
"policy_ttl": "60s",
|
||||
"replication_token": "foobar",
|
||||
"token_ttl": "60s"
|
||||
"token_ttl": "60s",
|
||||
"token_min_expiration_ttl": "1h",
|
||||
"token_max_expiration_ttl": "100h"
|
||||
}
|
||||
],
|
||||
"audit": {
|
||||
@@ -254,6 +256,7 @@
|
||||
],
|
||||
"server": [
|
||||
{
|
||||
"acl_token_gc_threshold": "12h",
|
||||
"authoritative_region": "foobar",
|
||||
"bootstrap_expect": 5,
|
||||
"csi_plugin_gc_threshold": "12h",
|
||||
|
||||
Reference in New Issue
Block a user