Skip to main content

aws-credentials-http

This package provides a container HTTP credential resolver and chain provider.

Installation

uv pip install aws-credentials-http

Once installed, the provider registers itself with the SDK's modular credential chain. When a client resolves credentials through the default chain, it will attempt this source when the container credential environment variables (AWS_CONTAINER_CREDENTIALS_RELATIVE_URI or AWS_CONTAINER_CREDENTIALS_FULL_URI) are set, unless a higher-precedence source resolves credentials first.

Client Configuration

To use this resolver explicitly, set the aws_credentials_identity_resolver property on a service client's config to a ContainerCredentialsResolver instance:

from aws_credentials_http import ContainerCredentialsResolver

service_client = ServiceClient(
    config=ServiceClientConfig(
        aws_credentials_identity_resolver=ContainerCredentialsResolver(),
    )
)

Standalone

The resolver can also be used on its own to fetch credentials directly:

import asyncio

from aws_credentials_http import ContainerCredentialsResolver


async def main() -> None:
    resolver = ContainerCredentialsResolver()
    identity = await resolver.get_identity(properties={})


asyncio.run(main())

Release files for aws-credentials-http 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-credentials-http 0.2.0
File Size Uploaded
aws_credentials_http-0.2.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-credentials-http 0.2.0
File Interpreter ABI Platform
aws_credentials_http-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / aws_credentials_http-0.2.0.tar.gz

Download URL aws_credentials_http-0.2.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3f5aede803983f2d42bab3aaa92708c307ec7919e97714202aa9538cf37d38c0
BLAKE2b-256 checksum
How to use checksums
6080296f1f2bb385147dd5e7faa80b2e35933f454f76d2565eac164d2a483eee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Amazon Linux","version":"2023","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / aws_credentials_http-0.2.0-py3-none-any.whl

Download URL aws_credentials_http-0.2.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e0d622800be8f8c375954b97725095ee596b960259550cf29e72a528391a3dd
BLAKE2b-256 checksum
How to use checksums
126ac7ee86bce899428670fc94fb9db27131e45efc7d058578481d10043dc3c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Amazon Linux","version":"2023","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.3.0

2 release files

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page