This is where you'll have to add the Generate Key button; you may need to extend the addField method or just get into the nitty gritty.