diff --git a/src/functions/New-Session.ps1 b/src/functions/New-Session.ps1 index 9fba4990..84a473f6 100644 --- a/src/functions/New-Session.ps1 +++ b/src/functions/New-Session.ps1 @@ -21,7 +21,7 @@ Note that this use case, SessionRefresh and SessionExpire are not supported .EXAMPLE - New-TssSession -SecretServer https://ssvault.com/SecretServer -Credential (Get-Credential apiuser) -Raw + New-TssSession -SecretServer https://ssvault.com/SecretServer -Credential (Get-Credential apiuser) A prompt to enter the password for the apiuser is given by PowerShell. Upon successful authentication the response from the oauth2/token endpoint is output to the console. @@ -32,6 +32,12 @@ Create a credential object Use the alias nts to create a session object + .EXAMPLE + $session = nts https://ssvault.com/SecretServer -UseWindowsAuth + + Create a session object utilizing Windows Integrated Authentication (IWA) + Use the alias nts to create a session object + .LINK https://thycotic-ps.github.io/thycotic.secretserver/commands/New-TssSession