Make static method getCreds