Fixed typo
Changed structure of credentials configuration