Skip to content

Commit 4625258

Browse files
committed
[API] Adds with_profile_uid parameter and typed_keys to api_keys
1 parent 63192cb commit 4625258

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-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] :with_profile_uid flag to also retrieve the API Key's owner profile uid, if it exists
3334
# @option arguments [Boolean] :active_only flag to limit response to only active (not invalidated or expired) API keys
3435
# @option arguments [Hash] :headers Custom HTTP headers
3536
#

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ module Actions
2525
# Retrieves information for API keys using a subset of query DSL
2626
#
2727
# @option arguments [Boolean] :with_limited_by flag to show the limited-by role descriptors of API Keys
28+
# @option arguments [Boolean] :with_profile_uid flag to also retrieve the API Key's owner profile uid, if it exists
29+
# @option arguments [Boolean] :typed_keys flag to prefix aggregation names by their respective types in the response
2830
# @option arguments [Hash] :headers Custom HTTP headers
2931
# @option arguments [Hash] :body From, size, query, sort and search_after
3032
#

0 commit comments

Comments
 (0)