RDSのパスワード管理方法の設定変更について

0

RDSインスタンスを作成した際、SecretManagerでのパスワード管理を設定しました。 この設定をマスターパスワード管理に変更したいのですが、RDSインスタンス変更画面からは設定変更ができないようです。 設定変更の方法はありますでしょうか。

kaibo
質問済み 7ヶ月前286ビュー
2回答
1
承認された回答

AWS CLI で設定を変更出来るみたいです。

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/modify-db-instance.html

aws rds modify-db-instance--no-manage-master-user-password オプションと --master-user-password <Password> オプションを付ける必要があります。

If the DB instance already manages the master user password with Amazon Web Services Secrets Manager, and you specify that the master user password is not managed with Amazon Web Services Secrets Manager, then you must specify MasterUserPassword. In this case, Amazon RDS deletes the secret and uses the new password for the master user specified by MasterUserPassword.

profile picture
HS
回答済み 7ヶ月前
profile picture
エキスパート
レビュー済み 7ヶ月前
0

有難うございます。 ご教示いただいたCLIコマンドで設定変更する事ができました。

kaibo
回答済み 7ヶ月前

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

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

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

関連するコンテンツ