Several weeks ago I signed for a petition and a person asked me to consider to become a candidate for one of the districts of the city I live in.
Digging a little about what this involves, I found out that such a position requires full disclosure of important financial information (salary and other sources of income for the person and close relatives, account balances over a certain threshold, brief information about the house, car etc.).
However, several persons (managers and some HR people) emphasized the importance of keeping the salary confidential (i.e. not to discuss about it with any colleague). This is not an exception, as all other employers made the same request before.
The reasons behind such a request are not fully clear to me, but a recent survey revealed the salary is the most important factor in choosing a job (it becomes secondary only after 35, when work-life balance seems to matter more). So, I guess the employer is afraid of losing employers over such disclosure. Anyway, this is not the topic of this question.
As I have a very good relation with my employer (manager, colleagues, work-life balance), I am interested in a proper way to proceed if I am to consider the public position proposal.
Question: How to harmonize employer's request to keep the salary confidential with a law requiring its disclosure?
More context: developing country in Eastern Europe, within EU. This is just a personal perception, but most colleagues (current and from other companies I have worked for) seem to be highly sensitive about finding out that one is making more money than they do and they perceive them as "working less".