Skip to content

Managed secret providers

SendGrid

Connect SendGrid to Alter Vault for secure API access

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

PropertyValue
Provider IDsendgrid
CategoryCommunication
Credential TypeBearer Token

Log in to the SendGrid Dashboard

Log in to the SendGrid Dashboard at app.sendgrid.com.

Go to Settings → API Keys

Go to Settings → API Keys at app.sendgrid.com/settings/api_keys.

Create an API Key

Click ‘Create API Key’ and set permissions.

Copy your API key

Copy the generated API key (it won’t be shown again).

Open the Developer Portal

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

Add SendGrid

Go to Managed Secrets > Add Provider > SendGrid.

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.sendgrid.com/v3/mail/send",
grant_id="YOUR_GRANT_ID",
)