kconnect is a CLI utility that can be used to discover and securely access Kubernetes clusters across multiple operating environments.
Based on the authentication mechanism chosen the CLI will discover Kubernetes clusters you are allowed to access in a target hosting environment (i.e. EKS, AKS, Rancher) and generate a kubeconfig for a chosen cluster.
Currently supported platforms: EKS, AKS, Rancher
- Authenticate using SAML, Azure Active Directory, AWS IAM, Rancher Token
- Discover clusters in EKS, AKS and Rancher
- Generate a kubeconfig for a cluster
- Query history of connected servers
- Regenerate the kubeconfig from your history by using an id or an alias
- Import defaults values for your company
Contributions are very welcome. Please read the contributing guide or see the docs.
For the SAML identity provider we rely heavily on the saml2aws project by Versent. For the Azure AD provider we have taken inspiration from the Microsoft Authentication Library for Go and have directly used their wstrust package (see pkg/azure/wstrust).
Thanks to both these projects for making the implementation easier.