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.2.0.tar.gz (18.1 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.2.0-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws_sdk_signers-0.2.0.tar.gz
  • Upload date:
  • Size: 18.1 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.2.0.tar.gz
Algorithm Hash digest
SHA256 3b23fb02ababb9e768fc102ab7584e344be8d65324ef3c33df4b8cad6cee26e7
MD5 20ed193cce3ef4fa1c449e56e55310b8
BLAKE2b-256 731ee93f5b7711bb9c3b97a4d5486ee3a74db412a66bf6160977bb69f0434830

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aws_sdk_signers-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.6 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e770dcc390e18093840ef4ce1ac70fc419fe6ac8737809ffce9a9fab56d8ac2d
MD5 cecd9d86db26acd69ed92db5c6472d16
BLAKE2b-256 e3f3cb2cd5177bb6c21d339b96079ece8e30ffe9954540494bae73a6498677ac

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