Charmed MongoDB K8s

Channel Revision Published Runs on
latest/stable 14 01 Aug 2022
Ubuntu 20.04
latest/edge 20 02 Mar 2023
Ubuntu 22.04
6/beta 38 05 Dec 2023
Ubuntu 22.04
6/edge 40 14 Dec 2023
Ubuntu 22.04
5/edge 39 14 Dec 2023
Ubuntu 22.04
juju deploy mongodb-k8s --channel 6/edge
Show information

Platform:

How to manage passwords

Internal operator user

The operator user is used internally by the Charmed MongoDB Operator, the set-password action can be used to rotate its password.

  • To set a specific password for the operator user
juju run mongodb-k8s/leader set-password password=<password>

where is the password you want to set

  • To randomly generate a password for the operator user
juju run mongodb-k8s/leader set-password

Rotate application passwords

To rotate the passwords of users created for related applications, the relation should be removed and related again. That process will generate a new user and password for the application.

juju remove-relation <application> mongodb-k8s
juju add-relation <application> mongodb-k8s

where is the name of your application


Help improve this document in the forum (guidelines). Last updated 8 months ago.