mkirk Asked: 2011-06-03 18:34:10 +0800 CST2011-06-03 18:34:10 +0800 CST 2011-06-03 18:34:10 +0800 CST How do you recover you RDS master user username? 772 Resetting the RDS master user's password is simple enough, but how do you find your master users username? password amazon-web-services rds amazon-rds 9 Answers Voted joakimcs 2015-10-21T03:06:13+08:002015-10-21T03:06:13+08:00 The master username is now listed in the RDS Dashboard. Select the "Instances" listing and expand the DB instance. Press the looking glass tab on the left. The master username is listed in the left column. Hope this helps! Best Answer Jan Fabry 2012-04-16T12:11:39+08:002012-04-16T12:11:39+08:00 The master user name can be recovered with the rds-describe-db-instances command. If you are using aws cli-2, command shall become : aws rds describe-db-instances --region ap-south-1 kklw 2019-04-17T23:18:32+08:002019-04-17T23:18:32+08:00 It is 2019 now. It is 'Databases' on the sidebar, 'Configuration' on the navigation bar. And look for username. Sai Phaninder Reddy J 2017-12-12T10:00:37+08:002017-12-12T10:00:37+08:00 With the new updated RDS UI, the username is present in the Details section of the Instance Information screen. From the List of your running Instances, click an instance name to see information about the instance. See the "Details" section of the information screen. scroll down in that screen to see the "Details" section. arbabnazar 2018-06-03T11:45:00+08:002018-06-03T11:45:00+08:00 Here is the command that you can use to get the master username of your RDS: aws --profile=prod rds describe-db-instances --region us-east-1 --db-instance-identifier YOUR-RDS-IDENTIFIER-HERE --query 'DBInstances[*].MasterUsername' Note: Replace the prod with your aws profile and YOUR-RDS-IDENTIFIER-HERE with your rds instance identifier It will give you the master username like this: [ "root" ] Hope that might help future reader. systemBuilder 2019-04-27T20:13:51+08:002019-04-27T20:13:51+08:00 I do not know how to directly find the aws admin username in 2019 AWS, however, you can see it in a snapshot. Just follow: Main RDS console > Snapshots > A snapshot of your database > Details > Master username Lydon 2019-10-29T22:17:36+08:002019-10-29T22:17:36+08:00 Using AWS CLI to get all Instance names + the respective Master users: aws rds describe-db-instances | grep -e \"DBInstanceId -e Master Volodymyr Merkulov 2020-12-04T04:34:10+08:002020-12-04T04:34:10+08:00 SELECT grantee FROM sys.dba_role_privs WHERE granted_role='RDS_MASTER_ROLE' AND admin_option ='NO'; Timo 2022-05-15T12:42:38+08:002022-05-15T12:42:38+08:00 TL;DR Select the database and click top-right on modify Here is the description how to do it: The third field is the password.
The master username is now listed in the RDS Dashboard.
Hope this helps!
The master user name can be recovered with the
rds-describe-db-instances
command.If you are using aws cli-2, command shall become :
It is 2019 now. It is 'Databases' on the sidebar, 'Configuration' on the navigation bar. And look for username.
With the new updated RDS UI, the username is present in the Details section of the Instance Information screen.
scroll down in that screen to see the "Details" section.
Here is the command that you can use to get the master username of your RDS:
Note: Replace the
prod
with your aws profile andYOUR-RDS-IDENTIFIER-HERE
with your rds instance identifierIt will give you the master username like this:
Hope that might help future reader.
I do not know how to directly find the aws admin username in 2019 AWS, however, you can see it in a snapshot. Just follow:
Main RDS console > Snapshots > A snapshot of your database > Details > Master username
Using AWS CLI to get all Instance names + the respective Master users:
TL;DR
Select the database and click top-right on
modify
Here is the description how to do it:
The third field is the password.