You choose whether to cast the exiled card as The Key to the Vault’s triggered ability resolves. If you do, you do so as part of the resolution of that ability. You can’t wait to cast it later in the turn. Timing restrictions based on the card’s types are ignored.