Managed Service for OpenSearch API, REST: Cluster.GetAuthSettings
Retrieves auth settings for specified cluster.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-opensearch/v1/clusters/{clusterId}/auth
Path parameters
Field |
Description |
clusterId |
string Required field. Required. ID of the OpenSearch cluster. |
Response
HTTP Code: 200 - OK
{
"saml": {
"enabled": "boolean",
"idpEntityId": "string",
"idpMetadataFile": "string",
"spEntityId": "string",
"dashboardsUrl": "string",
"rolesKey": "string",
"subjectKey": "string",
"jwtDefaultExpirationTimeout": "string"
}
}
Field |
Description |
saml |
SAML settings |
SAMLSettings
Field |
Description |
enabled |
boolean |
idpEntityId |
string Required. The entity ID of your IdP. |
idpMetadataFile |
string (bytes) Required. The SAML 2.0 metadata file of your IdP. |
spEntityId |
string Required. The entity ID of the service provider. |
dashboardsUrl |
string Required. The OpenSearch Dashboards base URL. |
rolesKey |
string Optional. The attribute in the SAML response where the roles are stored. If not configured, no roles are used. |
subjectKey |
string Optional. The attribute in the SAML response where the subject is stored. If not configured, the NameID attribute is used. |
jwtDefaultExpirationTimeout |
string (int64) default jwt expiration timeout. |