# int128/kubelogin

kubectl plugin for Kubernetes OpenID Connect authentication (kubectl oidc-login)

Repository: https://github.com/int128/kubelogin
Canonical: https://ross.abutalabs.com/products/kubelogin
Language: Go
License: Apache-2.0
License Family: permissive
Topics: kubernetes, kubectl, openid-connect, oidc, golang, kubectl-plugins
Last push: 2026-08-22T20:43:35+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 81, longevity 100
- inputs: {"age_days": 3087, "days_push": 11, "days_rel": 45, "gap_med": 41.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2351, forks 243 (observed 2026-08-28T04:06:40.360647+00:00)

## What it is
kubelogin is a kubectl plugin (kubectl oidc-login) for Kubernetes OpenID Connect authentication, running as a client-go credential plugin. It opens a browser for login, obtains ID and refresh tokens from the OIDC provider, and passes credentials to kubectl for API access.

## Use cases
- authenticate kubectl with an OIDC provider like Google Identity Platform or Okta
- log in to Kubernetes clusters via browser-based SSO
- cache and refresh OIDC tokens for kubectl sessions
- set up client-go credential plugin authentication in kubeconfig
- replace static kubeconfig credentials with OIDC-based auth
- manage Kubernetes access for teams using an identity provider

## When to choose
- your Kubernetes API server uses OIDC authentication
- you want browser-based SSO login for kubectl
- you need token caching and refresh across kubectl invocations
- you use an identity provider like Google, Okta, or Keycloak for cluster access

## When to avoid
- your cluster uses certificates, static tokens, or cloud IAM (e.g., aws-iam-authenticator) instead of OIDC
- you need server-side OIDC proxying rather than client credential plugins
- you are not using kubectl to access the cluster

## Facets
- artifact type: cli-tool
- maturity: active
- function: auth, cli, security
- domain: developer-tools, security, cloud-computing
- platform: cli, cross-platform, windows
- tags: kubernetes, kubectl-plugin, oidc, openid-connect, client-go-credential-plugin, authentication, sso, devops, macos, linux

## Member repositories
- int128/kubelogin (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.360647+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:54.704613+00:00, confidence not recorded.
  - readme: https://github.com/int128/kubelogin (fetched 2026-08-28T04:06:40.360647+00:00, sha 5b9cabb7a482)
- Data as of 2026-08-30T08:39:29.467469+00:00.
