def get_pre_shared_key(self, endpoint_name, **kwargs):  # noqa: E501
        """Get a pre-shared key.  # noqa: E501

        Check if a pre-shared key for an endpoint exists or not. The response does not contain the secret itself.  **Example usage:**  ``` curl -H \"authorization: Bearer ${API_TOKEN}\" https://api.us-east-1.mbedcloud.com/v2/device-shared-keys/my-endpoint-0001 ```   # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass asynchronous=True
        >>> thread = api.get_pre_shared_key(endpoint_name, asynchronous=True)
        >>> result = thread.get()

        :param asynchronous bool
        :param str endpoint_name: The unique endpoint identifier that this pre-shared key applies to. [Reserved characters](https://en.wikipedia.org/wiki/Percent-encoding#Percent-encoding_reserved_characters) must be percent-encoded. (required)
        :return: PreSharedKeyWithoutSecret
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('asynchronous'):
            return self.get_pre_shared_key_with_http_info(endpoint_name, **kwargs)  # noqa: E501
        else:
            (data) = self.get_pre_shared_key_with_http_info(endpoint_name, **kwargs)  # noqa: E501
            return data