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.
Related Commands
| Command | Description |
|---|---|
| dtctl vpn create-ipsec-policy | Create an IPSEC policy |
| dtctl vpn update-ipsec-policy | Update an IPSEC policy |
| dtctl vpn delete-ipsec-policy | Delete an IPSEC policy |
| dtctl vpn ipsec-policy-details | Show an IPSEC policy |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |