Authentication

Note:

Ensure that you have the appropriate log-in credentials for creating, managing, and deleting caches in Oracle Application Container Cloud. You will also need log-in credentials for your Oracle Cloud Storage Service account. For more information, see About Application Container Cloud Service Roles and Users in Using Oracle Application Container Cloud Service.

You access the Oracle Application Container Cloud REST resources over HTTPS. Provide the following information for authentication:
  • User name and password for your Oracle Application Container Cloud account.

  • Custom header, X-ID-TENANT-NAME, to identify the identity domain.

If you are using Oracle Identity Cloud Service to control access to Oracle Application Container Cloud Service, you must set the X-ID-TENANT-NAME header to your Oracle Identity Cloud Service account number. This number is in the format idcs-xnxnxnxnxnxn and appears in the following places:

  • The Oracle Identity Cloud Service login URL

  • The URL on the About Service page for Oracle Identity Cloud Service

  • The Activate your account email you received after signing up for Oracle Cloud

To learn more, see Using Oracle Identity Cloud Service with Oracle Application Container Cloud Service.

For example, to authenticate using cURL:

  • Use the -u cURL option to pass the user name and password for your Oracle Application Container Cloud account (for example, joe@example.com and joePassword).

  • Use the -H cURL option to pass the X-ID-TENANT-NAME custom header .

The following example shows how to view details of a cache by submitting a GET request using cURL.
curl -i -X GET -u joe@example.com:joePassword \
 -H "X-ID-TENANT-NAME:ExampleIdentityDomain" \
  https://apaas.us.oraclecloud.com/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/caching/instances/MyCache