Skip to content

Commit bfa66a6

Browse files
[API] Adds active_only flag to security.get_api_key
Co-authored-by: Fernando Briano <fernando@picandocodigo.net>
1 parent 10d69e0 commit bfa66a6

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

+1
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/current/security-api-get-api-key.html

0 commit comments

Comments
 (0)