integration

Connect to OCI

Lewis Sheridan

Creating a Service Principal in OCI

Creating a service principal in Oracle Cloud Infrastructure (OCI) involves setting up a:

Here’s how you can set up and use a service principal for authenticating Backplane with OCI

Create a Dynamic Group

  1. Log in to the Oracle Cloud Console.
  2. Obtain the Root Compartment OCID from Identity & Security -> Compartments
  3. Navigate to Identity & Security -> Domains -> Click on Domain -> Dynamic Groups
  4. Create a New Dynamic Group:

Create a Policy

Collect Information

FieldHow
User OCIDGo to Identity & Security -> Domain -> Users
Tenancy OCIDGo to Governance & Administrator -> Tenancy Details
RegionSame as above
API Signing Key / private keyGo to Identity & Security -> Domains -> Users -> Resources -> API Key -> Add API Key -> Generate API key pair -> Download Private Key -> Add
FingerprintCopy Fingerprint from Resources -> API Keys

Example oci.json

{
  "tenancyId": "ocid1.tenancy.oc1..aaaaaaaane...",
  "userId": "ocid1.user.oc1..aaaaaaaayuatcpsk...",
  "fingerprint": "xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx",
  "privateKey": "-----BEGIN PRIVATE KEY-----\nMIIEv...n-----END PRIVATE KEY-----\n",
  "region": "uk-london-1",
  "passphrase": null
}

Add OCI Credentials via CLI

bp cloud oci add -i 66681fa21440f6afb76522e6 --ocisecret ../oci.json

Help us improve the documentation

If you encounter any issues or errors in the documentation, please report on the Support Slack Channel

← Back to Documentation