CrayonGroup / CloudiQ.PowerShell

A PowerShell module for managing Cloud-iQ, to help automate licensing and reporting.
https://crayongroup.github.io/CloudiQ.PowerShell/
GNU General Public License v3.0
4 stars 0 forks source link

Define scope and visibility for sensitive variables #10

Closed roberthstrand closed 4 years ago

roberthstrand commented 4 years ago

When dealing with variables that have sensitive information, we don't want the variable to be openly accessible. Setting the scope to private / script (depending on the specific case) and visibility to private, we make sure that it can only be used in that one context and that a user can't find a variable containing tokens and the likes.