Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Authenticate to Oracle OCI with Java

User_R5KVKDec 29 2022

Hi,
I want to be able to authenticate with the config file.
Then run Rest API calls (especially Data science related API's)
For example, I managed to run the following examples successfully :
1. https://docs.oracle.com/en-us/iaas/Content/API/Concepts/signingrequests.htm#seven__Java
2. https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ListDBVersionExample.java
3. https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/GetInstancePublicIpExample.java
So my question are:
Can I use the first example to run other API's? like Identity (policies etc.) or Data science?
If not, how can I achive that?
What is 'tenant-base-url' in https://docs.oracle.com/en/cloud/paas/identity-cloud/rest-api/SendRequests.html ?
Thanks!

Comments
Post Details
Added on Dec 29 2022
0 comments
273 views