wireguard key generation utility
generate a wireguard keypair
${vyos_op_scripts_dir}/wireguard_key.py --genkey
generate a wireguard preshared key
${vyos_op_scripts_dir}/wireguard_key.py --genpsk
show wireguard public key
${vyos_op_scripts_dir}/wireguard_key.py --showpub
show wireguard private key
${vyos_op_scripts_dir}/wireguard_key.py --showpriv
show wireguard preshared key
${vyos_op_scripts_dir}/wireguard_key.py --showpsk
show wireguard interface information
sudo wg show "$4"
show all allowed-ips for the specified interface
sudo wg show "$4" allowed-ips
show all endpoints for the specified interface
sudo wg show "$4" endpoints
show all peer IDs for the specified interface
sudo wg show "$4" peers