Upgrading from SCRAM-SHA-1 to SCRAM-SHA-256

Hi @Daniel_Inciong,

This can be updated using the updateUser command.

use admin
db.runCommand({'updateUser':'user0',pwd:passwordPrompt(), mechanisms:['SCRAM-SHA-256']})

Although you may wish to use both SCRAM-SHA mechanisms as you switch to make sure all tools and drivers you are using can connect correctly.

In that case use: mechanisms:['SCRAM-SHA-1','SCRAM-SHA-256'] a following update could be done just specifying SCRAM-SHA-256 and that one would not need the password provided as you’d be removing a mechanism.