package awskit-unix

  1. Overview
  2. Docs
On This Page
  1. Public Modules
Unix helpers for Awskit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

awskit-v0.2.0.tbz
sha256=b69c81378d08f443a276b947d9a2b45913495cb61b2ff3aa0ad74d6b071f32f8
sha512=50714b8eda6ea6e589eb34a305afdfa4870a5e8e4240c091ff5cecd309c21fdfda6163fb6449caad5cdaf800857369df5da0534d822cf152ac76fc16fb9216e5

doc/index.html

awskit-unix

Unix-specific helpers for Awskit applications.

The public entrypoint is Awskit_unix. This package owns local platform behavior such as environment variables, shared AWS profile files, and wall-clock access. It does not perform HTTP calls.

Use this package when an application wants Unix credential or region sources while keeping the runtime-neutral Awskit core free of platform dependencies.

Public Modules

  • Awskit_unix.Clock reads the OS wall clock for signing and explicit runtime construction.
  • Awskit_unix.Credentials loads static credentials from AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, optional AWS_SESSION_TOKEN, and shared AWS profile files.
  • Awskit_unix.Region reads AWS_REGION and then AWS_DEFAULT_REGION.

The credential helpers intentionally stop at local static sources. Networked ECS/container metadata and EC2 instance metadata providers live in awskit-lwt-unix, where the Lwt Unix runtime owns the HTTP client and refresh lifecycle.