Every simple complex Lie algebra $\mathfrak g$ has a unique (up to isomorphism) compact real form $\mathfrak k$. That is, $\mathfrak k$ is a real Lie algebra with negative definite Killing form, and $\mathfrak k\otimes_{\mathbb R}\mathbb C$ is isomorphic to $\mathfrak g$.
If $\mathfrak k$ is the Lie algebra of a compact Lie group $K$, then the representation $\mathfrak g$ of $K$ has a $K$-invariant Hermitian scalar product given by $$ (x,y)=\int_K\left\langle gx,gy\right\rangle dg $$ where $\left\langle-,-\right\rangle$ is the Killing form of $\mathfrak g$ and $dg$ is the Haar measure on $K$.
Question 0: are the above statements correct?
Question 1: is there a way to express the Hermitian scalar product $(-,-)$ on $\mathfrak g$ purely in Lie algebra terms, without referring to any Lie groups or Haar integration?