Identity and Access Management API, gRPC: IamTokenService.CreateForServiceAccount
Written by
Updated at October 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. |