describe_ca_certificate
(**kwargs)¶Describes a registered CA certificate.
Requires permission to access the DescribeCACertificate action.
See also: AWS API Documentation
Request Syntax
response = client.describe_ca_certificate(
certificateId='string'
)
[REQUIRED]
The CA certificate identifier.
{
'certificateDescription': {
'certificateArn': 'string',
'certificateId': 'string',
'status': 'ACTIVE'|'INACTIVE',
'certificatePem': 'string',
'ownedBy': 'string',
'creationDate': datetime(2015, 1, 1),
'autoRegistrationStatus': 'ENABLE'|'DISABLE',
'lastModifiedDate': datetime(2015, 1, 1),
'customerVersion': 123,
'generationId': 'string',
'validity': {
'notBefore': datetime(2015, 1, 1),
'notAfter': datetime(2015, 1, 1)
},
'certificateMode': 'DEFAULT'|'SNI_ONLY'
},
'registrationConfig': {
'templateBody': 'string',
'roleArn': 'string',
'templateName': 'string'
}
}
Response Structure
The output from the DescribeCACertificate operation.
The CA certificate description.
The CA certificate ARN.
The CA certificate ID.
The status of a CA certificate.
The CA certificate data, in PEM format.
The owner of the CA certificate.
The date the CA certificate was created.
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
The date the CA certificate was last modified.
The customer version of the CA certificate.
The generation ID of the CA certificate.
When the CA certificate is valid.
The certificate is not valid before this date.
The certificate is not valid after this date.
The mode of the CA.
All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.
Information about the registration configuration.
The template body.
The ARN of the role.
The name of the provisioning template.
Exceptions
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.ResourceNotFoundException