enable_client_authentication
async
¶
enable_client_authentication(
directory_id: DirectoryId,
type: ClientAuthenticationType,
*,
config_overrides: Optional[AsyncDirectoryServiceClientConfig] = None,
) -> EnableClientAuthenticationResult
Enables alternative client authentication methods for the specified directory.
Parameters:
-
directory_id(DirectoryId) –The identifier of the specified directory.
-
type(ClientAuthenticationType) –The type of client authentication to enable. Currently only the value
SmartCardis supported. Smart card authentication in AD Connector requires that you enable Kerberos Constrained Delegation for the Service User to the LDAP service in your self-managed AD.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ClientException–A client exception has occurred.
-
DirectoryDoesNotExistException–The specified directory does not exist in the system.
-
InvalidClientAuthStatusException–Client authentication is already enabled.
-
NoAvailableCertificateException–Client authentication setup could not be completed because at least one valid certificate must be registered in the system.
-
ServiceException–An exception has occurred in Directory Service.
-
UnsupportedOperationException–The operation is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_directory_service/_services/async_directory_service.py
4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 | |