Update notes for submitted changes

* Refactor the getSecret() method to use several private methods.