If you queue through the random dungeon finder, no key is needed. You simply become eligible at the appropriate level.
To enter a specific heroic on your own or with your own group, you need the key from the relevant faction vendor, available at Honoured reputation or better:
Build reputation with those factions and the keys are yours.