lib/elasticsearch/api/actions/security/get_api_key.rb in elasticsearch-api-8.11.2 vs lib/elasticsearch/api/actions/security/get_api_key.rb in elasticsearch-api-8.12.0
- old
+ new
@@ -28,12 +28,13 @@
# @option arguments [String] :name API key name of the API key to be retrieved
# @option arguments [String] :username user name of the user who created this API key to be retrieved
# @option arguments [String] :realm_name realm name of the user who created this API key to be retrieved
# @option arguments [Boolean] :owner flag to query API keys owned by the currently authenticated user
# @option arguments [Boolean] :with_limited_by flag to show the limited-by role descriptors of API Keys
+ # @option arguments [Boolean] :active_only flag to limit response to only active (not invalidated or expired) API keys
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/security-api-get-api-key.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/security-api-get-api-key.html
#
def get_api_key(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || "security.get_api_key" }
arguments = arguments.clone