Creating a profile to use the cpd-cli management commands
Before you can complete certain setup and management tasks for IBM® Software Hub, you must create a profile so that you can run
cpd-cli commands.
Before you begin
Download and install Version 14.2.2 of the cpd-cli command-line utility. For more information, see Installing the IBM Software Hub command-line interface (cpd-cli).
About this task
Any user who plans to complete the following tasks must create a profile.
- Gathering diagnostics and checking the health of the cluster (by running the
cpd-cli diagcommand). - Managing users (by running the
cpd-cli user-mgmtcommand). - Managing service instances (by running the
cpd-cli service-instancecommand). - Migrating data, including metadata, between deployments (by running the
cpd-cli export-importcommand).
A profile enables the cpd-cli to verify that you are an IBM Software Hub user and that you have the appropriate
permissions to complete a specific task.
If you are an administrator of multiple instances of IBM Software Hub, you must create profile for each instance.
If an instance of IBM Software Hub has multiple administrators, each administrator can create a profile.
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For more information, see Setting up installation environment variables.
Procedure
Results
You can now run cpd-cli commands with this profile as shown in the
following example.
cpd-cli service-instance list \
--profile=${CPD_PROFILE_NAME}