From d13695e19814a27252b2433805bdef3c0f74fd6c Mon Sep 17 00:00:00 2001 From: Adam Locke Date: Mon, 2 Aug 2021 11:20:06 -0400 Subject: [PATCH] [DOCS] Updating cluser privilege for create API key (#75959) --- x-pack/docs/en/rest-api/security/create-api-keys.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/docs/en/rest-api/security/create-api-keys.asciidoc b/x-pack/docs/en/rest-api/security/create-api-keys.asciidoc index 0b5e97dbca2a0..e94b96401a002 100644 --- a/x-pack/docs/en/rest-api/security/create-api-keys.asciidoc +++ b/x-pack/docs/en/rest-api/security/create-api-keys.asciidoc @@ -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.