dcos license get

ENTERPRISE

Displaying the cluster licenses

Description

The dcos license get command retrieves a specific license associated with this cluster. When no LICENSE_ID is passed, the current license is returned. This command outputs to stdout by default.

Usage

  1. dcos license get [OPTIONS] [LICENSE_ID]

Options

NameDescription
—helpShow this message and exit.
—decryption-keyGet the key to decrypt license audit records.

Positional Arguments

NameDescription
LICENSE_IDID of license to be retrieved. If no LICENSE_ID parameter is passed, the current license will be retrieved.

Examples

  1. dcos license get
  2. {
  3. "decryption_key": "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMTUWJbWO4rWDe2Vg8DEW7B9AA\n3PWBT/j/mDEoSmqr3Tsh1hA38nxTjdEV5B1xljSZxOfVQ/7It1lqA6qgdDfNA1UC\nwOunuy3JIApql5n/OD2JGQQxaLYiS+c2nQS0rLUh6mQ0KvBCMSBtbXfYd6hBzy4Y\nOZEQ9UPaI1eF45yOtQIDAQAB\n-----END PUBLIC KEY-----\n",
  4. "id": "mesosphere-developer",
  5. "license_terms": {
  6. "end_timestamp": "2019-06-01T15:04:05Z",
  7. "node_capacity": 300,
  8. "start_timestamp": "2018-12-01T15:04:05Z"
  9. },
  10. "version": "1.13"
  11. }
  1. dcos license get --decryption-key
  2. -----BEGIN PUBLIC KEY-----
  3. MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMTUWJbWO4rWDe2Vg8DEW7B9AA
  4. 3PWBT/j/mDEoSmqr3Tsh1hA38nxTjdEV5B1xljSZxOfVQ/7It1lqA6qgdDfNA1UC
  5. wOunuy3JIApql5n/OD2JGQQxaLYiS+c2nQS0rLUh6mQ0KvBCMSBtbXfYd6hBzy4Y
  6. OZEQ9UPaI1eF45yOtQIDAQAB
  7. -----END PUBLIC KEY-----

For more examples, see Licenses.

Parent command

CommandDescription
dcos licenseManage DC/OS cluster licenses.