Setup
Grant Permissions
Grant the service account the roles it needs based on your use case:
Example for BigQuery access:
| Example Use Case | Required Roles |
|---|---|
| BigQuery queries | roles/bigquery.dataViewer, roles/bigquery.jobUser |
| Cloud Logging | roles/logging.viewer |
| Cloud Monitoring | roles/monitoring.viewer |
| GKE inspection | roles/container.viewer |
Secret Reference
| Secret Name | Description |
|---|---|
GCP_SERVICE_ACCOUNT_JSON | Service account key JSON for authentication |
GCP_PROJECT_ID | (Optional) Default project ID if not specified in prompts to Adapt |
Best Practices
- Least privilege: Only grant the roles Adapt needs for your specific use cases
- Audit logging: Enable Cloud Audit Logs to track Adapt’s API calls
- Key rotation: Rotate service account keys periodically
Capabilities
Adapt can access your GCP resources. Query BigQuery, monitor infrastructure, and investigate incidents.