A useful utility for those who have forgotten the credentials of their IIS app pool
So we have a deployment process that uses Octopus, it's quite an old one, and needs breaking up. The main barrier to breaking up the process was a secret password in the project variables.
Octopus has a variable system, high-level library variables that can be used to share variables amongst all projects, and project scoped variables that are not so sharable. One of the drawbacks of Octopus is the inability to copy variables from a project to the library, or even between libraries. But that is another story.
Took me a while to get to here, and it was easier at first just to get a new set of service users. But if you’re stuck in the same situation, there is a simple solution here for you.
This does need admin access to the server to run, so its not quite the back door that it looks like.