Managed secret providers
Braze
Connect Braze to Alter Vault for secure API access
Overview
Section titled “Overview”Use Braze credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | braze |
| Category | Marketing |
| Credential Type | Bearer Token |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to Braze
Log in at dashboard.braze.com — you will be redirected to your cluster at dashboard.braze.com/sign_in.
Go to Settings → API Keys
Go to Settings → API Keys at dashboard.braze.com/app_settings/api_settings/.
Create a new API key
Click ‘Create New API Key’ and configure permissions.
Copy the REST API key
Copy the generated REST API key.
Find your instance URL
Find your instance URL on the dashboard (e.g. rest.iad-02.braze.com) for the Instance URL field.
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 Braze
Go to Managed Secrets > Add Provider > Braze.
Enter credentials
Paste your REST API Key into the credential field, and your Instance URL (e.g. rest.iad-02.braze.com) into the Instance URL 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.POST, "https://YOUR_BRAZE_INSTANCE_URL/messages/send", grant_id="YOUR_GRANT_ID",)- Your Braze dashboard URL is cluster-specific. Log in via dashboard.braze.com to be redirected to your cluster automatically.