Skip to main content

A local daemon-backed AWS temporary credential broker, exposed over a Unix socket and controlled via CLI.

Project description

elhaz



What is elhaz?

elhaz is a local daemon-backed AWS temporary credential broker, exposed over a Unix socket and controlled via CLI.

Instead of a locally hosted HTTP metadata emulation service (ECS), which is less secure and requires multiple processes for each assumed RoleArn, elhaz runs a single process and serves automatically refreshed temporary AWS credentials on demand.

elhaz caches AWS sessions for however long the daemon is kept alive (or sessions are removed by command), which eliminates redundant session creations and STS calls.

Unix-socket IPC is lightweight and gives a tighter local boundary than HTTP, avoids exposing local credential endpoints over TCP, and allows temporary credentials to live in memory rather than at rest on disk.

Crucially, because elhaz uses boto3-refresh-session as its core dependency for refreshing temporary AWS security credentials, which in turn depends on botocore, elhaz supports IAM Identity Center (SSO) using the AWS CLI.

elhaz makes multi-role local AWS workflows cleaner by combining brokered access, in-memory caching, IAM Identity Center (SSO) support, and host-local IPC into one model.

elhaz was authored by Mike Letts and is maintained by 61418.

Installation

With uv:

uv tool install elhaz

With pipx:

pipx install elhaz

Usage

To get started with using elhaz, check the quickstart guide.

To learn critical concepts for using elhaz, check the concepts section of the docs.

For technical details, check the CLI docs.

License

elhaz is licensed by the Mozilla Public License 2.0 (MPL-2.0).

Contributing

Refer to the contributing guidelines.

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

elhaz-0.4.2.tar.gz (130.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elhaz-0.4.2-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

Details for the file elhaz-0.4.2.tar.gz.

File metadata

  • Download URL: elhaz-0.4.2.tar.gz
  • Upload date:
  • Size: 130.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for elhaz-0.4.2.tar.gz
Algorithm Hash digest
SHA256 9780bed2d5ad6830c428b2a4133197ffc75499a010273c510508cf3423db4603
MD5 b7e2c17513b68a2c74a00663a5cecc08
BLAKE2b-256 ee12db9213691f627981a16db45c6834da93caafd560059b6c7d481eb383277c

See more details on using hashes here.

Provenance

The following attestation bundles were made for elhaz-0.4.2.tar.gz:

Publisher: push.yml on 61418/elhaz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file elhaz-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: elhaz-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 39.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for elhaz-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 36cc536a4deb0de3b5b7a83b2cff79c3e2bb80b667edf4c0296c689f8981188c
MD5 5d8aca3053e27565e5571162cacd806d
BLAKE2b-256 d51918658d2873942a8cb61d45333b7072bfe19c13c2ed655f836efd3e8102cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for elhaz-0.4.2-py3-none-any.whl:

Publisher: push.yml on 61418/elhaz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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