You may find this approach convenient (not as convenient as a ready-made UI, but convenient all the same). 1. Create a Secured Environment variable in a pipeline and set the value to be the PAT 2. View the config.xml from the admin menu to get the encrypted token strong that will start with "AES:" 3. Use this as the encryptedpassword value for this remote material - set in the pipeline XML or the yaml. 4. You can "Test Connection" to the material from the material menu as well.
-- Sriram On Mon, May 27, 2024 at 11:15 PM Obiageli Adegbite <[email protected]> wrote: > Hello, > > i am currently using gocd v19.8.0 and i want to connect to my Azure repo. > When i put in my credentials in the advanced settings the username and > password(Personal Access Token(PAT)) and click connection it fails (pic1). > However if i put it same PAT in the repo url it works (pic2). The issue is > the PAT is exposed. I also cannot use aws secret manager to hide the PAT in > the repo url. If i don't want to use ssh is there something i am doing wrong > [image: pic1.png] > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/14651c28-7e39-45b3-946f-f4705830e134n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/14651c28-7e39-45b3-946f-f4705830e134n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CANiY96bzd12heKAb9gkGZ3X1PuPcH38HQwqX0k6AVWwMVx61sw%40mail.gmail.com.
