Skip to content

Reference

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.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
list_indexesreadGET/indexes
describe_indexreadGET/indexes/{index_name}
create_indexwritePOST/indexes
create_index_for_modelwritePOST/indexes/create-for-model
create_index_from_backupwritePOST/backups/{backup_id}/create-index
configure_indexwritePATCH/indexes/{index_name}
delete_indexdeleteDELETE/indexes/{index_name}
list_collectionsreadGET/collections
describe_collectionreadGET/collections/{collection_name}
create_collectionwritePOST/collections
delete_collectiondeleteDELETE/collections/{collection_name}
create_backupwritePOST/indexes/{index_name}/backups
describe_backupreadGET/backups/{backup_id}
list_index_backupsreadGET/indexes/{index_name}/backups
list_project_backupsreadGET/backups
delete_backupdeleteDELETE/backups/{backup_id}
describe_restore_jobreadGET/restore-jobs/{job_id}
list_restore_jobsreadGET/restore-jobs
upsertVectorswritePOST/vectors/upsert
upsertRecordsNamespacewritePOST/records/namespaces/{namespace}/upsert
updateVectorwritePOST/vectors/update
deleteVectorsdeletePOST/vectors/delete
deleteNamespacedeleteDELETE/namespaces/{namespace}
queryVectorsreadPOST/query
searchRecordsNamespacereadPOST/records/namespaces/{namespace}/search
fetchVectorsreadGET/vectors/fetch
listVectorsreadGET/vectors/list
listNamespacesreadGET/namespaces
describeNamespacereadGET/namespaces/{namespace}
describeIndexStatsreadPOST/describe_index_stats

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.