Update api.md (#6651)
* Update api.md Add documentation to use APIs that require admin access Signed-off-by: Morpheus-zzy <forgetzzy@gmail.com> * Update _security/access-control/api.md Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> Signed-off-by: Melissa Vagi <vagimeli@amazon.com> * Update _security/access-control/api.md Signed-off-by: Melissa Vagi <vagimeli@amazon.com> --------- Signed-off-by: Morpheus-zzy <forgetzzy@gmail.com> Signed-off-by: Melissa Vagi <vagimeli@amazon.com> Co-authored-by: Melissa Vagi <vagimeli@amazon.com> Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com>
This commit is contained in:
parent
09f00d3aa7
commit
3416537a2f
|
@ -29,6 +29,13 @@ plugins.security.restapi.roles_enabled: ["<role>", ...]
|
|||
```
|
||||
{% include copy.html %}
|
||||
|
||||
If you're working with APIs that manage `Distinguished names` or `Certificates` that require super admin access, enable the REST API admin configuration in your `opensearch.yml` file as shown in the following setting example:
|
||||
|
||||
```yml
|
||||
plugins.security.restapi.admin.enabled: true
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
These roles can now access all APIs. To prevent access to certain APIs:
|
||||
|
||||
```yml
|
||||
|
|
Loading…
Reference in New Issue