Identity and Access Management Workload Identity API, REST: FederatedCredential.Get
Returns the specified federated credential.
To get the list of available federated credentials, make a List request.
HTTP request
GET https://iam.api.cloud.yandex.net/iam/v1/workload/federatedCredentials/{federatedCredentialId}
Path parameters
Field |
Description |
federatedCredentialId |
string Required field. ID of the federated credential to return. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"serviceAccountId": "string",
"federationId": "string",
"externalSubjectId": "string",
"createdAt": "string"
}
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 |