Get-VPASVaultDetails


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

GET VAULT DETAILS


Description:

USE THIS FUNCTION TO GET VAULT DETAILS


Syntax:

Get-VPASVaultDetails [[-token] <Hashtable>] [<CommonParameters>]


Parameters:

-token <Hashtable>
HashTable of data containing various pieces of login information (PVWA, LoginToken, HeaderType, etc).
If -token is not passed, function will use last known hashtable generated by New-VPASToken

Required: false
Position: 1
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug
ErrorAction, ErrorVariable, WarningAction, WarningVariable
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216)


Examples:

$VaultDetailsJSON = Get-VPASVaultDetails


Outputs:

If successful:
{
         "ServerName": "Vault",
         "ServerId": "0abc62de-5678-11fg-1234-00098765h835",
         "AuthenticationMethods": [
                 {
                         "Id": "windows",
                         "Enabled": true
                 },
                 {
                         "Id": "pki",
                         "Enabled": false
                 },
                 {
                         "Id": "cyberark",
                         "Enabled": true
                 },
                 {
                         "Id": "radius",
                         "Enabled": false
                 },
                 {
                         "Id": "ldap",
                         "Enabled": true
                 }
         ],
         "ApplicationName": "PasswordVault",
         "Features": {
                 "CredentialRotation": true
         }
}

$false if failed