github.com/smintz/nomad@v0.8.3/website/source/docs/commands/acl/token-self.html.md.erb (about) 1 --- 2 layout: "docs" 3 page_title: "Commands: acl token self" 4 sidebar_current: "docs-commands-acl-token-self" 5 description: > 6 The token self command is used to fetch information about the currently set 7 ACL token. 8 --- 9 10 # Command: acl token self 11 12 The `acl token self` command is used to fetch information about the currently set ACL token. 13 14 ## Usage 15 16 ``` 17 nomad acl token self 18 ``` 19 20 ## General Options 21 22 <%= partial "docs/commands/_general_options" %> 23 24 ## Examples 25 26 Fetch information about an existing ACL token: 27 28 ``` 29 $ export NOMAD_TOKEN=d532c40a-30f1-695c-19e5-c35b882b0efd 30 31 $ nomad acl tokenjself 32 Accessor ID = d532c40a-30f1-695c-19e5-c35b882b0efd 33 Secret ID = 85310d07-9afa-ef53-0933-0c043cd673c7 34 Name = my token 35 Type = client 36 Global = false 37 Policies = [foo bar] 38 Create Time = 2017-09-15 05:04:41.814954949 +0000 UTC 39 Create Index = 8 40 Modify Index = 8 41 ```