Support multiple identities in key protocol