Let $F$ be a totally real field of even degree and let $f$ be a Hilbert cusp form of level $\mathfrak{n}$ that is an eigenform for Hecke operators. Let $p$ be an odd prime number and $\mathfrak{p}$ a prime of $F$ above $p$. Let $\rho$ be a continuous representation associated to $f$ at $\mathfrak{p}$ (that satisfies properties on det and trace). Let $S$ be the set of primes of $F$ dividing $p\mathfrak{n}$ and $X_S$ the Galois group of the maximal abelian pro-$p$-extension of $F$ that is unramified outside $S$.
My question is whether possible to obtain information about the structure of the $\mathbb{Z}_p$-torsion of $X_S$ from the study of the image of $\rho$?
Thank you in advance for any comments.