open-nomad/website/source/docs/commands/acl/token-self.html.md.erb
Chris Baker 5a43f10aaf cli: add acl token list command, documentation
docs: fix some incorrect acl policy docs (typos, copy-paste errors)
2019-04-12 15:48:36 +00:00

42 lines
883 B
Plaintext

---
layout: "docs"
page_title: "Commands: acl token self"
sidebar_current: "docs-commands-acl-token-self"
description: >
The token self command is used to fetch information about the currently set
ACL token.
---
# Command: acl token self
The `acl token self` command is used to fetch information about the currently set ACL token.
## Usage
```
nomad acl token self
```
## General Options
<%= partial "docs/commands/_general_options" %>
## Examples
Fetch information about an existing ACL token:
```
$ export NOMAD_TOKEN=d532c40a-30f1-695c-19e5-c35b882b0efd
$ nomad acl token self
Accessor ID = d532c40a-30f1-695c-19e5-c35b882b0efd
Secret ID = 85310d07-9afa-ef53-0933-0c043cd673c7
Name = my token
Type = client
Global = false
Policies = [foo bar]
Create Time = 2017-09-15 05:04:41.814954949 +0000 UTC
Create Index = 8
Modify Index = 8
```