ybm network-allow-list

Manage account IP allow lists

This page documents the preview (v2.21) version. Preview includes features under active development and is for development and testing only. For production, use the stable (v2024.1) version.

Use the network-allow-list resource to perform operations on allow lists, including the following:

  • create and delete allow lists
  • get information about an IP allow list

Syntax

Usage: ybm network-allow-list [command] [flags]

Example

Create a single address allow list:

ybm network-allow-list create \
    --name=my-computer \
    --description="my IP address" \
    --ip-addr=$(curl ifconfig.me)

Commands

create

Create an allow list.

Flag Description
--name Required. Name for the IP allow list.
--description Description of the IP allow list.
If the description includes spaces, enclose the description in quotes (").
--ip-addr IP addresses to add to the allow list.

delete

Delete the specified allow list.

Flag Description
--name Required. Name of the IP allow list to delete.

list

List the allow lists configured for your account.

Flag Description
--name Name of an IP allow list.