2017-06-28 14:02:40 -04:00
|
|
|
[role="xpack"]
|
2017-04-06 21:04:39 -04:00
|
|
|
[[security-api]]
|
|
|
|
== Security APIs
|
|
|
|
|
2018-08-17 12:18:08 -04:00
|
|
|
You can use the following APIs to perform {security} activities.
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
include::security/put-app-privileges.asciidoc[]
|
2017-04-06 21:04:39 -04:00
|
|
|
include::security/authenticate.asciidoc[]
|
|
|
|
include::security/change-password.asciidoc[]
|
|
|
|
include::security/clear-cache.asciidoc[]
|
2018-08-20 17:30:42 -04:00
|
|
|
include::security/create-role-mappings.asciidoc[]
|
2018-08-17 12:18:08 -04:00
|
|
|
include::security/clear-roles-cache.asciidoc[]
|
|
|
|
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 01:22:09 -04:00
|
|
|
include::security/delete-tokens.asciidoc[]
|
2018-08-18 02:17:33 -04:00
|
|
|
include::security/delete-users.asciidoc[]
|
|
|
|
include::security/disable-users.asciidoc[]
|
|
|
|
include::security/enable-users.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[]
|
2018-01-17 11:14:02 -05:00
|
|
|
include::security/ssl.asciidoc[]
|