Is there a preferred approach to resetting the Proget Admin password?
I am automating the Proget build and want to reset the Admin password at build time.
I see you can use the Proget.Service.exe to reset the password to defaults but not actually pass in your own secure password.
It seems there is an API documented below that lets you reset the password, but I am having issues with this as Invoke-RestMethod passes a JSON body to the API which is of type string, and the API expects type Bytes
Am I over thinking this, I'm hoping there is an easier way to set the proget admin password to something more secure
Common API reference snippet
Sets the password using "new Rfc2898DeriveBytes(plainTextPassword, 10, 10000)" in C#, with .GetBytes(20) for @Password_Bytes and .Salt for the @Salt_Bytes
User_Name (String)
Password_Bytes (Byte[])
Salt_Bytes (Byte[])
thanks