What sort of videos? For Twitch streaming, the way to do is not have passwords on screen by having OBS only show a portion of the screen, with an extra terminal/whatever outside of the shared section (find a more in depth guide for details on how this works in detail/practice)

Redacting an area of the screen is easy with a bit of practice, even though the location of the password on screen may move, you just have to trace a path for the black box to move along. However, thattakes a bit of time unlike a hypothetical hide password with AI button.