Using OCI API in OIC
Summary
Complex authentication to use the OCI endpointContent
Currently I am working on an integration where the purpose is to collect the data from the consumption of customers in Oracle Cloud Infrastructure and then transfer this data to our billing tool. In order to be able to loop over the various compartments when retrieving the data, I wanted to use the API below.
https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/Compartment/ListCompartments
Now I am trying to set this endpoint in ICS, but the authentication of this endpoint is rather complex. For this I have to create a header with a signing string that is encrypted with SHA-256 and then encoded with Base64. The link below refers to the documentation on this subject.