Skip to main content

Standalone HTTP Request Signers for Amazon Web Services

Project description

AWS SDK Python Signers

AWS SDK Python Signers 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.

As you find issues, please feel free to open an issue on this GitHub repository and we're happy to discuss direction and design decisions, along with potential bug fixes.

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 AWSRequest, similar to the AWSRequest object from boto3 or Requests.
  • An AWSCredentialIdentity, a dataclass holding standard AWS credential information.

The signers can be used independently to build signing integrations with your favorite HTTP client or with the example code provided in the /examples directory. Currently, we have high-level code for integration with AIOHTTP, Curl, and Requests. More integrations may be introduced as we receive interest. You can find sample code for getting started with our current offerings in the examples/README.md.

Security

See CONTRIBUTING for more 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

aws_sdk_signers-0.0.2.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

aws_sdk_signers-0.0.2-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file aws_sdk_signers-0.0.2.tar.gz.

File metadata

  • Download URL: aws_sdk_signers-0.0.2.tar.gz
  • Upload date:
  • Size: 43.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.0rc1+

File hashes

Hashes for aws_sdk_signers-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c2b90e4007129e1b90314e0af427463679a9a3fe992efd1d6c009622a0d2e579
MD5 dc7391a1e42bae69dc71809b6e4164bd
BLAKE2b-256 057b423a6f704dcf9dc6f4a5cbd6f1822875cba51280cc6f1346aefff76bf8f2

See more details on using hashes here.

File details

Details for the file aws_sdk_signers-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_sdk_signers-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd9d185ab04a4ceaa6c7b9a6da69ca5b7646e39e1bb391de94bdd7f185331f8b
MD5 8ee56b37a7bfbd726f29d80c867e3b9a
BLAKE2b-256 e1ba582e79333436d0431bdfdee09beb2453f7bc2379f9da2545c30d5994de3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page