I'm using boto3 for connect Amazon Cognito. I'm trying to use sign_up method; however, there is a parameter called SecretHash which I cannot understand how it is generated.
The original documentation about SecretHash:
SecretHash (string) -- A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
I'm getting error below, if I don't put SecretHash parameter.
botocore.exceptions.ClientError: An error occurred (NotAuthorizedException) when calling the SignUp operation: Unable to verify secret hash for client xxx