List all secrets with plain text from a key vault
You just need to create a loop around secrets:
$q = Get-AzureKeyVaultSecret -VaultName 'xxx'$q.foreach{ Get-AzureKeyVaultSecret -VaultName $_.VaultName -Name $_.Name }.SecretValueText
With a newer version of Az modules.
To see both a name and value for each secret stored in the Azure KeyVault, you can try this out:
$secrets=Get-AzKeyVaultSecret -VaultName 'vaultName' $secrets | % {Write-Output "$($_.name) $($(Get-AzKeyVaultSecret -VaultName $_.VaultName -Name $_.Name).SecretValueText)" }