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 fun resolve(attributes: <Error class: unknown class>): Credentials

Request credentials from the provider

Inherited functions

Link copied to clipboard
fun CredentialsProvider.cached(expireCredentialsAfter: <Error class: unknown class> = DEFAULT_CREDENTIALS_REFRESH_SECONDS.seconds, refreshBufferWindow: <Error class: unknown class> = DEFAULT_CREDENTIALS_REFRESH_BUFFER_SECONDS.seconds, clock: <Error class: unknown class> = Clock.System): CachedCredentialsProvider

A utility function which wraps a CredentialsProvider in a CachedCredentialsProvider.