Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Use Stripe credentials to make authenticated API calls through Alter Vault without exposing your API keys in code.
PropertyValue
Provider IDstripe
CategoryPayments
Credential TypeBearer Token

Step 1: Get Your Credentials

1

Log in to the Stripe Dashboard

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

Go to Developers → API Keys

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

Create or reveal secret key

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

Copy your secret key

Copy the secret key (starts with sk_live_ or sk_test_).
Never share your credentials publicly. Store them securely and only enter them in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Stripe

Go to Managed Secrets > Add Provider > Stripe.
3

Enter your credentials

Paste your Secret Key into the credential field.
4

Save

Click Save. You’ll receive a grant_id to use with the SDK.

Using in Code

response = await vault.request(
    HttpMethod.GET,
    "https://api.stripe.com/v1/charges",
    grant_id="YOUR_GRANT_ID",
)

Notes

  • Use test mode keys (sk_test_) for development and live keys (sk_live_) for production.