I wasn't satisfied with using a screw and nut to secure the handle to the DIY lid I made for my hard anodized Olicamp cup, so I ordered a Tandy Leather rivet kit earlier this week. It was delivered today. The lid now looks like this:
The stud part of the rivet was longer than I needed, so I trimmed it with dykes before setting the head.
The rivet should be more secure in the long term than the screw and nut, and easier to clean if food gets on it.
I can see the rivet kit coming in handy for future projects.