Plugin passwords

I figured it would be a good idea to hide passwords being entered in plugins. 1) Any comments on the implementation? 2) I'm not really familiar with S3, I take the secretKey is the only sensitive part?