Key manager implemented with IO working.