Docs Home → MongoDB Command Line Interface
mongocli atlas accessLists create
On this page
Create an IP access list for your project.
Syntax
mongocli atlas accessLists create <entry> [options]
Options
Name | Type | Required | Description |
---|---|---|---|
--comment | string | false | Optional description or comment for the entry. |
--deleteAfter | string | false | ISO-8601-formatted UTC date after which Atlas removes the entry from the entry. |
-h, --help | false | help for create | |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--projectId | string | false | Project ID to use. Overrides configuration file or environment variable settings. |
--type | string | false | Type of access list entry.
Valid values: cidrBlock|ipAddress|awsSecurityGroup (default "ipAddress") |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Auto generated by MongoDB CLI on 29-Jun-2021