Rogue has three keys (3)
I believe the answer is:
cad
'rogue' is the definition.
(I've seen this in another clue)
I don't understand how the remainder of the clue works.
Can you help me to learn more?
(Other definitions for cad that I've seen before include "A rotter, by Jove" , "One behaves dishonourably" , "An Englishman who behaves dishonourably, a rotter" , "That ain't no gentleman" , "he's no gent" .)