I can‘t to find anywhere, how to separate sensitive values from not sensitive during deployment. I know how to check from API if variable is sensitive, but how to do from deployment side? Because $OctopusParameters is like hash table. Is there the only solution to access from API?
Thanks for getting in touch. Unfortunately, you are correct. The only way to see if a variable is sensitive is via the Octopus API as you’ve already discovered. The ‘OctopusParameters’ collection is a simple dictionary, collection of key value pairs, so it doesn’t provide any additional information.