Authenticate using the LDAPS protocol

Configure the plugin to perform LDAP authentication over a secure LDAPS connection.

Prerequisites

  • You have an LDAP server running

Environment variables

  • LDAP_HOST: The host for the LDAP server to use.

Set up the plugin

Add this section to your declarative configuration file:

_format_version: "3.0"
plugins:
  - name: ldap-auth
    config:
      ldap_host: ${{ env "DECK_LDAP_HOST" }}
      ldap_port: 636
      ldaps: true
      base_dn: dc=example,dc=com
      verify_ldap_host: false
      attribute: cn
      cache_ttl: 60
      header_type: ldap
Copied to clipboard!

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!