Documentation Index
Fetch the complete documentation index at: https://docs.kubex.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Kubex currently supports data collection from an OCI tenancy using API Key user authentication. This method requires creating a dedicated user in OCI, generating an API signing key pair, and configuring appropriate policies to allow Kubex to collect Instance data.Requirements to Create a Cloud Connection
To connect Kubex to your OCI tenancy using API Key user authentication, you will need the following information for each tenancy you wish to connect:- Tenancy OCID
- User OCID
- Region Identifier
- API Key Fingerprint
- Private Key File
- Administrative Access: You must have administrative privileges in your OCI tenancy or sufficient permissions to create users, groups, and policies
- Console Access: Access to the Oracle Cloud Infrastructure Console
Creating a User, Group and Policy for Kubex Data Collection
Select the Identity Domain
Sign in to the OCI Console and navigate to Identity & Security > Identity > Domains. Select the appropriate identity domain for the Kubex data collection user.
Ensure the selected domain exists in the root compartment of your tenancy to allow Kubex access to resources across all compartments. If your tenancy has resources deployed in multiple regions, verify that the selected domain is replicated to all regions Kubex should collect data from.
Create a Dedicated User for Kubex Data Collection
In your selected Identity Domain:
- Navigate to User management tab
- Click Create button in the Users section
- Fill in the required fields:
- Last name:
Kubex Data Collector - User name:
kubex-data-collector - (Optional) Email:
support@kubex.ai
- Last name:
- Click Create to create the user
Create a Group for the Kubex Data Collection User
In your selected Identity Domain:
- Navigate to User management tab
- Click Create group button in the Groups section
- Fill in the required fields:
- Name:
Kubex - Description:
Group for Kubex data collection
- Name:
- Select the user you created in the previous step to add to this group
- Click Create to create the group
Create Policies to Allow Kubex Data Collection
- Navigate to Identity & Security > Identity > Policies
- Select the Policies tab and click Create Policy
- Fill in the required fields:
- Name:
Kubex Data Collection Policy - Description:
Policy to allow Kubex data collection
- Name:
- Switch to the manual editor and add the following policy statements:
- Click Create to create the policy and apply it to the group and user
Ensure the policy is created in the root compartment of your tenancy.
Obtaining the Required Credentials for Connection
Navigate to the User Details Page
In your selected Identity Domain, navigate to the User management tab and click on the user you created for Kubex data collection
Create an API Key for the User
- Click on the API Keys tab in the user details page
- Click Add API Key button
- Select Generate API key pair
- Download private and public key files and save securely. The private key file will be required when configuring the cloud connection in Kubex
- Click Add button to create the API key and associate it with the user

