Use the following IAM CLI commands to list and set sensitive configuration values:
Example: Print Usage Message
$ iam sensitive-values -h Usage: iam sensitive-values [-hlv] [-c=<config-root>] [-i=<instance-name>] [-k=<key>] Manages sensitive values for an instance ...
Example: List Secrets in Instance "auth"
$ iam sensitive-values -l -i auth Loading parameters from: [/home/airlock/iam/instances/auth/instance.properties] Locally defined keys for sensitive values: - db-password - radius-shared-secret - saml_idp_keystore_password Total number of sensitive values defined: 3
Example: Set secret with ID db-password in instance "auth"
$ iam sensitive-values -i auth --set-key='db-password' Loading parameters from: [/home/airlock/iam/instances/auth/instance.properties] Please enter the value for key 'db-password': ********* Please enter the value for key 'db-password' again: ******** Successfully set value for key 'db-password' to sensitive values store.