Hi Mark If you are using HTTPS with user/pass currently you should be able to substitute a user account password in the dialog with a *personal access token* generated with appropriate access to your repos for GoCD to do its thing as before.
Alternatively, you can generate an SSH keypair to identify GoCD; make the keypair available in the appropriate place on the underlying server and agent operating system, and permission that public key on an account per normal. However I believe this approach requires GoCD to identify itself the same way across all repos it has access to unless you use various ssh config/clone uri hijinx to tell it which key to use for which repo. There's an example of this here <https://docs.gocd.org/current/faq/docker_container_ssh_keys.html>, however you can also mount the keys into the approach location with appropriate permissions from a Kubernetes Secret if you are running GoCD in K8S. This approach is probably a lot clunkier if you have lots of different agent types, and not sure if there is an easier way. -Chad On Thu, Jul 29, 2021 at 5:04 PM Mark Lavagne <[email protected]> wrote: > Hi everyone, > > Surprised it's not being discussed - GitHub is phasing out password auth. > Currently GoCD seems to support password auth only in Material config > dialog. Did anyone figured out how we can use key auth with GoCD? > > Thank you in advance > > Mark > > -- > 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/c81f3a29-d81b-41a7-a8e3-0c143adf0805n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/c81f3a29-d81b-41a7-a8e3-0c143adf0805n%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/CAA1RwH_cFyAVt4GCOymjh42MNabSW%3DRJeada_YZJTk3eqP1Xhg%40mail.gmail.com.
