Category "aws-php-sdk"

Client XYZ is configured for secret but secret was not received

I'm using AWS PHP SDK and I'm getting this error when trying to signup a new user: Error executing "SignUp" on "https://cognito-idp.eu-central-1.amazonaws.com";

User pool client {id}does not exist

Here is my code: use Aws\CognitoIdentityProvider\CognitoIdentityProviderClient; $args = [ 'credentials' => [ 'key' => 'valid', '