Keep in mind that even if Peter’s identity was outed, that doesn’t necessarily mean he would do it purposefully.
But it’s still not foolproof, and perhaps during the events of Spider-Man: Homecoming, Peter will take a cue from his comic book and decide to reveal his identity to the world.
Since he’s Tony Stark’s protege, he and his Aunt May would presumably be given proper protection from those who would want revenge against the Web-Slinger.
Thanks to that iconic mask of his (complete with adjustable eyes pieces in this continuity), Peter Parker stands a better chance of keeping his identity secret from the public from most heroes.