Separating Developer Deployment Permissions From Vendor Infrastructure Access in Enterprise Cloud Accounts

Scoped identities and pinned trust rules limit how far stolen credentials reach.

· 9 min read
Cover illustration for “Separating Developer Deployment Permissions From Vendor Infrastructure Access in Enterprise Cloud Accounts”
Data Sovereignty · November 18, 2026 · 9 min read · 1,965 words

Separating developer deployment permissions from vendor infrastructure access determines how far a stolen credential can travel inside an enterprise cloud account. Each pipeline stage and each vendor needs a separate, narrowly scoped identity, with explicit trust rules between them. Those boundaries keep the damage from a compromised credential from spreading through production.

Why the blast radius of a compromised credential is set at identity design time, not at incident response time

The CircleCI breach of December 2022–January 2023 began with malware on one engineer’s laptop stealing a session cookie. That session had already passed SSO and two-factor authentication. By replaying it, the attacker impersonated the engineer and reached production environment variables, tokens, and keys. The identity provider saw an ordinary authenticated session. Strong login checks had not limited what that session could reach.

This is the gap that artifact-focused security leaves open. Code review, SAST, dependency scanning, and an SBOM inspect what moves through a pipeline, but do not establish who may move it. ISC2 Security Congress 2026 framed that identity layer as a central blind spot in pipeline security. Its blunt conclusion was “The stolen credential wasn't the vulnerability. What it could reach was.” By the time incident response starts, those permissions have already set how far the attacker can reach.

Redrawing the deployment pipeline as a sequence of six identities and five trust decisions

Diagram: Six Identities, Five Trust Decisions: The Pipeline Attack Surface. Visualizes: Visualize the CI/CD pipeline as a linear chain of six named identities — Developer → Source Control → Build System → Artifact Registry → Deployment System →…

The pipeline model presented at the Congress names six identities, namely developer, source control, build system, artifact registry, deployment system, and production workload. Picture them as separate boxes joined by arrows. Each arrow represents a trust decision governing the movement of code. Source control trusts the developer’s login, and the build system trusts the push event. The registry trusts the build identity, the deployment system trusts the registry output, and production trusts the deployment system.

The talk said that checking artifacts without identity controls was like X-raying every package that comes in while ignoring who holds keys to the loading dock. Those keys are configuration. They determine which repositories can obtain cloud credentials, which pipelines can publish, and which can deploy. A pipeline can inspect every artifact while leaving these permissions dangerously broad.

That breadth often grows one urgent fix at a time. Permissions added during incidents and migrations stay on one identity until it can build, publish, and deploy. An attacker who compromises it inherits all three functions. By contrast, a build identity restricted to building cannot publish or deploy.

How a misconfigured trust policy turns a stolen developer session into production IAM access — the Acme Payments walkthrough

The Acme Payments walkthrough at the Congress shows how those arrows become an attack path. Alice has ordinary engineering access, including repository read/write permissions, pull requests, CI triggers, and the development environment. An attacker obtains her credentials through a leaked token, a stolen session cookie, or an approved phishing prompt. The attacker then pushes a branch as Alice. GitHub records an IP it has not seen before, but the push goes through because there is no IP policy.

