layer >> vector mask >> reveal all.
choose the rounded rectangel shape tool.
In the taskbar at the top right change to the middle of 3 icons (paths).
Adjust the amount you want to round the edges.
Draw a rectangle, and it will draw a path shape within your vector layer mask