IAMRolesAnywhere.Client.
enable_crl
(**kwargs)¶Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.
Required permissions:rolesanywhere:EnableCrl
.
See also: AWS API Documentation
Request Syntax
response = client.enable_crl(
crlId='string'
)
[REQUIRED]
The unique identifier of the certificate revocation list (CRL).
{
'crl': {
'createdAt': datetime(2015, 1, 1),
'crlArn': 'string',
'crlData': b'bytes',
'crlId': 'string',
'enabled': True|False,
'name': 'string',
'trustAnchorArn': 'string',
'updatedAt': datetime(2015, 1, 1)
}
}
Response Structure
The state of the certificate revocation list (CRL) after a read or write operation.
The ISO-8601 timestamp when the certificate revocation list (CRL) was created.
The ARN of the certificate revocation list (CRL).
The state of the certificate revocation list (CRL) after a read or write operation.
The unique identifier of the certificate revocation list (CRL).
Indicates whether the certificate revocation list (CRL) is enabled.
The name of the certificate revocation list (CRL).
The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
The ISO-8601 timestamp when the certificate revocation list (CRL) was last updated.
Exceptions
IAMRolesAnywhere.Client.exceptions.ResourceNotFoundException
IAMRolesAnywhere.Client.exceptions.AccessDeniedException