» Data Source: oci_objectstorage_preauthrequest

This data source provides details about a specific Preauthenticated Request resource in Oracle Cloud Infrastructure Object Storage service.

Gets the pre-authenticated request for the bucket.

» Example Usage

data "oci_objectstorage_preauthrequest" "test_preauthenticated_request" {
    #Required
    bucket = "${var.preauthenticated_request_bucket}"
    namespace = "${var.preauthenticated_request_namespace}"
    par_id = "${oci_objectstorage_preauthrequest.test_par.id}"
}

» Argument Reference

The following arguments are supported:

  • bucket - (Required) The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
  • namespace - (Required) The top-level namespace used for the request.
  • par_id - (Required) The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.

» Attributes Reference

The following attributes are exported:

  • access_type - The operation that can be performed on this resource.
  • access_uri - The URI to embed in the URL when using the pre-authenticated request.
  • bucket - The name of the bucket. Example: my-new-bucket1
  • id - The unique identifier to use when directly addressing the pre-authenticated request.
  • name - The user-provided name of the pre-authenticated request.
  • namespace - The top-level namespace used for the request.
  • object - The name of the object that is being granted access to by the pre-authenticated request. This can be null and if so, the pre-authenticated request grants access to the entire bucket. Avoid entering confidential information. Example: test/object1.log
  • time_created - The date when the pre-authenticated request was created as per specification RFC 3339.
  • time_expires - The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.