Hello,
I can’t display the secrets in my script. I’ve tried many different ways, and the variables are always empty. Everything is OK in the variable parameters and in my Key Vault.

Below are my attempts
Write-Output $Yvar1 Write-Output $Secret:Yvar1 Write-Output $Yvar2 Write-Output $Secret:Yvar2 Write-Output $Secret:Yvar Write-Output $Secret:YvarCred.UserName Write-Output $Secret:YvarCred.Password
Can you help me? Thank you in advance.
Product: PowerShell Universal Version: 4.2.10
c5dc3b7a77e94350e7cc4846820d106355d771f2.png
93ddee05f406ebc49fa5d2c4bb96969cba83b78e.png