Assign super-user-password and unlock-password for Rover Cluster


oci rover cluster set-secrets [OPTIONS]

Required Parameters

--cluster-id [text]

Unique RoverCluster identifier

Optional Parameters


Assign super-user-password for RoverCluster Identifier


Assign unlock-passphrase for RoverCluster Identifier


Copy the following CLI commands into a file named Run the command by typing “bash” 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> #
    export compartment_id=<substitute-value-of-compartment_id> #
    export display_name=<substitute-value-of-display_name> #

    cluster_id=$(oci rover cluster create --cluster-size $cluster_size --compartment-id $compartment_id --display-name $display_name --query --raw-output)

    oci rover cluster set-secrets --cluster-id $cluster_id