How to ask for a reference

Et

From my current job without seeming ungrateful or stepping on toes. What's a good way to ask for a reference for a new job from my current one? I dont want to get in trouble or burn any bridges. Is there a nice and professional way to do this?