Blend or smash up the garlic, chilis, lemongrass, kaffir lime leaves, ginger, and salt flakes to a paste
Fry the diced ham in sesame oil to render the fat and crisp up slightly
Add the paste and fry until fragrant
Add the diced red onion and cook down for a couple of minutes
Pour in honey, sugar, fish sauce, and vinegar
Reduce until the mixture becomes thick and jammy
Taste and adjust seasoning with more acid or sugar if needed
Transfer to a jar and store
