postgresql - Programatically get AWS RDS connection string -


is there way through aws api connection string rds database? in form of:

postgres://username:password@host/db_name

no there's no api call build string you.

however, using describedbinstances api call can retrieve masterusername, dbname ("the name of initial database of instance provided @ create time, if 1 specified when db instance created") , host (through endpoint.address field) , build string yourself.

for password, you'll have provide in secure manner, since rds cannot retrieve through api calls.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -