Following the Cognito JS sample code for signUp, I kept getting CredentialsError: Missing credentials in config even though Id set everything up. Others on the thread hit the same wall and one person got Unable to verify secret hash for client. The thread is from 2016 and an AWS person gave the definitive answer.