kube2iam Logo

kube2iam

kube2iam provides IAM credentials to Kubernetes containers by intercepting EC2 metadata API calls and retrieving temporary AWS credentials based on pod annotations.

2,025
Visit website
0

kube2iam Description

kube2iam is a Kubernetes solution that provides IAM credentials to containers based on pod annotations. The tool intercepts traffic directed to the EC2 metadata API from Docker containers and redirects it to a dedicated container running on each cluster node. When a container requests IAM credentials, kube2iam makes calls to the AWS API to retrieve temporary credentials and returns them to the requesting container. This allows containers to assume specific IAM roles without requiring static credentials or broad permissions. The system operates by running a privileged container on each Kubernetes node that acts as a proxy for metadata API requests. Non-IAM related metadata requests are forwarded to the actual EC2 metadata API, while IAM credential requests are handled by the kube2iam service. The tool requires appropriate IAM permissions to assume roles and retrieve temporary credentials from AWS. Container access to specific IAM roles is controlled through Kubernetes pod annotations, providing a mechanism to implement least-privilege access patterns in containerized environments.

FEATURED

Proton Pass Logo

Password manager with end-to-end encryption and identity protection features

NordVPN Logo

VPN service providing encrypted internet connections and privacy protection

Mandos Fractional CISO Services Logo

Fractional CISO services for B2B companies to accelerate sales and compliance

Stay Updated with Mandos Brief

Get the latest cybersecurity updates in your inbox

POPULAR

RoboShadow Logo

Automated vulnerability assessment and remediation platform

10
TestSavantAI Logo

Security platform that provides protection, monitoring and governance for enterprise generative AI applications and LLMs against various threats including prompt injection and data poisoning.

5
Cybersec Feeds Logo

A threat intelligence aggregation service that consolidates and summarizes security updates from multiple sources to provide comprehensive cybersecurity situational awareness.

5
Fabric Platform by BlackStork Logo

Fabric Platform is a cybersecurity reporting solution that automates and standardizes report generation, offering a private-cloud platform, open-source tools, and community-supported templates.

5
Mandos Brief Newsletter Logo

A weekly newsletter providing cybersecurity leadership insights, industry updates, and strategic guidance for security professionals advancing to management positions.

5
View Popular Tools →