LDAP account details
To establish a connection to LDAP, you must add an account that defines the account details to connect with. You can define these details by creating a configuration object in the App Connect Dashboard, the Red Hat® OpenShift® web console or CLI, or the Kubernetes CLI.
Account parameters
You can define one or more LDAP accounts.
For each account that you require, you can specify a new set of account details in any of the following ways:
- If you are using the App Connect Dashboard, either complete the
Account details fields in the
Create configuration
panel, or specify the account parameters in an accounts.yaml file before importing it into theCreate configuration
panel. For more information, see Accounts type. - If you are using the Red Hat OpenShift web console or CLI, or the Kubernetes CLI, specify the account parameters in an accounts.yaml file, and then use this configuration file to create a configuration object. For more information, see Creating the file for a configuration object of type Accounts.
The set of required and optional Account fields or parameters are listed in the following table.
If necessary, work with your LDAP server administrator to obtain the values for these parameters.
Field | Parameter | Values | Condition | Description |
---|---|---|---|---|
Account name |
name |
User defined |
Required |
The name of an LDAP account that is used in the exported flow. |
Principal Distinguished Name |
adminDn |
User defined |
Required |
The distinguished name of the LDAP user; for example, CN=user,OU=organization,DC=mydomain,DC=com. |
Password |
password |
User defined |
Required |
The password that is associated with the distinguished name of the user. |
LDAP URL |
endpointUrl |
User defined |
Required |
A valid LDAP URL in the format ldap://host_or_IPaddress:port. |
Example
accounts:
ldap:
- name: Account 1
credentials:
adminDn: 'CN=user,OU=organization,DC=mydomain,DC=com'
password: abcde123fghij456klmn
endpoint:
endpointUrl: 'ldap://123.4.5.6:389'