# Least Privilege Principle > The principle of least privilege in AWS, Azure and Google Cloud: NIST AC-6, privilege creep, examples, a policy template and the Access Debt Calculator. Every page has a markdown twin at the same address plus index.md (or send Accept: text/markdown). Every fact carries its source and the date it was read (16 Nov 2026). Datasets: https://leastprivilegeprinciple.com/datasets/ (CSV and JSON, CC BY 4.0). ## Home - [Least Privilege Principle: Cloud Field Guide](https://leastprivilegeprinciple.com/index.md): The principle of least privilege in AWS, Azure and Google Cloud: NIST AC-6, privilege creep, examples, a policy template and the Access Debt Calculator. ## Method - [Access Debt Calculator methodology](https://leastprivilegeprinciple.com/methodology/index.md): The methodology page shows how the Access Debt Calculator works: its six inputs, the two plans it sizes, the assumptions it makes and the arithmetic in eac ## Reference - [Principle of least privilege: definition and NIST AC-6](https://leastprivilegeprinciple.com/principle-of-least-privilege/index.md): The principle of least privilege means each user, process or workload gets only the access its task needs and nothing more. NIST SP 800-53 Rev. 5 control A - [Privilege creep in the cloud: causes and how to measure it](https://leastprivilegeprinciple.com/privilege-creep/index.md): Privilege creep is the build-up of access an identity no longer needs, because grants are added for each new task and rarely removed. In the cloud it shows - [Least privilege access: how access is granted and limited](https://leastprivilegeprinciple.com/least-privilege-access/index.md): Least privilege access means an identity can reach only the resources and actions its work needs, for only as long as it needs them. In cloud accounts that - [Least privilege access control: RBAC, ABAC and boundaries](https://leastprivilegeprinciple.com/least-privilege-access-control/index.md): Least privilege access control is the set of mechanisms that enforce least privilege: role-based access control, attribute-based access control, policy con - [Least privilege policy template for cloud access](https://leastprivilegeprinciple.com/least-privilege-policy-template/index.md): A written least privilege policy for cloud environments, with [bracketed placeholders] for your organization's names, periods and owners. It covers purpose - [The first 90 days of cloud least privilege](https://leastprivilegeprinciple.com/first-90-days/index.md): A first quarter of cloud least privilege work fits the 90-day usage windows provider tools use. Spend month one on logging, data and owners, month two on c - [Zero trust and least privilege: what NIST SP 800-207 says](https://leastprivilegeprinciple.com/zero-trust-least-privilege/index.md): NIST SP 800-207 puts least privilege inside zero trust: its definition calls for accurate, least privilege per-request access decisions, and its third tene - [Least privilege examples in AWS, Azure and Google Cloud](https://leastprivilegeprinciple.com/least-privilege-examples/index.md): Ten concrete cloud examples of least privilege, four on AWS, three on Azure and three on Google Cloud, each with the permission before, the permission afte - [IAM least privilege in AWS, Azure and Google Cloud](https://leastprivilegeprinciple.com/iam-least-privilege/index.md): IAM least privilege is the practice of limiting what identity and access management lets each identity do. AWS, Azure and Google Cloud each document a narr - [Why least privilege projects stall in the cloud](https://leastprivilegeprinciple.com/why-least-privilege-stalls/index.md): Cloud least privilege projects stall at four points: nobody can show a removal is safe, usage data covers too short a window, clean-up happens one permissi - [What a boundary is in cloud access control](https://leastprivilegeprinciple.com/what-a-boundary-is/index.md): A boundary is a rule that caps what the grants below it can do, whatever those grants say. AWS, Google Cloud and Azure each document one: a ceiling on a ro ## Directory - [Least privilege for 20 cloud services](https://leastprivilegeprinciple.com/services/index.md): Services describes the help available to a team running a least privilege program in AWS, Azure or Google Cloud, what each kind of help covers and what the - [Routes to least privilege: tools and platforms](https://leastprivilegeprinciple.com/routes/index.md): Routes sets out the different ways a team can carry out a least privilege program in the cloud and what each route asks of the team. Each route is describe - [The least privilege data note: every edition](https://leastprivilegeprinciple.com/data-note/index.md): The calculator's data note explains where its inputs come from and what they mean. Counts such as identities with unused permissions come from provider rep - [Guides](https://leastprivilegeprinciple.com/guides/index.md): Guides to least privilege in AWS, Azure and Google Cloud, with one set for each identity type: human, service, workload and third-party. Each guide names the provider mechanisms, quotes the documentation and gives the date it was read, so a team can compare the three clouds on one page. - [Glossary](https://leastprivilegeprinciple.com/glossary/index.md): Plain definitions of the terms used in cloud least privilege, from permissions boundary and service control policy to privilege creep and standing access. Each definition stands alone in one sentence, is tied to a provider or NIST page that was read, and shows the date it was read. - [News](https://leastprivilegeprinciple.com/news/index.md): Dated notes on changes that affect least privilege in the cloud: new provider features, changes to documentation, and updates to NIST controls. Each item names the source page, says what changed and when it was read, and links to the guide that the change affects. ## Service - [Least privilege for Amazon S3](https://leastprivilegeprinciple.com/services/aws-s3/index.md): AWS documentation read on 16 Nov 2026 says new S3 buckets disable ACLs by default, so access rests on identity policies, bucket policies, VPC endpoint poli - [Least privilege for AWS Lambda](https://leastprivilegeprinciple.com/services/aws-lambda/index.md): AWS Lambda has two permission paths: the execution role a function uses and the resource-based policy that lets others invoke it. AWS documentation read on - [Least privilege for Amazon EC2](https://leastprivilegeprinciple.com/services/aws-ec2/index.md): Amazon EC2 access has two sides: the IAM policies that let people call the EC2 API, and the instance role that applications use. AWS documentation read on - [Least privilege for Amazon EKS](https://leastprivilegeprinciple.com/services/aws-eks/index.md): Amazon EKS has two layers: AWS IAM decides who can call the EKS API, and Kubernetes permissions decide what they do inside the cluster. AWS documentation r - [Least privilege for Amazon RDS](https://leastprivilegeprinciple.com/services/aws-rds/index.md): Amazon RDS has control-plane permissions for managing instances and a separate rds-db:connect action for logging in with IAM database authentication. AWS d - [Least privilege for Amazon DynamoDB](https://leastprivilegeprinciple.com/services/aws-dynamodb/index.md): Amazon DynamoDB access is granted per table and per action, and AWS documentation read on 16 Nov 2026 adds condition keys for item and attribute level cont - [Least privilege for AWS KMS](https://leastprivilegeprinciple.com/services/aws-kms/index.md): AWS KMS keys are governed by a key policy, and IAM policies work only if the key policy allows them. AWS documentation read on 16 Nov 2026 recommends separ - [Least privilege for AWS Secrets Manager](https://leastprivilegeprinciple.com/services/aws-secrets-manager/index.md): AWS Secrets Manager uses IAM identity-based and resource-based policies, plus the KMS key that encrypts each secret. AWS documentation read on 16 Nov 2026 - [Least privilege for Azure Storage](https://leastprivilegeprinciple.com/services/azure-storage/index.md): Azure Storage separates management roles from data roles. Microsoft's documentation, read 16 Nov 2026, says data access needs a data role such as Storage B - [Least privilege for Azure Key Vault](https://leastprivilegeprinciple.com/services/azure-key-vault/index.md): Key Vault has a management plane and a data plane that are authorized separately. Microsoft's documentation, read 16 Nov 2026, recommends one vault per app - [Least privilege for Azure Kubernetes Service](https://leastprivilegeprinciple.com/services/azure-aks/index.md): AKS can authorize Kubernetes API calls with Azure RBAC. Microsoft's documentation, read 16 Nov 2026, lists four built-in roles, advises cluster or namespac - [Least privilege for Azure Functions](https://leastprivilegeprinciple.com/services/azure-functions/index.md): Azure Functions supports only Contributor, Owner and Reader at the function app level. Microsoft's documentation, read 16 Nov 2026, advises running the app - [Least privilege for Azure SQL Database](https://leastprivilegeprinciple.com/services/azure-sql-database/index.md): Azure SQL Database has two layers: Azure RBAC for managing servers and databases, and database roles for data. Microsoft's documentation, read 16 Nov 2026, - [Least privilege for Cloud Storage](https://leastprivilegeprinciple.com/services/gcp-cloud-storage/index.md): Cloud Storage grants access through IAM roles on projects, buckets or managed folders. Google's documentation, read 16 Nov 2026, lists Storage Object Viewe - [Least privilege for BigQuery](https://leastprivilegeprinciple.com/services/gcp-bigquery/index.md): BigQuery separates the right to run jobs from the right to read data. Google's documentation, read 16 Nov 2026, describes BigQuery Job User at project leve - [Least privilege for Google Kubernetes Engine](https://leastprivilegeprinciple.com/services/gcp-gke/index.md): GKE access is checked by IAM at the project level and by Kubernetes RBAC at cluster and namespace level. Google's documentation, read 16 Nov 2026, says an - [Least privilege for Cloud Run](https://leastprivilegeprinciple.com/services/gcp-cloud-run/index.md): Cloud Run splits deploying a service from invoking it. Google's documentation, read 16 Nov 2026, says deploying needs Cloud Run Developer, Artifact Registr - [Least privilege for Cloud Functions](https://leastprivilegeprinciple.com/services/gcp-cloud-functions/index.md): Cloud Functions separates administering functions from invoking them. Google's documentation, read 16 Nov 2026, says HTTP functions require authentication - [Least privilege for Cloud KMS](https://leastprivilegeprinciple.com/services/gcp-cloud-kms/index.md): Cloud KMS binds roles at project, key ring and key level. Google's documentation, read 16 Nov 2026, says to grant the most limited permissions to the lowes - [Least privilege for Pub/Sub](https://leastprivilegeprinciple.com/services/gcp-pubsub/index.md): Pub/Sub roles can be granted on individual topics and subscriptions. Google's documentation, read 16 Nov 2026, lists Publisher, Subscriber, Editor and Admi ## Route - [Act Security: boundary platform for least privilege](https://leastprivilegeprinciple.com/routes/act/index.md): Act Security appears in the routes directory as a boundary platform. Act says its human-identity boundary rightsizes human access and removes standing priv - [Apono: time-bound access product for least privilege](https://leastprivilegeprinciple.com/routes/apono/index.md): Apono appears in the routes directory as a time-bound access product. Apono says it grants just-in-time access to humans, machines and AI agents and revoke - [AWS Control Tower: provider tool for least privilege](https://leastprivilegeprinciple.com/routes/aws-control-tower/index.md): AWS Control Tower appears in the routes directory as a provider tool. AWS documentation says preventive controls deny the action and log denied attempts in - [AWS IAM Access Analyzer: provider tool for least privilege](https://leastprivilegeprinciple.com/routes/aws-iam-access-analyzer/index.md): AWS IAM Access Analyzer appears in the routes directory as a provider tool. AWS says Access Analyzer reports unused roles, access keys, passwords and permi - [AWS IAM Identity Center temporary elevated access (TEAM): ](https://leastprivilegeprinciple.com/routes/aws-identity-center-tea/index.md): AWS IAM Identity Center temporary elevated access (TEAM) appears in the routes directory as a provider tool. AWS describes TEAM, an open source solution, a - [Britive: time-bound access product for least privilege](https://leastprivilegeprinciple.com/routes/britive/index.md): Britive appears in the routes directory as a time-bound access product. Britive says privileged access is created when needed and removed automatically whe - [ConductorOne (C1.ai): time-bound access product for least ](https://leastprivilegeprinciple.com/routes/conductorone/index.md): ConductorOne (C1.ai) appears in the routes directory as a time-bound access product. ConductorOne says C1 provisions access for a set duration and removes - [CrowdStrike Falcon Cloud Security: right-sizing product fo](https://leastprivilegeprinciple.com/routes/crowdstrike/index.md): CrowdStrike Falcon Cloud Security appears in the routes directory as a right-sizing product. CrowdStrike says its CIEM capability generates least-privilege - [CyberArk Secure Cloud Access (Palo Alto Networks): time-bo](https://leastprivilegeprinciple.com/routes/cyberark/index.md): CyberArk Secure Cloud Access (Palo Alto Networks) appears in the routes directory as a time-bound access product. CyberArk says Secure Cloud Access applies - [Entitle (BeyondTrust): time-bound access product for least](https://leastprivilegeprinciple.com/routes/entitle/index.md): Entitle (BeyondTrust) appears in the routes directory as a time-bound access product. BeyondTrust says Entitle automates just-in-time access and permission - [Google Cloud IAM recommender: provider tool for least priv](https://leastprivilegeprinciple.com/routes/google-iam-recommender/index.md): Google Cloud IAM recommender appears in the routes directory as a provider tool. Google says the IAM recommender produces role recommendations that replace - [Google Cloud Privileged Access Manager: provider tool for ](https://leastprivilegeprinciple.com/routes/gcp-pam/index.md): Google Cloud Privileged Access Manager appears in the routes directory as a provider tool. Google's documentation says an entitlement defines requesters, r - [Microsoft Defender for Cloud permissions management (CIEM)](https://leastprivilegeprinciple.com/routes/microsoft/index.md): Microsoft Defender for Cloud permissions management (CIEM) appears in the routes directory as a provider tool. Microsoft says Entra Permissions Management - [Microsoft Entra Privileged Identity Management: provider t](https://leastprivilegeprinciple.com/routes/entra-pim/index.md): Microsoft Entra Privileged Identity Management appears in the routes directory as a provider tool. Microsoft's documentation says PIM separates eligible as - [Opal Security: time-bound access product for least privile](https://leastprivilegeprinciple.com/routes/opal/index.md): Opal Security appears in the routes directory as a time-bound access product. Opal says users can request time-bounded access to AWS IAM roles, EC2, EKS, R - [P0 Security: time-bound access product for least privilege](https://leastprivilegeprinciple.com/routes/p0-security/index.md): P0 Security appears in the routes directory as a time-bound access product. P0 says it provisions only the privilege required for the task and removes it w - [Prisma Cloud by Palo Alto Networks: right-sizing product f](https://leastprivilegeprinciple.com/routes/prisma/index.md): Prisma Cloud by Palo Alto Networks appears in the routes directory as a right-sizing product. Palo Alto Networks documents effective permissions analysis f - [Sonrai Security: boundary platform for least privilege](https://leastprivilegeprinciple.com/routes/sonrai/index.md): Sonrai Security appears in the routes directory as a boundary platform. Sonrai says its Cloud Permissions Firewall blocks unused privileged permissions thr - [StrongDM (Delinea): time-bound access product for least pr](https://leastprivilegeprinciple.com/routes/strongdm/index.md): StrongDM (Delinea) appears in the routes directory as a time-bound access product. StrongDM says it enforces time-bound, policy-based access with nothing l - [Sysdig Secure: right-sizing product for least privilege](https://leastprivilegeprinciple.com/routes/sysdig/index.md): Sysdig Secure appears in the routes directory as a right-sizing product. Sysdig says it analyzes access patterns, generates access policies that restrict p - [Teleport: time-bound access product for least privilege](https://leastprivilegeprinciple.com/routes/teleport/index.md): Teleport appears in the routes directory as a time-bound access product. Teleport says it provides just-in-time privileges that expire and no standing priv - [Tenable Cloud Security: right-sizing product for least pri](https://leastprivilegeprinciple.com/routes/tenable/index.md): Tenable Cloud Security appears in the routes directory as a right-sizing product. Tenable says its CIEM engine identifies excessive entitlements and enforc - [Turbot Guardrails: boundary platform for least privilege](https://leastprivilegeprinciple.com/routes/turbot/index.md): Turbot Guardrails appears in the routes directory as a boundary platform. Turbot says Guardrails fixes misconfigurations automatically from a stream of cha - [Wiz: right-sizing product for least privilege](https://leastprivilegeprinciple.com/routes/wiz/index.md): Wiz appears in the routes directory as a right-sizing product. Wiz says its CIEM page auto-generates least-privilege policies to help teams remediate. Clou ## News - [Least privilege data note, November 2026](https://leastprivilegeprinciple.com/data-note/2026-11/index.md): 1 least privilege changes from AWS, Microsoft, Google and NIST dated November 2026, each with its primary source. - [Least privilege data note, October 2026](https://leastprivilegeprinciple.com/data-note/2026-10/index.md): 3 least privilege changes from AWS, Microsoft, Google and NIST dated October 2026, each with its primary source. - [Least privilege data note, September 2026](https://leastprivilegeprinciple.com/data-note/2026-09/index.md): 5 least privilege changes from AWS, Microsoft, Google and NIST dated September 2026, each with its primary source. - [Least privilege data note, August 2026](https://leastprivilegeprinciple.com/data-note/2026-08/index.md): 3 least privilege changes from AWS, Microsoft, Google and NIST dated August 2026, each with its primary source. - [AWS introduces account access manager for assigning IAM roles to workforce users](https://leastprivilegeprinciple.com/news/aws-account-access-manager/index.md): The AWS Security Blog described account access manager on 5 November 2026. AWS says it assigns existing IAM roles from individual accounts to users and gro - [Google Cloud basic roles Admin, Writer and Reader are generally available](https://leastprivilegeprinciple.com/news/google-basic-roles-admin-writer-reader-ga/index.md): Google Cloud IAM release notes dated 29 October 2026 say the Admin, Writer and Reader basic roles are generally available. Google recommends them over the - [Google Cloud can revoke Workforce Identity Federation sessions in general availability](https://leastprivilegeprinciple.com/news/google-workforce-session-revocation-ga/index.md): Google Cloud IAM release notes dated 6 October 2026 say revoking active sessions and short-lived credentials for Workforce Identity Federation users is gen - [IAM Identity Center adds network access controls for Identity Store](https://leastprivilegeprinciple.com/news/identity-center-identity-store-network-controls/index.md): AWS announced on 5 October 2026 that IAM Identity Center supports network access controls for Identity Store. AWS says administrators can limit the Identit - [Policy Troubleshooter now explains access for agent identities](https://leastprivilegeprinciple.com/news/google-policy-troubleshooter-agent-identities/index.md): Google Cloud Policy Intelligence release notes dated 15 September 2026 say Policy Troubleshooter supports agent identities. Google says it can troubleshoot - [Amazon ECS extends CPU and memory condition keys to RunTask and StartTask](https://leastprivilegeprinciple.com/news/ecs-cpu-memory-condition-keys-runtask/index.md): AWS announced on 10 September 2026 that the ecs:task-cpu and ecs:task-memory IAM condition keys now apply to the RunTask and StartTask APIs. AWS says admin - [Google Cloud IAM MCP server reaches general availability for custom roles and deny policies](https://leastprivilegeprinciple.com/news/google-iam-mcp-server-ga/index.md): Google Cloud IAM release notes dated 10 September 2026 say the IAM remote MCP server is generally available. Google says AI applications can connect to it - [Google Cloud Policy Assist API returns IAM role suggestions in Preview](https://leastprivilegeprinciple.com/news/google-policy-assist-api-preview/index.md): Google Cloud release notes dated 9 September 2026 say the Policy Assist REST API and a Policy Assist remote MCP server are in Preview. Google says Policy A - [Google Cloud Policy Analyzer MCP server is generally available](https://leastprivilegeprinciple.com/news/google-policy-analyzer-mcp-server-ga/index.md): Google Cloud release notes dated 1 September 2026 say the Policy Analyzer MCP server is generally available. Google says it lets agents and AI applications - [Lambda functions support full IAM resource-based policies](https://leastprivilegeprinciple.com/news/lambda-full-iam-resource-based-policies/index.md): AWS announced on 25 August 2026 that Lambda functions now support full IAM resource-based policies. AWS says one policy document can cover multiple princip - [IAM raises the default managed policies per role from 10 to 20](https://leastprivilegeprinciple.com/news/iam-20-managed-policies-per-role/index.md): AWS announced on 19 August 2026 that the default quota for managed policies attached to one IAM role rose from 10 to 20. AWS says teams can now split permi - [IAM Policy Autopilot generates policies from Terraform plan files](https://leastprivilegeprinciple.com/news/iam-policy-autopilot-terraform-plan/index.md): AWS announced on 18 August 2026 that IAM Policy Autopilot, an open source tool, can now generate baseline IAM policies from a Terraform plan file. AWS says ## Guide - [Least privilege for human users in AWS](https://leastprivilegeprinciple.com/guides/aws-human-identities/index.md): Human users in AWS get permissions through IAM Identity Center permission sets, federated roles or IAM users. AWS's IAM guide, read 16 Nov 2026, recommends - [Least privilege for service identities in AWS](https://leastprivilegeprinciple.com/guides/aws-service-identities/index.md): Service identities in AWS are the roles and IAM users that services, integrations and third-party tools use to act in an account. AWS's documentation, read - [Least privilege for workload identities in AWS](https://leastprivilegeprinciple.com/guides/aws-workload-identities/index.md): Workload identities in AWS are the IAM roles that Lambda functions, EC2 instances and Kubernetes pods use. AWS documentation read on 16 Nov 2026 covers Lam - [Least privilege for third-party identities in AWS](https://leastprivilegeprinciple.com/guides/aws-third-party-identities/index.md): Third-party identities in AWS are the cross-account roles that vendors, partners and your own other accounts assume. AWS's IAM documentation, read 16 Nov 2 - [Least privilege for human users in Azure](https://leastprivilegeprinciple.com/guides/azure-human-identities/index.md): Human users in Azure get permissions from Entra users and groups through Azure RBAC role assignments at a scope. Microsoft's documentation, read 16 Nov 202 - [Least privilege for service identities in Azure](https://leastprivilegeprinciple.com/guides/azure-service-identities/index.md): Service identities in Azure are service principals created from app registrations, used by pipelines, scripts and applications. Microsoft's documentation, - [Least privilege for workload identities in Azure](https://leastprivilegeprinciple.com/guides/azure-workload-identities/index.md): Workload identities in Azure are managed identities and federated service principals used by software on Azure compute, Kubernetes and CI/CD. Microsoft's d - [Least privilege for third-party identities in Azure](https://leastprivilegeprinciple.com/guides/azure-third-party-identities/index.md): Third-party identities in Azure are the partner users, delegated Lighthouse authorizations and multitenant application service principals that act in your - [Least privilege for human users in Google Cloud](https://leastprivilegeprinciple.com/guides/google-cloud-human-identities/index.md): Human users in Google Cloud get permissions when IAM roles are granted to users and groups in allow policies. Google's documentation, read 16 Nov 2026, nam - [Least privilege for service identities in Google Cloud](https://leastprivilegeprinciple.com/guides/google-cloud-service-identities/index.md): Service identities in Google Cloud are service accounts and Google-managed service agents. Google's documentation, read 16 Nov 2026, says default service a - [Least privilege for workload identities in Google Cloud](https://leastprivilegeprinciple.com/guides/google-cloud-workload-identities/index.md): Workload identities in Google Cloud are the service accounts attached to compute and the federated identities of workloads that run outside Google Cloud. G - [Least privilege for third-party identities in Google Cloud](https://leastprivilegeprinciple.com/guides/google-cloud-third-party-identities/index.md): Third-party identities in Google Cloud are the external users, cross-project service accounts and federated partner identities that reach your resources. G ## Glossary - [Access debt: meaning and an example](https://leastprivilegeprinciple.com/glossary/access-debt/index.md): Access debt is the accumulated gap between the access people and workloads hold in a cloud account and the access they need. It builds up as roles are adde - [Right-sizing: meaning and an example](https://leastprivilegeprinciple.com/glossary/right-sizing/index.md): Right-sizing is reducing an identity's permissions to the set it actually uses. It starts from observed activity, proposes a smaller grant, and ends when t - [Role-based access control: meaning and an example](https://leastprivilegeprinciple.com/glossary/role-based-access-control/index.md): Role-based access control is an authorization approach in which permissions are grouped into roles and people or workloads receive roles instead of individ - [Attribute-based access control: meaning and an example](https://leastprivilegeprinciple.com/glossary/attribute-based-access-control/index.md): Attribute-based access control grants or denies access by comparing attributes of the caller, the resource and the request, such as tags. In AWS, the attri - [Permission set: meaning and an example](https://leastprivilegeprinciple.com/glossary/permission-set/index.md): A permission set is a template in AWS IAM Identity Center that defines a collection of one or more IAM policies. Administrators assign it to users and grou - [Custom role: meaning and an example](https://leastprivilegeprinciple.com/glossary/custom-role/index.md): A custom role is a role whose permission list the customer writes, used when no provider-supplied role matches the task. In Google Cloud it is a user-speci - [Predefined role: meaning and an example](https://leastprivilegeprinciple.com/glossary/predefined-role/index.md): A predefined role is a Google Cloud role that provides granular access to one service and is created and maintained by Google. Customers pick it instead of - [Basic role: meaning and an example](https://leastprivilegeprinciple.com/glossary/basic-role/index.md): A basic role is a Google Cloud role that provides broad access across services. The legacy basic roles are Owner, Editor and Viewer, and newer basic roles - [Managed policy: meaning and an example](https://leastprivilegeprinciple.com/glossary/managed-policy/index.md): A managed policy is a standalone IAM policy that exists as its own object and can be attached to many users, groups and roles. AWS creates and updates the - [Last accessed information: meaning and an example](https://leastprivilegeprinciple.com/glossary/last-accessed-information/index.md): Last accessed information is a record of when an IAM identity or policy last used a service or action. It tells an administrator which permissions have gon - [Unused access finding: meaning and an example](https://leastprivilegeprinciple.com/glossary/unused-access-finding/index.md): An unused access finding is an IAM Access Analyzer result that reports access granted but not used during a chosen usage window. The finding types include - [Role recommendation: meaning and an example](https://leastprivilegeprinciple.com/glossary/role-recommendation/index.md): A role recommendation is a Google Cloud suggestion from the IAM recommender to remove or replace a role that gives a principal excess permissions. A person - [Access level: meaning and an example](https://leastprivilegeprinciple.com/glossary/access-level/index.md): An access level is an AWS classification of an action as List, Read, Write, Permissions management or Tagging. Policy summaries use it to show how much of - [Resource scope: meaning and an example](https://leastprivilegeprinciple.com/glossary/resource-scope/index.md): Resource scope is the set of resources a role assignment applies to. In Azure the levels are management group, subscription, resource group and resource, a - [Session policy: meaning and an example](https://leastprivilegeprinciple.com/glossary/session-policy/index.md): A session policy is an AWS policy passed when a role is assumed or a federated user session is created. It limits the permissions the session can use but n - [Temporary credentials: meaning and an example](https://leastprivilegeprinciple.com/glossary/temporary-credentials/index.md): Temporary credentials are short-lived keys issued by AWS Security Token Service that expire on their own, and they are the basis of IAM roles and federatio - [Access key rotation: meaning and an example](https://leastprivilegeprinciple.com/glossary/access-key-rotation/index.md): Access key rotation is replacing an IAM user access key with a new one and deleting the old one on a schedule. It limits how long a leaked key stays valid, - [MFA condition: meaning and an example](https://leastprivilegeprinciple.com/glossary/mfa-condition/index.md): An MFA condition is a policy condition that allows an action only when the caller authenticated with multi-factor authentication. It narrows a grant to ses - [Data perimeter: meaning and an example](https://leastprivilegeprinciple.com/glossary/data-perimeter/index.md): A data perimeter is a set of always-on permissions guardrails around identities, resources and networks that helps prevent unintended access. In AWS it is - [Built-in role: meaning and an example](https://leastprivilegeprinciple.com/glossary/built-in-role/index.md): A built-in role is an Azure role defined by Microsoft that can be assigned without writing a role definition. Each has a name, a description and an ID, and - [Eligible assignment: meaning and an example](https://leastprivilegeprinciple.com/glossary/eligible-assignment/index.md): An eligible assignment is a Microsoft Entra Privileged Identity Management assignment that requires the user to activate the role before using it. The user - [Active assignment: meaning and an example](https://leastprivilegeprinciple.com/glossary/active-assignment/index.md): An active assignment is a Microsoft Entra Privileged Identity Management assignment that gives the user the role's privileges without any activation step. - [Role assignment: meaning and an example](https://leastprivilegeprinciple.com/glossary/role-assignment/index.md): A role assignment attaches a role definition to a principal at a scope in Azure. It decides who gets the permissions, where they apply, and, with a conditi - [Role definition: meaning and an example](https://leastprivilegeprinciple.com/glossary/role-definition/index.md): A role definition is the Azure object that lists the permissions a role allows. It names actions, data actions, exclusions and the scopes where the role ca - [IAM Conditions: meaning and an example](https://leastprivilegeprinciple.com/glossary/iam-conditions/index.md): IAM Conditions are Google Cloud rules that make a role binding, deny rule or boundary apply only when an attribute test passes. They support attribute-base - [Principal access boundary: meaning and an example](https://leastprivilegeprinciple.com/glossary/principal-access-boundary/index.md): A principal access boundary is a Google Cloud policy that sets which resources a group of principals is eligible to access. It limits what allow policies c - [Deny policy: meaning and an example](https://leastprivilegeprinciple.com/glossary/deny-policy/index.md): A deny policy is a Google Cloud policy of deny rules that stop chosen principals from using chosen permissions, whatever roles they hold. It sets a hard li - [Policy validation: meaning and an example](https://leastprivilegeprinciple.com/glossary/policy-validation/index.md): Policy validation is the check of an IAM policy against policy grammar and best practices before it is saved. IAM Access Analyzer reports security warnings - [Custom policy check: meaning and an example](https://leastprivilegeprinciple.com/glossary/custom-policy-check/index.md): A custom policy check is an IAM Access Analyzer test that compares a policy update against your security standard, for example to see if it grants new acce - [Service account impersonation: meaning and an example](https://leastprivilegeprinciple.com/glossary/service-account-impersonation/index.md): Service account impersonation is a Google Cloud principal authenticating as a service account to gain its permissions. It lets a caller act with the servic - [Role chaining: meaning and an example](https://leastprivilegeprinciple.com/glossary/role-chaining/index.md): Role chaining is using one AWS role to assume a second role. The second role's access depends on the first role's permission to assume it, so trust has to - [Privileged role: meaning and an example](https://leastprivilegeprinciple.com/glossary/privileged-role/index.md): A privileged role is a built-in Azure role whose permissions include broad management or the ability to assign access to others. Microsoft groups these rol - [Policy generation: meaning and an example](https://leastprivilegeprinciple.com/glossary/policy-generation/index.md): Policy generation is the creation of an IAM policy from observed activity. IAM Access Analyzer reads AWS CloudTrail logs for a date range and builds a temp - [Job function policy: meaning and an example](https://leastprivilegeprinciple.com/glossary/job-function-policy/index.md): A job function policy is an AWS managed policy that grants the permissions typical for a role in an organization, such as database administrator or securit - [Policy inheritance: meaning and an example](https://leastprivilegeprinciple.com/glossary/policy-inheritance/index.md): Policy inheritance is the Google Cloud rule that a resource receives the allow policies of its parent. A grant at the organization or folder therefore reac - [Role assignment condition: meaning and an example](https://leastprivilegeprinciple.com/glossary/role-assignment-condition/index.md): A role assignment condition is an extra check added to an Azure role assignment that tests attributes of the request, giving attribute-based access control - [Zone of trust: meaning and an example](https://leastprivilegeprinciple.com/glossary/zone-of-trust/index.md): A zone of trust is the account or organization that an IAM Access Analyzer external access analyzer treats as safe. Access from principals inside it produc - [Long-term credentials: meaning and an example](https://leastprivilegeprinciple.com/glossary/long-term-credentials/index.md): Long-term credentials are keys that stay valid until someone deletes or deactivates them, such as AWS IAM user access keys. They are the opposite of tempor - [Data action: meaning and an example](https://leastprivilegeprinciple.com/glossary/data-action/index.md): A data action is an Azure permission for operations on the data inside a resource, such as reading a blob, as opposed to managing the resource itself. Role - [Assignable scope: meaning and an example](https://leastprivilegeprinciple.com/glossary/assignable-scope/index.md): An assignable scope is a field in an Azure role definition that lists where the role can be assigned, such as subscriptions or management groups. A custom ## Faq - [30 questions about least privilege in the cloud](https://leastprivilegeprinciple.com/faq/index.md): Answers to common questions about least privilege in the cloud: what the principle means, how it differs from zero trust and RBAC, how to find unused acces ## Dataset - [The Access Debt Calculator: the data, downloadable](https://leastprivilegeprinciple.com/datasets/index.md): Download The Access Debt Calculator and the scores as CSV and JSON with a cite-this line. Edition 16 Nov 2026. ## About - [About](https://leastprivilegeprinciple.com/about/index.md): Least Privilege Principle is a field guide to least privilege in AWS, Azure and Google Cloud. It has a definition page built on NIST SP 800-53 control AC-6 - [Editorial policy](https://leastprivilegeprinciple.com/editorial-policy/index.md): Least Privilege Principle publishes guides on cloud least privilege, each tied to provider documentation or a standard and dated. Every page answers its qu - [Corrections](https://leastprivilegeprinciple.com/corrections/index.md): Corrections go to editor@leastprivilegeprinciple.com. Include the page address, the sentence you think is wrong and the document that shows the right figur - [Contact](https://leastprivilegeprinciple.com/contact/index.md): Write to editor@leastprivilegeprinciple.com with corrections, questions about a page, or requests to cite or reuse the Access Debt Calculator. Please inclu - [Privacy](https://leastprivilegeprinciple.com/privacy/index.md): Least Privilege Principle sets no cookies and runs no analytics script. The Access Debt Calculator runs in your browser and sends nothing: the numbers you - [Terms](https://leastprivilegeprinciple.com/terms/index.md): The content of Least Privilege Principle is provided for general information about cloud access control. It is not legal, audit or professional advice, and