Let $A \in \mathcal{M}_n(\mathbb{C})$ such that $\text{rank} A = 1$. Prove that $$\det(X+A)=\det X+ \text{tr}(X^*A), \: \forall X \in \mathcal{M}_n(\mathbb{C})$$ where $X^*$ is the matrix such that $X \cdot X^*=\det X \cdot I_n$.
I know that for $2 \times 2$ matrices it is true that $\det(A+B)=\det A + \text{tr}(A^*B)+\det B$. Since in our problem the rank of $A$ is 1, this means that all its minors of order greater than 1 are zero and maybe we could get a formula similar to the one in the $2 \times 2$ case, but I don't know how to expand $\det(X+A)$.