Are there any specific methods for hiding keys that are required for installing packages? I want to use Chocolatey to install an application to several servers. The installation command requires a secret key be used for installation.
chocolateyinstall.ps1 contains:
....
$silentArgs = '/S /V" /qn SECRETKEY=555444333"'
After the package is installed on the Windows server, Chocolatey leaves the chocolateyinstall.ps1 file on the computer. This contains the secret key that is used for installation. Are there any particular methods for hiding this key? I don't want users to be able to view this key. Should I script out a command to delete the chocolateyinstall.ps1 file or is that file used for updating software?