Skip to main content
Service accounts are machine identities designed for automated processes and applications. Unlike human users, service accounts authenticate via API keys and are intended for programmatic access.

Workspace vs Project Level

Service accounts can be created at two levels:
  • Workspace level — Has access governed by workspace IAM policies. Suitable for cross-project automation.
  • Project level — Scoped to a single project, following the principle of least privilege. Suitable for isolated automation within one project.

Create a Service Account

  1. For workspace-level: go to IAM & Admin > Service Accounts tab and click Add Service Account.
  2. For project-level: go to Project > Manage > Service Accounts and click Add Service Account.
Service accounts cannot be part of user groups. Since service accounts are for automated processes with specific access needs, including them in groups could grant unintended permissions. This is considered an anti-pattern.

Service Account vs Workload Identity

Service AccountWorkload Identity
CredentialLong-lived API keyShort-lived OIDC token
Best forScripts, Terraform, general API accessCI/CD pipelines (GitHub Actions, GitLab CI)
SecurityKey must be stored as a secretNo secrets to manage
If your automation runs in a CI/CD platform that supports OIDC, prefer Workload Identity for better security.