Contents
You can use a pre-shared key (also called a shared secret or PSK) to authenticate the Cloud VPN tunnel to your peer VPN gateway. As a security best practice, we recommend that you generate a strong 32-character pre-shared key.
Go to Configuration > VPN > General > Tunnel Group. Select the tunnel group that applies to the VPN tunnel you want to change the pre-shared key for, and click the Edit button.
What is pre-shared key in VPN?

A pre-shared key is a Site-to-Site VPN tunnel option that you can specify when you create a Site-to-Site VPN tunnel. A pre-shared key is a string that you enter when you configure your customer gateway device.
Does pre-shared key mean?
A pre-shared key is basically just a shared secret or password that is used to authenticate an individual attempting to join a wireless network (no username or identification or than the key is required).

Pre-shared keys are limited to a maximum size of 64 bytes (512 bits)
We’ll teach you how to find the Pre-Shared Key in a few easy steps:
- Press the Win key on your keyboard.
- Type VPN.
- Click VPN settings.
- Select your secured VPN connection from the list.
- Click Advanced options.
- Press the Edit button.
- Select L2TP/IPsec with pre-shared key from the VPN type menu.
Can I change pre shared key?
To change the IKE pre-shared key You can modify the tunnel options for the Site-to-Site VPN connection and specify a new IKE pre-shared key for each tunnel. For more information, see Modifying Site-to-Site VPN tunnel options. Alternatively, you can delete the Site-to-Site VPN connection.
How do I encrypt a pre shared key?
To configure an encrypted preshared key, perform the following steps.
- SUMMARY STEPS.
- enable.
- configure terminal.
- key config-key password-encryption [text]
- password encryption aes.
Wi-Fi Protected Access Pre-Shared Key or WPA-PSK is a system of encryption used to authenticate users on wireless local area networks. It’s typically utilized by telecom companies for end user access in home local area networks.
How do I share a pre-shared key?
To share an encrypted item:
- Open the item which you want to share.
- Tap on the ⋮ menu > Select Share.
- Choose the fields which you want to share.
- Now you can select the name of recipient for which you created the PSK in advanced settings.
- Tap on Share, and Choose the medium through which you want to share your item.
How are pre-shared keys exchanged?
IKE peers authenticate each other by computing and sending a keyed hash of data that includes the pre-shared key. If the receiving peer is able to independently create the same hash using its pre-shared key, then it knows that both peers must share the same secret, thus authenticating the other peer.