For the complete documentation index, see llms.txt. This page is also available as Markdown.

Creating API keys

Creating API keys

You can create API keys to authenticate requests to the OX API and connect external tools and integrations to OX.

Each API key has a role that determines which actions it can perform, and a scope that determines which applications it can access. For example, an API key can have a Viewer role with access to the entire organization, or an Admin role restricted to applications matching specific App Owners or Tags.

This lets you grant integrations only the permissions and application access they require.

API keys can be personal or organization-owned. Personal API keys inherit the permissions of the user who creates them. Organization-owned API keys have their own assigned permissions, which remain unchanged when the creator's role or scope changes.

Treat API keys like passwords. Store them securely, and do not commit them to source control or include them in application code.

To create an API key:

  1. In OX, go to Settings > API Keys.

  2. Select Create API Key.

  3. Configure the following settings:

    Setting
    Description

    API Key Name

    Enter a descriptive name for the API key.

    Key Ownership

    Select the ownership type: Personal (User-Bound): The API key inherits the role and scope of its creator. Changes to the user's role or scope also change the API key's permissions. Organization (Static Role): The API key has its own assigned role and scope. Changes to the creator's role or scope do not affect its permissions. Only administrators can create organization-owned API keys.

    API Key Type

    Select the integration type: CI/CD Integration: Authenticate CI/CD pipeline integrations. API Integration: Authenticate applications that access the OX API. IDE/CLI Integration: Authenticate IDE extensions or CLI tools. K8s Inspector/Runtime Sensor Integration: Authenticate Kubernetes Inspector and Runtime Sensor integrations. This option is available when Organization (Static Role) ownership is selected. MCP Integration: Authenticate MCP integrations. VibeSec Agent: Authenticate VibeSec agents.

    Assign role

    For organization-owned API keys, select the role that determines which actions the key can perform in OX. The assigned role remains unchanged when the creator's role changes. Personal API keys inherit the creator's role. For information about available roles and their permissions, see the Roles documentation.

    Assign scope

    For organization-owned API keys, select which applications the API key can access: Entire organization: Grants access to all applications in the organization. Custom: Limits access to applications that match the selected App Owners and Tags. Personal API keys inherit the creator's scope.

    Expiration Date

    Select when the API key expires. After this date, the key can no longer be used to authenticate API requests.

  4. Select Create.

  5. Copy the generated API key and store it securely. You cannot view it again after closing the dialog.

  6. Select CLOSE. The new key appears on the API Key Settings page.

You can create security keys to authenticate requests to the OX API and connect external tools and integrations to OX.

Each API key has a role that determines which actions it can perform, and a scope that determines which applications it can access. For example, an API key can have a Viewer role with access to the entire organization, or an Admin role restricted to applications matching specific App Owners or Tags.

This lets you grant integrations only the permissions and application access they require.

API keys can be personal or organization-owned. Personal API keys inherit the permissions of the user who creates them. Organization-owned API keys have their own assigned permissions, which remain unchanged when the creator's role or scope changes.

Treat API keys like passwords. Store them securely, and do not commit them to source control or include them in application code.

To create an API key:

  1. In OX, go to Settings > API Keys.

  2. Select Create API Key.

  1. Configure the following settings:

Setting
Description

API Key Name

Enter a descriptive name for the API key.

Key Ownership

Select the ownership type: Personal (User-Bound): The API key inherits the role and scope of its creator. Changes to the user's role or scope also change the API key's permissions. Organization (Static Role): The API key has its own assigned role and scope. Changes to the creator's role or scope do not affect its permissions. Only administrators can create organization-owned API keys.

API Key Type

Select the integration type: CI/CD Integration: Authenticate CI/CD pipeline integrations. API Integration: Authenticate applications that access the OX API. IDE/CLI Integration: Authenticate IDE extensions or CLI tools. K8s Inspector/Runtime Sensor Integration: Authenticate Kubernetes Inspector and Runtime Sensor integrations. This option is available when Organization (Static Role) ownership is selected. MCP Integration: Authenticate MCP integrations. VibeSec Agent: Authenticate VibeSec agents.

Assign role

For organization-owned API keys, select the role that determines which actions the key can perform in OX. The assigned role remains unchanged when the creator's role changes. Personal API keys inherit the creator's role. For information about available roles and their permissions, see the Roles documentation.

Assign scope

For organization-owned API keys, select which applications the API key can access: Entire organization: Grants access to all applications in the organization. Custom: Limits access to applications that match the selected App Owners and Tags. Personal API keys inherit the creator's scope.

Expiration Date

Select when the API key expires. After this date, the key can no longer be used to authenticate API requests.

  1. Select Create.

  2. Copy the generated API key and store it securely. You cannot view it again after closing the dialog.

  3. Select CLOSE. The new key appears on the API Key Settings page.

Last updated