Managed secret providers
Vercel
Connect Vercel to Alter Vault for secure API access
Overview
Section titled “Overview”Use Vercel credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | vercel |
| Category | Developer Tools |
| Credential Type | Bearer Token |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to Vercel
Log in to Vercel at vercel.com.
Go to Account Settings → Tokens
Go to Account Settings → Tokens at vercel.com/account/tokens.
Create a token
Click ‘Create’ and set a name and scope.
Copy your token
Copy the generated token.
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 Vercel
Go to Managed Secrets > Add Provider > Vercel.
Enter credentials
Paste your Token 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.vercel.com/v9/projects", grant_id="YOUR_GRANT_ID",)