Standalone HTTP Request Signers for Amazon Web Services
Project description
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. True by default.
- An optional boolean, uri_encode_path, to toggle double-encoding the URI path. True by default.
- 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws_sdk_signers-0.1.0.tar.gz.
File metadata
- Download URL: aws_sdk_signers-0.1.0.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da9755d2422753b51739be4e6a41dbd0130236475bac411c4e55f5a17c2788f7
|
|
| MD5 |
1abff9726262e0c973096f0516522a65
|
|
| BLAKE2b-256 |
29e8d52776fb36090a4e3131bad73abe873c179935562cee8203825f0dd66341
|
File details
Details for the file aws_sdk_signers-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aws_sdk_signers-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10664542275e692f484d54ae5367d8f37c1d9fea761775fac439ecdb6f0b311a
|
|
| MD5 |
4755788fe5945549541730e31cc302cd
|
|
| BLAKE2b-256 |
6e6dad965f7ea0fdd158127ff0db2230caa66968a8a61e26c7a02de50b7a6235
|