Refactored password to secret and added docs