Skip to content

Reference

Neo4j Aura

Connect Neo4j Aura to Alter Vault for secure API access

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

PropertyValue
Provider IDneo4j
CategoryDatabase
Credential TypeBase64 Credentials

Log in to the Aura Console

Log in to the Neo4j Aura Console.

Note the instance credentials

Create (or open) an instance and note the generated username and password — the password is only shown at creation.

Encode the credentials

Base64-encode the credentials: echo -n 'neo4j:password' | base64 and paste the result into the credential field.

Open the Developer Portal

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

Add Neo4j Aura

Go to Managed Secrets > Add Provider > Neo4j Aura.

Enter credentials

Paste your Base64 Credentials 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://YOUR-INSTANCE.databases.neo4j.io/db/neo4j/query/v2",
grant_id="YOUR_GRANT_ID",
json={"statement": "MATCH (p:Person)-[:KNOWS]->(f) RETURN p.name, f.name LIMIT 5"},
)
  • The Query API accepts Cypher in a JSON payload and returns structured node/relationship arrays.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
queryadmin, delete, read, writePOST/db/{databaseName}/query/v2
queryInTransactionadmin, delete, read, writePOST/db/{databaseName}/query/v2/tx/{transactionId}
beginTransactionwritePOST/db/{databaseName}/query/v2/tx
commitTransactionwritePOST/db/{databaseName}/query/v2/tx/{transactionId}/commit
rollbackTransactionwriteDELETE/db/{databaseName}/query/v2/tx/{transactionId}

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.