Identity and Access Management SAML API, REST: Certificate.get
Returns the specified certificate.
To get the list of available certificates, make a list request.
HTTP request
GET https://iam.api.cloud.yandex.net/iam/v1/saml/certificates/{certificateId}
Path parameters
Parameter | Description |
---|---|
certificateId | ID of the certificate to return. To get the certificate ID, make a list request. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"federationId": "string",
"name": "string",
"description": "string",
"createdAt": "string",
"data": "string"
}
A certificate.
Field | Description |
---|---|
id | string Required. ID of the certificate. The maximum string length in characters is 50. |
federationId | string Required. ID of the federation that the certificate belongs to. The maximum string length in characters is 50. |
name | string Name of the certificate. Value must match the regular expression |
description | string Description of the certificate. The maximum string length in characters is 256. |
createdAt | string (date-time) Creation timestamp. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
data | string Required. Certificate data in PEM format. The maximum string length in characters is 32000. |