Skip to content

Commit

Permalink
docs: note that clients need to have ACLs enabled (#11799)
Browse files Browse the repository at this point in the history
Client endpoints such as `alloc exec` are enforced on the client if
the API client or CLI has "line of sight" to the client. This is
already in the Learn guide but having it in the ACL configuration docs
would be helpful.
  • Loading branch information
tgross authored Jan 7, 2022
1 parent d27b137 commit 04095bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/content/docs/configuration/acl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ acl {
## `acl` Parameters

- `enabled` `(bool: false)` - Specifies if ACL enforcement is enabled. All other
ACL configuration options depend on this value.
ACL configuration options depend on this value. Note that the Nomad command
line client will send requests for client endpoints such as `alloc exec`
directly to Nomad clients whenever they are accessible. In this scenario, the
client will enforce ACLs, so both servers and clients should have ACLs enabled.

- `token_ttl` `(string: "30s")` - Specifies the maximum time-to-live (TTL) for
cached ACL tokens. This does not affect servers, since they do not cache tokens.
Expand Down

0 comments on commit 04095bd

Please sign in to comment.