The phrase “to be hand in glove” mean to be on such terms of intimacy that the relationship is almost that of the glove to the hand.
Literary usage dates back to 1678, but in those days and until late in the following century the phrase was “hand and glove,” a form rarely heard nowadays.