For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
We're trying to upload csv files into OCI Object Storage bucket.
In order to upload files/objects into OBject Storage from the back end, either this will be by using "Pre-Authenticated Request" or "OCI REST APIs".
Using "Pre-Authenticated Request" is simple and straight forward, yet, it's not secure at all and not recommended for Production.
Using "OCI REST APIs" requires a lot of steps to have the request go through; signing key, finger print, timestamp of the request, signature version,....etc.
At ODI, there's a re-configured Data Server specific for "Object Storage" where all the above details can be entered.
So, how can we upload files into Object Storage bucket through OIC.
Thanks...
I think at the moment, the only way is to get the authentication token *by some means* and use it in OIC. You may try out Javascript functions, if there is a support!
Actually, authentication token is needed only for IDCS REST APIs, automating this part was really headache when were developing this part.
For Object Storage, our main issue, was generating the Authorization header parameter. For this, we -with the help of some posts over the internet- have developed Node.js script then exposed it as REST API and call it from OIC.
Currently, we're working on assigning the response of our Node.js to Object Storage Authorization header.
Actually my colleague just figure out that there is a new Authentication Method in REST adapter exclusive for OCI named something like "OCI Authentication"
Hi Alvin,
Indeed, I found the Security Policy of "OCI Signature Version 1".
Many thanks, I'll give it a try.
Actually my colleague just figure out that there is a new Authentication Method in REST adapter exclusive for OCI named something like "OCI Authentication"