credentials from dictionary