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

************************
create_credential_locker
************************



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

  

  Create a credential locker.

   

  .. note::

    

    This operation will not trigger the creation of all the manufacturing resources.

    

  

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


  **Request Syntax**
  ::

    response = client.create_credential_locker(
        Name='string',
        ClientToken='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type Name: string
  :param Name: 

    The name of the credential locker.

    

  
  :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 credential locker.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'Id': 'string',
          'Arn': 'string',
          'CreatedAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The identifier of the credential locker creation request.

        
      

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

        The Amazon Resource Name (ARN) of the credential locker.

        
      

      - **CreatedAt** *(datetime) --* 

        The timestamp value of when the credential locker request occurred.

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

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

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

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

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

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

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

  