Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Use Twilio credentials to make authenticated API calls through Alter Vault without exposing your API keys in code.
PropertyValue
Provider IDtwilio
CategoryCommunication
Credential TypeBasic Auth

Step 1: Get Your Credentials

1

Log in to the Twilio Console

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

Find your credentials

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

Copy the Account SID

Copy the Account SID for the credential field.
4

Copy the Auth Token

Copy the Auth Token for the Auth Token field.
Never share your credentials publicly. Store them securely and only enter them in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Twilio

Go to Managed Secrets > Add Provider > Twilio.
3

Enter your credentials

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

Save

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

Using in Code

response = await vault.request(
    HttpMethod.POST,
    "https://api.twilio.com/2010-04-01/Accounts/YOUR_ACCOUNT_SID/Messages.json",
    grant_id="YOUR_GRANT_ID",
)

Notes

  • Treat your Auth Token like a password — it grants full access to your Twilio account. Never share it or commit it to source control.