New-VPASToken
Synopsis:
GET CYBERARK LOGIN TOKEN |
Description:
USE THIS FUNCTION TO AUTHENTICATE INTO CYBERARK VIA ONPREM/PCLOUD STANDARD (RADIUS, CYBERARK, WINDOWS, SAML, LDAP, AUTHTOKEN) OR ISPSS (CYBERARK, OAUTH, AUTHTOKEN) |
Syntax:
New-VPASToken [-PVWA] <String> [-AuthType] <String> [[-creds] <PSCredential>] [[-HideAscii]] [[-NoSSL]] [[-InitiateCookie]] [[-IDPLogin] <String>] [[-IdentityURL] <String>] [[-AuthToken] <String>] [[-EnableTextRecorder]] [[-HideWarnings]] [[-IdentityOnly]] [<CommonParameters>] |
Parameters:
-PVWA <String> |
-AuthType <String> |
-creds <PSCredential> |
-HideAscii [<SwitchParameter>] |
-NoSSL [<SwitchParameter>] |
-InitiateCookie [<SwitchParameter>] |
-IDPLogin <String> |
-IdentityURL <String> |
-AuthToken <String> |
-EnableTextRecorder [<SwitchParameter>] |
-HideWarnings [<SwitchParameter>] |
-IdentityOnly [<SwitchParameter>] |
<CommonParameters> |
Examples:
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType radius |
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType cyberark |
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType windows |
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType ldap |
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType authtoken -AuthToken {AuthToken VALUE} |
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType saml -IDPLogin {IDPLogin URL} |
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType ispss_oauth -IdentityURL {IdentityURL URL} |
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType ispss_cyberark -IdentityURL {IdentityURL URL} |
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType ispss_cyberark -IdentityURL {IdentityURL URL} -EnableTextRecorder -IdentityOnly |
$token = New-VPASToken -PVWA {PVWA VALUE} -AuthType ispss_authtoken -IdentityURL {IdentityURL URL} -AuthToken {AuthToken VALUE} |
Outputs:
If successful: |
$false if failed |