A cloud environment has no perimeter in the sense that firewalls once provided. What remains is the set of identities, credentials, tokens, trust relationships and permission grants that can act on cloud resources. If those are weak, the network controls around them matter little, because the attacker arrives as an authenticated user or a trusted application.

That is the practical meaning of treating cloud identity as a security boundary. It is not a slogan about zero trust. It is a way of deciding where to spend control effort, and it changes the questions a security leader asks: not “which networks can reach this?” but “which identities can act on this, how did they authenticate, and what else do they trust?”

What the boundary is made of

The boundary is not one control. It is six interacting layers, and a gap in any one can undo the others.

LayerWhat it governsWhere it typically fails
Workforce identityWho your people are, how they sign in, how accounts are recovered.MFA gaps on legacy, service or non-production accounts; help desk resets that can be talked around.
Workload identityHow applications and automation authenticate to cloud services: roles, service accounts, managed identities, API keys.Long-lived keys in code, pipelines and third-party tools that nobody rotates or inventories.
Applications and consentWhich OAuth applications and app registrations hold permissions to your mail, files and APIs.Over-privileged apps that outlive their purpose; consent granted without review.
Tokens and sessionsWhat a successful sign-in produces: access and refresh tokens, session cookies, signing keys.Stolen tokens replayed without a new authentication; long lifetimes; weak revocation.
Trust relationshipsFederation between identity providers and clouds; cross-account and cross-tenant roles; vendor integrations.Trust policies broader than anyone remembers; external principals that can assume production roles.
Control-plane privilegeWho can change identities, policies, federation settings and logging.Administrative rights that can disable the controls that would detect their own misuse.

What the public record shows

Two well-documented incidents show how these layers fail in practice. Neither depended on a novel exploit.

A forgotten test tenant

In its public response to the Midnight Blizzard intrusion, Microsoft reported that the actor used password spray against a legacy, non-production test tenant account that did not have multifactor authentication enabled. The attempts were few and ran through residential proxy infrastructure, which makes them harder to separate from normal activity. From that foothold the actor found a legacy test OAuth application that held elevated access to Microsoft’s corporate environment. It created additional malicious OAuth applications and a new user account to grant them consent, then gave itself the Exchange Online full_access_as_app role and used it to reach corporate mailboxes.

Four points follow from the facts as reported. A non-production tenant sat inside the boundary. An application permission outlived the reason it was granted. Consent worked as a privilege-granting action. And the activity used legitimate identity and application mechanisms throughout, which is why network-level controls had little to say about it. The interpretation, that an unreviewed non-production identity can be as consequential as a production one, is an analysis of those facts rather than something Microsoft stated.

A signing key

The U.S. Cyber Safety Review Board examined the Storm-0558 intrusion, in which attackers used a stolen Microsoft account consumer signing key to forge authentication tokens and reach email at 22 organizations, including government agencies. The board concluded the intrusion should never have happened and noted that a customer, not Microsoft, raised the alarm. The case matters for a different reason. It shows that trust in token issuance and validation is part of the boundary, and that customers depend on the quality of a provider’s controls they cannot see. What a customer can control is whether the logs that would reveal anomalous token use are available, retained and monitored.

What current threat reporting adds

Mandiant’s latest M-Trends report is consistent with those cases. It describes threat actors harvesting long-lived OAuth tokens and session cookies to bypass defenses, compromising SaaS vendors to steal hard-coded keys and access tokens, then pivoting into customer environments. It documents the group tracked as UNC3944 targeting IT help desks to get around MFA, and attackers going after centralized single sign-on portals because one compromise gives broad reach. Voice phishing was the second most common initial infection vector in the report, at 11% of intrusions. A help desk that resets credentials for a convincing caller is an authentication control, and it should be assessed as one.

Where each boundary breaks and what holds

