Prerequisites
- Organization Admin role in Kestrel
- OCI tenancy with permissions to create API keys and policies
- Access to the OCI Console or OCI CLI
Setup Steps
Step 1: Create an API Key
- In the OCI Console, navigate to Identity → Users → Your User → API Keys
- Click Add API Key
- Download the private key file
- Note the fingerprint displayed after adding the key
Step 2: Create a Policy (Optional but Recommended)
Create an OCI policy to grant Kestrel read access to your tenancy resources:Step 3: Connect in Kestrel
- Navigate to Integrations → Cloud in your Kestrel dashboard
- Click Connect OCI Tenancy
- Fill in the connection form:
- Connection Name: A friendly name for this tenancy (e.g., “Production”)
- Tenancy OCID: Your tenancy OCID (found in OCI Console → Tenancy Details)
- User OCID: Your user OCID (found in OCI Console → User Settings)
- Fingerprint: The API key fingerprint from Step 1
- Private Key: Paste the contents of the private key PEM file
- Region: Select your OCI home region
- Click Verify & Connect
VCN Flow Logs
After connecting an OCI tenancy:- Navigate to the connected tenancy in the Cloud Integrations page
- Expand the VCN Flow Logs section
- Click Enable to start collecting flow logs across your VCNs
- Kestrel creates the necessary log groups and flow log configurations
Managing Connections
- Refresh: Re-sync connection status and resource inventory
- Delete: Remove the connection from Kestrel. You should also clean up the API key and policy in OCI separately.