Reset Chef Automate Dashboard Credentials
Periodically, you might want to change the password with which you sign in to the Chef Automate dashboard. You can also use the Amazon EC2 Systems Manager AWS CLI command that's documented in this section to change the Chef Automate dashboard password if you have lost it.
To return the instance ID of your Chef server, open the AWS Management Console to the following page.
For example, for a Chef server named MyChefServer in the US East (N. Virginia) Region, the console URL would be the following.
Make a note of the instance ID that is displayed in the console; you will need it to change your password.
To reset the Chef Automate dashboard sign-in password, run the following AWS CLI command. Replace
enterprise_namewith your enterprise or organization name,
user_namewith the IAM user name of an administrator on the server,
new_passwordwith the password you want to use, and
region_namewith the region in which your server is located. If you do not specify an enterprise name, the enterprise name will be
default. Make a note of the new password, and store it in a safe but convenient location.
aws ssm send-command --document-name "AWS-RunShellScript" --comment "reset admin password" --instance-ids "
instance_id" --parameters commands="sudo delivery-ctl reset-password
Wait for output text (in this case, the command ID) to show that the password change is finished.
For more information about working with the Chef Automate dashboard, see An Overview of Visibility in Chef Automate.