Hello,
I want set OpenID authentication on Opensearch API. (GCP environment)
Currently, it’s ok with Opensearch Dashboard.
When users browse url, they are correctly redirect. No need password, email adress in header is catched and mapped to admin role in security plugin.
But, how we can request Opensearch API with command line for example ? Here my configuration on opensearch :
openid_auth_domain:
http_enabled: true
transport_enabled: true
order: 0
http_authenticator:
type: openid
challenge: false
config:
subject_key: email
roles_key: roles
openid_connect_url: https://accounts.google.com/.well-known/openid-configuration
authentication_backend:
type: noop
authz:
internal_authorization:
http_enabled: true
transport_enabled: true
authorization_backend:
type: noop
I would like request API simply like : curl https://myopensearch/
or
PUT data with Spark, Logstash …
Like with Opensearch Dashboard, no need password.
Is possible ? Else how we can request ?
Thanks for reply
Gnarly