def METHOD_NAME(self, label) -> str:
    """Retrieves a user secret value by its label.
    This returns the value of the secret with the given label,
    if it attached to the current kernel.
    Example usage:
        client = UserSecretsClient()
        secret = client.get_secret('my_db_password')
    """
    if label is None or len(label) == 0:
        raise ValidationError("Label must be non-empty.")
    request_body = {
        'Label': label,
    }
    response_json = self.web_client.make_post_request(request_body, self.GET_USER_SECRET_BY_LABEL_ENDPOINT)
    if 'secret' not in response_json:
        raise BackendError(
            f'Unexpected response from the service. Response: {response_json}')
    return response_json['secret']