Database secrets
A database secret is a non-expiring credential that applications and developer tools use to authenticate with a TigerGraph database in Savanna. Use one when you connect a tool or integration to your database, such as pyTigerGraph, TigerGraph MCP, or GraphRAG. The secret stays valid until you delete or revoke it.
Create a database secret
-
In Savanna, select Database Secrets from the left navigation.
-
Click Create Secret.
-
Enter a name for the database secret.
-
Select the workspace connected to the database you want to access.
-
Create the secret.
-
Copy the generated secret and store it securely. You will not be able to view it again after you leave the page.
Use a database secret
Use the generated secret to authenticate tools and integrations that connect to your TigerGraph database, including:
-
pyTigerGraph
-
TigerGraph MCP. See Connect AI tools with MCP, where the secret is passed as
TG_SECRET. -
GraphRAG
|
Treat database secrets like passwords. Store them securely and do not commit them to source control. A database secret does not expire and remains valid until you delete or revoke it. |
Where to go next
-
For secrets in Admin Portal or GraphStudio, see Manage secrets and Create a secret.
-
Create control-plane credentials instead: API keys.