Added config for credentials and query in repository interface.