Skip to Main Content

Cloud Platform

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!

How to get Oracle OCI token with Java.

User_CUT0NNov 23 2022 — edited Nov 23 2022

I'm trying to understand how do I send authenticated Rest API requests (Data Science related)
I know that I have to add headers: 'Authorization'
'Date'
'x-content-sha256'
I know that the 'Authorization' value is conducted from encrypted values (userocid, tenancyocid, region, private key, something else?)
I couldn't find the documentation for that, only the Java SDK which is great but not for our purpose of generating the token and use it for further Rest API calls.
Where can I find it? code examples for that?
Thanks!

Comments
Post Details
Added on Nov 23 2022
1 comment
130 views