Skip to content

Managed secret providers

Stripe (API Key)

Connect Stripe to Alter Vault using an API key for secure API access

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

PropertyValue
Provider IDstripe
CategoryPayments
Credential TypeBearer Token

Log in to the Stripe Dashboard

Log in to the Stripe Dashboard at dashboard.stripe.com.

Go to Developers → API Keys

Go to Developers → API Keys at dashboard.stripe.com/apikeys.

Create or reveal secret key

Click ‘Create secret key’ (or reveal the existing one).

Copy your secret key

Copy the secret key (starts with sk_live_ or sk_test_).

Open the Developer Portal

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

Add Stripe

Go to Managed Secrets > Add Provider > Stripe.

Enter credentials

Paste your Secret Key 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.stripe.com/v1/charges",
grant_id="YOUR_GRANT_ID",
)
  • Use test mode keys (sk_test_) for development and live keys (sk_live_) for production.