load instance credentials from userdata