Skip to content

Commit

Permalink
Increase maximum ACL token length
Browse files Browse the repository at this point in the history
This mitigates issues when generating Nomad ACL tokens from Vault.
  • Loading branch information
dadgar committed Feb 20, 2018
1 parent ff7d3c3 commit dddfbea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ __BACKWARDS INCOMPATIBILITIES:__
IMPROVEMENTS:
* core: Allow upgrading/downgrading TLS via SIGHUP on both servers and clients [[GH-3492](https://github.com/hashicorp/nomad/issues/3492)]
* core: A set of features (Autopilot) has been added to allow for automatic operator-friendly management of Nomad servers. For more information about Autopilot, see the [Autopilot Guide](https://www.nomadproject.io/guides/cluster/autopilot.html). [[GH-3670](https://github.com/hashicorp/nomad/pull/3670)]
* acl: Increase token name limit from 64 characters to 256 [[GH-3888](https://github.com/hashicorp/nomad/issues/3888)]
* cli: Use ISO_8601 time format for cli output
[[GH-3814](https://github.com/hashicorp/nomad/pull/3814)]
* client: Allow '.' in environment variable names [[GH-3760](https://github.com/hashicorp/nomad/issues/3760)]
Expand Down
2 changes: 1 addition & 1 deletion nomad/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const (
maxPolicyDescriptionLength = 256

// maxTokenNameLength limits a ACL token name length
maxTokenNameLength = 64
maxTokenNameLength = 256

// ACLClientToken and ACLManagementToken are the only types of tokens
ACLClientToken = "client"
Expand Down

0 comments on commit dddfbea

Please sign in to comment.