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.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aws_credentials_http-0.3.0.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aws_credentials_http-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / aws_credentials_http-0.3.0.tar.gz
| Download URL | aws_credentials_http-0.3.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aabf2ebcd1163df44b4ff930ad0fa8ef0599a13bd7343f9a16f3829f7e4d9f4a
|
|
BLAKE2b-256 checksum How to use checksums |
71b00646367aa07a8706f52a9f56a08efc5a3e687c1880dc5ccf4f4952f1cf3f
|
| 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.3.0-py3-none-any.whl
| Download URL | aws_credentials_http-0.3.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e67020784d351c691951ada7231546ea53d3015b7a2873853b82f611db2077f
|
|
BLAKE2b-256 checksum How to use checksums |
8bb14334a8a93330f9c3b128fd6109e57dbf0772e27f4bc56673206f49072856
|
| 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}
|