Multiple wireguard private keys

I’m trying to set up per interface private keys for wireguard. This article provides instruction/syntax for it, however the commands are not available in my installation which is 1.2.8. Should they be there, or is that for a later version? If so which version?

I also followed guidance from another post i found on google that said generated key pairs could be added as files, but i can’t find that post right now, however when i did that it removed the whole wireguard config and ended up having to rollback the VM.


It starts since 1.3:

vyos@r1:~$ generate wireguard named-keypairs foo
vyos@r1:~$ sudo ls /config/auth/wireguard/foo/
private.key  public.key