Charmed MongoDB

Channel Revision Published Runs on
6/stable 164 26 Mar 2024
Ubuntu 22.04
6/candidate 164 26 Mar 2024
Ubuntu 22.04
6/beta 164 26 Mar 2024
Ubuntu 22.04
6/edge 170 17 Apr 2024
Ubuntu 22.04
5/stable 117 20 Apr 2023
Ubuntu 22.04
5/candidate 117 20 Apr 2023
Ubuntu 22.04
5/edge 139 21 Nov 2023
Ubuntu 22.04
3.6/stable 100 28 Apr 2023
Ubuntu 20.04 Ubuntu 18.04
3.6/candidate 100 13 Apr 2023
Ubuntu 20.04 Ubuntu 18.04
3.6/edge 100 03 Feb 2023
Ubuntu 20.04 Ubuntu 18.04
juju deploy mongodb --channel 6/stable
Show information

Platform:

Ubuntu
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