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

0

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

kaibo
posta 7 mesi fa308 visualizzazioni
2 Risposte
1
Risposta accettata

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
con risposta 7 mesi fa
profile picture
ESPERTO
verificato 7 mesi fa
0

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

kaibo
con risposta 7 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande