Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace PreauthenticatedRequest

Pre-authenticated requests provide a way to let users access a bucket or an object without having their own credentials. When you create a pre-authenticated request, a unique URL is generated. Users in your organization, partners, or third parties can use this URL to access the targets identified in the pre-authenticated request. See Using Pre-Authenticated Requests.

To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

Properties

accessType

accessType: AccessType

The operation that can be performed on this resource.

accessUri

accessUri: string

The URI to embed in the URL when using the pre-authenticated request.

Optional bucketListingAction

bucketListingAction: BucketListingAction

Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.

Optional fullPath

fullPath: undefined | string

The full Path for the object.

id

id: string

The unique identifier to use when directly addressing the pre-authenticated request.

name

name: string

The user-provided name of the pre-authenticated request.

Optional objectName

objectName: undefined | string

The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket. Example: test/object1.log

timeCreated

timeCreated: Date

The date when the pre-authenticated request was created as per specification RFC 3339.

timeExpires

timeExpires: Date

The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

Functions

getDeserializedJsonObj

getJsonObj