GCP Integration
Connect Sprinto with Google Cloud Platform (GCP) to automate infrastructure monitoring and compliance checks using Workload Identity Federation or legacy JSON key-based authentication.
GCP API Resources
Important: New & Improved GCP Integration (Workload Identity Federation December 6, 2024)
What’s new?
Connect GCP Using Workload Identity Federation (New Flow)
New Integration Methods (Recommended)
Prerequisites
Required IAM Permissions (for setup script)
Permission
GCP Role that includes it
Required GCP Predefined Roles (Post-Setup Access)
Role
Access Level
Purpose
Method 1: Use Google Cloud Shell (Recommended – WIF Based)
Step 1: Navigate to GCP Integration


Step 2: Add GCP Project IDs

Step 3: Add Project Details

Step 4: Run the Bash Script in Cloud Shell
Step 5: Complete Integration

Method 2: Set Up Service Account Manually (WIF Based)
Step A: Add GCP Project in Sprinto


Step B: Create a Service Account in GCP

Grant Roles

Step C: Create Workload Identity Pool and Provider

Pool Details

Create Provider

Configure Attributes
Attribute Key
Attribute Value

Grant Access Using Service Account Impersonation

Step D: Enable Required APIs

Result
Connect GCP Using Previous Methods
Legacy Method 1: Cloud Shell (JSON Key-Based)
Step 1: Run Bash Script in Cloud Shell



Step 2: Download JSON Key

Step 3: Upload Key in Sprinto

Important
Legacy Method 2: Manual (JSON Key-Based)
Step 1: Create Service Account


Step 2: Create Access Keys

Step 3: Enable Required APIs
Step 4: Upload JSON Key in Sprinto

Important
Post-Connection Flow
Comparison: New vs Old GCP Integration Flows
Feature / Aspect
New Flow (Workload Identity Federation)
Old Flow (JSON Key Based)
Troubleshooting
1. “Permission Denied” or Insufficient Access Errors
2. APIs Not Enabled Error
3. “Connect” Button Not Activating (Legacy JSON Method)
4. No Data Appearing After Successful Connection
5. Workload Identity Federation Errors (New Method)
6. JSON Key Expired (Legacy Method)
When to Contact Support
Last updated

