In a network there may be users who have different keys that allow them different levels of access to the network. Key management is the process of generating, certifying, distributing, and revoking these keys. It is one of the most difficult of all security tasks.