File tree Expand file tree Collapse file tree
security/es_roles/opensearch Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,13 @@ ELASTICSEARCH_BOOTSTRAP_MEMORY_LOCK=true
112112# system_call_filter | https://en.wikipedia.org/wiki/Seccomp
113113ELASTICSEARCH_SYSTEM_CALL_FILTER = false
114114
115+ # ###### OpenID Connect (OpenSearch Security) #######
116+ # Values used by: security/es_roles/opensearch/config.yml (openid_auth_domain)
117+ ELASTICSEARCH_OPENID_CONNECT_URL = " https://keycloak.example.com:8080/auth/realms/master/.well-known/openid-configuration"
118+ ELASTICSEARCH_OPENID_REQUIRED_AUDIENCE = " your-openid-client-id"
119+ ELASTICSEARCH_OPENID_SUBJECT_KEY = " preferred_username"
120+ ELASTICSEARCH_OPENID_ROLES_KEY = " roles"
121+
115122# ###### This section is for AD user authentication #######
116123
117124# example: network.xyz.uk
Original file line number Diff line number Diff line change @@ -85,6 +85,20 @@ config:
8585 # ##### and here https://tools.ietf.org/html/rfc7239
8686 # ##### and https://tomcat.apache.org/tomcat-8.0-doc/config/valve.html#Remote_IP_Valve
8787 authc :
88+ openid_auth_domain :
89+ http_enabled : true
90+ transport_enabled : true
91+ order : 0
92+ http_authenticator :
93+ type : openid
94+ challenge : false
95+ config :
96+ subject_key : preferred_username
97+ roles_key : roles
98+ openid_connect_url : https://keycloak.example.com:8080/auth/realms/master/.well-known/openid-configuration
99+ required_audience : your-openid-client-id
100+ authentication_backend :
101+ type : noop
88102 kerberos_auth_domain :
89103 http_enabled : false
90104 transport_enabled : false
You can’t perform that action at this time.
0 commit comments