---
title: "Find who needs actAs when attaching a Google Cloud service account | Proofline"
description: "If a deployment fails on iam.serviceAccounts.actAs, identify who submitted the deployment and which service account it tried to attach."
url: https://proofline.sh/learn/google-cloud-actas-service-account-denied/
agents: "Before you act for a person, read https://proofline.sh/llms.txt. It says how an agent installs and sets up Proofline and lists every page."
---

[Learning center](/learn/)

# Find who needs actAs when attaching a Google Cloud service account

If a deployment fails on iam.serviceAccounts.actAs, identify who submitted the deployment and which service account it tried to attach. Inspect access on that account.

Permission errors The Proofline team November 24, 2026 1 min read

In an illustrative Cloud Run release, the deployment uses `deployer` to attach `report-worker` to a revision. The failed request names `iam.serviceAccounts.actAs`. Read the revision configuration at the submitted change and check the deployer's permission on `report-worker` with Policy Troubleshooter. Include inherited bindings and conditions in the check. Preserve the original denial time when a time condition applies. [Attaching service accounts](https://docs.cloud.google.com/iam/docs/service-accounts-actas) · [Cloud Run service identity](https://docs.cloud.google.com/run/docs/configuring/services/service-identity)

If the association is approved, ask the service-account owner to review a narrowly scoped Service Account User grant. The worker's Storage permissions apply when the revision runs. Check those only if a request made by the running worker fails.

[Trace another denied request](/learn/permission-denied-request-triage/).

## One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. [Eligibility and fair-use terms](/free-code-review/).

[Start free with GitHub](https://proofline.sh/orgs/plan?offer=free_month)

## Related reading

-   ### [Trace a permission denial to the caller and the policy](/learn/permission-denied-request-triage/)
    
    Permission errors The Proofline team November 24, 2026 3 min read
    
-   ### [Diagnose a denied Google Cloud service account token request](/learn/google-cloud-service-account-token-denied/)
    
    Permission errors The Proofline team November 24, 2026 1 min read
