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.aio import AsyncContainerCredentialsResolver


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


asyncio.run(main())

Metadata

Release files for aws-credentials-http 0.5.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.5.0
File Size Uploaded Provenance Actions
aws_credentials_http-0.5.0.tar.gz 10.2 kB Without provenance Details for aws_credentials_http-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 24.9 kB

Release files / aws_credentials_http-0.5.0.tar.gz

Download URL aws_credentials_http-0.5.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
121e028e5294a08863292f0b81ffb45ad5cd837ce71c6a0ee56f95d3b7917eb8
BLAKE2b-256 checksum
How to use checksums
1f4fc64a4523e99134a085b9514232158b02d2228a3803e4137d8fc72da7835c
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.5.0-py3-none-any.whl

Download URL aws_credentials_http-0.5.0-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31a9280357af8e523cbd43beb1ebe88eb0db7fb18450f65ddab51093f08170c3
BLAKE2b-256 checksum
How to use checksums
9ace1aeb6ee1ff236ccb11dbce2ca438946a938bd74fbabdf8fe9434386558e1
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}

Security for aws-credentials-http 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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