Generate wiregurad keys via HTTP-API fails
The request was from our documentation https://docs.vyos.io/en/latest/automation/vyos-api.html#generate
set service https api keys id key-01 key 'foo' set service https api socket
Try to generate wireguard key pair
vyos@r4# curl -k --location --request POST 'https://127.0.0.1/generate' \ > --form data='{"op": "generate", "path": ["wireguard", "default-keypair"]}' \ > --form key='foo' {"success": false, "error": "\n Invalid command: generate wireguard [default-keypair]\n\n", "data": null}[edit] vyos@r4#
It seems we don't have this path anymore
vyos@r4# run generate wireguard Possible completions: client-config Generate Client config QR code