Managed secret providers
ElevenLabs
Connect ElevenLabs to Alter Vault for secure API access
Overview
Section titled “Overview”Use ElevenLabs credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | elevenlabs |
| Category | AI |
| Credential Type | API Key |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to ElevenLabs
Log in to ElevenLabs at elevenlabs.io.
Navigate to API Keys
Navigate to Settings > API Keys at elevenlabs.io/app/settings/api-keys.
Create a key
Click Create API Key, name it, and optionally restrict permissions.
Copy the key
Copy the key — it is only shown once.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”Open the Developer Portal
Go to portal.alterauth.com and navigate to the application.
Add ElevenLabs
Go to Managed Secrets > Add Provider > ElevenLabs.
Enter credentials
Paste your API Key into the credential field.
Save
Click Save. You’ll receive a grant_id to use with the SDK.
Using in Code
Section titled “Using in Code”response = await alter_app.request( HttpMethod.GET, "https://api.elevenlabs.io/v1/voices", grant_id="YOUR_GRANT_ID",)- The key is injected via the
xi-api-keyheader.