set-secrets
¶
Description¶
Assign super-user-password and unlock-password for Rover Cluster
Optional Parameters¶
-
--super-user-password
¶
Assign super-user-password for RoverCluster Identifier
-
--unlock-passphrase
¶
Assign unlock-passphrase for RoverCluster Identifier
Global Parameters¶
Use oci --help
for help on global parameters.
--auth-purpose
, --auth
, --cert-bundle
, --cli-rc-file
, --config-file
, --debug
, --defaults-file
, --endpoint
, --generate-full-command-json-input
, --generate-param-json-input
, --help
, --latest-version
, --max-retries
, --no-retry
, --opc-client-request-id
, --opc-request-id
, --output
, --profile
, --query
, --raw-output
, --region
, --release-info
, --request-id
, --version
, -?
, -d
, -h
, -v
Examples¶
Copy the following CLI commands into a file named example.sh. Run the command by typing “bash example.sh” and replacing the example parameters with your own.
Please note this sample will only work in the POSIX-compliant bash-like shell. You need to set up the OCI configuration and appropriate security policies before trying the examples.
export cluster_size=<substitute-value-of-cluster_size> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/rover/cluster/create.html#cmdoption-cluster-size
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/rover/cluster/create.html#cmdoption-compartment-id
export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/rover/cluster/create.html#cmdoption-display-name
cluster_id=$(oci rover cluster create --cluster-size $cluster_size --compartment-id $compartment_id --display-name $display_name --query data.id --raw-output)
oci rover cluster set-secrets --cluster-id $cluster_id