:doc:`Kafka <../../kafka>` / Client / list_scram_secrets

******************
list_scram_secrets
******************



.. py:method:: Kafka.Client.list_scram_secrets(**kwargs)

  

  Returns a list of the Scram Secrets associated with an Amazon MSK cluster.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecrets>`_  


  **Request Syntax**
  ::

    response = client.list_scram_secrets(
        ClusterArn='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type ClusterArn: string
  :param ClusterArn: **[REQUIRED]** 

    The arn of the cluster.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maxResults of the query.

    

  
  :type NextToken: string
  :param NextToken: 

    The nextToken of the query.

    

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

    
    ::

      {
          'NextToken': 'string',
          'SecretArnList': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response

      
      

      - **NextToken** *(string) --* 

        Paginated results marker.

        
      

      - **SecretArnList** *(list) --* 

        The list of scram secrets associated with the cluster.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`Kafka.Client.exceptions.BadRequestException`

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

  
  *   :py:class:`Kafka.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`Kafka.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Kafka.Client.exceptions.NotFoundException`

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

  
  *   :py:class:`Kafka.Client.exceptions.TooManyRequestsException`

  