$npx skillfedfor your agent

eks-token

EKS Token package, an alternate to "aws eks get-token ..." CLI

With conditionsPyPI NetworkingReleased Jan 2025275.3K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — eks_token-0.3.0-py3-none-any.whl
v0.3.0 · released 2025-01-03 · Python >=3.6 · 1 runtime deps: awscli

Yes, if you need programmatic EKS token generation in Python and want to avoid subprocess calls to the AWS CLI. The package is actively maintained, has low install friction, and carries no known vulnerabilities. The main caveat is that the license is unclear—verify it directly in the repository before use in proprietary projects. It is suitable for production use in CI/CD, deployment automation, and Kubernetes client integrations.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires AWS credentials to be configured in the environment (via awscli or AWS SDK configuration) to authenticate against EKS.
  • Low install friction with a pure Python wheel.
  • The package is actively maintained with a recent commit on 2026-08-12 and has been in active development since its first release on 2020-10-01.

License · maintenance · safety

(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Before using in a commercial or proprietary project, verify the actual license by checking the repository directly.

last release 2025-01-03 (588 days) · last repo commit 2026-08-12 · 28 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 275,308 downloads/mo, #8,180 on PyPI

Verify before relying

pip install eks-token

from eks_token import get_token

token = get_token(cluster_name='my-cluster')['status']['token']
print(token)
  • Whether the package supports IAM role assumption for cross-account EKS access beyond the role_arn parameter shown in examples.
  • Token expiration handling and refresh behavior when tokens expire during long-running operations.
  • Performance characteristics when generating tokens for multiple clusters or roles in sequence.
Same gist for agents: .md · .json

What it is and what it does

eks-token is a Python library that generates Kubernetes authentication tokens for AWS EKS clusters without invoking the AWS CLI. It wraps the token generation logic that `aws eks get-token` provides, making it suitable for programmatic use in Python applications that need to authenticate to EKS. The package returns tokens in the Kubernetes ExecCredential format, which can be used directly by kubectl or other Kubernetes clients.

The library depends on awscli and supports Python 3.6 and later. It allows you to specify a cluster name, optionally an IAM role ARN to assume, and a custom AWS region. The token is returned as part of a structured response containing metadata and expiration information, which you can extract and use for cluster authentication.

Use it for

  • Automate EKS cluster authentication in CI/CD pipelines without shelling out to the AWS CLI.
  • Generate tokens for specific IAM roles when your application needs cross-role or cross-account EKS access.
  • Embed EKS authentication directly in Python deployment or management tools that orchestrate Kubernetes workloads on AWS.
  • Programmatically obtain tokens with custom region configuration for multi-region EKS deployments.
  • Integrate EKS authentication into custom credential providers or Kubernetes client libraries written in Python.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need programmatic EKS token generation in Python and want to avoid subprocess calls to the AWS CLI.

The package is actively maintained, has low install friction, and carries no known vulnerabilities. The main caveat is that the license is unclear—verify it directly in the repository before use in proprietary projects. It is suitable for production use in CI/CD, deployment automation, and Kubernetes client integrations.

Install

eks-token on PyPI

Before you install

Low install friction with a pure Python wheel. The package is actively maintained with a recent commit on 2026-08-12 and has been in active development since its first release on 2020-10-01. It depends only on awscli, which is a common AWS tooling dependency.

Requires AWS credentials to be configured in the environment (via awscli or AWS SDK configuration) to authenticate against EKS.

License in practice

License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Before using in a commercial or proprietary project, verify the actual license by checking the repository directly.

Quickstart

pip install eks-token

from eks_token import get_token

token = get_token(cluster_name='my-cluster')['status']['token']
print(token)

Verify before relying

  • Whether the package supports IAM role assumption for cross-account EKS access beyond the role_arn parameter shown in examples.
  • Token expiration handling and refresh behavior when tokens expire during long-running operations.
  • Performance characteristics when generating tokens for multiple clusters or roles in sequence.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
awscli
MaintenanceActively maintained 588 days since the last release
Last repo commit
First released
Downloads275,308 / month, #8,180 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: eks_token-0.3.0-py3-none-any.whl

Tags

Capabilities
eks kubernetes authentication tokenaws eks token generationk8s aws credential providereks cluster access tokenaws iam role token signingkubernetes eks autheks token alternative to cli
Topics
aws-ekskubernetes-authiam-integration
PyPI keywords
eksk8sboto3awsclipythonaws

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “eks kubernetes authentication token”

  • eks-tokenGenerates Kubernetes authentication tokens for AWS EKS clusters…
  • awslabs.eks-mcp-serverConnects AI code assistants to Amazon EKS clusters via the Model…
  • pulumi-eksPulumi component for provisioning and managing AWS EKS Kubernetes…

Give your agent the search over MCP, or paste the wish link into any chat.

More Networking packages

h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
psutil Worth it
PyPI · Libraries · released Jan 2026

psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.

permissive licensecompiled wheel · 3.6+
387.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
uvloop With conditions
PyPI · Networking · released Oct 2025

uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.

Apache-2.0compiled wheel · 3.8.1+
257.9Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
pyzmq Worth it
PyPI · Networking · released Sep 2025

PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.

BSD-3-Clausecompiled wheel · 3.8+
109.5Mdownloads / mo

See also awslabs.eks-mcp-server · pulumi-eks · aws-requests-auth · kubernetes-asyncio · kubernetes · aws-assume-role-lib · aws-msk-iam-sasl-signer-python · requests-aws-sign · pulumi-kubernetes · kappa