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