Depending on the alloy, the magnesium may not polish well. With the old magnesium rims like Halibrand or Ansen, they would polish well so you may want to search what people did with those. A 2 part epoxy would hold up, but might not look as polished. I know guys use lacquer a lot because it's shinier thin, but it doesn't hold up as well.