:doc:`ManagedintegrationsforIoTDeviceManagement <../../iot-managed-integrations>` / Client / create_provisioning_profile

***************************
create_provisioning_profile
***************************



.. py:method:: ManagedintegrationsforIoTDeviceManagement.Client.create_provisioning_profile(**kwargs)

  

  Create a provisioning profile for a device to execute the provisioning flows using a provisioning template. The provisioning template is a document that defines the set of resources and policies applied to a device during the provisioning process.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-managed-integrations-2025-03-03/CreateProvisioningProfile>`_  


  **Request Syntax**
  ::

    response = client.create_provisioning_profile(
        ProvisioningType='FLEET_PROVISIONING'|'JITR',
        CaCertificate='string',
        ClaimCertificate='string',
        Name='string',
        ClientToken='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type ProvisioningType: string
  :param ProvisioningType: **[REQUIRED]** 

    The type of provisioning workflow the device uses for onboarding to IoT managed integrations.

    

  
  :type CaCertificate: string
  :param CaCertificate: 

    The id of the certificate authority (CA) certificate.

    

  
  :type ClaimCertificate: string
  :param ClaimCertificate: 

    The claim certificate.

    

  
  :type Name: string
  :param Name: 

    The name of the provisioning template.

    

  
  :type ClientToken: string
  :param ClientToken: 

    An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

    This field is autopopulated if not provided.

  
  :type Tags: dict
  :param Tags: 

    A set of key/value pairs that are used to manage the provisioning profile.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'Arn': 'string',
          'Name': 'string',
          'ProvisioningType': 'FLEET_PROVISIONING'|'JITR',
          'Id': 'string',
          'ClaimCertificate': 'string',
          'ClaimCertificatePrivateKey': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The Amazon Resource Name (ARN) of the provisioning template used in the provisioning profile.

        
      

      - **Name** *(string) --* 

        The name of the provisioning template.

        
      

      - **ProvisioningType** *(string) --* 

        The type of provisioning workflow the device uses for onboarding to IoT managed integrations.

        
      

      - **Id** *(string) --* 

        The identifier of the provisioning profile.

        
      

      - **ClaimCertificate** *(string) --* 

        The id of the claim certificate.

        
      

      - **ClaimCertificatePrivateKey** *(string) --* 

        The private key of the claim certificate. This is stored securely on the device for validating the connection endpoint with IoT managed integrations using the public key.

        
  
  **Exceptions**
  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException`

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

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.UnauthorizedException`

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

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ServiceUnavailableException`

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

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ResourceNotFoundException`

  