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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aws_sdk_signers-0.4.0.tar.gz | 19.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|
Security for aws-sdk-signers 0.4.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.