Connect Oracle Cloud
Add an API key to your OCI user, then enter the config values and private key in Cloud Agentra. It takes about 5 minutes, and access is read-only by default.
- An OCI account where you can create an API key
- About 5 minutes to complete
- Read-only — nothing in your cloud is changed
Faster — upload to auto-fill: in the Add-account form you can upload your OCI config file and the private key .pem (a single file containing both works too), and Cloud Agentra fills the User OCID, Tenancy OCID, Fingerprint, Region and the key. Files are read in your browser and never uploaded; the Account Label defaults to the file name (editable). Then just Test Connection and Save.
Get your credentials
When you create the API key, OCI shows the private key (.pem) only once — download it then and keep it safe. You will paste it into Cloud Agentra.
Test Connection verifies the credentials before anything is saved. Once Save Account succeeds, the account is connected and you can start running read-only assessments right away.
Required fields
You will paste these five values when adding the account in Settings. All but the private key come from the configuration preview OCI shows after you create the key.
| Field | Where to find it |
|---|---|
| Tenancy OCID | Config preview (ocid1.tenancy…) |
| User OCID | Config preview (ocid1.user…) |
| Region | Config preview (e.g. us-ashburn-1) |
| Fingerprint | Shown next to the API key |
| Private key | The .pem you downloaded |
Each OCI account is isolated — chats and assessments scope to the active account label, with no cross-contamination between accounts.
Customer Secret Keys. If you choose an OCI bucket at step 2, Object Storage is reached through its S3-compatible API, which signs with Customer Secret Keys rather than the API key above. Create a pair in the OCI Console under My Profile → Customer Secret Keys and enter them with the bucket. The API key alone is enough if you keep state in Cloud Agentra’s database.
Troubleshooting
| Problem | What to check |
|---|---|
| Authentication failed | Re-check the Tenancy OCID, User OCID, Fingerprint, and Region — each must match the config preview exactly. |
| Invalid private key | Paste the full .pem including the BEGIN/END lines, and confirm it is the key generated for this API key. |
| No resources found | Make sure the account has resources in the selected region and the user can read them. |
- Test your connection — Verify credentials before running anything.
- Security & access — How credentials are encrypted and scoped.