かぎではありませんでした
kagidewārimasendeshita

Noun
Desu Copula

The polite, past negative form of

1. It was not a key.

Past/Perfective
Negative
Polite
Formal Register