Access Key, gRPC: AccessKeyService.Create
Creates an access key for the specified service account.
gRPC request
rpc Create (CreateAccessKeyRequest) returns (CreateAccessKeyResponse)
CreateAccessKeyRequest
{
"service_account_id": "string",
"description": "string"
}
Field |
Description |
service_account_id |
string ID of the service account to create an access key for. |
description |
string Description of the access key. |
CreateAccessKeyResponse
{
"access_key": {
"id": "string",
"service_account_id": "string",
"created_at": "google.protobuf.Timestamp",
"description": "string",
"key_id": "string",
"last_used_at": "google.protobuf.Timestamp"
},
"secret": "string"
}
Field |
Description |
access_key |
AccessKey resource. |
secret |
string Secret access key. |
AccessKey
An access key.
For more information, see AWS-compatible access keys.
Field |
Description |
id |
string ID of the AccessKey resource. |
service_account_id |
string ID of the service account that the access key belongs to. |
created_at |
Creation timestamp. |
description |
string Description of the access key. 0-256 characters long. |
key_id |
string ID of the access key. |
last_used_at |
Timestamp for the last authentication using this Access key. |