enableSso
inline suspend fun DirectoryClient.enableSso(crossinline block: EnableSsoRequest.Builder.() -> Unit): EnableSsoResponse
Enables single sign-on for a directory. Single sign-on allows users in your directory to access certain Amazon Web Services services from a computer joined to the directory without having to enter their credentials separately.
Samples
fun main() {
//sampleStart
// To enable single sign on for a specified directory.
val resp = directoryClient.enableSso {
directoryId = "d-92654abfed"
userName = "Admin"
password = "Str0ngP@ssw0rd"
}
//sampleEnd
}