awslabs / aws-saas-boost

AWS SaaS Boost is a ready-to-use toolset that removes the complexity of successfully running SaaS workloads in the AWS cloud.
Apache License 2.0
954 stars 188 forks source link

Admin password output on CFN #521

Closed pek77 closed 1 year ago

pek77 commented 1 year ago

If for some reason the customer cannot receive emails from Cognito, login the SaaS Boost console will cause confusion. Is it possible to add the password to the output of Cloudformation?

Use Case

Proposed Solution

Other


This is a :rocket: Feature Request

brtrvn commented 1 year ago

There is no way to get the Cognito-generated temporary password during User Pool user creation. We'd have to write a CloudFormation custom resource to be able to set the temporary password to a known value. Seems like a lot of overhead. What's the use case for not being able to receive the email from Cognito?

pek77 commented 1 year ago

For customer workshop, we wanna pre config installation process before workshop on batch preparation

brtrvn commented 1 year ago

You could just have the workshop attendees run a script in Cloud9 to reset the admin password if you used a fake email to bootstrap the install. aws cognito-idp admin-set-user-password --user-pool-id $SYS_USERS_CUP --username admin --no-permanent --password $PASSWORD

pek77 commented 1 year ago

You could just have the workshop attendees run a script in Cloud9 to reset the admin password if you used a fake email to bootstrap the install. aws cognito-idp admin-set-user-password --user-pool-id $SYS_USERS_CUP --username admin --no-permanent --password $PASSWORD

Got it, thx. I think should change cognito password too before login.