Charmed Operator for MongoDB

Channel Revision Published Runs on
6/stable 61 15 Nov 2024
Ubuntu 22.04
6/candidate 61 15 Nov 2024
Ubuntu 22.04
6/beta 61 15 Nov 2024
Ubuntu 22.04
6/edge 61 15 Nov 2024
Ubuntu 22.04
5/edge 39 14 Dec 2023
Ubuntu 22.04
juju deploy mongodb-k8s --channel 5/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 1 year, 2 months ago.