Subscribe to the Non-Human & AI Identity Journal
Authentication, Authorisation & Trust

Predefined Role

← Back to Glossary
By NHI Mgmt Group Updated May 31, 2026 Domain: Authentication, Authorisation & Trust

A predefined role is a service-specific permission bundle maintained by Google. It supports finer-grained access than a basic role, but it still needs review because the default permission set may be broader than the workload truly requires.

Expanded Definition

A predefined role is a Google-maintained service role that packages a set of permissions for a specific product or workload pattern. It sits between broad basic access and fully custom entitlements, giving administrators a faster starting point for RBAC in cloud operations.

Definitions vary across vendors, but the practical meaning is consistent: a predefined role is meant to reduce setup time while preserving enough specificity to support least privilege. In NHI and automation-heavy environments, that distinction matters because an agent, service account, or deployment pipeline may only need a narrow slice of platform capability. A predefined role can be safer than a primitive role, but it is not automatically safe. Its permission bundle may still include actions that are irrelevant to the workload, and that overreach becomes a governance issue when roles are reused without review. The NIST Cybersecurity Framework 2.0 is helpful here because it frames identity governance as an ongoing control activity, not a one-time assignment.

The most common misapplication is treating a predefined role as equivalent to least privilege, which occurs when teams assign it by product name instead of validating the exact permissions required by the workload.

Examples and Use Cases

Implementing predefined roles rigorously often introduces a review burden, requiring organisations to balance deployment speed against the risk of granting permissions that exceed the workload’s actual function.

  • A CI/CD service account gets a predefined deployment role, but the team removes extra permissions after confirming the pipeline only needs build and release actions.
  • An AI agent that reads logs and opens tickets receives a predefined observer role, then is denied write permissions that could alter production data.
  • A backup automation job uses a predefined storage role, but access is narrowed after validation shows it never needs object deletion privileges.
  • A platform team compares a predefined role against a custom role to reduce permission sprawl while keeping operational onboarding fast.

These examples reflect a broader NHI pattern described in the Ultimate Guide to NHIs, where service identities and their permissions must be visible, reviewable, and tightly scoped. That same operational discipline aligns with the access-control emphasis in NIST Cybersecurity Framework 2.0, especially when predefined roles are used as a baseline rather than a final approval.

Why It Matters in NHI Security

Predefined roles matter because they are one of the most common places where privilege creep enters cloud environments quietly. A role that looks appropriately named can still expose broad administrative, read, or write capability that the workload never needs. That is especially risky for service accounts, MCP-connected tools, and autonomous agents that operate faster and more frequently than human reviewers can monitor.

NHIMG research shows that Ultimate Guide to NHIs reports 97% of NHIs carry excessive privileges, which illustrates how quickly “good enough” access can become systemic overprovisioning. The lesson is not that predefined roles are bad, but that they require the same lifecycle discipline as any other NHI entitlement: assignment, review, rotation of dependent secrets, and removal when the workload changes. That control posture is consistent with zero-trust thinking and with the identity governance approach promoted by the NIST Cybersecurity Framework 2.0. Organisations typically encounter the consequences only after a service account is abused or a compromised agent reaches an environment it should never have accessed, at which point the predefined role becomes operationally unavoidable to investigate and correct.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02Predefined roles can still overgrant service-account access.
NIST CSF 2.0PR.AC-4Access permissions should be managed and reviewed as part of identity governance.
NIST Zero Trust (SP 800-207)SC-3Zero Trust requires explicit verification and minimal access for each identity.

Map predefined-role assignments to least-privilege reviews and periodic entitlement validation.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on May 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org