Skip to content

Managed secret providers

Pinecone

Connect Pinecone to Alter Vault for secure API access

Use Pinecone credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Provider IDpinecone
CategoryAI
Credential TypeAPI Key

Log in to the Pinecone Console

Log in to the Pinecone Console at app.pinecone.io.

Navigate to API Keys

Select a project and navigate to API Keys.

Create a key

Click Create API Key and name it.

Copy the key

Copy the key — it is only shown once.

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Pinecone

Go to Managed Secrets > Add Provider > Pinecone.

Enter credentials

Paste your API Key into the credential field.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

response = await alter_app.request(
HttpMethod.POST,
"https://YOUR-INDEX-HOST.pinecone.io/query",
grant_id="YOUR_GRANT_ID",
json={"vector": [0.05, 0.61, 0.76, 0.74], "topK": 5, "includeMetadata": True},
)
  • The key is injected via the Api-Key header.
  • The same API key authorizes both the control plane (api.pinecone.io) and the index data plane — copy the index’s host from the Pinecone Console and query it directly.