Magnetic card key