github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/commands/license/get.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: license get'
     4  sidebar_title: get
     5  description: |
     6    The license get command is used to get the current license.
     7  ---
     8  
     9  # Command: license get
    10  
    11  The `license get` command is used to retrieve the current Nomad Enterprise license.
    12  
    13  ~> License commands are new in Nomad 0.12.0 and are only available with Nomad
    14  Enterprise.
    15  
    16  ## Usage
    17  
    18  ```plaintext
    19  nomad license get [options]
    20  ```
    21  
    22  When ACLs are enabled, this command requires a token with the 'operator:read'
    23  capability.
    24  
    25  ## General Options
    26  
    27  @include 'general_options_no_namespace.mdx'
    28  
    29  ## Examples
    30  
    31  ```shell-session
    32  $ nomad license get
    33  
    34  Product        = nomad
    35  License Status = valid
    36  License ID     = e23f63b1-00ec-4e67-e926-c22e7937ceec
    37  Customer ID    = 350356e5-8aec-bdf4-8510-b205079ccad2
    38  Expires At     = 2020-05-09 00:00:00 +0000 UTC
    39  License ID     = e23f63b1-00ec-4e67-e926-c22e7937ceec
    40  Customer ID    = 350356e5-8aec-bdf4-8510-b205079ccad2
    41  Terminates At  = 2020-05-10 00:00:00 +0000 UTC
    42  Datacenter     = *
    43  Modules:
    44          governance-policy
    45  Licensed Features:
    46          Automated Upgrades
    47          Enhanced Read Scalability
    48          Redundancy Zones
    49          Namespaces
    50          Resource Quotas
    51          Preemption
    52          Audit Logging
    53          Setinel Policies
    54  ```