Get-PSUSecretVault
Get configured model-backed secret vault registrations, including Azure Key Vault registrations.
SYNOPSIS
Gets model-backed secret vault registrations.
SYNTAX
Get-PSUSecretVault [-Id <Int64>] [-Name <String>] [-ComputerName <String>] [-AppToken <String>]
[-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]DESCRIPTION
Get-PSUSecretVault returns vault registrations managed by PowerShell Universal, such as Azure Key Vault registrations created with New-PSUSecretVault. It does not enumerate legacy SecretManagement vaults defined in vaults.ps1.
EXAMPLES
Get-PSUSecretVault
Get-PSUSecretVault -Name 'Production Key Vault'
Get-PSUSecretVault -Id 1Use the returned vault object with Set-PSUSecretVault or Remove-PSUSecretVault.
PARAMETERS
-Id
Gets a registration by its numeric ID.
-Name
Gets a registration by name.
-ComputerName, -AppToken, -Credential, -UseDefaultCredentials, -Integrated, -TrustCertificate, -Cookies
Standard PowerShell Universal management connection parameters.
OUTPUTS
PowerShellUniversal.Vault
RELATED LINKS
New-PSUSecretVault
Set-PSUSecretVault
Remove-PSUSecretVault
PERMISSIONS
The access token requires platform.vaults/read to run this cmdlet remotely.
Was this helpful?