BoundaryControl that holdsDecision for leadership
Workforce authenticationPhishing-resistant MFA (passkeys or security keys) on every account, including non-production, service-adjacent and break-glass accounts. Documented, verified recovery steps at the help desk.Which accounts are exempt from MFA today, and who approved each exemption?
Sessions and tokensConditional access evaluated on risk and device state; short token lifetimes where the business allows; tested ability to revoke all sessions for an identity.Can we revoke every active session and token for a compromised user, and have we tried it?
Workload identityRoles with temporary credentials for workloads, workload identity federation for pipelines and external systems, long-term keys only where no alternative exists, and an inventory of those keys with owners and expiry.How many long-lived credentials exist, and who owns each one?
Application consentRestricted user consent; administrator review for high-privilege permissions; inventory of app registrations with their permissions; removal of unused apps.Who can grant an application permission to read mail or files across the tenant?
Trust relationshipsRegular review of cross-account and cross-tenant trust; automated detection of external or public access; organization-level guardrails that cap what any account can do.Which external identities can assume roles into production?
Control planeSeparation of privileged roles; just-in-time elevation; the identity provider managed as the highest-tier asset; logging that administrators cannot silently disable.Who can change federation settings or turn off logging, and would we know?
Non-productionThe same identity standards as production, and no identity trusted by production without review.Does any non-production identity or application hold a path into production?

Cloud providers publish guidance that supports this structure. AWS, for example, recommends federation with temporary credentials for people, IAM roles with temporary credentials for workloads, phishing-resistant MFA, limiting long-term access keys, and using organization-level policies and Access Analyzer to verify cross-account and public access. Other major providers publish comparable guidance, and the details differ by platform, but the structure is the same.

Where zero trust fits

NIST SP 800-207 defines zero trust as a move away from static, network-based defenses toward protecting users, assets and resources. It states that no trust is granted implicitly because of network location or asset ownership, and that authentication and authorization of subject and device are discrete functions completed before a session to an enterprise resource is established. For cloud, that means the identity decision is the enforcement point. Architecture reviews that start from network diagrams will miss the controls that matter most.

Three common misreads

•  “MFA closes the identity gap.” It closes one path. Token theft, session replay, help desk recovery and consent abuse all work around it.

•  “Non-production does not matter.” The Midnight Blizzard facts say otherwise. Any environment whose identities or applications can reach production belongs to the production boundary.

•  “The provider handles identity.” Providers secure the identity service. Configuration, privilege assignment, trust policy and consent remain with the customer under the shared responsibility model.

How to assess your own boundary

Start with a single-page map. Draw every identity provider, every cloud account or tenant, the trust arrows between them, and who administers each. Then answer five questions from it.

**1.  **Which identities can change identity configuration, federation or logging?

**2.  **How many long-lived credentials exist for workloads, and who owns them?

**3.  **Which OAuth applications hold application-level permissions to mail, files or directories?

**4.  **What does your help desk require before resetting MFA for a privileged user, and has it been tested?

**5.  **Which non-production identities or applications have any route into production?

Prevention will not close all of these. Identity-focused detection, which looks for anomalous token use, unexpected consent grants, privilege changes and federation edits, covers what the preventive controls miss. It works best when the map above tells it what normal looks like.

**** Build the one-page boundary map for a single cloud environment this week. The gaps it exposes will rank themselves.

Sources

**1.  **Microsoft Security Blog. Midnight Blizzard: Guidance for responders on nation-state attack.

**2.  **CISA. Cyber Safety Review Board: review of the Storm-0558 intrusion. https://www.cisa.gov/resources-tools/groups/cyber-safety-review-board-csrb

**3.  **Google Cloud Threat Intelligence (Mandiant). M-Trends report: initial infection vectors, OAuth token and session theft, help desk targeting. https://cloud.google.com/security/resources/m-trends-executive-edition

**4.  **NIST. SP 800-207, Zero Trust Architecture. https://csrc.nist.gov/pubs/sp/800/207/final

**5.  **AWS. Security best practices in IAM. https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html

How we label evidence

Facts carry a source. Analysis and recommendations are marked as ours. Examples that are hypothetical are labeled as hypothetical.