Hi Efee!
I'm not sure we need to translate literally "a door key"--> "clavis foris". Isn't "clavis" enough? I think, in this case, it is obvious it is "a door key"...
Anyway, I suggest:
Fides clavis foris domus Dei est.
-->Fides ad domum Dei clavis (foris) est.