Channel Revision Published Runs on
6/stable 229 20 Aug 2025
Ubuntu 22.04
6/candidate 229 20 Aug 2025
Ubuntu 22.04
6/beta 229 20 Aug 2025
Ubuntu 22.04
6/edge 229 20 Aug 2025
Ubuntu 22.04
8-transition/edge 233 01 Oct 2025
Ubuntu 24.04
8/candidate 228 07 Aug 2025
Ubuntu 24.04
8/beta 228 07 Aug 2025
Ubuntu 24.04
8/edge 232 29 Sep 2025
Ubuntu 24.04
juju deploy mongodb --channel 6/stable
Show information

Platform:

Ubuntu
24.04 22.04

charms.mongodb.v1.users

Users configuration for MongoDB.


class MongoDBUser

Description

Base class for MongoDB users. None

Methods

MongoDBUser. get_username( self )

Description

Returns the username of the user. None

MongoDBUser. get_password_key_name( self )

Description

Returns the key name for the password of the user. None

MongoDBUser. get_database_name( self )

Description

Returns the database of the user. None

MongoDBUser. get_roles( self )

Description

Returns the role of the user. None

MongoDBUser. get_mongodb_role( self )

Description

Returns the MongoDB role of the user. None

MongoDBUser. get_privileges( self )

Description

Returns the privileges of the user. None

MongoDBUser. get_hosts( self )

Description

Returns the hosts of the user. None

MongoDBUser. get_password_key_name_for_user( username: str )

Description

Returns the key name for the password of the user. None