Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli atlas accessLists create

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options

Create an IP access list for your project.

mongocli atlas accessLists create <entry> [options]
Name
Type
Required
Description
entry
string
false
The IP address, CIDR address, or AWS security group ID of the access list entry to create.
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")
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Auto generated by cobra2snooty on 13-Jul-2021

←  mongocli atlas accessListsmongocli atlas accessLists delete →
Share Feedback