New-PSUEnvironmentwith a wild card (*). If you are using your own environments, you will have to configure which variables you would like included. You can reference a variable like you would any other PowerShell variable. The variable will contain the value you set. If you use a secret, it will contain the secret's value.
Get-Secretcmdlet, it may cause performance issues when you have many secrets.