Workload Identity, gRPC: FederatedCredentialService.Get
Статья создана
Обновлена 7 ноября 2024 г.
Returns the specified federated credential.
To get the list of available federated credentials, make a List request.
gRPC request
rpc Get (GetFederatedCredentialRequest) returns (FederatedCredential)
GetFederatedCredentialRequest
{
"federatedCredentialId": "string"
}
Field |
Description |
federatedCredentialId |
string Required field. ID of the federated credential to return. |
FederatedCredential
{
"id": "string",
"serviceAccountId": "string",
"federationId": "string",
"externalSubjectId": "string",
"createdAt": "google.protobuf.Timestamp"
}
A federated credential.
Field |
Description |
id |
string Id of the federated credential. |
serviceAccountId |
string Id of the service account that the federated credential belongs to. |
federationId |
string ID of the workload identity federation which is used for authentication. |
externalSubjectId |
string Id of the external subject. |
createdAt |
Creation timestamp. |