Create a Confidential Application to Generate Access Tokens (IDCS)

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 Oracle Identity Cloud Service (IDCS). If your tenancy uses identity domains, see Create a Confidential Application to Generate Access Tokens (Identity Domains).
  1. Sign in to your Oracle Cloud account as an administrator.
  2. In Oracle Cloud Infrastructure Console, navigate to Identity & Security, click Federation, select OracleIdentityCloudService, and then click the Oracle Identity Cloud Service Console URL.
  3. Navigate to the Applications tab, and click Add.
  4. Select Confidential Application.
  5. Enter a name for the application (for example, Analytics_Token_App), and click Next.
    Add a confidential application
  6. Select Configure this application as a client now and provide the following Allowed Grant Types for client authorization:
    • Resource Owner
    • Client Credentials
    • JWT Assertion
  7. Under Grant the client access to Identity Cloud Service Admin APIs, click Add.
  8. Select Me, then click Add.
    Grant Me access to IDCS APIs
  9. Click Next to go to the Resources tab.
  10. Click Next to go to the Web Tier Policy tab.
  11. Click Next to go to navigate to the Authorization tab.
  12. Click Finish.
  13. Copy and save the Client ID and Client Secret.
    Copy Client ID and Client Secret
  14. Click Activate, then click to confirm that you want to activate the application.
    Activate the confidential 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 (IDCS)