Listing Secrets in Vault Work Requests
View the list of work requests for a secret.
Use the work-request list command and required parameters to list work requests in a compartment.
Open a command prompt and run
oci work-requests work-request list
to list secrets in a vault:oci work-requests work-request list --compartment-id <target_compartment_OCID> --resource-id <secret_OCID>
For example:
oci work-requests work-request list --compartment-id ocid1.tenancy.oc1..aaaaaaaaogytmomsoypct35t523nw4ccagf5soh2ogrsm5agiro7kvzuym7q --resource-id ocid1.vaultsecret.oc1.eu-paris-1.amaaaaaaryab66aaoruywccvzj2i2onb2vg6lpgjzagimqss3sjok6efs54a
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the ListWorkRequest operation to list the work requests.