I'm going to make an example for clarity.
Suppose you have a problem (you've been fired) that you don't want to tell anybody about, but you need help or a piece of advice to solve it. So, you decide to talk with a friend about it saying that this problem is not yours but a friend's. For instance:
'I know a friend who's struggling with money right now. You know, he's just been fired and doesn't know how to pay the bills.'
It is probable that the person who's listening knows that it's not about a friend, but that is irrelevant.
What I'd like to know is if there's a term--either a verb, noun, or expression--to refer to this kind of way of sharing a secret indirectly.