Skip to content

Managed secret providers

Twilio

Connect Twilio to Alter Vault for secure API access

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

PropertyValue
Provider IDtwilio
CategoryCommunication
Credential TypeBasic Auth

Log in to the Twilio Console

Log in to the Twilio Console at console.twilio.com.

Find credentials

Your Account SID and Auth Token are on the main dashboard.

Copy the Account SID

Copy the Account SID for the credential field.

Copy the Auth Token

Copy the Auth Token for the Auth Token field.

Open the Developer Portal

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

Add Twilio

Go to Managed Secrets > Add Provider > Twilio.

Enter credentials

Paste your Account SID and Auth Token into their respective fields.

Save

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

response = await alter_app.request(
HttpMethod.POST,
"https://api.twilio.com/2010-04-01/Accounts/YOUR_ACCOUNT_SID/Messages.json",
grant_id="YOUR_GRANT_ID",
)
  • Treat your Auth Token like a password — it grants full access to your Twilio account. Never share it or commit it to source control.