Added support for generating and listing keys to keymgr