summaryrefslogtreecommitdiff
path: root/op-mode-definitions/wireguard.xml
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/wireguard.xml')
-rw-r--r--op-mode-definitions/wireguard.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/wireguard.xml b/op-mode-definitions/wireguard.xml
index a7e156d8d..75fb05228 100644
--- a/op-mode-definitions/wireguard.xml
+++ b/op-mode-definitions/wireguard.xml
@@ -14,6 +14,12 @@
</properties>
<command>${vyos_op_scripts_dir}/wireguard_key.py --genkey</command>
</leafNode>
+ <leafNode name="preshared-key">
+ <properties>
+ <help>generate a wireguard preshared key</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/wireguard_key.py --genpsk</command>
+ </leafNode>
</children>
</node>
</children>
@@ -34,6 +40,12 @@
</properties>
<command>${vyos_op_scripts_dir}/wireguard_key.py --showpriv</command>
</leafNode>
+ <leafNode name="preshared-key">
+ <properties>
+ <help>show wireguard preshared key</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/wireguard_key.py --showpsk</command>
+ </leafNode>
</children>
</node>
<node name="interfaces">