Greengrass / Client / get_group_certificate_authority

get_group_certificate_authority#

Greengrass.Client.get_group_certificate_authority(**kwargs)#

Retreives the CA associated with a group. Returns the public key of the CA.

See also: AWS API Documentation

Request Syntax

response = client.get_group_certificate_authority(
    CertificateAuthorityId='string',
    GroupId='string'
)
Parameters:
  • CertificateAuthorityId (string) – [REQUIRED] The ID of the certificate authority.

  • GroupId (string) – [REQUIRED] The ID of the Greengrass group.

Return type:

dict

Returns:

Response Syntax

{
    'GroupCertificateAuthorityArn': 'string',
    'GroupCertificateAuthorityId': 'string',
    'PemEncodedCertificate': 'string'
}

Response Structure

  • (dict) – Success. The response body contains the PKI Configuration.

    • GroupCertificateAuthorityArn (string) – The ARN of the certificate authority for the group.

    • GroupCertificateAuthorityId (string) – The ID of the certificate authority for the group.

    • PemEncodedCertificate (string) – The PEM encoded certificate for the group.

Exceptions

  • Greengrass.Client.exceptions.BadRequestException

  • Greengrass.Client.exceptions.InternalServerErrorException