mongocli atlas security ldap save
Save an LDAP configuration
Options
Name | Description |
---|---|
--authenticationEnabled | Specifies whether user authentication with LDAP is enabled |
--authorizationEnabled | Specifies whether user authorization with LDAP is enabled |
--authzQueryTemplate <authzQueryTemplate> | An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs |
--bindPassword <bindPassword> | Password used to authenticate the bindUsername |
--bindUsername <bindUsername> |
|
--caCertificate <caCertificate> | CA certificate used to verify the identify of the LDAP server |
--hostname <hostname> |
|
--mappingLdapQuery <mappingLdapQuery> | An LDAP query formatting template that inserts the authentication name matched by the match regex into an LDAP query URI encoded respecting RFC4515 and RFC4516 |
--mappingMatch <mappingMatch> | An ECMAScript-formatted regular expression (regex) to match against a provided username |
--mappingSubstitution <mappingSubstitution> | An LDAP distinguished name (DN) formatting template that converts the authentication name matched by the match regex into a LDAP DN |
--output, -o <output> | Output format. Valid values are json, json-path, go-template, or go-template-file |
--port <port> | Port to which the LDAP server listens to for client connections |
--projectId <projectId> | Project ID to use. Overrides the settings in the configuration file or environment variable |