Getting a Pre-Authenticated Request's Details in Object Storage

View the details of a pre-authenticated request in a bucket.

    1. Open the navigation menu and click Storage. Under Object Storage & Archive Storage, click Buckets.
    2. Select the compartment from the list under List Scope. All buckets in that compartment are listed in tabular form.
    3. Click the bucket whose details you want to get. The bucket's Details page appears.
    4. Click Pre-Authenticated Request under Resources. The Pre-Authenticated Request list appears. All pre-authenticated requests are listed in tabular form.
    5. Click the Actions menu (Actions Menu) next to the pre-authenticated request whose details you want to get and select View Details. The Pre-Authenticated Request Details dialog box appears.

    The Pre-Authenticated Request Details dialog box contains details of the pre-authenticated request such as the status, the access type, and the expiration date.

  • Use the oci os preauth-request get command and required parameters to get the details of a pre-authenticated request in a bucket:

    oci os preauth-request get --bucket-name bucket_name --par-id pre-authenticated_request_id [OPTIONS]

    The pre-authenticated_request_id value is the identification number assigned to the pre-authorized request when it was created. See Accessing the Pre-Authorized Request ID for more information.

    For example:

    oci os preauth-request get --bucket-name MyParBucket --par-id YOExDlFsNYBNEwF8Uo4aK8WHiz59enVQm1aID+4cxFobgcaofVbZkg371rxK+6Vb
    {
      "data": {
        "access-type": "AnyObjectReadWrite",
        "bucket-listing-action": "ListObjects",
        "id": "YOExDlFsNYBNEwF8Uo4aK8WHiz59enVQm1aID+4cxFobgcaofVbZkg371rxK+6Vb",
        "name": "PrefixedObjectsReadWritePAR",
        "object-name": "service",
        "time-created": "2021-04-01T15:35:40.609000+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 GetPreauthenticatedRequest operation to get the details of a pre-authenticated request in a bucket.