The push now crosses from human to machine identity. GitHub creates a short-lived OIDC token for the workflow, and the cloud provider accepts it through a federated trust policy. The credential is temporary, but the trust rule is broad. It accepts repo:acme/*:* rather than the specific repository and branch represented by repo:acme/payments-service:ref:refs/heads/main. Any repository in the organization can therefore reach the cloud identity governed by that rule.

The attacker inherits build-prod, whose accumulated permissions include repository read/write access, reading secrets, and modifying IAM. That last permission opens the production path. The attacker attaches the existing prod-deploy policy to build-prod, turning permission creep into escalation. In the walkthrough, nothing alerts and no network boundary is crossed. Every step follows a trust decision that already allows it, including permissions left behind because nobody wanted to risk breaking production.

The three technical controls that close the gaps the Acme walkthrough exposed

To close this path, teams need three controls working together. The first is OpenID Connect workload identity federation with pinned trust policies. Federation lets workflows or pods authenticate with the cloud provider and receive temporary credentials, but Acme already had short-lived tokens. Its failure was the trust condition. When that condition allows only the intended repository and branch, unrelated workflows triggered by developers can no longer reach the production identity.

The second control is a permission boundary on build and deploy identities. An IAM permission boundary sets the maximum permissions an identity can exercise, regardless of policies attached later. The build boundary should exclude iam:CreateRole, iam:AttachRolePolicy, and unrestricted iam:PassRole. This blocks the IAM escalation used in the walkthrough. It also constrains the damage from policies that accumulate after the original role review.

The third control separates build, deploy, and runtime identities, with dedicated runners and scoped IAM roles for each environment. Production deployments should use production-only runners. Development branches must have no pipeline path that can trigger them. Each runner can do only what its identity has permission to do, so changing a pipeline file cannot give it rights that identity does not have. This closes Acme’s route from an ordinary build workflow to the identity used for production deployment.

Multi-account environment isolation as the structural complement to per-identity scoping

Identity scoping limits what can happen within an account, while environment isolation keeps a shared account from becoming a path between environments. Teams should place dev, staging, UAT, and production in separate cloud accounts. Developers can have broad permissions in development while having little or no access to production. The two controls address different failure modes. A development credential should not provide a path to production data, IAM roles, or deployment identities.

Azure Deployment Environments makes this separation tangible. Projects grant access to environment types, such as dev, test, and staging, each mapped to its own subscription, deployment identity, and RBAC. The environment type’s managed identity carries out the deployment with the permissions the platform team has granted. The developer receives only the rights that environment type grants on the resulting resources. Triggering a deployment does not require holding Contributor anywhere in the subscription.

The same separation is needed for external developers. An isolated tenant keeps their access out of the primary employee identity directory and has set expiration dates that match the scope of their work, so expiry is built in. Account and tenant boundaries do add administration. But cross-account IAM work is bounded and predictable, unlike an incident that spreads across environments because they share an access perimeter. Logical access controls for each environment also align with SOC 2 CC6.1.

Where vendor infrastructure access in a customer's cloud account introduces a second identity problem

A vendor operating workloads in a customer’s account adds another identity to this model. Its control plane can become an escalation path if its IAM role is too broad. That is the same defect as an overpowered build identity.

Bring Your Own Cloud, or BYOC, places workloads in the customer’s account while the vendor provides the deployment control plane. Customers thus own their data-plane resources directly and can see them for audits. It also supports the need to demonstrate where data lives and who can access it under SOC 2, HIPAA, GDPR, and PCI audits. The vendor’s role still defines what its control plane can do there.

The trust model should use workload identity federation and cross-account role assumption. The customer creates a precisely scoped IAM role whose trust policy permits the vendor’s specific workload identity to assume it. The vendor does not need to store long-lived customer credentials. Its access must still distinguish reading operational metadata from writing or modifying infrastructure, with operations visible in customer-owned logs.

What to actually verify when a vendor asks to assume a role in your account

Customers checking that access need to review the trust policy rather than just talk with the vendor about its assurances. The vendor should provide a customer-created IAM role template with explicit permissions. The policy itself is the evidence. Customers should be able to inspect it independently and connect every permission to an operation the vendor needs to perform. A broad managed policy or AdministratorAccess does not provide that precision.

The trust condition should name a specific workload identity, such as an OIDC subject or service account, rather than accept any principal from the vendor’s AWS account. Role assumption should use federation when access is needed, with temporary sessions in place of stored access keys. Audit visibility is equally concrete. The vendor’s actions should appear in the customer’s CloudTrail or equivalent log, and documentation should explain which API calls occur and when.

Requests for cluster-admin, wildcard resource permissions, or long-lived keys are warning signs. A well-scoped installation instead documents the precise ClusterRoles it needs and why. Inbound connectivity that bypasses the customer’s VPC security controls is another reason to challenge the design.

Attribute-based access control and JIT provisioning as the operational layer that enforces identity separation at scale

Narrow scoping gives developers elevated access to production with a purpose and an expiry. Attribute-based access control, or ABAC, can make authorization depend on both the identity and the request’s context. A production deployment can require the deployment role, the production target, an approved change ticket, main-branch code, and a verified runner. A deviation fails the control.

Just-in-Time, or JIT, provisioning supplies the temporary access needed for legitimate high-impact work. Access is requested, approved, granted for the minimum necessary duration, and automatically revoked. No standing entitlement needs to accumulate afterward. Zero Standing Privilege is the target for the highest-risk segments, with production access granted through JIT. Together, these mechanisms make the identity-separation model workable in daily operations.

DORA found that organizations required to “exclusively use the platform” throughout the application lifecycle saw a fall in throughput, while developer independence is associated with productivity gains. ABAC and JIT should make appropriate access easy and automatic. AI agents illustrate why this discipline extends beyond people. An agent repairing tests or opening a pull request needs a workflow-scoped account and short-lived, revocable tokens whose scope excludes deploying, publishing packages, and writing protected branches.

Drawing the actual boundaries: a practical decision framework for teams building or auditing their pipeline identity model

For teams applying this model, six questions turn the architecture into an evidence-based review. The first asks whether every machine identity and its permissions are documented. If not, the starting point is a map of the real delivery path, including who can change it, which identity runs each stage, what it can read and write, what evidence it produces, and how it is monitored.

The second asks whether one identity spans build, publish, and deploy. If it does, splitting those functions into separate identities with distinct trust policies and permission boundaries is the priority structural fix. The third asks whether OIDC trust policies name a specific repository and branch or accept wildcards. Temporary credentials do not excuse broad trust. The fourth asks whether machine identities have iam:PassRole, iam:CreateRole, or iam:AttachRolePolicy without resource restrictions and permission boundaries, which leaves a path open for escalation.

The fifth asks if each environment has its own cloud account and access controls. Without that separation, the account boundary cannot contain a failure to one environment. The sixth applies the same review to every vendor role, covering exact permissions, a named workload identity, the absence of stored long-lived credentials, and customer-visible audit logs. Vendor access belongs on the same map. An unanswered question identifies a trust decision that still needs evidence.

The aim is to make every handoff deliberate, documented, and bounded before a credential is stolen while allowing developers to do their jobs. A build identity should authorize building, a deployment identity should authorize deployment, and a vendor identity should authorize only the operations its service requires. None should become a shortcut into the others.

Sources

  1. Security best practices in IAM - AWS Identity and Access Management
  2. Cloud IAM Best Practices 2026: Zero Trust, JIT & MFA Guide
Filed underData Sovereignty

More in Data Sovereignty