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

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -