Credentials

A special type of variable is the credential. Credentials contain not one but two values: a username and a password. Credentials are treated as secrets everywhere they are used. This means that they will not appear in logs and that they have to be retrieved using a specific PowerShell syntax:

$myCredential = Get-AutomationPSCredential -Name 'MyCredential'

After executing this command, the myCredential object can be used to retrieve both the username and password.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.203.172