AWSSession class that extends BaseUrlSession from requests and automatically authenticates through IAM.
Project description
requests-iam-session
AWSSession class that extends BaseUrlSession from requests and automatically authenticates through IAM.
Installation
poetry add requests-iam-session
Usage example
from requests_iam_session import AWSSession
session = AWSSession("https://example.com/")
response = session.get("/users/1")
print(response.json())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file requests-iam-session-0.2.2.tar.gz
.
File metadata
- Download URL: requests-iam-session-0.2.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.13 Linux/5.13.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86fcb345fc8283bc1fa372c037b674cafddf551a1fbe95934fc7856a02574d52 |
|
MD5 | efe752e9d206ffef8889fd6600be5743 |
|
BLAKE2b-256 | 8f23996b089b2a7dccaa5f052d00dfa4dc7b1e37a8f9e6351a39b21d0f10a6ab |
File details
Details for the file requests_iam_session-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: requests_iam_session-0.2.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.13 Linux/5.13.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e964047a3a05a9854aeb2ba8b9f1d6781f0a60d42f4c1a26db74250d320d221e |
|
MD5 | c62cd5b4abd0b080f665cf6fc23eddea |
|
BLAKE2b-256 | 5194fcfc28d0ad3b5512aefdec30dcee4c4193189512276d262f0b57e6adebc2 |