mongocli iam organization apikeys accesslists create
Create an IP access list for your API Key
Options
Name | Description |
---|---|
--apiKey <apiKey> |
|
--cidr <cidr> | Whitelist entry in CIDR notation to be added for a given API key |
--ip <ip> | IP address to be allowed for a given API key |
--orgId <orgId> | Organization ID to use. Overrides the settings in the configuration file or environment variable |
--output, -o <output> | Output format. Valid values are json, json-path, go-template, or go-template-file |