1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Hi, If you decode the secret, you will see that it contains the connection endpoint and dbname the RDS instance. So, it won't work to have one single secret if you have several instances.
For exact content of the secret (when Postgres), see https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html#reference_secret_json_structure_rds-postgres
{
"engine": "postgres",
"host": "<instance host name/resolvable DNS name>",
"username": "<username>",
"password": "<password>",
"dbname": "<database name. If not specified, defaults to 'postgres'>",
"port": "<TCP port number. If not specified, defaults to 5432>"
}
関連するコンテンツ
- 質問済み 6年前
- AWS公式更新しました 3年前