{"id":21442,"library":"httpx-auth-awssigv4","title":"httpx-auth-awssigv4","description":"A Python library that provides AWS Signature V4 authentication for HTTPX requests. Current version 0.1.4 supports IAM user credentials and STS temporary credentials. Release cadence is low; no recent updates.","status":"active","version":"0.1.4","language":"python","source_language":"en","source_url":"https://github.com/mmuppidi/httpx-auth-awssigv4","tags":["aws","signature-v4","httpx","authentication"],"install":[{"cmd":"pip install httpx-auth-awssigv4","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Required for making HTTP requests with AWS SigV4 auth","package":"httpx","optional":false}],"imports":[{"note":"Hyphenated package name in import is invalid; use underscores.","wrong":"from httpx-auth-awssigv4 import SigV4Auth","symbol":"SigV4Auth","correct":"from httpx_auth_awssigv4 import SigV4Auth"}],"quickstart":{"code":"import os\nfrom httpx import Client\nfrom httpx_auth_awssigv4 import SigV4Auth\n\nauth = SigV4Auth(\n    access_key=os.environ.get('AWS_ACCESS_KEY_ID', 'YOUR_ACCESS_KEY'),\n    secret_key=os.environ.get('AWS_SECRET_ACCESS_KEY', 'YOUR_SECRET_KEY'),\n    region='us-east-1',\n    service='execute-api'\n)\n\nwith Client() as client:\n    response = client.get('https://example.amazonaws.com', auth=auth)\n    print(response.status_code)","lang":"python","description":"Initialize SigV4Auth with credentials and use it as HTTPX auth."},"warnings":[{"fix":"Use aws-sigv4 package if newer features required.","message":"The library requires Python >=3.6.2 but no longer actively maintained; consider using `aws-sigv4` for httpx if updates are needed.","severity":"gotcha","affected_versions":"all"},{"fix":"Use os.environ.get() or boto3 session.","message":"Credentials are passed as parameters; avoid hardcoding. Use environment variables or AWS credential providers.","severity":"gotcha","affected_versions":"all"},{"fix":"Provide access_key and secret_key explicitly.","message":"The library does not support automatic credential chain resolution (e.g., from ~/.aws/credentials). You must supply keys explicitly.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use `from httpx_auth_awssigv4 import SigV4Auth`.","cause":"Using hyphen instead of underscore in import statement.","error":"ModuleNotFoundError: No module named 'httpx-auth-awssigv4'"},{"fix":"Provide access_key, secret_key (and optionally session_token).","cause":"Credentials not provided to SigV4Auth.","error":"TypeError: __init__() missing required positional arguments: 'access_key' and 'secret_key'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}