github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/commands/acl/token-self.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: acl token self'
     4  sidebar_title: token self
     5  description: >
     6    The token self command is used to fetch information about the currently set
     7    ACL token.
     8  ---
     9  
    10  # Command: acl token self
    11  
    12  The `acl token self` command is used to fetch information about the currently
    13  set ACL token.
    14  
    15  ## Usage
    16  
    17  ```plaintext
    18  nomad acl token self
    19  ```
    20  
    21  ## General Options
    22  
    23  @include 'general_options.mdx'
    24  
    25  ## Examples
    26  
    27  Fetch information about an existing ACL token:
    28  
    29  ```shell-sessionexport NOMAD_TOKEN=85310d07-9afa-ef53-0933-0c043cd673c7
    30  
    31  $ nomad acl token self
    32  Accessor ID  = d532c40a-30f1-695c-19e5-c35b882b0efd
    33  Secret ID    = 85310d07-9afa-ef53-0933-0c043cd673c7
    34  Name         = my token
    35  Type         = client
    36  Global       = false
    37  Policies     = [foo bar]
    38  Create Time  = 2017-09-15 05:04:41.814954949 +0000 UTC
    39  Create Index = 8
    40  Modify Index = 8
    41  ```