Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

create

Create a new flexi security in your project. This command allows you to define and create a new flexi security.

Usage

cldkctl flexi security create [flags]

Aliases

create, add, new

Steps

Follow the steps below to run and view the result of this command:

Interactive Mode

  1. Run the following command in your terminal:

cldkctl flexi security create -i 
  1. Enter the security name and description.

  1. Select the instances to which the security group will be applied.

  1. Choose whether to add an inbound rule.

  1. Choose whether to add an outbound rule.

  1. Confirm the security group creation.

  1. Once completed successfully, the terminal displays the success message.

Non-Interactive Mode

  1. Provide all required values using command flags.

  2. Add --auto-confirm or -y to skip confirmation prompts in non-interactive mode.

  3. Run the command in your terminal.

  4. Once completed successfully, the terminal displays the success message.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Shorthand
Default
Description

--auto-confirm

-y

false

Skip confirmation prompt in non-interactive mode

--description string

Security group description

--help

-h

Help for the create command.

--interactive

-i

false

Force interactive TUI mode

--name string

-n

Security group name (required in non-interactive mode)

--port-ids string

Comma-separated instance port IDs to apply

--rule-description string

Rule description

--rule-direction string

Rule direction: ingress or egress

--rule-ethertype string

IPv4

Rule ethertype: IPv4 or IPv6

--rule-port-max string

Rule port range max

--rule-port-min string

Rule port range min

--rule-sources string

0.0.0.0/0

Rule sources (CIDR)

--rule-type string

SSH

Rule type: SSH, HTTP, HTTPS, Custom TCP Rule, Custom UDP Rule, All ICMP Rule

Last updated