Google Cloud (GCP): Remove Sprinto Access
Remove the access Sprinto was given in Google Cloud (GCP). Covers every way Sprinto can be connected to Google Cloud (GCP) and the steps to take in Google Cloud (GCP) for each.
Use this guide to remove the access you gave Sprinto in Google Cloud (GCP). These steps are done in Google Cloud (GCP), not in Sprinto. To connect Google Cloud (GCP) to Sprinto again later, see GCP Integration, GCP Integration (via Cloud Shell) or GCP Integration (via Access Management).
Which connection method did you use?
Sprinto can be connected to Google Cloud (GCP) in 2 ways. Find the method you used, then follow the steps in that section.
The project where you ran the script has service account sprinto-serviceaccount and a workload identity pool sprinto-wif-pool; no JSON key was downloaded.
The project has service account sprinto-service-account and you uploaded a JSON key file (sa-private-key.json) to Sprinto.
Keyless setup (workload identity federation)
Who must do this: Project IAM Admin and Service Account Admin on the connected projects, Organization Admin for the org-level role, and IAM Workload Identity Pool Admin
What gets removed: Sprinto's role bindings, its service account and its workload identity pool.
Steps
In the Google Cloud console go to IAM & Admin → IAM, select each project you connected, find
sprinto-serviceaccount@…iam.gserviceaccount.com, click Edit principal, click Delete next to each role (Compute Viewer, Security Reviewer, Monitoring Editor) and click Save.On the same IAM page, select your organization. If the principal has Cloud Asset Viewer, click Edit principal, delete that role and click Save.
In the project where you ran the script, go to IAM & Admin → Service accounts, select
sprinto-serviceaccountand click Delete, then confirm.Go to IAM & Admin → Workload Identity Pools, open Sprinto GCP Identity Pool (
sprinto-wif-pool), click Delete pool, then Delete. Delete the whole pool, not just its provider.
Confirm it's removed
sprinto-serviceaccount no longer appears on the IAM or Service accounts pages, and sprinto-wif-pool is not listed on Workload Identity Pools (it only shows under Show deleted pools and providers).
Official guide: Google Cloud docs
Service account key (JSON key file)
Who must do this: Project IAM Admin and Service Account Admin (or Service Account Key Admin) on the connected projects; Organization Admin for the org-level role
What gets removed: The JSON key, Sprinto's role bindings and the sprinto-service-account service account.
Steps
In the Google Cloud console go to IAM & Admin → Service accounts in the project where you ran the script, click
sprinto-service-account@…, open the Keys tab and click Delete for each key.Go to IAM & Admin → IAM, select each project you connected, find
sprinto-service-account@…, click Edit principal, click Delete next to each role (Security Reviewer, Compute Viewer, Monitoring Editor) and click Save.On the IAM page, select your organization. If the principal has Cloud Asset Viewer, click Edit principal, delete that role and click Save.
Back on Service accounts, select
sprinto-service-account, click Delete and confirm.Optional: delete stored copies of the key — the downloaded
sa-private-key.jsonand the copy in your Cloud Shell home folder (rm ~/sa-private-key.json). This doesn't affect reconnecting.
Confirm it's removed
sprinto-service-account no longer appears on the Service accounts or IAM pages of any connected project or the organization.
Official guide: Google Cloud docs

