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 Sentry credentials to make authenticated API calls through Alter Vault without exposing your API keys in code.
PropertyValue
Provider IDsentry
CategoryMonitoring & Observability
Credential TypeBearer Token

Step 1: Get Your Credentials

1

Log in to Sentry

Log in to Sentry at sentry.io.
2

Go to Settings → Account → API → Auth Tokens

Go to Settings → Account → API → Auth Tokens at sentry.io/settings/account/api/auth-tokens/.
3

Create a new token

Click ‘Create New Token’ and configure scopes.
4

Copy your auth token

Copy the generated auth token (personal tokens start with sntryu_, organization tokens with sntrys_).
5

Enter hostname if self-hosted

If using a self-hosted instance, enter the hostname in the Sentry Hostname field.
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 Sentry

Go to Managed Secrets > Add Provider > Sentry.
3

Enter your credentials

Paste your Auth Token into the credential field. If using a self-hosted instance, also enter your Sentry hostname in the Sentry Hostname 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://YOUR_SENTRY_HOST/api/0/projects/",
    grant_id="YOUR_GRANT_ID",  # Use sentry.io for cloud or your self-hosted hostname
)