Skip to content

Managed secret providers

Replicate

Connect Replicate to Alter Vault for secure API access

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

PropertyValue
Provider IDreplicate
CategoryAI
Credential TypeAPI Token

Log in to Replicate

Log in to Replicate at replicate.com.

Navigate to API Tokens

Navigate to Account > API Tokens at replicate.com/account/api-tokens.

Create or copy a token

Create a new token or copy the default one (starts with r8_).

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Replicate

Go to Managed Secrets > Add Provider > Replicate.

Enter credentials

Paste your API 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.POST,
"https://api.replicate.com/v1/predictions",
grant_id="YOUR_GRANT_ID",
)