Key
Статья создана
A set of methods for managing Key resources.
JSON Representation
{
"id": "string",
"createdAt": "string",
"description": "string",
"keyAlgorithm": "string",
"publicKey": "string",
// includes only one of the fields `userAccountId`, `serviceAccountId`
"userAccountId": "string",
"serviceAccountId": "string",
// end of the list of possible fields
}
Field | Description |
---|---|
id | string ID of the Key resource. |
createdAt | string (date-time) Creation timestamp. String in RFC3339 text format. |
description | string Description of the Key resource. 0-256 characters long. |
keyAlgorithm | string An algorithm used to generate a key pair of the Key resource.
|
publicKey | string A public key of the Key resource. |
userAccountId | string includes only one of the fields userAccountId , serviceAccountId ID of the user account that the Key resource belongs to. |
serviceAccountId | string includes only one of the fields userAccountId , serviceAccountId ID of the service account that the Key resource belongs to. |
Methods
Method | Description |
---|---|
create | Creates a key pair for the specified service account. |
delete | Deletes the specified key pair. |
get | Returns the specified Key resource. |
list | Retrieves the list of Key resources for the specified service account. |
listOperations | Lists operations for the specified key. |
update | Updates the specified key pair. |