Listing Secret Rules
A list of secret rules created for the secret in the OCI Vault service.
- Open the navigation menu, click Identity & Security, and then click Vault.
- Under List scope, select the compartment that contains the secret for which you want to view configured rules.
-
From the list of vaults in the compartment, click a vault name.
- Click Secrets, and then click the name of the secret to open its details page.
- 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.