Managed secret providers
Clerk
Connect Clerk to Alter Vault for secure API access
Overview
Section titled “Overview”Use Clerk credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | clerk |
| Category | Developer Tools |
| Credential Type | Bearer Token |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to the Clerk Dashboard
Log in to the Clerk Dashboard at dashboard.clerk.com.
Select the application
Select the application.
Go to Configure → API Keys
Go to Configure → API Keys.
Copy the Secret Key
Copy the Secret Key (starts with sk_live_ or sk_test_).
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 Clerk
Go to Managed Secrets > Add Provider > Clerk.
Enter credentials
Paste your Secret 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.clerk.com/v1/users", grant_id="YOUR_GRANT_ID",)