File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -522,10 +522,18 @@ function Format-Token {
522
522
$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession
523
523
$session.Headers = $IdentityHeaders
524
524
$IdentityHeaders = [PSCustomObject ]@ {
525
- User = $IdentityUserName
526
- BaseURI = $PCloudTenantAPIURL
527
- ExternalVersion = $ExternalVersion
528
- WebSession = $session
525
+ User = $IdentityUserName
526
+ BaseURI = $PCloudTenantAPIURL
527
+ ApiURI = " https://$PCloudSubdomain .privilegecloud.cyberark.cloud"
528
+ ExternalVersion = $ExternalVersion
529
+ WebSession = $session
530
+ StartTime = $null
531
+ ElapsedTime = $null
532
+ LastCommand = $null
533
+ LastCommandTime = $null
534
+ LastCommandResults = $null
535
+ LastError = $null
536
+ LastErrorTime = $null
529
537
}
530
538
$IdentityHeaders.PSObject.TypeNames.Insert (0 , ' psPAS.CyberArk.Vault.Session' )
531
539
}
You can’t perform that action at this time.
0 commit comments