Skip to main content

Module static_stability

Module static_stability 

Source
Expand description

Static-stability credentials caching and auth-failure invalidation for AWS clients. Static-stability credentials caching for AWS clients.

StaticStabilityCache is the default identity cache for AWS clients (installed by codegen and aws-config). It is a retain-always, partition-keyed cache that provides static stability: on a failed credential refresh it keeps serving the previously-resolved identity past expiration (subject to backoff), so applications continue signing requests through a credential-source outage. It caches any Identity — credentials and bearer tokens alike — and reads its static-stability eligibility from a generic identity property.

The invalidation submodule carries the auth-failure detection half of invalidation; the cache’s ResolveCachedIdentity::invalidate is the action half.

Modules§

invalidation
Auth-failure detection for static-stability credential invalidation.

Structs§

StaticStabilityCache
The default identity cache for AWS clients: retain-always, partition-keyed, static-stability.
StaticStabilityCacheBuilder
Builder for StaticStabilityCache.