github.com/smintz/nomad@v0.8.3/website/source/docs/commands/acl/token-update.html.md.erb (about) 1 --- 2 layout: "docs" 3 page_title: "Commands: acl token update" 4 sidebar_current: "docs-commands-acl-token-update" 5 description: > 6 The token update command is used to update existing ACL tokens. 7 --- 8 9 # Command: acl token update 10 11 The `acl token update` command is used to update existing ACL tokens. 12 13 ## Usage 14 15 ``` 16 nomad acl token update [options] <token_accessor_id> 17 ``` 18 19 The `acl token update` command requires an existing token's accessor ID. 20 21 ## General Options 22 23 <%= partial "docs/commands/_general_options" %> 24 25 ## Create Options 26 27 * `-name`: Sets the human readable name for the ACL token. 28 29 * `-type`: Sets the type of token. Must be one of "client" (default), or "management". 30 31 * `-global`: Toggles the global mode of the token. Global tokens are replicated to all regions. Defaults false. 32 33 * `-policy`: Specifies a policy to associate with the token. Can be specified multiple times, 34 but only with client type tokens. 35 36 ## Examples 37 38 Update an existing ACL token: 39 40 ``` 41 $ nomad acl token update -name="my updated token" -policy=foo -policy=bar d532c40a-30f1-695c-19e5-c35b882b0efd 42 Accessor ID = d532c40a-30f1-695c-19e5-c35b882b0efd 43 Secret ID = 85310d07-9afa-ef53-0933-0c043cd673c7 44 Name = my updated token 45 Type = client 46 Global = false 47 Policies = [foo bar] 48 Create Time = 2017-09-15 05:04:41.814954949 +0000 UTC 49 Create Index = 8 50 Modify Index = 8 51 ```