sslkey

delete

Deletes the SSL key with the given ID.

maas$PROFILEsslkeydelete[--help][-d][-k]id[data...]

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

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.

Keywords

Keyword "id"

Optional Int. An SSH key ID.

Note: This command accepts JSON.

read

Retrieves an SSL key with the given ID.

maas$PROFILEsslkeyread[--help][-d][-k]id[data...]

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

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.

Keywords

Keyword "id"

Optional Int. An SSL key ID.

Note: This command accepts JSON.

sslkeys create

Add a new SSL key to the requesting user’s account.

maas$PROFILEsslkeyscreate[--help][-d][-k][data...]

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.

Keywords

Keyword "key"

Optional String. An SSL key should be provided in the request payload as form data with the name ‘key’: key: "key data" - key data: The contents of a pem file.

Note: This command accepts JSON.

sslkeys read

List all keys belonging to the requesting user.

maas$PROFILEsslkeysread[--help][-d][-k]

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.