Listing Pre-Authenticated Requests in Object Storage
View a list of the pre-authenticated requests in a bucket.
- Open the navigation menu and click Storage. Under Object Storage & Archive Storage, click Buckets.
- Select the compartment from the list under List Scope. All buckets in that compartment are listed in tabular form.
- Click the bucket whose details you want to get. The bucket's Details page appears.
- Click Pre-Authenticated Request under Resources. The Pre-Authenticated Request list appears.
All pre-authenticated requests are listed in tabular form.
When you create a pre-authenticated request, a unique identification number for the request is generated. You can access and copy this number from the pre-authenticated request list using the Console. Click the Accessing the Pre-Authorized Request for more information.
next to the pre-authenticated request whose ID you want to copy and select Copy Pre-Authenticated Request ID. The ID for the selected pre-authentication request is copied to the clipboard. SeeUse the oci os preauth-request list command and required parameters to list the pre-authenticated requests in a bucket:
oci os preauth-request list --bucket-name bucket_name [OPTIONS]
For example:
oci os preauth-request list --bucket-name MyParBucket { "data": [ { "access-type": "AnyObjectReadWrite", "bucket-listing-action": "ListObjects", "id": "1G9pfj8elWI0COPtQUmoQayRmYegDrTWjBskI5BixeGY7k5cPHr1BKdFzgEt3OEG", "name": "PrefixedObjectsReadWritePAR", "object-name": "service", "time-created": "2021-04-02T23:52:21.590000+00:00", "time-expires": "2022-11-21T23:00:00+00:00" }, { "access-type": "AnyObjectReadWrite", "bucket-listing-action": "ListObjects", "id": "N5Fim23jXHBnAtWBo7FOCOTdXwAZgXRJD1FoDs1S8BD0qhYegO0eHF5prVkPkiVM", "name": "MyAllObjectsReadWritePAR", "object-name": null, "time-created": "2021-04-01T14:13:59.659000+00:00", "time-expires": "2022-11-21T23:00:00+00:00" }, { "access-type": "ObjectReadWrite", "bucket-listing-action": null, "id": "I2Z3qm0rnYiJ5HSTvSCVu8+BqOmy1lXD1dNreBk3eM5VHLdWyIU3xkDTjBqAagoF:OCI_User_Guide.pdf", "name": "MyObjectReadWritePAR", "object-name": "OCI_User_Guide.pdf", "time-created": "2021-04-01T15:27:02.467000+00:00", "time-expires": "2022-11-21T23:00:00+00:00" }, { "access-type": "AnyObjectReadWrite", "bucket-listing-action": "ListObjects", "id": "QgT6f1skUMbXDhpXKQ4BRX9u7ci8AAJ7f9OGzgdEkNJ3XQmHzeN/kDhLEbN2HvPn", "name": "MyAllObjectsReadWritePAR", "object-name": null, "time-created": "2021-04-02T22:25:27.322000+00:00", "time-expires": "2022-11-21T23:00:00+00:00" } ] }
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListPreauthenticatedRequests operation to list the pre-authenticated requests in a bucket.