Re: Authentication using federated identity

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 13/02/2024 09:35, Gilbert Netzer wrote:
we have not yet
found a good way to for example get a token, e.g. a SSH key or certificate,
in or out of the web-browser into the non-web part, for instance a SSH agent

Here's something I knocked together for my own use:

https://github.com/candlerb/vault-ssh-agent-login

You run this from the command line, and it talks to your local ssh-agent. If you don't have a suitable certificate already then it generates a new key pair, gets Vault to sign it, and then inserts the new key and cert into ssh-agent (set to expire when the cert expires).

If you're using Vault with OIDC auth then it opens a browser window for that part, similar to how kubelogin works.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux