secrets: Redact GitCredentials/password in AWSCODECOMMIT config
Created by: ryanslade
Previously we were only redacting the secret key.
This change also alters our redaction code so that we can deal with keys that are more than one level deep and updates some comments.