Add support for keypair injection in controller instance