I'm both a developer and a security consultant, both jobs deal with this problem. Being a security person, you go from being a no-one until something happens, then every eye is on you. And with the dev side, I work mostly on backend, so my work goes unnoticed always, the frontend dev gets all the credit, no matter how many thousands lines of code I commit, if something looks prettier or just works it's because of the frontend dev.
There's two choices, you either don't give a flying fuck and deal with it, or you go as loud as you can to make yourself visible beforehand and try to get credit for your work, your choice.
There's two choices, you either don't give a flying fuck and deal with it, or you go as loud as you can to make yourself visible beforehand and try to get credit for your work, your choice.