on condition of anonymity
idiomDefinition of on condition of anonymity
: only if one's name will not be revealed
She agreed to speak to the reporter only on condition of anonymity.