:doc:`ivsrealtime <../../ivs-realtime>` / Client / get_public_key

**************
get_public_key
**************



.. py:method:: ivsrealtime.Client.get_public_key(**kwargs)

  

  Gets information for the specified public key.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetPublicKey>`_  


  **Request Syntax**
  ::

    response = client.get_public_key(
        arn='string'
    )
    
  :type arn: string
  :param arn: **[REQUIRED]** 

    ARN of the public key for which the information is to be retrieved.

    

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

    
    ::

      {
          'publicKey': {
              'arn': 'string',
              'name': 'string',
              'publicKeyMaterial': 'string',
              'fingerprint': 'string',
              'tags': {
                  'string': 'string'
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **publicKey** *(dict) --* 

        The public key that is returned.

        
        

        - **arn** *(string) --* 

          Public key ARN.

          
        

        - **name** *(string) --* 

          Public key name.

          
        

        - **publicKeyMaterial** *(string) --* 

          Public key material.

          
        

        - **fingerprint** *(string) --* 

          The public key fingerprint, a short string used to identify or verify the full public key.

          
        

        - **tags** *(dict) --* 

          Tags attached to the resource. Array of maps, each of the form ``string:string (key:value)``. See `Best practices and strategies <https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html>`__ in *Tagging AWS Resources and Tag Editor* for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
    
  
  **Exceptions**
  
  *   :py:class:`ivsrealtime.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ivsrealtime.Client.exceptions.ValidationException`

  
  *   :py:class:`ivsrealtime.Client.exceptions.AccessDeniedException`

  