user-mgmt
config-ldap
Configure LDAP settings.
Syntax
cpd-cli user-mgmt config-ldap \
--config=<ldap-configuration-file-name> \
--profile=<cpd-profile-name> \
[--cpdconfig=<cpd-configuration-location>] \
[--skip-verify-connection] \
[--verbose] \
[--verify-connection-password=<ldap-user-password>] \
[--verify-connection-username=<ldap-user-name>] \
Arguments
The config-ldap
command has no
arguments.
Options
Option | Description |
---|---|
--config |
The LDAP configuration
file.
|
--cpdconfig |
The Cloud Pak for Data
configuration location. For example,
$HOME/.cpd-cli/config.
|
|
Display command
help.
|
--profile |
The name of the profile that you
created to store information about an instance of Cloud Pak for Data and your credentials for the
instance.
|
--skip-verify-connection |
Skip connection verification and
save the LDAP configuration.
|
--verbose |
Logs include more detailed
messages.
|
--verify-connection-password |
The LDAP username password to use
for connection verification. The password is not saved or
recorded.
|
--verify-connection-username |
The LDAP username to use for
connection verification. The username is not saved or
recorded.
|
Table 1: Command options
Examples
Note: The following examples use the recommended installation environment variables.
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For more information, see Best practice: Setting up installation environment variables.
- Configure LDAP with parameters from an ldap-config.json file.
-
cpd-cli user-mgmt config-ldap \ --config=ldap-config.json \ --profile=${CPD_PROFILE_NAME}