...
- A credentials object is forwarded to the JobScheduler Master should authentication be required.
- This operation can be carried out at any time and is valid starting from the next request that is sent to the JobScheduler Master.
- The credentials object that can be created e.g. by
$credentials = ( New-Object -typename System.Management.Automation.PSCredential -ArgumentList 'account', ( 'password' | ConvertTo-SecureString -AsPlainText -Force) )
- Technically this allows to store the
account
andpassword
in a script which is not recommended for compliance reasons.
Set-Credentials
without parameters removes an existing credentials object from being forwarded for web requests.
Specifying credentials on-the-fly
...