howto/vyos1.4.x.md
... ...
@@ -110,7 +110,15 @@ generate pki wireguard key-pair
110 110
Private key: SOoPQdMdmXE3ssp0/vwwoIMhQqvcQls+DhDjmaLw03U=
111 111
Public key: ArkXeK1c0pCWCouePcRRBCQpXfi4ZIvRFFwTxO60dxs=
112 112
```
113
-_In any case you'll have to take note of the generated keys, because they won't be saved into the system after generation and you'll need them later. The public key will be shared with your peers. Keep secret the secret key!_
113
+To retrieve keys later
114
+```
115
+show wireguard keypairs pubkey [key name]
116
+
117
+Example:
118
+show wireguard keypairs pubkey default
119
+ArkXeK1c0pCWCouePcRRBCQpXfi4ZIvRFFwTxO60dxs=
120
+```
121
+
114 122
### Configure First Peer
115 123
```
116 124
set interfaces wireguard wg1234 description 'ASnnnnnnn - My First Peer'