(mesos_secret_path)
return load_credentials(mesos_secret_path).principal
Helper function to get the principal from the mesos-slave credentials
    :param mesos_secret_paths: specifying the path to the file containing the mesos-slave credentials
    :returns: a string containing the principal/username
Helper function to get the principal from the mesos-slave credentials
    :param mesos_secret_paths: specifying the path to the file containing the mesos-slave credentials
    :returns: a string containing the principal/username
Helper function to get the principal from the mesos - slave credentials : param mesos_secret_paths : specifying the path to the file containing the mesos - slave credentials : returns : a string containing the principal / username
def get_principal(mesos_secret_path):
    """Helper function to get the principal from the mesos-slave credentials
    :param mesos_secret_paths: specifying the path to the file containing the mesos-slave credentials
    :returns: a string containing the principal/username
    """
    return load_credentials(mesos_secret_path).principal
def get_principal ( mesos_secret_path ) : return load_credentials ( mesos_secret_path ) . principal