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.3.0.tar.gz (18.6 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.3.0-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws_sdk_signers-0.3.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for aws_sdk_signers-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6fd654ea3dafe3ae3cf172fb3bd1e81877fe6e18156e0b638ccefb045ffb420c
MD5 8ca291eb2ff3e82d03d1cd685b33289f
BLAKE2b-256 486230685f9a096ad834409771a567065cd25094d3a5124874e1d7e373f17dd7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aws_sdk_signers-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for aws_sdk_signers-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 098c7784064931d2da968400fc0466e092a7c271a79fac9d55daa4a7c35fd6f1
MD5 675117e21fc5015fda6611f1a5bd80de
BLAKE2b-256 309125405e647de8dea8419812e85bcb341323500905f4f55fc23cf488b7a2a4

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