github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/acl/token/list.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: acl token list'
     4  description: |
     5    The token list command is used to list existing ACL tokens.
     6  ---
     7  
     8  # Command: acl token list
     9  
    10  The `acl token list` command is used to list existing ACL tokens.
    11  
    12  ## Usage
    13  
    14  ```plaintext
    15  nomad acl token list
    16  ```
    17  
    18  ## General Options
    19  
    20  @include 'general_options_no_namespace.mdx'
    21  
    22  ## List Options
    23  
    24  - `-json` : Output the tokens in their JSON format.
    25  - `-t` : Format and display the tokens using a Go template.
    26  
    27  ## Examples
    28  
    29  List all ACL tokens:
    30  
    31  ```shell-session
    32  $ nomad acl token list
    33  Name               Type        Global  Accessor ID                           Expired
    34  Bootstrap Token    management  true    9c2d1b3a-cbc3-d9a0-3df9-5a382545a819  false
    35  example-acl-token  client      false   ef851ca0-b331-da5d-bbeb-7ede8f7c9151  false
    36  ```