user-mgmt
add-ldap-group-to-cpd-group
Add an LDAP group to a Cloud Pak for Data user group.
Syntax
cpd-cli user-mgmt add-ldap-group-to-cpd-group \
--cpd-group=<cpd-group-name> \
--ldap-group=<ldap-group-name> \
--profile=<cpd-profile-name> \
[--cpdconfig=<cpd-configuration-location>] \
[--verbose]
Arguments
The add-ldap-group-to-cpd-group
command has no arguments.
Options
Option | Description |
---|---|
--cpdconfig |
The Cloud Pak for Data
configuration location. For example,
$HOME/.cpd-cli/config.
|
--cpd-group |
The Cloud Pak for Data group
name.
|
|
Display command
help.
|
--ldap-group |
The LDAP group
name.
|
--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.
|
--verbose |
Logs include more detailed
messages.
|
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.
- Add an LDAP group to a Cloud Pak for Data user group.
-
cpd-cli user-mgmt add-ldap-group-to-cpd-group \ --ldap-group=<ldap-group-name> \ --cpd-group=<cpd-group-name> \ --profile=${CPD_PROFILE_NAME}