Getting IPSec Connection Details
View the settings for a particular Site-to-Site VPN IPSec connection.
Use the network ip-sec-connection get command and required parameters to view the settings for a particular Site-to-Site VPN IPSec connection:
oci network ip-sec-connection get --ipsc-id ipsec-ocid ... [OPTIONS]
Use the network ip-sec-tunnel get command and required parameters to get information on a specified tunnel in the IPSec connection:
oci network ip-sec-tunnel get --ipsc-id ipsec-ocid --tunnel-id tunnel-ocid ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Use the network ip-sec-psk get command and required parameters to get the specified tunnel's shared secret (pre-shared key):
oci network ip-sec-psk get --ipsc-id ipsec-ocid --tunnel-id tunnel-ocid ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the GetIPSecConnection operation to view the settings for a particular Site-to-Site VPN IPSec connection.
This gets the specified IPSec connection's basic information, including the static routes for the on-premises router. If you want the status of the connection (whether it's up or down), use GetIPSecConnectionTunnel.