Providing Authentication in the REST Task

By default, no authentication is needed to execute the REST endpoint in a REST task.

You can, however, use Oracle Cloud Infrastructure resource principal to authenticate an Oracle Cloud Infrastructure API endpoint in a REST task.

You must set up Oracle Cloud Infrastructure Identity and Access Management (IAM) dynamic groups and policies before you can use OCI resource principal for authentication. See Authentication.

To specify the authentication to use for a REST task:

  1. Open the project or folder that has the task you want to edit.
  2. On the project or folder details page, click Tasks.
  3. In the tasks list, select View details from the Actions menu of the task that you want to edit.
  4. In the Authentication section of the REST task page, click Edit.
  5. From the Authentication menu, select OCI resource principal.
  6. Under Authentication source, select Workspace or Application.
  7. Click Configure.