add expires as an optional arguments for GetPolicy