Skip to main content

dtctl vpn ipsec-policies

Usage​

dtctl vpn ipsec-policies

Aliases​

ip

Description​

Retrieve the IPSEC policies in the active project. An IPSEC policy defines phase-2 (data) crypto parameters.

Example​

dtctl vpn ipsec-policies

Response​

In text output (the default), this command returns the following columns: ID, Name, Description, Transform Protocol, Auth Algorithm, Encryption Algorithm, Encapsulation Mode, Lifetime, PFS, Project ID.

Pass --output json to get the full response object instead.

CommandDescription
dtctl vpn create-ipsec-policyCreate an IPSEC policy
dtctl vpn update-ipsec-policyUpdate an IPSEC policy
dtctl vpn delete-ipsec-policyDelete an IPSEC policy
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