Create or Update Distinguished Name API
Introduced 1.0
Adds or updates the specified distinguished names in the cluster’s or node’s allow list.
This API is reserved for a superadmin. Authenticate with an admin certificate rather than with a user name and password. For more information, see Access control for the API.
Endpoints
PUT /_plugins/_security/api/nodesdn/{cluster_name}
Example request
PUT _plugins/_security/api/nodesdn/cluster1
{
"nodes_dn": [
"CN=cluster1.example.com"
]
}
Example response
{
"status": "CREATED",
"message": "'cluster1' created."
}