Skip to content

Document API-Key APIs require manage_api_key priv #43811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions x-pack/docs/en/rest-api/security/create-api-keys.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ same as the request for create role API. For more details, see
`expiration`::
(string) Optional expiration time for the API key. By default, API keys never expire.

==== Authorization

To use this API, you must have at least the `manage_api_key` cluster privilege.

==== Examples

The following example creates an API key:
Expand Down
4 changes: 4 additions & 0 deletions x-pack/docs/en/rest-api/security/get-api-keys.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ or `name`.

NOTE: While all parameters are optional, at least one of them is required.

==== Authorization

To use this API, you must have at least the `manage_api_key` cluster privilege.

==== Examples

If you create an API key as follows:
Expand Down
4 changes: 4 additions & 0 deletions x-pack/docs/en/rest-api/security/invalidate-api-keys.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ either `id` or `name`.

NOTE: While all parameters are optional, at least one of them is required.

==== Authorization

To use this API, you must have at least the `manage_api_key` cluster privilege.

==== Examples

If you create an API key as follows:
Expand Down