Save the private key and instance tag in session storage.