Module: Elasticsearch::XPack::API::SSL::Actions

Included in:
SSLClient
Defined in:
lib/elasticsearch/xpack/api/namespace/ssl.rb,
lib/elasticsearch/xpack/api/actions/ssl/certificates.rb,
lib/elasticsearch/xpack/api/actions/ssl/params_registry.rb

Defined Under Namespace

Modules: ParamsRegistry

Instance Method Summary collapse

Instance Method Details

#certificates(arguments = {}) ⇒ Object

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

Parameters:

  • arguments (Hash) (defaults to: {})

    a customizable set of options

Options Hash (arguments):

  • :headers (Hash)

    Custom HTTP headers

See Also:



29
30
31
32
33
34
35
36
37
38
39
40
# 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