I really hope I'm missing something here - because I'm starting to love Chef, but some pieces feel extremely stupid.
I have a process (service) that runs under specific credentials. Those credentials (user / password) were typed in once upon installation of the service and are not visible to humans anymore. I want that process to be able to run the following knife command:
# Go kick the nodes and tell them to update now.
knife winrm "role:Xyz" "chef-client"
I don't want to have the password written down or the user name. I want this to run under my current context, just like if I browsed to a UNC path in explorer \\ABC\DEF
<-- Windows is 'smart enough' to know who I am and negotiate my credentials.
Another example is when my service connects to SQL Server. I can choose not to include a username/password, but to simply have the credentials of the application passed along.
Surely Chef doesn't require hard coding admin passwords all over the place. Please help.