Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

How to have flux authenticate with github.com using a SSH CA signed keypair #3332

Closed
jbilliau-rcd opened this issue Oct 16, 2020 · 1 comment
Assignees

Comments

@jbilliau-rcd
Copy link

So I used this article: https://github.blog/2019-08-14-ssh-certificate-authentication-for-github-enterprise-cloud/ to generate a SSH CA, then used that CA to sign my SSH keypair. I now have a flux-cert.pub, which is a different format than a private key obviously. Has anyone had any experience in using one of these to authenticate flux with Github? Effectively, how do I use a CA-signed certificate instead of a traditional keypair? It looks like this:

ssh-ed25519-cert-v01@openssh.com ofewnfowebnfuefiuwebfiuewbfiuwbfieuwbiuewbfweiubfiuefbewibfewiubfeiuybfeifiwebfebfiwebfibiweybfwefie flux@github.com

@kingdonb kingdonb self-assigned this Feb 12, 2021
@kingdonb
Copy link
Member

If you weren't able to find documentation supporting this feature, then I surmise it is simply not supported.

Flux v2 has more explicit and detailed documentation around creating secrets and which secrets can be used:

https://toolkit.fluxcd.io/cmd/flux_create_secret_git/

If you are still struggling with this, please feel free to come by the #flux slack channel on CNCF slack and ask about it. Or welcome to open a discussion on the Flux 2 Discussions board, which is where Q&A is going for more persistent discussions now.

There is no new feature work in Flux v1, as we are in maintenance mode. We hope you can upgrade to Flux v2 and join us where all the action is happening. Thanks for using Flux!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants