Create Policy for Master key


oci rover create-master-key-policy [OPTIONS]

Required Parameters

--master-key-id [text]

Unique RoverStandalone Cluster identifier

Optional Parameters

--policy-compartment-id [text]

Compartment ID where the policy should be created

--policy-name [text]

Display name for the policy to be created

Example using required parameter

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 master_key_id=<substitute-value-of-master_key_id> #

    oci rover create-master-key-policy --master-key-id $master_key_id