open-nomad/website/content/docs/commands/acl/token-list.mdx
2021-01-05 19:02:39 -05:00

38 lines
778 B
Plaintext

---
layout: docs
page_title: 'Commands: acl token list'
sidebar_title: 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
```plaintext
nomad acl token list
```
## General Options
@include 'general_options_no_namespace.mdx'
## 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:
```shell-session
$ 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
```