:doc:`Greengrass <../../greengrass>` / Client / list_group_certificate_authorities

**********************************
list_group_certificate_authorities
**********************************



.. py:method:: Greengrass.Client.list_group_certificate_authorities(**kwargs)

  Retrieves the current CAs for a group.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupCertificateAuthorities>`_  


  **Request Syntax**
  ::

    response = client.list_group_certificate_authorities(
        GroupId='string'
    )
    
  :type GroupId: string
  :param GroupId: **[REQUIRED]** The ID of the Greengrass group.

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'GroupCertificateAuthorities': [
              {
                  'GroupCertificateAuthorityArn': 'string',
                  'GroupCertificateAuthorityId': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* Success. The response body contains the PKI Configuration.
      

      - **GroupCertificateAuthorities** *(list) --* A list of certificate authorities associated with the group.
        

        - *(dict) --* Information about a certificate authority for a group.
          

          - **GroupCertificateAuthorityArn** *(string) --* The ARN of the certificate authority for the group.
          

          - **GroupCertificateAuthorityId** *(string) --* The ID of the certificate authority for the group.
      
    
  
  **Exceptions**
  
  *   :py:class:`Greengrass.Client.exceptions.BadRequestException`

  
  *   :py:class:`Greengrass.Client.exceptions.InternalServerErrorException`

  