import yaml


def get_credentails_from_file(auth_file):
    """Read the vault credentials from the auth_file.

    :param auth_file: Path to file with credentials
    :type auth_file: str
    :returns: Token and keys
    :rtype: dict
    """
    with open(auth_file, 'r') as stream:
        vault_creds = yaml.safe_load(stream)
    return vault_creds