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.4.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.4.0
File Size Uploaded
aws_sdk_signers-0.4.0.tar.gz 19.0 kB Details

Built distribution (wheel)

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

Total release size: 41.0 kB

Release files / aws_sdk_signers-0.4.0.tar.gz

Download URL aws_sdk_signers-0.4.0.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cdf791fa5ca739e5334ad32914b16d46e234080798579cdb44f6d93e1f913707
BLAKE2b-256 checksum
How to use checksums
bc9a6ecbcef12db99f018183f3276a00a4831d0c53f385489aad7a2eeaccb8e2
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.4.0-py3-none-any.whl

Download URL aws_sdk_signers-0.4.0-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37bbc5ca54ed58c26c791cb7ff4b6f6221c7e468aae2a073881526227586de9f
BLAKE2b-256 checksum
How to use checksums
95aaa940c7fd1b6089ef1ba0f1ddc05e085a2e503b97b1957065fd973f8bd75e
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 history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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