GL Wireguard Client PrivateKey / PublicKey

I’m using an API to generate a Wireguard server and it requires me to enter the client Private Key and Public key - I can do this fine on Mac Wireguard client because it provides this info.

I can’t see this on GLinet though - would I define it in /config myself or is there some way to find this info?

I tried CLI wg pubkey < wg_private_key > wg_public_key and got some values which I’ve tried but won’t connect and works fine on Mac wireguard client

Is this the wrong method to get client private / public key for the wireguard client on the router? (I imagine it’s probably the correct method for openwrt but I know that this firmware is very customised)

You can get tthis information at /etc/config/wireguard_server