Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

requests-iam-session-0.2.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

requests_iam_session-0.2.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

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

Hashes for requests-iam-session-0.2.2.tar.gz
Algorithm Hash digest
SHA256 86fcb345fc8283bc1fa372c037b674cafddf551a1fbe95934fc7856a02574d52
MD5 efe752e9d206ffef8889fd6600be5743
BLAKE2b-256 8f23996b089b2a7dccaa5f052d00dfa4dc7b1e37a8f9e6351a39b21d0f10a6ab

See more details on using hashes here.

File details

Details for the file requests_iam_session-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for requests_iam_session-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e964047a3a05a9854aeb2ba8b9f1d6781f0a60d42f4c1a26db74250d320d221e
MD5 c62cd5b4abd0b080f665cf6fc23eddea
BLAKE2b-256 5194fcfc28d0ad3b5512aefdec30dcee4c4193189512276d262f0b57e6adebc2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page