Elasticsearch - Security
You want to create an API key for authentication in Elasticsearch using this request:
What is the correct way to authenticate this request?
POST /_security/api_key
{"name": "my-key", "role_descriptors": {"my-role": {"cluster": ["all"]}}}
What is the correct way to authenticate this request?
