Values that need to be passed into the test execution context of a test typically get passed via "variables" in VSTS. These typically show up as environment variables.
These values may need to be kept secret (client secret from a service principal, password, etc). However, if you click the "lock" button in the VSTS Variables window for a given variable, it will not get exported into the test execution context as an environment variable (unlike non-secret variables), by design.
How do you pass secret variables and retrieve them in a test?