Git credentials lost after sysprep
- From
- John Wilson <johnw@synaptrix.com>
- Date
- Apr 28, 2022, 17:02 UTC
- Message-ID
- <CA+o=yoqriRR15qYdHjWscLoc5UZWuhJwn9PSR8D-+s_XVsyRag@mail.gmail.com>
I have "worker" instances on AWS, windows unfortunately, that require me to sysprep a base instance before imaging it. This process removes saved git credentials. I want to use a scheduled task on startup to pull a repo to ensure the servers are always using the most current code without having to reimage them for every change. How can I store/use credentials, either standard or SSH, neither of which works now, so they persist?