Workload Identity, gRPC: FederatedCredentialService.List
Retrieves the list of federated credentials for the specified service account.
gRPC request
rpc List (ListFederatedCredentialsRequest) returns (ListFederatedCredentialsResponse)
ListFederatedCredentialsRequest
{
"service_account_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
service_account_id |
string Required field. ID of the service account to list federated credentials for. |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
ListFederatedCredentialsResponse
{
"federated_credentials": [
{
"id": "string",
"service_account_id": "string",
"federation_id": "string",
"external_subject_id": "string",
"created_at": "google.protobuf.Timestamp"
}
],
"next_page_token": "string"
}
Field |
Description |
federated_credentials[] |
List of federated credentials. |
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
FederatedCredential
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. |