2019-04-12 15:48:36 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: acl token list'
|
|
|
|
description: |
|
2019-04-12 15:48:36 +00:00
|
|
|
The token list command is used to list existing ACL tokens.
|
|
|
|
---
|
|
|
|
|
2019-06-05 15:09:22 +00:00
|
|
|
# Command: acl token list
|
2019-04-12 15:48:36 +00:00
|
|
|
|
|
|
|
The `acl token list` command is used to list existing ACL tokens.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```plaintext
|
2019-04-12 15:48:36 +00:00
|
|
|
nomad acl token list
|
|
|
|
```
|
|
|
|
|
|
|
|
## General Options
|
|
|
|
|
2020-11-19 18:02:48 +00:00
|
|
|
@include 'general_options_no_namespace.mdx'
|
2019-04-12 15:48:36 +00:00
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
## List Options
|
2019-04-12 15:48:36 +00:00
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
- `-json` : Output the tokens in their JSON format.
|
|
|
|
- `-t` : Format and display the tokens using a Go template.
|
2019-04-12 15:48:36 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
List all ACL tokens:
|
|
|
|
|
2020-05-18 20:53:06 +00:00
|
|
|
```shell-session
|
|
|
|
$ nomad acl token list
|
2022-08-31 14:13:47 +00:00
|
|
|
Name Type Global Accessor ID Expired
|
|
|
|
Bootstrap Token management true 9c2d1b3a-cbc3-d9a0-3df9-5a382545a819 false
|
|
|
|
example-acl-token client false ef851ca0-b331-da5d-bbeb-7ede8f7c9151 false
|
2019-04-12 15:48:36 +00:00
|
|
|
```
|