Permission to celebrate a marriage secretly entails the following: 1/ the investigations which must be conducted before the marriage are done secretly; 2/ the local ordinary, the one assisting, the witnesses, and the spouses observe secrecy about the marriage celebrated.
Source: Code of Canon Law (Vatican.va)