Documentation
¶
Overview ¶
Package awscredentials adapts the framework credential boundary to the one existing AWS SDK. Native credential types stay behind feature adapters.
Index ¶
Constants ¶
View Source
const RefreshInterval = 5 * time.Minute
RefreshInterval bounds how long credentials without a known expiry are cached. The SDK credentials cache never refreshes non-expiring values, so a rotating provider that does not report expiry must still be consulted again.
Variables ¶
This section is empty.
Functions ¶
func KnownExpiry ¶
func KnownExpiry(value aws.Credentials) (time.Time, bool)
KnownExpiry reports a real temporary-credential expiry, excluding the synthetic refresh deadline assigned to credentials of unknown lifetime.
Types ¶
Click to show internal directories.
Click to hide internal directories.