Owners can generate an API key in the OpenAI API Platform Portal. Note that the correct
Organization must be selected when creating a key, corresponding to the administered workspace. Do not select the owner's personal organization.
Steps
Create new secret key:
Navigate to Settings > Projects.
Select Default project. Click the Create new secret key at the top left corner.
Note: This must be a new key. Once the Compliance API scopes are granted, all other scopes are
revoked.This key can only be viewed/copied once. Store it securely.