Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to Use PLSQL to get a Pre Authorization for an Object in Object Storage

Andrew.LukesJul 17 2022

I need to allow users to download objects from Oracle Object Storage.
I found this:
CreatePreauthenticatedRequest OBJECTSTORAGE
POST /n/{namespaceName}/b/{bucketName}/p/
Creates a pre-authenticated request specific to the bucket.
Oracle Cloud Infrastructure API Reference and Endpoints (0 Bytes)The request body must contain a single CreatePreauthenticatedRequestDetails resource.
I found the documentation for CreatePreauthenticatedRequestDetails:
Oracle Cloud Infrastructure API Reference and Endpoints (0 Bytes)but I don't understand exactly what the request details should look like.
I want to use PLSQL, create the body content and get the pre authoriziation.
Any help is appreciated. Thanks

Comments
Post Details
Added on Jul 17 2022
1 comment
478 views