Orchestration v2 Attributes for SSHKey

The following sample JSON shows the required attributes of the SSHKey object type. A description of each of the required and optional attributes of this object type is provided in the table that follows the JSON sample.

{
          "name": "/Compute-acme/joe/key1"
          "enabled": false,
          "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDzU21CEj6JsqIMQAYwNbmZ5P2BVxA...",
 }
Parameter Required or Optional Description

name

required

The three-part name of the object (/Compute-identity_domain/user/object).

Object names can contain only alphanumeric characters, hyphens, underscores, and periods. Object names are case-sensitive.

When you specify the object name, ensure that an object of the same type and with the same name doesn’t already exist. If such an object already exists, another object of the same type and with the same name won’t be created and the existing object won’t be updated.

key

required

The SSH public key value.

enabled

optional

Indicates whether the key must be enabled or disabled. SSH keys are enabled by default. To explicitly enable the key, specify true. To disable a key, specify false. Disabled keys can’t be associated with instances.