Skip to content

Commit

Permalink
[DOCS] Updating cluser privilege for create API key (elastic#75959)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Locke authored and elasticsearchmachine committed Aug 2, 2021
1 parent 6b830ea commit 681988c
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 681988c

Please sign in to comment.