Skip to content
Least Privilege Principle

Service account impersonation

Service account impersonation is a Google Cloud principal authenticating as a service account to gain its permissions. It lets a caller act with the service account's access without holding a key. Only principals holding the right permissions can do it, and it avoids creating a service account key.

All terms ยท Open the calculator

An example, sourced

Google's documentation says impersonation lets an authenticated principal access whatever the service account can access, and names the Service Account Token Creator role (roles/iam.serviceAccountTokenCreator) as one that holds the needed permission.

Why it matters here

Whoever can impersonate an account inherits its access. Granting the token creator role is as sensitive as granting the account's own roles.

Sources

  1. https://cloud.google.com/iam/docs/service-account-impersonation, read 16 Nov 2026

Last reviewed 16 Nov 2026.