Skip to content

Commit

Permalink
[DOCS] Updating cluser privilege for create API key (#75959) (#75963)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Locke <[email protected]>
  • Loading branch information
elasticsearchmachine and Adam Locke authored Aug 2, 2021
1 parent 9201a56 commit f9f91ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/docs/en/rest-api/security/create-api-keys.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Creates an API key for access without requiring basic authentication.
[[security-api-create-api-key-prereqs]]
==== {api-prereq-title}

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

IMPORTANT: If the credential that is used to authenticate this request is
an API key, the derived API key cannot have any privileges. If you specify privileges, the API returns an error.
Expand Down

0 comments on commit f9f91ab

Please sign in to comment.