Get security index settings Generally available
Get the user-configurable settings for the security internal index (.security
and associated indices). Only a subset of the index settings — those that are user-configurable—will be shown. This includes:
index.auto_expand_replicas
index.number_of_replicas
Required authorization
- Cluster privileges:
read_security
GET /_security/settings
Console
GET /_security/settings
resp = client.security.get_settings()
const response = await client.security.getSettings();
response = client.security.get_settings
$resp = $client->security()->getSettings();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_security/settings"
client.security().getSettings(g -> g);