The question contains a misunderstanding. Piano keys do not vibrate.
Pressing a key activates a hammer mechanism that strikes a string. The string vibrates to produce sound. Each note has its own string(s) (one for bass, two for tenor, three for treble) and dedicated hammer. The A key triggers the A hammer hitting the A string(s). Vibrations come from the stretched string, not the key itself.
The key is simply a lever—an interface between player and action.