REST Resource: users.environments.publicKeys

Resource: PublicKey

A public SSH key, corresponding to a private SSH key held by the client.

JSON representation
{
  "name": string,
  "format": enum(Format),
  "key": string
}
Fields
name

string

Output only. Full name of this resource, in the format users/{owner_email}/environments/{environment_id}/publicKeys/{key_id}. {owner_email} is the email address of the user to whom the key belongs. {environment_id} is the identifier of the environment to which the key grants access. {key_id} is the unique identifier of the key. For example, users/someone@example.com/environments/default/publicKeys/myKey.

format

enum(Format)

Required. Format of this key's content.

key

string (bytes format)

Required. Content of this key.

A base64-encoded string.

Methods

create

Adds a public SSH key to an environment, allowing clients with the corresponding private key to connect to that environment via SSH.

delete

Removes a public SSH key from an environment.
Cette page vous a-t-elle été utile ? Évaluez-la :

Envoyer des commentaires concernant…