Add regenerate key command.