Skip to content

Managed secret providers

Neon

Connect Neon to Alter Vault for secure API access

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

PropertyValue
Provider IDneon
CategoryDatabase
Credential TypeAPI Key

Log in to the Neon Console

Log in to the Neon Console.

Open API keys

Go to Account settings > API keys — or Organization settings for an org/project-scoped key.

Create a key

Click Create new API key and name it.

Copy the key

Copy the key (starts with napi_) — it is only shown once.

Open the Developer Portal

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

Add Neon

Go to Managed Secrets > Add Provider > Neon.

Enter credentials

Paste your API 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://console.neon.tech/api/v2/projects",
grant_id="YOUR_GRANT_ID",
)
  • The Neon API manages projects, branches, computes, databases, and roles — ideal for provisioning an isolated Postgres branch per agent or per session.
  • Running SQL uses the Postgres protocol or Neon’s serverless driver against the branch’s connection string, not this API key.