Hello,
I use PSU on LXC with Debian 10.
I try to create endpoint and read variable with PSCredential from PSUSecretStore vault.
I use this code to read variable:
New-PSUApiResponse -StatusCode 200 -Body "Test env $poshcred"
Unfortunately i recieve an empty value from variable.
When i try to read secret “poshcred” directly from PSUSecretStore vault, i get exatly the value that i stored in the variable.
Can you please expain what is a problem with reading variable value in endpoint?
Product: PowerShell Universal
Version: 3.2.7
PS version 7.2.6
OS Version Debian 10