Companion
object Companion
Functions
Link copied to clipboard
fun fromEnvironment(roleArn: String? = null, webIdentityTokenFilePath: String? = null, region: String? = null, roleSessionName: String? = null, duration: Duration = DEFAULT_CREDENTIALS_REFRESH_SECONDS.seconds, platformProvider: PlatformProvider = PlatformProvider.System, httpClient: HttpClientEngine? = null): StsWebIdentityCredentialsProvider
Create an StsWebIdentityCredentialsProvider from the current execution environment. This will attempt to automatically resolve any setting not explicitly provided from the current set of environment variables or system properties.