Posts

Showing posts from August, 2022

Upload files from autonomous database to object storage - oci

Image
 Pre-requisite:  Get the bucket details where you want to upload the files     Please refer this API endpoints and choose the one which matches your region.      [ https://docs.oracle.com/en-us/iaas/api/#/en/objectstorage/20160918/ ]  you need an user and it must have privilege to upload files to the object storage    [ https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/dbms-cloud-subprograms.html#GUID-742FC365-AA09-48A8-922C-1987795CF36A ]     In my example, I am using apikey added user. [  https://oracle-autonomous-db.blogspot.com/2022/07/user-setup-on-oci-basics-setup-required.html ] First create the credential in autonomous database.   Syntax: BEGIN    DBMS_CLOUD.CREATE_CREDENTIAL (        credential_name => ‘OCI_KEY_CRED’,        user_ocid       => ‘ ’,        tenancy_ocid    =>...