enable_ca_enrollment_policy
¶
enable_ca_enrollment_policy(
directory_id: DirectoryId,
pca_connector_arn: PcaConnectorArn,
*,
config_overrides: Optional[DirectoryServiceClientConfig] = None,
) -> EnableCAEnrollmentPolicyResult
Enables certificate authority (CA) enrollment policy for the specified directory. This allows domain-joined clients to automatically request and receive certificates from the specified Amazon Web Services Private Certificate Authority.
Before enabling CA enrollment, ensure that the PCA connector is properly configured and accessible from the directory. The connector must be in an active state and have the necessary permissions.
Parameters:
-
directory_id(DirectoryId) –The identifier of the directory for which to enable the CA enrollment policy.
-
pca_connector_arn(PcaConnectorArn) –The Amazon Resource Name (ARN) of the Private Certificate Authority (PCA) connector to use for automatic certificate enrollment. This connector must be properly configured and accessible from the directory.
The ARN format is:
arn:aws:pca-connector-ad:region:account-id:connector/connector-id
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.
-
DirectoryUnavailableException–The specified directory is unavailable.
-
EnableAlreadyInProgressException–An enable operation for CA enrollment policy is already in progress for this directory.
-
EntityAlreadyExistsException–The specified entity already exists.
-
EntityDoesNotExistException–The specified entity could not be found.
-
InvalidParameterException–One or more parameters are not valid.
-
ServiceException–An exception has occurred in Directory Service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_directory_service/_services/directory_service.py
4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 | |