Create a Confidential Application to Generate Access Tokens (Identity Domains)

Create a confidential application that enables you to generate the access token required to create an Analytics instance using CLI or REST API.

Note:

These instructions are for tenancies that use identity domains. If your tenancy uses Oracle Identity Cloud Service (IDCS), see Create a Confidential Application to Generate Access Tokens (IDCS).
  1. Sign in to your Oracle Cloud account as an administrator.
  2. In Oracle Cloud Infrastructure Console, navigate to Identity & Security, and click Domains.
  3. Click the name of the identity domain where you plan to create an Analytics instance, and click Integrated applications.
    Add application
  4. Click Add application, select Confidential Application, and then click Launch workflow.
    Add a confidential application
  5. Enter a name for the application (for example, Analytics_Token_App), and click Submit.
  6. Click the OAuth configuration tab for the application, and then click Edit OAuth configuration.
    Edit OAuth configuration
  7. In the Client Configuration section, select Configure this application as a client now.
  8. Under Authorization, select the allowed grant types: Resource owner, Client credentials, and JWT assertion.
    Configure allowed grant types
  9. Under the Token issuance policy section, select Add app roles, and click Add roles
    Grant access to Me
  10. Select Me.
    Grant access to Me
  11. Click Add, then Submit.
  12. On the application page, click the Actions menu, select Activate, then Activate Application.

Now you can use the confidential application to generate access tokens that you can include in REST API and CLI payloads. See Generate and Use Access Tokens in REST API and CLI Payloads (Identity Domains).