Game version

Hallowed Key in Terraria

Terraria item ID 1536. Terraria 1.4.5.7.

Biome Keys are Hardmode items used to open the Biome Chests in the Dungeon. Opening a Chest consumes the key. Though unusable until Plantera is defeated, they can be dropped at any time during Hardmode. Each key has a 1/2500 (0.04%) chance of dropping from an enemy in the key's respective biome. Any enemy in the biome that drops coins, except Meteor Heads, when killed has a chance of dropping a key, not just biome-exclusive enemies. Additionally, enemies in hybrid biomes have a chance to drop any key from their composite biomes.

What Hallowed Key is used to craft

Description from the Terraria Wiki.

Dungeon Guardian: Terraria crafting trees for every item