Skip to content

Reference

Vercel

Connect Vercel to Alter Vault for secure API access

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

PropertyValue
Provider IDvercel
CategoryDeveloper Tools
Credential TypeBearer Token

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/settings/tokens.

Create a token

Click ‘Create’ and set a name and scope.

Copy your token

Copy the generated token.

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.

response = await alter_app.request(
HttpMethod.GET,
"https://api.vercel.com/v9/projects",
grant_id="YOUR_GRANT_ID",
)

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
inviteUserToTeamadmin, sendPOST/v2/teams/{teamId}/members
acceptProjectTransferRequestpaymentPUT/projects/transfer-request/{code}
createOrTransferDomainpaymentPOST/v7/domains
createProjectTransferRequestpaymentPOST/projects/{idOrName}/transfer-request
finalize-installationpaymentPOST/v1/installations/{integrationConfigurationId}/billing/finalize
submit-billing-datapaymentPOST/v1/installations/{integrationConfigurationId}/billing
submit-invoicepaymentPOST/v1/installations/{integrationConfigurationId}/billing/invoices
submit-prepayment-balancespaymentPOST/v1/installations/{integrationConfigurationId}/billing/balance
update-invoicepaymentPOST/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}/actions
cancelDeploymentdelete, writePATCH/v12/deployments/{id}/cancel
delete-integration-resourcedeleteDELETE/v1/installations/{integrationConfigurationId}/resources/{resourceId}
deleteAccessGroupadmin, deleteDELETE/v1/access-groups/{idOrName}
deleteAccessGroupProjectadmin, deleteDELETE/v1/access-groups/{accessGroupIdOrName}/projects/{projectId}
deleteAliasdeleteDELETE/v2/aliases/{aliasId}
deleteAuthTokenadmin, deleteDELETE/v3/user/tokens/{tokenId}
deleteConfigurableLogDraindeleteDELETE/v1/log-drains/{id}
deleteConfigurationdeleteDELETE/v1/integrations/configuration/{id}
deleteDeploymentdeleteDELETE/v13/deployments/{id}
deleteDomaindeleteDELETE/v6/domains/{domain}
deleteDraindeleteDELETE/v1/drains/{id}
deleteDrivedeleteDELETE/v2/sandboxes/drives/{name}
createAccessGroupadmin, writePOST/v1/access-groups
createAccessGroupProjectadmin, writePOST/v1/access-groups/{accessGroupIdOrName}/projects
createConnectorAuthorizationRequestadmin, writePOST/v1/connect/authorize/{connector}
createEdgeConfigTokenadmin, writePOST/v1/edge-config/{edgeConfigId}/token
createSdkKeyadmin, writePUT/v1/projects/{projectIdOrName}/feature-flags/sdk-keys
assignAliaswritePOST/v2/deployments/{id}/aliases
create-eventwritePOST/v1/installations/{integrationConfigurationId}/events
createCheckwritePOST/v1/deployments/{deploymentId}/checks
createCustomEnvironmentwritePOST/v9/projects/{idOrName}/custom-environments
createDeploymentCheckRunwritePOST/v2/deployments/{deploymentId}/check-runs
createFlagwritePUT/v1/projects/{projectIdOrName}/feature-flags/flags
createFlagSegmentwritePUT/v1/projects/{projectIdOrName}/feature-flags/segments
createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemswritePOST/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items
get-invoicereadGET/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}
getAllChecksreadGET/v1/deployments/{deploymentId}/checks
getCheckreadGET/v1/deployments/{deploymentId}/checks/{checkId}
getContactInfoSchemareadGET/v1/registrar/domains/{domain}/contact-info/schema
getDeploymentreadGET/v13/deployments/{idOrUrl}
getDeploymentCheckRunreadGET/v2/deployments/{deploymentId}/check-runs/{checkRunId}

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.