This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,860 Users
  • 2,269,775 Discussions
  • 7,916,823 Comments

Discussions

Authenticate to Oracle OCI with Java

User_R5KVK
User_R5KVK Member Posts: 1 Green Ribbon

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:

  1. Can I use the first example to run other API's? like Identity (policies etc.) or Data science?
  2. If not, how can I achive that?
  3. What is 'tenant-base-url' in https://docs.oracle.com/en/cloud/paas/identity-cloud/rest-api/SendRequests.html ?

Thanks!