Skip to content

Commit

Permalink
adding basic_auth config to ldap #907 (#7671)
Browse files Browse the repository at this point in the history
* adding basic_auth config to ldap #907

Signed-off-by: AntonEliatra <[email protected]>

* Update ldap.md

Signed-off-by: AntonEliatra <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: AntonEliatra <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
  • Loading branch information
AntonEliatra and Naarcha-AWS authored Jul 10, 2024
1 parent a94e5b6 commit a7f316f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _security/authentication-backends/ldap.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,21 @@ We provide a fully functional example that can help you understand how to use an

To enable LDAP authentication and authorization, add the following lines to `config/opensearch-security/config.yml`:

The internal user database authentication should also be enabled because OpenSearch Dashboards connects to OpenSearch using the `kibanaserver` internal user.
{: .note}

```yml
authc:
internal_auth:
order: 0
description: "HTTP basic authentication using the internal user database"
http_enabled: true
transport_enabled: true
http_authenticator:
type: basic
challenge: false
authentication_backend:
type: internal
ldap:
http_enabled: true
transport_enabled: true
Expand Down

0 comments on commit a7f316f

Please sign in to comment.