6

AWS RDS: How to find out login credentials to the database

 2 years ago
source link: https://blog.jakubholy.net/aws-rds-find-out-login-credentials/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

AWS RDS: How to find out login credentials to the database

December 21, 2018

To log in to your AWS RDS database (Oracle in my case) you need login credentials, but what are these for a newly created DB? The password is the master user password you entered during DB creation and which you can change via the Console.

To find out the master user name:

aws rds describe-db-instances --output table --query 'DBInstances[*].DBInstanceIdentifier'

and then

aws rds describe-db-instances --db-instance-identifier <an identifier from the previous table> \
  --query 'DBInstances[*].MasterUsername'
Tags: aws

Are you benefitting from my writing? Consider buying me a coffee or supporting my work via GitHub Sponsors. Thank you! You can also book me for a mentoring / pair-programming session via Codementor or (cheaper) email.

Allow me to write to you!

Let's get in touch! I will occasionally send you a short email with a few links to interesting stuff I found and with summaries of my new blog posts. Max 1-2 emails per month. I read and answer to all replies.

Copyright © 2022 Jakub Holý
Powered by Cryogen
Theme by KingMob

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK