SigV4 authorizer for requests
Project description
Requests IAMAuth
Use AWS SigV4 authorization with requests.
Accessing an API secured with IAM authorization in AWS API Gateway can be tricky.
This tool uses the built-in authorization strategy in requests to help you access your secured endpoints.
Installation
pip install requests-iamauth
Usage
import requests
from iamauth import IAMAuth
session = requests.Session()
session.auth = IAMAuth()
session.get('https://abcdef0123.execute-api.us-east-2.amazonaws.com/my/api')
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
requests-iamauth-0.1.0.tar.gz
(11.2 kB
view details)
File details
Details for the file requests-iamauth-0.1.0.tar.gz.
File metadata
- Download URL: requests-iamauth-0.1.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3d4b2d8b6a6d869ac5c54bfeecd560d0bb2a3b59c4c5c0f140232b2b04aa237
|
|
| MD5 |
5aa96ca029081fe82810a55f537fee69
|
|
| BLAKE2b-256 |
631d831b50f2025c3b84dcfe11b5d552f19c131006bcbce6e2a740162f08346a
|