Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Passing credentials to DSC?

In many DSC modules, credentials are merely a single parameter (usually 'credentials'). In a completely native PS/DSC environment you can easily pass the username/password to this by just running something similar to $mycreds = get-credential to prompt first or create a PSCredential object by passing it a username password. Either way, you have _one_ parameter representing a username/password bundle if you will.

So ... Now that I've moved onto using Puppet, how can I pass a credential object through to DSC modules?