Integration

Get Involved. Join the Conversation.

Topic

    Khalid Abdul Salam
    OCI Object Storage Access at OICAnswered
    Topic posted September 18, 2019 by Khalid Abdul SalamRed Ribbon: 250+ Points, tagged Integration, Web Services 
    77 Views, 4 Comments
    Title:
    OCI Object Storage Access at OIC
    Content:

    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...

    Best Comment

    Alvin John Margallo

    Actually my colleague just figure out that there is a new Authentication Method in REST adapter exclusive for OCI named something like "OCI Authentication"

    Comment

     

    • Hemanth Lakkaraju

      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!

    • Khalid Abdul Salam

      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.

    • Alvin John Margallo

      Actually my colleague just figure out that there is a new Authentication Method in REST adapter exclusive for OCI named something like "OCI Authentication"

    • Khalid Abdul Salam

      Hi Alvin,

      Indeed, I found the Security Policy of "OCI Signature Version 1".

      Many thanks, I'll give it a try.