Skip to main content

dtctl vpn update-ipsec-policy

Usage​

dtctl vpn update-ipsec-policy [flags]

Aliases​

uip

Description​

Update an existing IPSEC policy's parameters. When changing the lifetime value, also pass --lifetime-units.

Example​

dtctl vpn update-ipsec-policy --vpn-id <vpn-id> --ipsec-policy-id <ipsec-id> --lifetime-units seconds --lifetime-value 7200

Flags​

OptionDescription
--auth-algorithm, -aAuthentication algorithm
--description, -dDescription
--encapsulation-mode, -mEncapsulation mode
--encryption-algorithm, -eEncryption algorithm
--ipsec-policy-id, -kIPSEC policy ID (required)
--lifetime-units, -uLifetime units
--lifetime-value, -lLifetime value
--name, -nIPSEC policy name
--pfs, -pPFS group
--transform-protocol, -tTransform protocol
--vpn-id, -iVPN ID (required)
CommandDescription
dtctl vpn create-ipsec-policyCreate an IPSEC policy
dtctl vpn delete-ipsec-policyDelete an IPSEC policy
dtctl vpn ipsec-policiesList IPSEC policies
dtctl vpn ipsec-policy-detailsShow an IPSEC policy

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text