CredentialsProvider

Represents a producer/source of AWS credentials

Inheritors

Inherited properties

Link copied to clipboard

Retrieves the simple name of the class implementing CredentialsProvider.

Functions

Link copied to clipboard
abstract suspend override fun resolve(attributes: Attributes): Credentials

Request credentials from the provider

Inherited functions

Link copied to clipboard
fun CredentialsProvider.cached(expireCredentialsAfter: Duration = DEFAULT_CREDENTIALS_REFRESH_SECONDS.seconds, refreshBufferWindow: Duration = DEFAULT_CREDENTIALS_REFRESH_BUFFER_SECONDS.seconds, clock: Clock = Clock.System): CachedCredentialsProvider

A utility function which wraps a CredentialsProvider in a CachedCredentialsProvider.