* A key on a keyboard: This is made of plastic and metal, which are not good conductors of electricity.
* A key for a lock: This is typically made of metal, which is a good conductor of electricity.
So, the answer depends on which kind of "key" you are asking about.
In general, most metals are good conductors of electricity. This is why metal is used in electrical wiring and components.