Listing Secrets in Vault Work Requests
Learn how to view the list of work requests for a secret.
- On the Secrets list page, find the secret that you want to work with. If you need help finding the list page, see Listing Secrets.
- Select the name of the secret to open its details page.
- Select the Work Requests tab.
Use the oci work-requests work-request list command and required parameters to list work requests in a compartment. See Work Requests in the OCI documentation for more information on work requests.
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.
Use theListWorkRequests API to list the work requests of a secret. See Work Requests in the OCI documentation for more information on work requests.