elasticsearch-api/lib/elasticsearch/api/actions/security/saml_service_provider_metadata.rb
def saml_service_provider_metadata(arguments = {})
          raise ArgumentError, "Required argument 'realm_name' missing" unless arguments[:realm_name]

          headers = arguments.delete(:headers) || {}

          body = nil

          arguments = arguments.clone

          _realm_name = arguments.delete(:realm_name)

          method = Elasticsearch::API::HTTP_GET
          path   = "_security/saml/metadata/#{Utils.__listify(_realm_name)}"
          params = {}

          perform_request(method, path, params, body, headers).body
        end
# Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider
#
# @option arguments [String] :realm_name The name of the SAML realm to get the metadata for
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-sp-metadata.html
#
Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider
Generates SAML metadata for the Elastic stack SAML 2 . 0 Service Provider
def saml_service_provider_metadata(arguments = {})
          raise ArgumentError, "Required argument 'realm_name' missing" unless arguments[:realm_name]
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _realm_name = arguments.delete(:realm_name)
          method = Elasticsearch::API::HTTP_GET
          path   = "_security/saml/metadata/#{Utils.__listify(_realm_name)}"
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def saml_service_provider_metadata ( arguments = { } ) raise ArgumentError , "Required argument 'realm_name' missing" unless arguments [ :realm_name ] headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _realm_name = arguments . delete ( :realm_name ) method = Elasticsearch :: API :: HTTP_GET path = "_security/saml/metadata/#{Utils.__listify(_realm_name)}" params = { } perform_request ( method , path , params , body , headers ) . body end
Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider
Generates SAML metadata for the Elastic stack SAML 2 . 0 Service Provider
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None