Managed secret providers
Klaviyo
Connect Klaviyo to Alter Vault for secure API access
Overview
Section titled “Overview”Use Klaviyo credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Provider ID | klaviyo |
| Category | Marketing |
| Credential Type | API Key |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to Klaviyo
Log in to Klaviyo at www.klaviyo.com.
Go to Settings → Account → API Keys
Go to Settings → Account → API Keys at www.klaviyo.com/settings/account/api-keys.
Create a Private API Key
Click ‘Create Private API Key’.
Copy your API key
Copy the generated private API key.
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 Klaviyo
Go to Managed Secrets > Add Provider > Klaviyo.
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://a.klaviyo.com/api/lists", grant_id="YOUR_GRANT_ID",)