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

     1  ---
     2  layout: docs
     3  page_title: 'Commands: license get'
     4  description: |
     5    The license get command is used to get the current license.
     6  ---
     7  
     8  # Command: license get
     9  
    10  The `license get` command is used to retrieve the current Nomad Enterprise
    11  license. The command is not forwarded to the Nomad leader, and will return
    12  the license from the specific server being contacted.
    13  
    14  ~> License commands are new in Nomad 0.12.0 and are only available with Nomad
    15  Enterprise.
    16  
    17  ## Usage
    18  
    19  ```plaintext
    20  nomad license get [options]
    21  ```
    22  
    23  When ACLs are enabled, this command requires a token with the 'operator:read'
    24  capability.
    25  
    26  ## General Options
    27  
    28  @include 'general_options_no_namespace.mdx'
    29  
    30  ## Examples
    31  
    32  ```shell-session
    33  $ nomad license get
    34  
    35  Product        = nomad
    36  License Status = valid
    37  License ID     = e23f63b1-00ec-4e67-e926-c22e7937ceec
    38  Customer ID    = 350356e5-8aec-bdf4-8510-b205079ccad2
    39  Expires At     = 2020-05-09 00:00:00 +0000 UTC
    40  License ID     = e23f63b1-00ec-4e67-e926-c22e7937ceec
    41  Customer ID    = 350356e5-8aec-bdf4-8510-b205079ccad2
    42  Terminates At  = 2020-05-10 00:00:00 +0000 UTC
    43  Datacenter     = *
    44  Modules:
    45          governance-policy
    46  Licensed Features:
    47          Automated Upgrades
    48          Enhanced Read Scalability
    49          Redundancy Zones
    50          Namespaces
    51          Resource Quotas
    52          Preemption
    53          Audit Logging
    54          Setinel Policies
    55  ```
    56  
    57  ```shell-session
    58  $ nomad license get -stale=true
    59  
    60  Product        = nomad
    61  License Status = valid
    62  License ID     = 8c647f6c-1e6d-18d8-7f05-92c4d8110b2d
    63  Customer ID    = 350356e5-8aec-bdf4-8510-b205079ccad2
    64  Issued At      = 2021-03-31 14:21:16.969610774 +0000 UTC
    65  Expires At     = 2022-04-01 00:00:00 +0000 UTC
    66  Terminates At  = 2022-04-04 00:00:00 +0000 UTC
    67  Datacenter     = *
    68  Modules:
    69          governance-policy
    70          multicluster-and-efficiency
    71  Licensed Features:
    72          Automated Upgrades
    73          Enhanced Read Scalability
    74          Redundancy Zones
    75          Namespaces
    76          Resource Quotas
    77          Audit Logging
    78          Sentinel Policies
    79          Multiregion Deployments
    80          Automated Backups
    81          Multi-Vault Namespaces
    82  ```