Remove secret key and other private settings