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

0

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

kaibo
asked 7 months ago308 views
2 Answers
1
Accepted Answer

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
answered 7 months ago
profile picture
EXPERT
reviewed 7 months ago
0

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

kaibo
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions