threads / discuss / 57811

Git credentials lost after sysprep

Subject: Git credentials lost after sysprep

## tl;dr

One message between Apr 28, 2022 and Apr 28, 2022.

replies: 0people: 1as markdown or json

John Wilson· Apr 28, 2022, 17:02 UTC · lore

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?

← back to recent threads