The OpenAI API Platform is where an organization manages its OpenAI API projects, members, and API keys. This guide walks you through the steps to create an Admin key for your API Platform organization and configure an OpenAI API Platform Identity integration.
Before you begin, ensure that you have:
- The Owner role in the API Platform organization. Only organization owners can create Admin keys.
- Audit logging turned on for the organization. To check it, go to Data controls > Data retention in the organization settings. Under Audit logging, the status must be Active. Once audit logging is on, you cannot turn it off without contacting OpenAI.
| Permission | Access Type | Purpose |
|---|---|---|
| Organization Administration | Write | List the organization's members, projects, groups, service accounts, and API keys. Remove members from the organization, and remove service accounts and API keys. |
| Audit Logs Scope | Read | Read the organization's audit log. |
With Organization Administration set to Read, the integration can read members and keys, but cannot remove members, service accounts, or API keys.
- Sign in to the OpenAI API Platform and open the organization's admin keys page at https://platform.openai.com/settings/organization/admin-keys
- Select Create new Admin key
- Fill in the field titled Name
- Select an expiration under Expiration
- Under Permissions, select Restricted
- Set each permission to the access type listed in the section above titled Required Permissions. Leave the other permissions at None
- Select Create admin key
- Copy the key that the page shows and store it in a safe location. You cannot view the key again
- You have now created an OpenAI Admin key. Proceed to the next section titled Configuring the Integration
For more information on Admin keys, see the OpenAI Admin and Audit Logs API for the API Platform help page.
To configure a new OpenAI API Platform integration, provide each of the values as defined below:
| Integration Parameter | Description |
|---|---|
| Admin API Key | The Admin key you created above. Example sk-admin-... |
| Integration Parameter | Description |
|---|---|
| Base URL | The address you use to reach the OpenAI API, if it is not https://api.openai.com, such as a proxy in front of the API. Leave it empty to use https://api.openai.com. |