allow creds to be passed in dict DO NOT MERGE

DO NOT MERGE