Using the secrets management module to create a vault, store some credentials and then using $PSDefaultParameterValues to set credentials on a specified set of cmdlets.

Example usage: The Jenkins module by PlaugeHO