get_credentials function

Load Credentials from a YML File