Method list

Retrieves the list of certificates in the specified federation.

HTTP request

GET https://iam.api.cloud.yandex.net/iam/v1/saml/certificates

Query parameters

Parameter Description
federationId Required. ID of the federation to list certificates in. To get the federation ID make a [yandex.cloud.iam.v1.FederationService.List] request. The maximum string length in characters is 50.
pageSize The maximum number of results per page to return. If the number of available results is larger than pageSize, the service returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Default value: 100. Acceptable values are 0 to 1000, inclusive.
pageToken Page token. To get the next page of results, set pageToken to the nextPageToken returned by a previous list request. The maximum string length in characters is 100.
filter A filter expression that filters resources listed in the response. The expression must specify: 1. The field name. Currently you can use filtering only on Certificate.name field. 2. An operator. Can be either = or != for single values, IN or NOT IN for lists of values. 3. The value. Must be 3-63 characters long and match the regular expression ^[a-z][-a-z0-9]{1,61}[a-z0-9]$. The maximum string length in characters is 1000.

Response

HTTP Code: 200 - OK

{
  "certificates": [
    {
      "id": "string",
      "federationId": "string",
      "name": "string",
      "description": "string",
      "createdAt": "string",
      "data": "string"
    }
  ],
  "nextPageToken": "string"
}
Field Description
certificates[] object

A certificate.

certificates[].
id
string

Required. ID of the certificate.

The maximum string length in characters is 50.

certificates[].
federationId
string

Required. ID of the federation that the certificate belongs to.

The maximum string length in characters is 50.

certificates[].
name
string

Name of the certificate.

Value must match the regular expression |[a-z][-a-z0-9]{1,61}[a-z0-9].

certificates[].
description
string

Description of the certificate.

The maximum string length in characters is 256.

certificates[].
createdAt
string (date-time)

Creation timestamp.

String in RFC3339 text format.

certificates[].
data
string

Required. Certificate data in PEM format.

The maximum string length in characters is 32000.

nextPageToken string

This token allows you to get the next page of results for list requests. If the number of results is larger than pageSize, use the nextPageToken as the value for the pageToken query parameter in the next list request. Each subsequent list request will have its own nextPageToken to continue paging through the results.