Greengrass / Client / create_group_certificate_authority

create_group_certificate_authority#

Greengrass.Client.create_group_certificate_authority(**kwargs)#

Creates a CA for the group. If a CA already exists, it will rotate the existing CA.

See also: AWS API Documentation

Request Syntax

response = client.create_group_certificate_authority(
    AmznClientToken='string',
    GroupId='string'
)
Parameters:
  • AmznClientToken (string) – A client token used to correlate requests and responses.

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

Return type:

dict

Returns:

Response Syntax

{
    'GroupCertificateAuthorityArn': 'string'
}

Response Structure

  • (dict) – Success. The response body contains the new active CA ARN.

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

Exceptions

  • Greengrass.Client.exceptions.BadRequestException

  • Greengrass.Client.exceptions.InternalServerErrorException