You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,12 +67,32 @@ The server exposes these tools to AI agents:
67
67
-`QUERY_ACCESS_EVALUATION_ENABLED`: Optional flag to enable/disable query access evaluation (defaults to `true`). Set to `false` to skip AI-based access evaluation when AI is not enabled in Data Mesh Manager.
68
68
69
69
#### BigQuery Configuration
70
-
-`BIGQUERY_CREDENTIALS_PATH`: Path to service account key file
70
+
71
+
The BigQuery client supports three authentication methods with automatic fallback:
72
+
73
+
1.**Service Account JSON** (Recommended for production)
74
+
- Set `BIGQUERY_CREDENTIALS_PATH` to path of service account key file
3.**Application Default Credentials** (Recommended for local development)
82
+
- Do not set `BIGQUERY_CREDENTIALS_PATH` or set it to empty
83
+
- Run `gcloud auth application-default login` for local user credentials
84
+
- Automatically used in cloud environments (GCE, Cloud Run, GKE, etc.)
85
+
86
+
**Authentication Priority:**
87
+
- If `BIGQUERY_CREDENTIALS_PATH` is set, tries service account JSON first, then workload identity federation
88
+
- If not set or file not found, falls back to Application Default Credentials
71
89
72
90
**Note**: Google Cloud Project ID and dataset information are specified in the data product's output port server configuration, not as environment variables.
73
91
74
92
### Claude Desktop Integration
75
93
Configure in `~/Library/Application Support/Claude/claude_desktop_config.json`:
94
+
95
+
**Example 1: Using Service Account JSON**
76
96
```json
77
97
{
78
98
"mcpServers": {
@@ -90,6 +110,24 @@ Configure in `~/Library/Application Support/Claude/claude_desktop_config.json`:
90
110
}
91
111
```
92
112
113
+
**Example 2: Using Application Default Credentials (local development)**
0 commit comments