Skip to content

Commit

Permalink
docs: clarify token TTL min/max validation params.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasell committed Feb 1, 2023
1 parent 4dbeee4 commit f60680c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/content/api-docs/acl/tokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ The table below shows this endpoint's support for

- `ExpirationTTL` `(duration: 0s)` - This is a convenience field and if set will
initialize the `ExpirationTime` field to a value of `CreateTime` +
`ExpirationTTL`.
`ExpirationTTL`. This value must be between the [`token_min_expiration_ttl`][]
and [`token_max_expiration_ttl`][] ACL configuration parameters.

### Sample Payload

Expand Down Expand Up @@ -499,3 +500,6 @@ $ curl \
}
}
```

[`token_min_expiration_ttl`]: /nomad/docs/configuration/acl#token_min_expiration_ttl
[`token_max_expiration_ttl`]: /nomad/docs/configuration/acl#token_max_expiration_ttl

0 comments on commit f60680c

Please sign in to comment.