MongoDbUsers
- class aws_rfdk.MongoDbUsers(*, password_auth_users=None, x509_auth_users=None)
Bases:
object
This interface is for defining a set of users to pass to MongoDbPostInstallSetup so that it can create them in the MongoDB.
- Parameters:
password_auth_users (
Optional
[Sequence
[ISecret
]]) – Zero or more secrets containing credentials, and specification for users to be created in the admin database for authentication using SCRAM. See: https://docs.mongodb.com/v3.6/core/security-scram/ Each secret must be a JSON document with the following structure: { “username”: , “password”: , “roles”: } For examples of the roles list, see the MongoDB user creation documentation. For example, https://docs.mongodb.com/manual/tutorial/create-users/ Default: No password-authenticated users are created.x509_auth_users (
Optional
[Sequence
[Union
[MongoDbX509User
,Dict
[str
,Any
]]]]) – Information on the X.509-authenticated users that should be created. See: https://docs.mongodb.com/v3.6/core/security-x.509/. Default: No x.509 authenticated users are created.
Attributes
- password_auth_users
Zero or more secrets containing credentials, and specification for users to be created in the admin database for authentication using SCRAM.
See: https://docs.mongodb.com/v3.6/core/security-scram/
Each secret must be a JSON document with the following structure: { “username”: , “password”: , “roles”: }
For examples of the roles list, see the MongoDB user creation documentation. For example, https://docs.mongodb.com/manual/tutorial/create-users/
- Default:
No password-authenticated users are created.
- x509_auth_users
//docs.mongodb.com/v3.6/core/security-x.509/.
- Default:
No x.509 authenticated users are created.
- Type:
Information on the X.509-authenticated users that should be created. See
- Type:
https