IBM Cloud Private CLI pm commands (pm)

Learn about the cloudctl pm commands that you can run to manage passwords for your services in a cluster namespace.

cloudctl pm

cloudctl pm password-rule-rm

Remove a password rule for a cluster namespace.

Example

cloudctl pm password-rule-rm <cluster> <namespace> <rule_name>

cloudctl pm password-rule-set

Set a password rule for a cluster namespace.

Example

cloudctl pm password-rule-set <cluster> <namespace> <rule_name> <rule_regex> <rule_desc>

cloudctl pm password-rules

List the password rules for a namespace.

Example

cloudctl pm password-rules <namespace>

PARAMETERS:
   -s      Do not show the column headers in the output.
   --json  Display output in JSON format.

cloudctl pm update-secret

Update a secret and restart deployments that use the secret.

Example

cloudctl pm update-secret <namespace> <secret_name> [-f] [-d <data_key>=<data_value>]

PARAMETERS:
   -d value  The secret data key to update. The secret data key value will be prompted for if not set.
   -f        Update the secret data with no user prompts