Adding a key manager