Skip to main content

HTTP plugin for Tavern with AWS4Auth

Project description

Tavern AWS plugin

This is a Tavern plugin to add AWS Sig4 authentication headers to your calls using requests-aws4auth plugin.

You can suplly credentials either manually or from boto3 session object via pytest fixtures.

Usage

Install it: pip install tavern-aws

Add necessary bits to your test file:

test_name: Call endpoint with IAM auth

aws:
    access_key: xxxxxxxxxxxxxxxxxxxx
    secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    service: appsync
    region: us-east-1

stages:
  - name: first stage

You can add session_token, e.g. if you use SSO.

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

tavern_aws-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

tavern_aws-1.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file tavern_aws-1.0.0.tar.gz.

File metadata

  • Download URL: tavern_aws-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.11.0-1015-azure

File hashes

Hashes for tavern_aws-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f5d2f87fe2daf98190d1a0a1383b5c6619a061b3da684a78478c8205e0ee8da4
MD5 cf5cd3dafb7083e4c408147907c2dfa5
BLAKE2b-256 86caa9b0bec3db7a53ce4e24dea038454c28eadfe77e7e5afba7cdb26bdc59f8

See more details on using hashes here.

File details

Details for the file tavern_aws-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tavern_aws-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.11.0-1015-azure

File hashes

Hashes for tavern_aws-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c75edbb0ede07089cd90ae07d21e353cb74fbb3adf06f33563cd940e4275d206
MD5 6e3caf243fe5fef09c72ac7e49751c7d
BLAKE2b-256 ae2afa335029871f9ece6309b6cb88b5efb1cd17f4dba134efaa801697937c0c

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