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

0

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

kaibo
feita há 7 meses308 visualizações
2 Respostas
1
Resposta aceita

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
respondido há 7 meses
profile picture
ESPECIALISTA
avaliado há 7 meses
0

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

kaibo
respondido há 7 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas