manage
get-cpd-instance-details
Get the URL for the Cloud Pak for Data web client and the credentials
of the default administrator (admin).
Extended description
Important: It is strongly recommended that you change the default
password for the
admin
user. After you change the password for the
admin
user, the credentials returned by this command will not work.Syntax
cpd-cli manage get-cpd-instance-details \
--cpd_instance_ns=<project-name> \
[--get_admin_initial_credentials=true|false]
Arguments
The get-cpd-instance-details
command has no arguments.
Options
Table 1: Command options
Option | Description |
---|---|
--cpd_instance_ns |
The project (namespace) where IBM Cloud Pak® for Data is installed.
|
--get_admin_initial_credentials |
Specify whether to retrieve the automatically generated password for
the default administrator (admin). Important: You need the password to log in to
Cloud Pak for Data for the first time.
|
Examples
Note: The following example uses 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 details, see Setting up installation environment variables.
- Get the URL of the web client
-
cpd-cli manage get-cpd-instance-details \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS}
- Get the URL of the web client and the automatically generated password for the
admin
user -
cpd-cli manage get-cpd-instance-details \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \ --get_admin_initial_credentials=true