:doc:`BedrockAgentCoreControl <../../bedrock-agentcore-control>` / Client / get_token_vault

***************
get_token_vault
***************



.. py:method:: BedrockAgentCoreControl.Client.get_token_vault(**kwargs)

  

  Retrieves information about a token vault.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetTokenVault>`_  


  **Request Syntax**
  ::

    response = client.get_token_vault(
        tokenVaultId='string'
    )
    
  :type tokenVaultId: string
  :param tokenVaultId: 

    The unique identifier of the token vault to retrieve.

    

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

    
    ::

      {
          'tokenVaultId': 'string',
          'kmsConfiguration': {
              'keyType': 'CustomerManagedKey'|'ServiceManagedKey',
              'kmsKeyArn': 'string'
          },
          'lastModifiedDate': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **tokenVaultId** *(string) --* 

        The ID of the token vault.

        
      

      - **kmsConfiguration** *(dict) --* 

        The KMS configuration for the token vault.

        
        

        - **keyType** *(string) --* 

          The type of KMS key (CustomerManagedKey or ServiceManagedKey).

          
        

        - **kmsKeyArn** *(string) --* 

          The Amazon Resource Name (ARN) of the KMS key.

          
    
      

      - **lastModifiedDate** *(datetime) --* 

        The timestamp when the token vault was last modified.

        
  
  **Exceptions**
  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.UnauthorizedException`

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

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

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

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

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

  