How to get the read-replica RDS host info (multi-az scenario)?

0

Hi,

I've added a new secrets for my Aurora RDS. In the secret, I see "host" entry which points to the writer node. How do I get the host information for the read-replica node? I could add it manually, but I don't want to :)

Thanks!!

Igor
質問済み 4年前293ビュー
1回答
0
承認された回答

Secrets Manager populates the host field with the writer node/master because if rotation is turned on, it needs to connect to the master to update the password.

The RDS DescribeDBClusterEndpoints call can be used to find the other endpoints.

https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusterEndpoints.html

AWS
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