---
title: license-key
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical-com-2934.demos.haus/maas/docs/license-key?format=md
---

*Submit*

# license-key

Enter keyword arguments in the form `key=value`.

## [Delete license key](https://canonical-com-2934.demos.haus/maas/docs/license-key?format=md#p-23242-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](https://canonical-com-2934.demos.haus/maas/docs/license-key?format=md#p-23242-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](https://canonical-com-2934.demos.haus/maas/docs/license-key?format=md#p-23242-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](https://canonical-com-2934.demos.haus/maas/docs/license-key?format=md#p-23242-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](https://canonical-com-2934.demos.haus/maas/docs/license-key?format=md#p-23242-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 |

---

[Previous

iprange](https://canonical-com-2934.demos.haus/maas/docs/iprange)
[Next

list](https://canonical-com-2934.demos.haus/maas/docs/list)

Last updated 1 year, 6 months ago. [Help improve this document in the forum](https://discourse.maas.io/t/license-key/11362).
