Replace the userinfo of a URL (https://user:secret@host/...) with ***, so a
credential in a base URL never reaches an error message, a log or CI output.
A value that does not parse is redacted by text (credentialsIn); a URL without
userinfo is returned unchanged.
Replace the userinfo of a URL (
https://user:secret@host/...) with***, so a credential in a base URL never reaches an error message, a log or CI output. A value that does not parse is redacted by text (credentialsIn); a URL without userinfo is returned unchanged.