Skip to main content

AWS SDK Signers for Python

AWS SDK Signers for Python provides stand-alone signing functionality. This enables users to create standardized request signatures (currently only SigV4) and apply them to common HTTP utilities like AIOHTTP, Curl, Postman, Requests and urllib3.

This project is currently in an Alpha phase of development. There likely will be breakages and redesigns between minor patch versions as we collect user feedback. We strongly recommend pinning to a minor version and reviewing the changelog carefully before upgrading.

Getting Started

Currently, the aws-sdk-signers module provides two high level signers, AsyncSigV4Signer and SigV4Signer.

Both of these signers takes three inputs to their primary sign method.

  • A SigV4SigningProperties object defining:
    • The service for the request,
    • The intended AWS region (e.g. us-west-2),
    • An optional date that will be auto-populated with the current time if not supplied,
    • An optional boolean, payload_signing_enabled to toggle payload signing. True by default.
    • An optional boolean, content_checksum_enabled, to include the x-amz-content-sha256 header. False by default.
    • An optional boolean, uri_encode_path, to toggle double-encoding the URI path. True by default.
    • An optional boolean, normalize_path, to toggle removing dot segments from the URI path. True by default.
    • S3 requests should set content_checksum_enabled to True and both uri_encode_path and normalize_path to False.
  • An AWSRequest, similar to the AWSRequest object from boto3 or the Request object from Requests.
  • An AWSCredentialIdentity, a dataclass holding standard AWS credential information.

License

This project is licensed under the Apache-2.0 License.

Metadata

Release files for aws-sdk-signers 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-sdk-signers 0.5.0
File Size Uploaded Provenance Actions
aws_sdk_signers-0.5.0.tar.gz 19.3 kB Without provenance Details for aws_sdk_signers-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aws-sdk-signers 0.5.0
File Interpreter ABI Platform Actions
aws_sdk_signers-0.5.0-py3-none-any.whl Python 3 none any Details for aws_sdk_signers-0.5.0-py3-none-any.whl

Total release size: 45.0 kB

Release files / aws_sdk_signers-0.5.0.tar.gz

Download URL aws_sdk_signers-0.5.0.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
421053926be4f18d792b11630e437f42c633c9872cd802b3cdf4d18ab2be66d0
BLAKE2b-256 checksum
How to use checksums
f4b76c9158df2756871e3c069fc85d25e3f4900ab9e61167faf1c88a1528b357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Amazon Linux","version":"2023","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / aws_sdk_signers-0.5.0-py3-none-any.whl

Download URL aws_sdk_signers-0.5.0-py3-none-any.whl
Size 25.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
150ebd86c67ab8330a9c7f17bdb7353842a38fb901552ca62c657b00c512a47c
BLAKE2b-256 checksum
How to use checksums
8b818bb86dd9c8ec85c6f49a26e7d4d6f200f0880102b31609007468ab6c2d4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Amazon Linux","version":"2023","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for aws-sdk-signers 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page