原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/security-api.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/security-api.html

Security APIsedit

You can use the following APIs to perform security activities.

Application privilegesedit

You can use the following APIs to add, update, retrieve, and remove application privileges:

Role mappingsedit

You can use the following APIs to add, remove, update, and retrieve role mappings:

Rolesedit

You can use the following APIs to add, remove, update, and retrieve roles in the native realm:

Tokensedit

You can use the following APIs to create and invalidate bearer tokens for access without requiring basic authentication:

API Keysedit

You can use the following APIs to create, retrieve and invalidate API keys for access without requiring basic authentication:

Usersedit

You can use the following APIs to add, remove, update, or retrieve users in the native realm:

OpenID Connectedit

You can use the following APIs to authenticate users against an OpenID Connect authentication realm when using a custom web application other than Kibana

SAMLedit

You can use the following APIs to authenticate users against a SAML authentication realm when using a custom web application other than Kibana