open-nomad/website/source/docs/commands/acl/token-list.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

39 lines
786 B
Plaintext

---
layout: "docs"
page_title: "Commands: acl token list"
sidebar_current: "docs-commands-acl-token-list"
description: >
The token list command is used to list existing ACL tokens.
---
# Command: acl token list
The `acl token list` command is used to list existing ACL tokens.
## Usage
```
nomad acl token list
```
## General Options
<%= partial "docs/commands/_general_options" %>
#
## List Options
* `-json` : Output the tokens in their JSON format.
* `-t` : Format and display the tokens using a Go template.
## Examples
List all ACL tokens:
```
$ nomad acl token list
Name Type Global Accessor ID
Bootstrap Token management true 32b61154-47f1-3694-1430-a5544bafcd3e
<none> client false fcf2bf84-a257-8f39-9d16-a954ed25b5be
```