Dear Student,
If magnetic field due to a magnetic dipole at a distance 'r' from its center is perpendicular to the dipole moment of the magnet, then the direction of magnetic vector potential is the direction if we are in the cylindrical coordinate system .
Regards,
Manoj Singh.