fix(secrets): do not remove synchronized fields and readoly fields