There is one point missing here, and it is a reasonable protection of the users. If someone by mistake copies real credentials (or other sensitive information) to Stack Overflow, they should of course change the credentials as soon as they find out, but also they should not be punished more than needed.
Even if no-one one misuses the information, and they immediately fix it (both by removing the sensitive information as well as by changing the credentials in the production system), the users still might be punished by their company just for the pure fact that it happened to them.
Stack Overflow should not serve as a platform through which our fellow programmers lose their job or have problems finding another. I don't think that the Stack Overflow mission is denouncing, or if you don't like the word, visualizing our mistakes to the whole world forever.
Hence there should be a simple mechanism (and maybe even some kind of a "right") to request removal of sensitive information from all the edit history, and do it without an unnecessary fuss.