Skip to main content

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

aws_sdk_signers-0.0.3.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_sdk_signers-0.0.3-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws_sdk_signers-0.0.3.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for aws_sdk_signers-0.0.3.tar.gz
Algorithm Hash digest
SHA256 dff9601cf222d986a74862648fb8879180c8c268c1fd7ef5584b12bbe98175d4
MD5 8858373999d628db0f605d38c6e74ecc
BLAKE2b-256 7987f6c869df91c0b67d7a608a1c4aae6ac63a2017d3dc36b654e1962bf34861

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_sdk_signers-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d920d2f5c6f7fcf2862ac192f16566aeb4b4752b64fceded801cd47b6d1c31a0
MD5 3747ca9dd1d34e42efe4120339555258
BLAKE2b-256 87e9d4db7fc6d197675c6332907f8d7701441b248d8b3835aef4bfdca4868320

See more details on using hashes here.

Supported by

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