Skip to content

Reference

Deepgram

Connect Deepgram to Alter Vault for secure API access

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

PropertyValue
Provider IDdeepgram
CategoryAI
Credential TypeAPI Key

Log in to the Deepgram Console

Log in to the Deepgram Console at console.deepgram.com.

Open the API Keys tab

Select a project and open the API Keys tab.

Create a key

Click Create a New API Key, name it, and choose a permission level.

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 Deepgram

Go to Managed Secrets > Add Provider > Deepgram.

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://api.deepgram.com/v1/listen",
grant_id="YOUR_GRANT_ID",
json={"url": "https://example.com/audio.wav"},
)
  • The key is injected as Authorization: Token <key> (Deepgram’s non-Bearer scheme).

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

Operation IDFamiliesMethodProvider path
transcribereadPOST/v1/listen
analyzereadPOST/v1/read
post:/v1/speakreadPOST/v1/speak
grantadminPOST/v1/auth/grant
createwritePOST/v1/projects/{project_id}/agents
getreadGET/v1/projects/{project_id}/agents/{agent_id}
updatewritePUT/v1/projects/{project_id}/agents/{agent_id}
deletedeleteDELETE/v1/projects/{project_id}/agents/{agent_id}
get:/v1/agent/settings/think/modelsreadGET/v1/agent/settings/think/models
leaveadminDELETE/v1/projects/{project_id}/leave

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.