Workload Identity, gRPC: FederatedCredentialService.Get
Статья создана
Обновлена 26 ноября 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
{
"federated_credential_id": "string"
}
Field |
Description |
federated_credential_id |
string Required field. ID of the federated credential to return. |
FederatedCredential
{
"id": "string",
"service_account_id": "string",
"federation_id": "string",
"external_subject_id": "string",
"created_at": "google.protobuf.Timestamp"
}
A federated credential.
Field |
Description |
id |
string Id of the federated credential. |
service_account_id |
string Id of the service account that the federated credential belongs to. |
federation_id |
string ID of the workload identity federation which is used for authentication. |
external_subject_id |
string Id of the external subject. |
created_at |
Creation timestamp. |