Skip to content

Commit c76573e

Browse files
[API] Adds active_only flag to security.get_api_key
Co-authored-by: Fernando Briano <[email protected]>
1 parent 0d86fb8 commit c76573e

File tree

1 file changed

+1
-0
lines changed
  • elasticsearch-api/lib/elasticsearch/api/actions/security

1 file changed

+1
-0
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/security/get_api_key.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ module Actions
3030
# @option arguments [String] :realm_name realm name of the user who created this API key to be retrieved
3131
# @option arguments [Boolean] :owner flag to query API keys owned by the currently authenticated user
3232
# @option arguments [Boolean] :with_limited_by flag to show the limited-by role descriptors of API Keys
33+
# @option arguments [Boolean] :active_only flag to limit response to only active (not invalidated or expired) API keys
3334
# @option arguments [Hash] :headers Custom HTTP headers
3435
#
3536
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/security-api-get-api-key.html

0 commit comments

Comments
 (0)