Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

An error occurred while submitting your form. Please try again or file a bug report. Close

license-key

Enter keyword arguments in the form key=value.

Delete license key

maas $PROFILE license-key delete [--help] [-d] [-k] osystem distro_series [data ...]

Positional arguments

  • osystem
  • distro_series

Delete license key for the given operation system and distro series.

Command-line options

Option Effect
–help, -h Show this help message and exit.
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check

Read license key

maas $PROFILE license-key read [--help] [-d] [-k] osystem distro_series [data ...]

Positional arguments

  • osystem
  • distro_series

Read a license key for the given operating sytem and distro series.

Command-line options

Option Effect
–help, -h Show this help message and exit.
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check

Update license key

maas $PROFILE license-key update [--help] [-d] [-k] osystem distro_series [data ...]

Positional arguments

  • osystem
  • distro_series

Update a license key for the given operating system and distro series.

Keyword “license_key”

Optional String. License key for osystem/distro_series combo.

Command-line options

Option Effect
–help, -h Show this help message and exit.
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check

Define a license key

maas $PROFILE license-keys create [--help] [-d] [-k] [data ...] 

Define a license key.

Keyword “osystem”

Required String. Operating system that the key belongs to.

Keyword “distro_series”

Required String. OS release that the key belongs to.

Keyword “license_key”

Required String. License key for osystem/distro_series combo.

Command-line options

Option Effect
–help, -h Show this help message and exit.
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check

List license keys

maas $PROFILE license-keys read [--help] [-d] [-k] [data ...] 

List all available license keys.

Command-line options

Option Effect
–help, -h Show this help message and exit.
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check

Last updated 3 months ago. Help improve this document in the forum.