Wat is dit? means “What is this?” Use dit for something you are showing or pointing to.
De sleutel means the key. Use Dit is and a whole noun phrase to identify one object: Dit is de sleutel, Dit is het paspoort. The opening dit stays the same with both de and het nouns; keep the noun's own article.
Het paspoort is the passport, an official travel identity document. Keep het in the identifying noun phrase: Dit is het paspoort. The same independently used dit also works with de sleutel; do not choose the opening word by the article of the following predicate noun.