config
users set
Create a local user configuration.
Syntax
cpd-cli config users set <local-user-configuration-name> \
[--apikey=<api-key>] \
[--output=json|yaml|table] \
[--username=<your-username>]
Arguments
Table 1: Command arguments
| Argument | Description |
|---|---|
<local-user-configuration-name> |
The name of the local configuration to set for the user. |
Options
Table 1: Command options
| Option | Description |
|---|---|
--apikey |
Set the user API key. The Generate
API key setting is available in the IBM Software Hub client's Profile and Settings
page.
|
|
|
Display command
help.
|
--output |
Specify an output format. Valid
formats include json, yaml, or table (the default format).
|
--username |
The username that you use to authenticate to your
cluster.
|
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 Setting up installation environment variables.
- Create a local user configuration by pasting an API key.
-
cpd-cli config users set <local-user-configuration-name> \ --apikey=<api-key> \ --username=<your-username>