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

     1  ---
     2  layout: docs
     3  page_title: 'Commands: acl token self'
     4  description: >
     5    The token self command is used to fetch information about the currently set
     6    ACL token.
     7  ---
     8  
     9  # Command: acl token self
    10  
    11  The `acl token self` command is used to fetch information about the currently
    12  set ACL token.
    13  
    14  ## Usage
    15  
    16  ```plaintext
    17  nomad acl token self
    18  ```
    19  
    20  ## General Options
    21  
    22  @include 'general_options_no_namespace.mdx'
    23  
    24  ## Examples
    25  
    26  Fetch information about an existing ACL token:
    27  
    28  ```shell-session
    29  $ export NOMAD_TOKEN=85310d07-9afa-ef53-0933-0c043cd673c7
    30  
    31  $ nomad acl token self
    32  Accessor ID  = 9c2d1b3a-cbc3-d9a0-3df9-5a382545a819
    33  Secret ID    = 85310d07-9afa-ef53-0933-0c043cd673c7
    34  Name         = Bootstrap Token
    35  Type         = management
    36  Global       = true
    37  Create Time  = 2022-08-23 10:35:32.371025521 +0000 UTC
    38  Expiry Time  = <none>
    39  Create Index = 8
    40  Modify Index = 8
    41  Policies     = n/a
    42  Roles        = n/a
    43  ```