
Essay Managed Kubernetes Platforms & Hosting Models
Scoping Vendor Deployment Credentials to Your Own Cluster Without Ops Overhead
Narrow IAM roles, short-lived tokens, and namespace RBAC limit a stolen vendor credential.
Vendor deployment credentials should limit a vendor to deploying and observing its workloads. The solution is narrow IAM roles, short-lived tokens, and namespace-scoped RBAC. Applied at setup and reviewed at upgrades, these controls bound the damage a stolen credential can do without creating a daily maintenance job for the team that owns the cluster.
Why vendor deployment access is structurally over-scoped by default
Provisioning a cluster and operating one require different permissions. Provisioning needs compute creation, networking, storage, and IAM instance profiles. Deployment into a running cluster needs much less, including image pulls, namespace-scoped apply, and health check reads. Yet vendor onboarding often leaves the provisioning role in place permanently. That mismatch comes from the architecture and does not prove that the team was careless.
On Cluster API fleets, a single IAM role used by the CAPA controller for all managed clusters exposes every cluster if that credential is compromised, regardless of business unit or criticality. Shared cluster template objects add another route across the fleet. A mutation to one template propagates to every cluster referencing it. What looks like permission to edit one object can therefore become permission to change many clusters.
What a credential breach actually costs when access is not scoped
Hugging Face’s July 2026 incident shows how credentials widen an intrusion. An agent entered through a malicious dataset exploiting a remote-code loader and a template-injection flaw, escalated to node level, harvested cloud and cluster credentials, and moved across multiple internal clusters. More than 17,000 actions were recorded before detection. The intrusion began on one worker. Standing credentials turned local code execution into cross-cluster access.
Hugging Face reported no evidence of tampering with public models, datasets, or Spaces, and reported its software supply chain clean. But internal datasets and several service credentials were compromised. The distinction is important because a clean public surface does not mean the internal boundary held.
NVD describes the same structural exposure in Prometurbo’s CVE-2026-6389, affecting versions 8.16.0–8.17.6 with a CVSS score of 8.8. A compromised operator or service account could extract credentials, escalate privileges, and potentially compromise the entire cluster. This describes a vulnerability and its potential consequences. Both cases nevertheless identify the same hinge. Access must be limited to the task and resource so a narrow compromise cannot spread.
The three shifts that define right-shaped vendor access

