Shouldn't xService SET the credential whenever it SETs? #766
Labels
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
Problem description
I can't find a way to rotate service credentials using xService
Suggested solution
It seems to me that the logic for credentials in xService should follow the pattern in xScheduledTask: if the credential is provided, set the credential. Presumably the Set only runs when Test fails, so it wouldn't result in restarting the service over and over or anything like that...
Alternatively, the resource needs to cache a hash for the username + password and update them if the hash changes. People can't change the username of their credential every time they want to change the password!
Operating system the target node is running
PowerShell version and build the target node is running
xPSDesiredStateConfiguration version
The text was updated successfully, but these errors were encountered: