Managed secret providers
Cursor
Connect Cursor to Alter Vault for secure API access
Overview
Section titled “Overview”Use Cursor credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | cursor |
| Category | Developer Tools |
| Credential Type | Bearer Token |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Sign in to Cursor
Sign in to your Cursor account at www.cursor.com.
Go to Cursor Settings
Navigate to Cursor Settings.
Find the API Keys section
Find the API Keys section.
Generate a new API key
Generate a new API key and copy it.
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 Cursor
Go to Managed Secrets > Add Provider > Cursor.
Enter credentials
Paste your API Key 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.cursor.com/v1/YOUR_ENDPOINT", grant_id="YOUR_GRANT_ID",)