Getting an IPSec Tunnel's Details
Get configuration details for an IPSec tunnel in an IPSec connection.
When you successfully create the IPSec connection, Oracle produces important configuration information for each of the resulting IPSec tunnels. You can view that information and the status of the tunnels at any time. This includes the BGP status if the tunnel is configured to use BGP dynamic routing.
Use the network ip-sec-tunnel get command and required parameters to get configuration details for an IPSec tunnel:
oci network ip-sec-tunnel get --ipsc-id ipsec-ocid --tunnel-id tunnel-ocid ... [OPTIONS]
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 GetIPSecConnectionTunnel operation to get configuration details for an IPSec tunnel.
Run the GetIPSecConnectionTunnelSharedSecret operation to get the specified tunnel's shared secret (pre-shared key).