module Elasticsearch::XPack::API::SSL::Actions

Public Instance Methods

certificates(arguments = {}) click to toggle source

Retrieves information about the X.509 certificates used to encrypt communications in the cluster.

@option arguments [Hash] :headers Custom HTTP headers

@see www.elastic.co/guide/en/elasticsearch/reference/7.14/security-api-ssl.html

# File lib/elasticsearch/xpack/api/actions/ssl/certificates.rb, line 29
def certificates(arguments = {})
  headers = arguments.delete(:headers) || {}

  arguments = arguments.clone

  method = Elasticsearch::API::HTTP_GET
  path   = "_ssl/certificates"
  params = {}

  body = nil
  perform_request(method, path, params, body, headers).body
end