interface MongoDbUsers
| Language | Type name |
|---|---|
Python | aws_rfdk.MongoDbUsers |
TypeScript (source) | aws-rfdk » MongoDbUsers |
This interface is for defining a set of users to pass to MongoDbPostInstallSetup so that it can create them in the MongoDB.
Properties
| Name | Type | Description |
|---|---|---|
| password | ISecret[] | Zero or more secrets containing credentials, and specification for users to be created in the admin database for authentication using SCRAM. |
| x509 | Mongo[] | Information on the X.509-authenticated users that should be created. See: https://docs.mongodb.com/v3.6/core/security-x.509/. |
passwordAuthUsers?
Type:
ISecret[]
(optional, default: No password-authenticated users are created.)
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":
For examples of the roles list, see the MongoDB user creation documentation. For example, https://docs.mongodb.com/manual/tutorial/create-users/
x509AuthUsers?
Type:
Mongo[]
(optional, default: No x.509 authenticated users are created.)
Information on the X.509-authenticated users that should be created. See: https://docs.mongodb.com/v3.6/core/security-x.509/.

Python
TypeScript (