:doc:`WorkSpacesWeb <../../workspaces-web>` / Client / create_trust_store

******************
create_trust_store
******************



.. py:method:: WorkSpacesWeb.Client.create_trust_store(**kwargs)

  

  Creates a trust store that can be associated with a web portal. A trust store contains certificate authority (CA) certificates. Once associated with a web portal, the browser in a streaming session will recognize certificates that have been issued using any of the CAs in the trust store. If your organization has internal websites that use certificates issued by private CAs, you should add the private CA certificate to the trust store.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateTrustStore>`_  


  **Request Syntax**
  ::

    response = client.create_trust_store(
        certificateList=[
            b'bytes',
        ],
        tags=[
            {
                'Key': 'string',
                'Value': 'string'
            },
        ],
        clientToken='string'
    )
    
  :type certificateList: list
  :param certificateList: **[REQUIRED]** 

    A list of CA certificates to be added to the trust store.

    

  
    - *(bytes) --* 

    

  :type tags: list
  :param tags: 

    The tags to add to the trust store. A tag is a key-value pair.

    

  
    - *(dict) --* 

      The tag.

      

    
      - **Key** *(string) --* **[REQUIRED]** 

        The key of the tag.

        

      
      - **Value** *(string) --* **[REQUIRED]** 

        The value of the tag

        

      
    

  :type clientToken: string
  :param clientToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

     

    If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

    This field is autopopulated if not provided.

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

    
    ::

      {
          'trustStoreArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **trustStoreArn** *(string) --* 

        The ARN of the trust store.

        
  
  **Exceptions**
  
  *   :py:class:`WorkSpacesWeb.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`WorkSpacesWeb.Client.exceptions.ThrottlingException`

  
  *   :py:class:`WorkSpacesWeb.Client.exceptions.ServiceQuotaExceededException`

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

  
  *   :py:class:`WorkSpacesWeb.Client.exceptions.ConflictException`

  