Method: Chef::DSL::Powershell#ps_credential

Defined in:
lib/chef/dsl/powershell.rb

#ps_credential(username = "placeholder", password) ⇒ Object

rubocop:disable Style/OptionalArguments



24
25
26
# File 'lib/chef/dsl/powershell.rb', line 24

def ps_credential(username = "placeholder", password) # rubocop:disable Style/OptionalArguments
  Chef::Util::Powershell::PSCredential.new(username, password)
end