services / Google Cloud / Service Account Keys

Service account keys are the credentials that service accounts use for authentication. Service accounts are Google accounts used by applications or workloads for authentication, and as result may have access to many Google services.

Service account keys are extremely sensitive since they allow users to authenticate as the service account.


iam.​serviceAccountKeys.​enable

This can allow a privilege escalation if the attacker is able to gain access to a disabled service account key.

Risks

Scope: CRITICAL

This privilege may grant access to sensitive data from a significant fraction of organizational functions, allow interruption of critical organizational services, or its exploit could lead to significant privilege escalation.

Links

  • https:​/​/​cloud.​google.​com/​iam/​docs/​reference/​rest/​v1/​projects.​serviceAccounts.​keys
  • https:​/​/​cloud.​google.​com/​iam/​docs/​best-​practices-​for-​managing-​service-​account-​keys
  • Contributed by P0 Security

    © 2023–present P0 Security and contributors to the IAM Privilege Catalog