Secret Variables are not recognized in Automation Scripts

Hello,

My PSUSecretStore secret variables are not detected when calling scripts. They are not recognized by intellisense in the script editor or when the scripts are run.

The password is set in appsettings.json
The environment variables is set to *
We are using a separate SQL server
The variables have an entry in variables.ps1 -Type “System.String”

Product: PowerShell Universal
Version: 3.2.5

Thank you!

have you tried using the $secret scope ? ie $secret:myVar ?

That did it!! Thank you! I missed the documentation here.