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

0

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

kaibo
demandé il y a 7 mois308 vues
2 réponses
1
Réponse acceptée

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
répondu il y a 7 mois
profile picture
EXPERT
vérifié il y a 7 mois
0

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

kaibo
répondu il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions