Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloud Formation AWS::Cognito::UserPoolUser temporary password

I'm creating Cognito user using Cloud Formation template for Kibana cognito authentication. How to provide temporary password in the template?

like image 583
Murugesh Avatar asked Jan 24 '26 23:01

Murugesh


1 Answers

Far as I know, you can't do this via AWS::Cognito::UserPoolUser which I believe you are using.

Set up a password policy in the UserPool creation and it should do the job.

Type: AWS::Cognito::UserPool
  DeletionPolicy: Retain
  Properties:
    UserPoolName: UserPoolName
    AdminCreateUserConfig:
      AllowAdminCreateUserOnly: true
    Policies:
      PasswordPolicy:
        MinimumLength: 16
        RequireLowercase: true
        RequireNumbers: true
like image 96
SAUJ Avatar answered Jan 26 '26 23:01

SAUJ



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!