Create an API key
- Pinecone console
- Code
- Open the Pinecone console.
- Select your project.
- Go to API keys.
- Click + API key.
- Enter an API key name.
-
Select the Permissions to grant to the API key. For a description of the permission roles, see Project roles.
Users on the Starter and Builder plans can set the permissions to All only. To customize the permissions further, upgrade to the Standard or Enterprise plan.
- Click Create key.
- Copy and save the generated API key in a secure place for future use.
- Click Close.
View project API keys
You can view the API keys for your project:- Pinecone console
- Code
- Open the Pinecone console.
- Select your project.
- Go to the API keys tab.
View API key details
You can view the details of an API key:- Pinecone console
- Code
- Open the Pinecone console.
- Select your project.
- Go to the API keys tab.
- In the row of the API key you want to change, in the Actions column, click ellipsis (…) menu > Settings.
Update an API key
Users on the Starter and Builder plans can’t change API key permissions once they’re set. Instead, create a new API key or upgrade to the Standard or Enterprise plan.
- Pinecone console
- Code
- Open the Pinecone console.
- Select your project.
- Go to the API keys tab.
- In the row of the API key you want to change, in the Actions column, click ellipsis (…) menu > Settings.
- Change the permissions for the API key as needed. For information about the different API key permissions, see Project roles.
- Click Update.
Delete an API key
If you’re a project owner, you can delete an API key.- Pinecone console
- Code
- Open the Pinecone console.
- Select your project.
- Go to the API keys tab.
- In the row of the API key you want to change, in the Actions column, click ellipsis (…) menu > Delete.
- Enter the API key name.
- Click Delete API key.