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

     1  ---
     2  layout: docs
     3  page_title: 'Commands: acl token info'
     4  description: >
     5    The token info command is used to fetch information about an existing ACL
     6    token.
     7  ---
     8  
     9  # Command: acl token info
    10  
    11  The `acl token info` command is used to fetch information about an existing ACL token.
    12  
    13  ## Usage
    14  
    15  ```plaintext
    16  nomad acl token info <token_accessor_id>
    17  ```
    18  
    19  The `acl token info` command requires an existing token's AccessorID.
    20  
    21  ## General Options
    22  
    23  @include 'general_options_no_namespace.mdx'
    24  
    25  ## Examples
    26  
    27  Fetch information about an existing ACL token:
    28  
    29  ```shell-session
    30  $ nomad acl token info 1b60edc8-e4ed-08ef-208d-ecc18a90ccc3
    31  Accessor ID  = 1b60edc8-e4ed-08ef-208d-ecc18a90ccc3
    32  Secret ID    = e4c7c80e-870b-c6a6-43d2-dbfa90130c06
    33  Name         = example-acl-token
    34  Type         = client
    35  Global       = false
    36  Create Time  = 2022-08-23 12:17:35.45067293 +0000 UTC
    37  Expiry Time  = 2022-08-23 20:17:35.45067293 +0000 UTC
    38  Create Index = 142
    39  Modify Index = 142
    40  Policies     = [example-acl-policy]
    41  
    42  Roles
    43  <none>
    44  ```