use yaml.safe_load in the credital loader