Identity and Access Management Workload Identity API, REST: FederatedCredential.List
Retrieves the list of federated credentials for the specified service account.
HTTP request
GET https://iam.api.cloud.yandex.net/iam/v1/workload/federatedCredentials
Query parameters
Field |
Description |
serviceAccountId |
string Required field. ID of the service account to list federated credentials for. |
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
Response
HTTP Code: 200 - OK
{
"federatedCredentials": [
{
"id": "string",
"serviceAccountId": "string",
"federationId": "string",
"externalSubjectId": "string",
"createdAt": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
federatedCredentials[] |
List of federated credentials. |
nextPageToken |
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. |
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 |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |