simple credential management class (yaml completed)