2017-06-28 14:02:40 -04:00
|
|
|
[role="xpack"]
|
2017-04-06 21:04:39 -04:00
|
|
|
[[security-api]]
|
|
|
|
== Security APIs
|
|
|
|
|
2018-12-19 17:53:37 -05:00
|
|
|
You can use the following APIs to perform security activities.
|
2018-08-17 12:18:08 -04:00
|
|
|
|
2017-04-06 21:04:39 -04:00
|
|
|
* <<security-api-authenticate>>
|
|
|
|
* <<security-api-clear-cache>>
|
2018-08-23 21:04:02 -04:00
|
|
|
* <<security-api-has-privileges>>
|
2018-01-17 11:14:02 -05:00
|
|
|
* <<security-api-ssl>>
|
2017-04-06 21:04:39 -04:00
|
|
|
|
2018-08-18 00:39:21 -04:00
|
|
|
[float]
|
2018-08-23 21:04:02 -04:00
|
|
|
[[security-api-app-privileges]]
|
|
|
|
=== Application privileges
|
2018-08-18 00:39:21 -04:00
|
|
|
|
2018-08-23 21:04:02 -04:00
|
|
|
You can use the following APIs to add, update, retrieve, and remove application
|
|
|
|
privileges:
|
2018-08-18 00:39:21 -04:00
|
|
|
|
2018-08-23 21:04:02 -04:00
|
|
|
* <<security-api-put-privileges,Create or update privileges>>
|
|
|
|
* <<security-api-delete-privilege,Delete privileges>>
|
|
|
|
* <<security-api-get-privileges,Get privileges>>
|
2018-08-17 12:18:08 -04:00
|
|
|
|
2018-08-20 17:30:42 -04:00
|
|
|
[float]
|
|
|
|
[[security-role-mapping-apis]]
|
|
|
|
=== Role mappings
|
|
|
|
|
2018-08-23 21:04:02 -04:00
|
|
|
You can use the following APIs to add, remove, update, and retrieve role mappings:
|
2018-08-20 17:30:42 -04:00
|
|
|
|
2018-08-23 21:04:02 -04:00
|
|
|
* <<security-api-put-role-mapping,Create or update role mappings>>
|
|
|
|
* <<security-api-delete-role-mapping,Delete role mappings>>
|
2018-08-20 17:30:42 -04:00
|
|
|
* <<security-api-get-role-mapping,Get role mappings>>
|
|
|
|
|
2018-08-23 21:04:02 -04:00
|
|
|
[float]
|
|
|
|
[[security-role-apis]]
|
|
|
|
=== Roles
|
|
|
|
|
|
|
|
You can use the following APIs to add, remove, update, and retrieve roles in the native realm:
|
|
|
|
|
|
|
|
* <<security-api-put-role,Create or update roles>>
|
|
|
|
* <<security-api-clear-role-cache,Clear roles cache>>
|
|
|
|
* <<security-api-delete-role,Delete roles>>
|
|
|
|
* <<security-api-get-role,Get roles>>
|
|
|
|
|
2018-08-18 01:22:09 -04:00
|
|
|
[float]
|
|
|
|
[[security-token-apis]]
|
|
|
|
=== Tokens
|
|
|
|
|
|
|
|
You can use the following APIs to create and invalidate bearer tokens for access
|
|
|
|
without requiring basic authentication:
|
|
|
|
|
2018-08-23 21:04:02 -04:00
|
|
|
* <<security-api-get-token,Get token>>
|
|
|
|
* <<security-api-invalidate-token,Invalidate token>>
|
2018-08-18 01:22:09 -04:00
|
|
|
|
2019-02-04 22:21:57 -05:00
|
|
|
[float]
|
|
|
|
[[security-api-keys]]
|
|
|
|
=== API Keys
|
|
|
|
|
|
|
|
You can use the following APIs to create, retrieve and invalidate API keys for access
|
|
|
|
without requiring basic authentication:
|
|
|
|
|
|
|
|
* <<security-api-create-api-key,Create API Key>>
|
|
|
|
* <<security-api-get-api-key,Get API Key>>
|
|
|
|
* <<security-api-invalidate-api-key,Invalidate API Key>>
|
|
|
|
|
2018-08-18 02:17:33 -04:00
|
|
|
[float]
|
|
|
|
[[security-user-apis]]
|
|
|
|
=== Users
|
|
|
|
|
2018-08-23 21:04:02 -04:00
|
|
|
You can use the following APIs to add, remove, update, or retrieve users in the
|
2018-08-18 02:17:33 -04:00
|
|
|
native realm:
|
|
|
|
|
2018-08-23 21:04:02 -04:00
|
|
|
* <<security-api-put-user,Create or update users>>
|
2018-08-18 02:17:33 -04:00
|
|
|
* <<security-api-change-password,Change passwords>>
|
2018-08-23 21:04:02 -04:00
|
|
|
* <<security-api-delete-user,Delete users>>
|
|
|
|
* <<security-api-disable-user,Disable users>>
|
|
|
|
* <<security-api-enable-user,Enable users>>
|
2018-08-18 02:17:33 -04:00
|
|
|
* <<security-api-get-user,Get users>>
|
|
|
|
|
2018-08-23 21:04:02 -04:00
|
|
|
|
2017-04-06 21:04:39 -04:00
|
|
|
include::security/authenticate.asciidoc[]
|
|
|
|
include::security/change-password.asciidoc[]
|
|
|
|
include::security/clear-cache.asciidoc[]
|
2018-08-17 12:18:08 -04:00
|
|
|
include::security/clear-roles-cache.asciidoc[]
|
2019-03-04 18:06:00 -05:00
|
|
|
include::security/create-api-keys.asciidoc[]
|
2018-12-20 13:23:28 -05:00
|
|
|
include::security/put-app-privileges.asciidoc[]
|
|
|
|
include::security/create-role-mappings.asciidoc[]
|
2018-08-17 12:18:08 -04:00
|
|
|
include::security/create-roles.asciidoc[]
|
2018-08-18 02:17:33 -04:00
|
|
|
include::security/create-users.asciidoc[]
|
2018-08-23 21:04:02 -04:00
|
|
|
include::security/delete-app-privileges.asciidoc[]
|
2018-08-20 17:30:42 -04:00
|
|
|
include::security/delete-role-mappings.asciidoc[]
|
2018-08-17 12:18:08 -04:00
|
|
|
include::security/delete-roles.asciidoc[]
|
2018-08-18 02:17:33 -04:00
|
|
|
include::security/delete-users.asciidoc[]
|
|
|
|
include::security/disable-users.asciidoc[]
|
|
|
|
include::security/enable-users.asciidoc[]
|
2019-03-04 18:06:00 -05:00
|
|
|
include::security/get-api-keys.asciidoc[]
|
2018-08-23 21:04:02 -04:00
|
|
|
include::security/get-app-privileges.asciidoc[]
|
2018-08-20 17:30:42 -04:00
|
|
|
include::security/get-role-mappings.asciidoc[]
|
2018-08-17 12:18:08 -04:00
|
|
|
include::security/get-roles.asciidoc[]
|
2018-08-18 01:22:09 -04:00
|
|
|
include::security/get-tokens.asciidoc[]
|
2018-08-18 02:17:33 -04:00
|
|
|
include::security/get-users.asciidoc[]
|
2018-08-23 21:04:02 -04:00
|
|
|
include::security/has-privileges.asciidoc[]
|
2019-03-04 18:06:00 -05:00
|
|
|
include::security/invalidate-api-keys.asciidoc[]
|
2018-11-21 02:32:56 -05:00
|
|
|
include::security/invalidate-tokens.asciidoc[]
|
2018-01-17 11:14:02 -05:00
|
|
|
include::security/ssl.asciidoc[]
|