Listing Secrets in Vault Work Requests

Learn how to view the list of work requests for a secret.

    1. Open the navigation menu , select Identity & Security, and then select 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, select a vault name.
    4. Select Secrets, and then select the name of the secret to open its details page.
    5. Under Table Scope, select Work Requests.
      The work requests in the project are displayed in the Work Requests table.
  • 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.

  • Use the ListWorkRequest API to list the work requests.