# masked-key

#### Syntax

masked-key encryptedKey

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Specifies the encrypted form of the preshared key that the router uses in IKE negotiations. Once you enter a preshared key, the router encrypts the key and displays it in masked form to increase the security of the key. If you need to reenter the key, you can enter it in its masked form using this command. There is no no version. To delete a key, use the no version of the ipsec key manual command.

#### Options

- encryptedKey—Encrypted key value; to obtain this value, enter the unencrypted key using the key command in IPSec Manual Key Configuration mode, and then display the masked version of the key with the show configuration command

#### Mode

IPSec Manual Key Configuration