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.6.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.6.0
File Size Uploaded Provenance Actions
aws_sdk_signers-0.6.0.tar.gz 21.3 kB Without provenance Details for aws_sdk_signers-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 48.7 kB

Release files / aws_sdk_signers-0.6.0.tar.gz

Download URL aws_sdk_signers-0.6.0.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4bf87308d6275764957b94676699952d20b44a593becd5746b343c89559d64fc
BLAKE2b-256 checksum
How to use checksums
607cc2b88aae84ffa8c2509d3dab3e3cc872ac5b50a260fff553c0f1669b8441
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.6.0-py3-none-any.whl

Download URL aws_sdk_signers-0.6.0-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbefb1a29ac9f7d31275f4f74a6e84bdc6cea792e85607a547fb2bcc86d37df0
BLAKE2b-256 checksum
How to use checksums
fabfab90e66af146ab7037a18d3f58eaeda7ea3885c933d70c1d7d1576333709
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.6.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