OCI Connection
Learn how to configure an Oracle Cloud Infrastructure Connection for Infisical.
OCI App Connection is a paid feature.
If you’re using Infisical Cloud, then it is available under the Enterprise Tier. If you’re self-hosting Infisical, then you should contact [email protected] to purchase an enterprise license to use it.
Infisical supports the use of API Signing Key Authentication to connect with OCI.
Create OCI User
Search for 'Domains' and click as shown
Select domain
Select the domain in which you want to create the Infisical user account.
Navigate to 'Users'
Click 'Create user'
Create user
The name, email, and username can be anything.
Navigate to 'API keys'
After you’ve created a user, you’ll be redirected to the user’s page. Navigate to ‘API keys’.
Add API key
Click on ‘Add API key’ and then download or import the private key. After you’ve obtained the private key, click ‘Add’.
Store configuration
After creating the API key, you’ll be shown a modal with relevant information. Save the highlighted values (and the private key) for later steps.
Create OCI Group
Search for 'Domains' and click as shown
Select domain
Select the domain in which you want to create the Infisical user account.
Navigate to 'Groups'
Create group
The name and description can be anything. Ensure that you assign the user created in earlier steps to this group.
Store group name
After creating the group, take note of its name. It will be used in later steps.
Create OCI Policy
Search for 'Policies' and click as shown
Click 'Create Policy'
Create policy
The name and description can be anything. Click ‘Show manual editor’ and paste in the policy rules relevant to your task:
- Group Name: The name of the group you created in earlier steps.
- Compartment Name: The name of the compartment which has your secrets vault.
If you’d like to grant Infisical access to all compartments, replace instances of compartment <compartment name>
with tenancy
.
- Group Name: The name of the group you created in earlier steps.
- Compartment Name: The name of the compartment which has your secrets vault.
If you’d like to grant Infisical access to all compartments, replace instances of compartment <compartment name>
with tenancy
.
You must create this policy on the root compartment, otherwise some functionality may not work.
Create OCI Connection in Infisical
Navigate to App Connections
In your Infisical dashboard, go to Organization Settings and select the App Connections tab.
Select OCI Connection
Click the + Add Connection button and select the OCI Connection option from the available integrations.
Fill out the OCI Connection Modal
Complete the OCI Connection form by entering:
- A descriptive name for the connection
- An optional description for future reference
- The User OCID from earlier steps
- The Tenancy OCID from earlier steps
- The Region from earlier steps
- The Fingerprint from earlier steps
- The Private Key PEM from earlier steps
Connection Created
After clicking Create, your OCI Connection is established and ready to use with your Infisical projects.
Navigate to App Connections
In your Infisical dashboard, go to Organization Settings and select the App Connections tab.
Select OCI Connection
Click the + Add Connection button and select the OCI Connection option from the available integrations.
Fill out the OCI Connection Modal
Complete the OCI Connection form by entering:
- A descriptive name for the connection
- An optional description for future reference
- The User OCID from earlier steps
- The Tenancy OCID from earlier steps
- The Region from earlier steps
- The Fingerprint from earlier steps
- The Private Key PEM from earlier steps
Connection Created
After clicking Create, your OCI Connection is established and ready to use with your Infisical projects.
To create an OCI Connection, make an API request to the Create OCI Connection API endpoint.