Elastic registry: allow api-key for authentication #2712
Labels
doc-update
A documentation update
enhancement
A general enhancement
registry: elastic
An ElasticSearch Registry related issue
Milestone
Please describe the feature request.
Please allow API keys as an option for authentication into elasticsearch.
Rationale
This allows support for both authentication schemes in elastic and helps remove the need for local users when using SAML/OIDC based user authentication.
Additional context
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html
To use the generated API key, send a request with an Authorization header that contains an ApiKey prefix followed by the API key credentials. The credentials are a Base64-encoded string in UTF-8 format that you create by combining the id and api_key with a colon (:). For example:
The text was updated successfully, but these errors were encountered: