cassandra-sigv4
Implements a sigv4 authentication plugin for the open-source Datastax Python Driver for Apache Cassandra
Decision gist · record as of 2026-08-14
Yes, if you are using Amazon Keyspaces and need IAM-based authentication. The plugin is stable (Production/Stable classifier), has no known vulnerabilities, and low install friction. However, maintenance is aging—last release was October 2020—so verify compatibility with your current versions of cassandra-driver and boto3 before adopting. Suitable for production use in AWS-native environments.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an SSL context configured with Amazon's CA certificate and a valid AWS region matching the Keyspaces endpoint.
- Low install friction; ships as a pure-Python wheel.
- Maintenance is aging—last release was 2020-10-30 and last commit 2025-07-15, but the repository remains active and unarchived.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive). No restrictions on commercial or private use.
last release 2020-10-30 (2114 days) · last repo commit 2025-07-15 · 10 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 118,983 downloads/mo, #12,094 on PyPI
Alternatives
Verify before relying
pip install cassandra-sigv4
from cassandra_sigv4 import SigV4AuthProvider
import boto3
boto_session = boto3.Session(region_name="us-east-2")
auth_provider = SigV4AuthProvider(boto_session)
cluster = Cluster(['cassandra.us-east-2.amazonaws.com'], auth_provider=auth_provider, port=9142)
session = cluster.connect()- Whether the package works reliably with modern Python versions beyond 3.8, given the aging maintenance status.
- Current compatibility with recent versions of cassandra-driver and boto3.
What it is and what it does
cassandra-sigv4 is an authentication plugin that bridges the DataStax Python Driver for Cassandra with AWS Identity and Access Management (IAM). It implements the AWS Signature Version 4 signing process, allowing applications to authenticate to Amazon Keyspaces using temporary or permanent AWS credentials instead of traditional username/password pairs. The plugin works by accepting a boto3 Session or raw AWS credentials, then signing each Cassandra request with the appropriate SigV4 signature for the target region.
The typical workflow is to configure an SSL context with Amazon's root CA certificate, instantiate a SigV4AuthProvider with your AWS credentials or session, and pass it to the Cassandra Cluster constructor. The driver then handles authentication transparently. This is useful for teams already using AWS IAM for access control, as it eliminates the need to manage separate Cassandra credentials and integrates with existing AWS credential management (environment variables, instance profiles, temporary tokens).
Use it for
- Authenticate Python applications to Amazon Keyspaces using AWS IAM roles instead of hardcoded credentials.
- Enable temporary credential rotation by leveraging boto3's credential chain and STS session tokens.
- Integrate Cassandra access into AWS-native applications that already use boto3 for other AWS services.
- Simplify multi-region deployments by configuring region-specific SigV4 signatures per endpoint.
- Audit and control Cassandra access through AWS IAM policies and CloudTrail logs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using Amazon Keyspaces and need IAM-based authentication.
The plugin is stable (Production/Stable classifier), has no known vulnerabilities, and low install friction. However, maintenance is aging—last release was October 2020—so verify compatibility with your current versions of cassandra-driver and boto3 before adopting. Suitable for production use in AWS-native environments.
Install
cassandra-sigv4 on PyPI
Before you install
Low install friction; ships as a pure-Python wheel. Maintenance is aging—last release was 2020-10-30 and last commit 2025-07-15, but the repository remains active and unarchived. Depends on cassandra-driver, boto3, and six.
Requires an SSL context configured with Amazon's CA certificate and a valid AWS region matching the Keyspaces endpoint.
License in practice
Licensed under Apache Software License (permissive). No restrictions on commercial or private use.
Quickstart
pip install cassandra-sigv4
from cassandra_sigv4 import SigV4AuthProvider
import boto3
boto_session = boto3.Session(region_name="us-east-2")
auth_provider = SigV4AuthProvider(boto_session)
cluster = Cluster(['cassandra.us-east-2.amazonaws.com'], auth_provider=auth_provider, port=9142)
session = cluster.connect()
Verify before relying
- Whether the package works reliably with modern Python versions beyond 3.8, given the aging maintenance status.
- Current compatibility with recent versions of cassandra-driver and boto3.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=2.7, <4 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagescassandra-driverboto3six |
| Maintenance | Aging 2,114 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 118,983 / month, #12,094 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules |
Evidence: cassandra_sigv4-4.0.2-py2.py3-none-any.whl
Tags
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 › “cassandra authentication aws iam”
- cassandra-sigv4Adds AWS Signature Version 4 authentication to the DataStax Python…
- pymongo-auth-awsEnables PyMongo to authenticate to MongoDB using AWS Identity and…
- aws-msk-iam-sasl-signer-pythonGenerates IAM-signed SASL/OAUTHBEARER authentication tokens for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also cassandra-driver · requests-sigv4 · aws-requests-auth · requests-aws-sign · requests-auth-aws-sigv4 · aws-request-signer · aws-sdk-signers · cqlsh · acsylla · aws-advanced-python-wrapper