It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
ElasticsearchClusterSecurityInfo
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
ElasticsearchClusterSecurityInfo
editFor 2.x Elasticsearch clusters, specifies the information about the users and roles. For 5.x Elasticsearch clusters, use the Kibana management UI.
Properties
edit-
last_modified
(string
asdate-time
, required) - The most recent time the security settings were changed (ISO format in UTC)
-
roles
(object
, required) - An arbitrarily nested JSON object mapping roles to sets of resources and permissions - see the Elasticsearch security documentation for more details on roles
-
users
(array[
ElasticsearchClusterUser
]
, required) -
users_roles
(array[
ElasticsearchClusterRole
]
, required) -
version
(integer
asint32
, required) - The resource version number of the security settings
Example
edit{ "last_modified" : "2019-01-01T00:00:00Z", "roles" : {}, "users" : [ { "password_hash" : "string", "username" : "string" } ], "users_roles" : [ { "roles" : [ "string" ], "username" : "string" } ], "version" : 0 }