The first shift is to use federated, short-lived tokens in place of static credentials. A workload uses an identity token it already has to get narrowly scoped access without keeping a reusable key file. Lifetime becomes part of the access boundary.
The second shift is to use per-cluster roles in place of fleet-wide roles. On AWS with Cluster API, the CAPA controller service account should assume a role with a trust policy that requires the EKS OIDC condition to match that specific service account. One cluster should not unlock the rest.
The third shift scopes access by resource. “Storage admin” is not a deployment requirement. Access should name the repository, bucket prefix, or table required for the task, with BYOC vendor access limited to deployment artifacts and health checks.
Implementing workload identity federation instead of static keys
Static keys are persistent, portable, and hard to account for once copied. Removing the key file removes an artifact an attacker can steal and reuse. Federation supplies access without that standing secret. The workload presents an OIDC token and receives a short-lived access token for its task, with RFC 8693 defining the token-exchange mechanism.
For an AWS/EKS deployment, start with the service account that needs access and the role it should assume. Constrain the role’s trust policy to that service account through the EKS OIDC condition, then narrow the role’s resource permissions. These are separate decisions. Trust controls who can assume the role, while permissions control what that identity can do afterward. GCP and Azure provide parallel federation paths using workload identity.
Set token lifetime against the incident-detection window rather than treating “short-lived” as a sufficient description. The completion test is concrete. The worst credential within the vendor’s reach should expire within that window and grant access to one resource. Vendor enrolment credentials should also be per-cluster, short-lived, and stored in a secrets manager, never a values file.
A build identity that publishes artifacts does not need cloud account permissions, and a deploy identity does not need production-data access. Combining those identities would reconnect permissions that resource scoping is meant to separate.
Namespace-scoped RBAC as the Kubernetes-layer boundary for vendor access
IAM bounds access in the cloud account, while RBAC bounds access inside Kubernetes. Neither replaces the other. A vendor with a narrow IAM role but cluster-admin RBAC can still read secrets, modify workloads, or cross namespace boundaries. Namespace-scoped roles should therefore be the default, with cluster-scoped privileges explicitly justified, minimized, and regularly reassessed.
During review, challenge wildcard verbs on any resource and access to Secrets through list or watch. Also question nodes/proxy, bind, escalate, impersonate, and permission to create or modify RBAC objects. These permissions define how far a compromised service account can reach and whether it can change its own access.
The Prometurbo remediation guidance makes that review specific by calling out ClusterRole, ClusterRoleBinding, wildcard verbs, Secrets access, and RBAC-modification rights before deployment. Keep response and detection rights in a separate service account that is not yet bound, rather than bundling them into the normal operating identity.
Shared cluster template objects add another route across the fleet.
What to audit in a vendor manifest before granting cluster access
The cheapest time to narrow access is before installation. Begin by mapping who can change the manifest, which identity it runs as, what that identity can read and write, and what evidence the delivery path produces. Render the vendor manifests and check them before applying them. Pull by digest rather than mutable tag, and do not apply directly from a remote URL.
Give the sensor or operator a dedicated namespace labelled for the appropriate Pod Security level. Every other namespace should stay at Baseline or Restricted. Then trace the telemetry path. Establish whether events go directly to a vendor console, through an in-cluster relay, or to your SIEM, and what happens when the outbound link fails.
Keep sensor versions, rules, and exceptions in a repository and deploy them through a pipeline so changes to permissions can be checked in an audit. This pre-flight review complements runtime detection. Its most useful commercial test is blunt. If a BYOC vendor asks for access beyond deployment and observability, its claimed boundary does not match its requested permissions.
Running detect-only before enforcing, and why the order matters for vendor workloads
“What if tightening access breaks something?” deserves a process answer. Enforcing before learning what normal process, file, and network behavior looks like can cause outages and lead to exceptions that are never removed. Those exceptions bring back the excess access the project was meant to remove.
Start detect-only on a pilot cluster, tune against observed behavior, then enforce namespace by namespace. Use two to four weeks per ring as a baseline, and allow at least one full batch/month-end cycle before enforcement. Begin with signals tied to credential misuse. These include unexpected processes accessing service account tokens, API server connections from workloads that never make them, new executables absent from the image, and interactive shells in containers.
Exceptions should name an image digest or workload identity, because exceptions covering a whole namespace or image-name pattern erase the boundary. Every enforcement step also needs tested rollback, moving from warn to enforce and Ignore to Fail with a one-step pause available. Enrich alerts with cluster, namespace, pod, image digest, service account, and owning team so someone can act on them.
How the audit boundary changes when the vendor deploys into your cloud account
On shared-tenant PaaS, a compliance review must also cover the vendor platform, where the customer does not run the controls. BYOC can separate that responsibility more clearly. The vendor’s auditor assesses the build pipeline and control plane, while the customer’s auditor assesses the data plane inside the customer’s cloud account. Scoped permissions provide evidence of that separation.
Aiven’s AWS pci_dss model illustrates an architectural boundary through specific network controls. Its workload nodes have no public IPs, workload subnets have no egress, outbound traffic is proxied through a bastion, and S3 access is restricted through a VPC gateway endpoint. Those controls are specific to this model within BYOC. Aiven’s standard private model requires outbound internet access.
That distinction prevents a deployment label from doing the work of an audit. GDPR, HIPAA, and PCI DSS set conditions on data access and transfers. Documented roles and short-lived secrets help demonstrate control over access, while a broad vendor role undermines the claimed separation.
The ops overhead objection and why scoping does not require a platform team to maintain
Scoped access has real costs, but they are concentrated. The team must review manifests and define roles at setup, revisit permissions at vendor upgrades, and handle credential changes when scope changes. That is different from maintaining a manual rotation schedule. Federated tokens rotate automatically, and the control plane enforces namespace isolation.
Version-controlled RBAC deployed through a pipeline also makes the intended access reproducible. The broad role that “just works” has its own maintenance bill. It leads to audit findings, evidence that must be gathered by hand, and work to respond when credentials are exposed.
For a small team, running the cluster is usually the larger burden. Managed Kubernetes offerings such as EKS, GKE, and AKS, combined with a PaaS layer handling cluster upgrades, CVE patches, and cost optimization, address that burden separately from credential design. Platforms deploying into the customer’s account can also handle CI/CD, networking, and autoscaling. Infrastructure ownership need not imply staffing a platform engineering function, and narrow vendor access need not become a daily task.
A repeatable checklist for scoping any vendor's deployment credentials
Before granting access, draw the delivery path and identify its owner, execution identity, read/write permissions, and evidence. Review ClusterRole and ClusterRoleBinding for wildcard verbs, Secrets list/watch, nodes/proxy, bind, escalate, impersonate, and RBAC-modification rights. Challenge each requested privilege before applying the manifest. Confirm that vendor credentials are per-cluster, short-lived, and stored in a secrets manager, keeping them out of a values file or CI environment variable. Trace telemetry delivery and link-failure behavior, and check whether the vendor console requires SSO with phishing-resistant MFA.
At installation, use a dedicated operator namespace. Allow only the platform team’s deployment identity to create workloads there. Keep response and detection rights in a separate, unbound service account, and apply from a repository through a pipeline. Before installation, record the baseline for node CPU, memory, and pod start latency.
During the detect-only baseline, run alerts for unexpected token access, unusual API server connections, and executables that are not in the image. Include who owns the workload and which workload it is in every alert. Tune exceptions to the image digest or workload identity they apply to. Before enforcing, complete at least one full batch/month-end cycle and test rollback, with warn before enforce and a one-step pause at every namespace.
At every vendor upgrade, compare ClusterRoles before and after, flag new permissions, and check that credential scope has not widened. Use DaemonSet RollingUpdate with maxUnavailable set to 1 so a bad sensor version affects one node at a time.
Apply the final red-flag test to every BYOC claim. If the vendor requests permissions beyond deployment artifacts and health checks, the architecture does not match the marketing.
Notes
- Container Runtime Security and CWPP Rollout Playbook
Supplied the runtime-security rollout practices: detect-only baselining before enforcement, digest-scoped exceptions, tested rollback, and sensor deployment hygiene.


