Zero Trust Cloud Security: Applying Zero Trust in AWS, Azure and GCP
How to apply zero trust in the cloud: identity as the perimeter, temporary credentials, workload identity, private connectivity and per-request access checks.
Zero trust cloud security means granting no access by default to any user, device or workload because of where it sits on a network. Each request is authenticated, authorized against policy and limited to the least privilege it needs. In practice, that comes down to strong identity for people and workloads, short-lived credentials instead of stored keys, private connectivity to cloud services, and per-application access checks in place of a broad VPN.
This article is about applying zero trust inside AWS, Azure and Google Cloud. For the underlying model, its seven tenets and the policy decision and enforcement points, read our Zero Trust security architecture guide first.
Why the cloud forces the issue
Classic network security assumed a trusted inside and an untrusted outside. Cloud breaks that assumption in three ways:
- The control plane is on the internet. Anyone with valid credentials can call the cloud provider's management APIs from anywhere. A leaked access key is effectively a key to the data center.
- Workloads move constantly. Containers, serverless functions and autoscaling instances change IP addresses all the time, so rules keyed to IP addresses go stale fast.
- Responsibility is split. The provider secures its infrastructure. You always retain responsibility for your data, endpoints, accounts and access management, whatever service you use [11].
NIST captures the shift in SP 800-207A, its 2023 guidance on zero trust for cloud-native applications. The key paradigm change, it says, is moving from controls "based on segmentation and isolation using network parameters (e.g., Internet Protocol (IP) addresses, subnets, perimeter) to identities" [1]. For applications, that means authorization policies based on application and service identities, not only on user identities and network location [1].
CISA's Cloud Security Technical Reference Architecture, written for federal agencies under Executive Order 14028, makes the same link. It aims to inform agencies of the advantages and inherent risks of cloud services "as they begin to implement zero trust architectures" [3].
The five building blocks
1. Human identity: federated, MFA-protected and conditional
Start with people. AWS's IAM best practices tell organizations to require human users to use federation with an identity provider so they access AWS with temporary credentials, and to require multi-factor authentication [4]. Avoid long-lived user accounts and access keys in each cloud; one central identity provider is easier to secure and audit. For the authentication options, see our guide to MFA vs passwordless.
Then make access conditional. Microsoft calls Entra Conditional Access its "Zero Trust policy engine." It combines signals from different sources, and at its simplest a policy is an if-then statement: if a user wants a resource, then they must complete an action such as multifactor authentication [9]. Device health, location and sign-in risk can all feed the decision.
2. Workload identity: no stored keys
Machines need identities too, and this is where many cloud breaches start: a long-lived key in a code repository, a CI system or a configuration file.
- AWS recommends that workloads use temporary credentials through IAM roles to access AWS [4].
- Google Cloud's Workload Identity Federation lets on-premises and multicloud workloads, including those running on AWS or Azure and in pipelines such as GitHub and GitLab, access Google Cloud with federated identities "instead of service account keys" [5].
- SPIFFE (Secure Production Identity Framework for Everyone) is a set of open-source standards for securely identifying software systems in dynamic environments, so they can mutually authenticate wherever they run. NIST's SP 800-207A names it as an example of the application identity infrastructure a zero trust platform needs, alongside API gateways and sidecar proxies [1][6].
The goal is the same everywhere: workloads prove who they are with short-lived, automatically rotated credentials, and no secret sits around waiting to be stolen. Where secrets can't be avoided, store them in a managed vault. Our upcoming guide to secrets management will cover this.
3. Least privilege, enforced at the account level
Identity only helps if permissions are narrow. AWS's guidance is to grant "only the permissions required to perform a task," defining which actions can be taken on which resources under which conditions [4]. Practical steps from the same guidance:
- Start with managed policies, then tighten them toward least privilege [4].
- Use IAM Access Analyzer to generate policies from actual access activity, and to flag public and cross-account access [4].
- Regularly remove unused users, roles, permissions and credentials [4].
- Separate workloads into multiple accounts with AWS Organizations, and use service control policies (SCPs) as guardrails across all accounts [4].
Azure management groups with Azure Policy, and Google Cloud's resource hierarchy with organization policies, offer comparable guardrails. Separate accounts or projects per environment and team also shrink the blast radius if one identity is compromised. Our identity and access management explainer covers the IAM fundamentals.
4. Private connectivity and segmentation
Zero trust doesn't throw away the network. It stops treating the network as proof of trust, and still uses it to cut off unnecessary paths.
AWS PrivateLink, for example, lets you connect a VPC privately to services "as if they were in your VPC," without an internet gateway, NAT device or public IP address, so you control exactly which endpoints are reachable [10]. Azure Private Link and Google Private Service Connect serve the same purpose. Combine private endpoints with tight security groups and per-service segmentation, so that a compromised workload can reach only what it needs. Our upcoming cloud networking guide explains these components.
5. Per-application access instead of a VPN
The traditional remote-access VPN puts a user "on the network" and leaves the rest to firewall rules. Cloud zero trust services check every application request instead.
- Google Cloud Identity-Aware Proxy (IAP) creates a central authorization layer for HTTPS applications, so you use an application-level access model "instead of relying on network-level firewalls." You can grant access by group, for example open to employees but closed to contractors [7].
- AWS Verified Access provides application access without a VPN and evaluates each request in real time against identity and device signals. AWS notes this makes it hard for attackers to move from one application to another [8].
- Microsoft Entra applies Conditional Access policies to application sign-ins [9].
Service-to-service: zero trust inside the application
Users aren't the only callers. In microservice architectures, services call each other constantly. SP 800-207A's model enforces policy at two tiers: identity-tier policies based on service and user identities, and network-tier policies based on network parameters, enforced by components such as API gateways and sidecar proxies in a service mesh, wherever the services run, on-premises or across multiple clouds [1].
In concrete terms, that usually means mutual TLS between services using workload identities, plus authorization rules about which service can call which API. Kubernetes users will see this in service meshes; see our Kubernetes architecture explainer for where those components sit.
Mapping it out
Zero trust goal | AWS example | Azure example | Google Cloud example |
|---|---|---|---|
Federated human access, MFA | IAM Identity Center with external IdP; MFA [4] | Entra ID with Conditional Access [9] | Cloud Identity or federated IdP |
Keyless workload identity | IAM roles with temporary credentials [4] | Managed identities | Workload Identity Federation [5] |
Least-privilege guardrails | IAM Access Analyzer, SCPs [4] | Azure Policy, management groups | Organization policies |
Private service access | PrivateLink [10] | Private Link | Private Service Connect |
Per-app access without VPN | Verified Access [8] | Conditional Access [9] | Identity-Aware Proxy [7] |
Product names as of November 2026. Cells without citations name the comparable service on each platform; check each provider's documentation for current features.
A practical rollout order
CISA's Zero Trust Maturity Model describes progress across five pillars and three cross-cutting capabilities, moving from traditional through initial and advanced to optimal stages [2]. You don't need to reach "optimal" everywhere at once. A sensible order for cloud teams:
- Inventory identities. Find every human account, role, service account and access key in every cloud account.
- Centralize human sign-in through one identity provider with MFA, using phishing-resistant methods where possible [4].
- Eliminate long-lived keys for workloads and pipelines using roles and federation [4][5].
- Apply guardrails at the organization level, then trim permissions using access analysis [4].
- Close public paths to internal services with private endpoints [10].
- Replace broad VPN access with per-application access, starting with admin tools and sensitive internal apps [7][8].
- Log and review. Feed identity, network and API logs into detection. See our explainer on XDR vs EDR vs SIEM.
Limitations and pitfalls
- Identity becomes the crown jewel. If the identity provider or an admin role is compromised, zero trust policies can be turned against you. Protect administrators with the strongest controls and break-glass procedures.
- Multi-cloud multiplies the work. Each provider has different IAM models and policy languages. NIST's SP 800-207A exists precisely because enforcing consistent policy across multiple clouds is hard [1].
- Legacy applications resist. Older apps that rely on network location or shared service accounts may need proxies or refactoring.
- Tools aren't the goal. CISA notes that zero trust may require a change in an organization's philosophy and culture around cybersecurity [2]. Buying a proxy doesn't make an architecture zero trust.
Frequently asked questions
What is zero trust cloud security?
It's applying zero trust principles to cloud environments: nothing is trusted because of network location, and every user, device and workload request is authenticated and authorized against policy. NIST describes the core shift as moving from network-based segmentation to identity-based controls [1].
Is a cloud VPC a zero trust network?
No. A VPC is a private network segment, which is useful, but zero trust means not trusting traffic just because it comes from inside that network. Private connectivity reduces exposure [10], while identity-based authorization does the trust decisions [1].
Why are long-lived access keys a zero trust problem?
A static key works for whoever holds it, from anywhere, until someone revokes it. AWS recommends temporary credentials through roles for both people and workloads [4], and Google Cloud's Workload Identity Federation exists to replace service account keys [5].
Do I need a service mesh for zero trust?
Not always. A service mesh is one way to apply identity-based policy and mutual TLS between microservices, and NIST's SP 800-207A uses sidecar proxies as an enforcement example [1]. Smaller systems may get most of the benefit from strong IAM, private endpoints and API gateway authorization.
How does zero trust apply to multi-cloud?
Use one identity provider for people, federated workload identities across clouds and consistent policy enforcement at gateways or proxies. NIST's SP 800-207A specifically addresses policy enforcement for cloud-native applications across on-premises and multiple cloud environments [1].
Sources
- NIST, "SP 800-207A, A Zero Trust Architecture Model for Access Control in Cloud-Native Applications in Multi-Location Environments" (September 2023)
- CISA, "Zero Trust Maturity Model"
- CISA, "Cloud Security Technical Reference Architecture (Version 2)"
- Amazon Web Services, "Security best practices in IAM"
- Google Cloud, "Workload Identity Federation"
- SPIFFE, "SPIFFE Overview"
- Google Cloud, "Identity-Aware Proxy overview"
- Amazon Web Services, "What is AWS Verified Access?"
- Microsoft Learn, "What is Conditional Access?"
- Amazon Web Services, "What is AWS PrivateLink?"
- Microsoft Learn, "Shared responsibility in the cloud"