Identity and Access Management API, gRPC: IamTokenService.CreateForServiceAccount
Статья создана
Обновлена 17 октября 2024 г.
Create an IAM token for service account.
gRPC request
rpc CreateForServiceAccount (CreateIamTokenForServiceAccountRequest) returns (CreateIamTokenResponse)
CreateIamTokenForServiceAccountRequest
{
"serviceAccountId": "string"
}
Field |
Description |
serviceAccountId |
string Required field. |
CreateIamTokenResponse
{
"iamToken": "string",
"expiresAt": "google.protobuf.Timestamp"
}
Field |
Description |
iamToken |
string IAM token for the specified identity. You should pass the token in the |
expiresAt |
IAM token expiration time. |