Listing Secret Rules

A list of secret rules created for the secret in the OCI Vault service.

    1. Open the navigation menu, click Identity & Security, and then click Vault.
    2. Under List scope, select the compartment that contains the secret for which you want to view configured rules.
    3. From the list of vaults in the compartment, click a vault name.

    4. Click Secrets, and then click the name of the secret to open its details page.
    5. Under Resources, click Rules.
  • Open a command prompt and run oci vault secret get to view a secret's configured rules:

    oci vault secret get --secret-id <target_secret_id>

    For example:

    
    oci vault secret get --secret-id ocid1.vaultsecret.oc1.iad.exampleaz5qacpqahuecvbjqzql4qmpbrtd7pprafhivcfik6wuitexample

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • This task cannot be performed using the API.