Leaders are not concerned with taking personal credit for success.
Others may grab credit to justify or reaffirm their necessity to their boss, co-workers, or those working for them. In extreme cases, credit hijackers operate from extreme insecurity, not letting a good thing happen around them without trying to squirm into a position to get some.
When faced with flattery or confronted with their own role in a glowing success, a leader will underline the shared nature of winning, and point out the value delivered by others.
When it comes to credit and leadership, giving is greater than receiving, and humility is common among the best.
What is your relationship to getting / giving / taking credit?