add API on config to allow to use RPK without certifcate

I add an API to allow to configure scandium to be used with RPK without certificate.
The second commit, is more cosmetic, I think the code is clearer like that. 
setPrivateKey set both private and public key => setKey()?