Ec2InstanceProfile

This provider will time out if not in an EC2 Environment. For that reason, if there are multiple providers in a chain, this provider should be last.


fun CredentialsChain.Companion.Ec2InstanceProfile(http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), gracePeriod: Duration = Duration.ofSeconds(30)): CredentialsChain
fun CredentialsProvider.Companion.Ec2InstanceProfile(http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), gracePeriod: Duration = Duration.ofSeconds(30)): CredentialsProvider