Let $\mathfrak{g}$ be a Lie algebra over a field $k$, and let $U(\mathfrak{g})$ be its universal enveloping algebra. $\mathfrak{g}$ is canonically embedded in $U(\mathfrak{g})$; identify it with its image there. Fixing (totally standard) notation, let
$$Z(\mathfrak{g}) = \{x\in \mathfrak{g}\mid [x,y]=0,\forall y\in\mathfrak{g}\}$$
be the center of $\mathfrak{g}$ (as a lie algebra) and let
$$Z(U(\mathfrak{g})) = \{f\in U(\mathfrak{g}) \mid fg = gf,\forall g\in U(\mathfrak{g})\}$$
be the center of $U(\mathfrak{g})$ (as an associative algebra). The canonical embedding of $\mathfrak{g}$ in $U(\mathfrak{g})$ also embeds $Z(\mathfrak{g})$ in $Z(U(\mathfrak{g}))$. Here is my question:
Is it the case that $Z(U(\mathfrak{g}))$ is generated as an associative $k$-algebra by $Z(\mathfrak{g})$? What's the proof?
Intuitively I believe that it should, and I have verified this by hand with an ad-hoc calculation in the special cases that $\mathfrak{g}$ is (1) the nonabelian 2-dimensional lie algebra over $\mathbb{C}$, and (2) the Heisenberg algebra. While my calculation "feels" a little general, I haven't been able to eke the general argument out of it.
Thanks in advance for your thoughts.