org.http4k.connect.amazon.sts.model.Credentials.kt Maven / Gradle / Ivy
package org.http4k.connect.amazon.sts.model
import org.http4k.aws.AwsCredentials
import org.http4k.connect.amazon.core.model.AccessKeyId
import org.http4k.connect.amazon.core.model.SecretAccessKey
import org.http4k.connect.amazon.core.model.SessionToken
data class Credentials(
val SessionToken: SessionToken,
val AccessKeyId: AccessKeyId,
val SecretAccessKey: SecretAccessKey,
val Expiration: Expiration
) {
fun asHttp4k() = AwsCredentials(AccessKeyId.value, SecretAccessKey.value, SessionToken.value)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy