mongocli atlas accesslists create

Create an IP access list for your project

Options

NameDescription
--comment <comment>Optional description or comment for the entry
--currentIpFlag that indicates whether to use the IP Address from the host that is currently executing the command. Only applicable for type ipAddress entries. To learn more, see: https://docs.mongodb.com/mongocli/master/command/mongocli-atlas-accessLists-create/
--deleteAfter <deleteAfter>ISO-8601-formatted UTC date after which Atlas removes the value from the entry
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--type <type>Type of access list entry. Valid values are cidrBlock, ipAddress, or awsSecurityGroup