import_crl
async
¶
import_crl(
name: ResourceName,
crl_data: bytes,
trust_anchor_arn: TrustAnchorArn,
*,
config_overrides: Optional[AsyncRolesAnywhereClientConfig] = None,
enabled: Optional[bool] = None,
tags: Optional[TagList] = None,
) -> CrlDetailResponse
Imports the certificate revocation list (CRL). A CRL is a list of certificates that have been revoked by the issuing certificate Authority (CA).In order to be properly imported, a CRL must be in PEM format. IAM Roles Anywhere validates against the CRL before issuing credentials.
Required permissions: rolesanywhere:ImportCrl.
Parameters:
-
name(ResourceName) –The name of the certificate revocation list (CRL).
-
crl_data(bytes) –The x509 v3 specified certificate revocation list (CRL).
-
enabled(Optional[bool], default:None) –Specifies whether the certificate revocation list (CRL) is enabled.
-
tags(Optional[TagList], default:None) –A list of tags to attach to the certificate revocation list (CRL).
-
trust_anchor_arn(TrustAnchorArn) –The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ValidationException–Validation exception error.
-
UnknownServiceError–The service returned an error code this client does not model.