mongocli Atlas security LDAP salvar
Nesta página
Esta versão da documentação foi arquivada e não é mais suportada. Leia a documentação atual para saber como atualizar sua versão do MongoCLI.
Save an LDAP configuration.
Sintaxe
mongocli atlas security ldap save [options]
Opções
Nome | Tipo | Obrigatório | Descrição |
---|---|---|---|
--authenticationEnabled | false | Especifica se a autenticação do usuário com LDAP está habilitada. | |
--authorizationEnabled | false | Especifica se a autorização do usuário com LDAP está habilitada. | |
--authzQueryTemplate | string | false | An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. |
--bindPassword | string | true | The password used to authenticate the bindUsername. |
--bindUsername | string | true | The user DN that Atlas uses to connect to the LDAP server. |
--caCertificate | string | false | CA certificate used to verify the identify of the LDAP server. |
-h, --help | false | ajuda para salvar | |
--hostname | string | true | The hostname or IP address of the LDAP server. |
--mappingLdapQuery | string | false | 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 | string | false | An ECMAScript-formatted regular expression (regex) to match against a provided username. |
--mappingSubstitution | string | false | An LDAP distinguished name (DN) formatting template that converts the authentication name matched by the match regex into a LDAP DN. |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--port | int | false | The port to which the LDAP server listens for client connections. (default 636) |
--projectId | string | false | ID do projeto a ser usado. Substitui as configurações do arquivo de configuração ou da variável de ambiente. |
Opções herdadas
Nome | Tipo | Obrigatório | Descrição |
---|---|---|---|
-P, --profile | string | false | Perfil a ser usado no arquivo de configuração. |
Gerado automaticamente pela MongoDB CLI em 29-Jun-2021