macOS
brew install kubeloginlocal Homebrew formula metadata
brew
OpenID Connect authentication plugin for kubectl. Version 1.36.2 via Homebrew; verified 2026-05-30.
install
brew install kubeloginlocal Homebrew formula metadata
nix profile install nixpkgs#kubeloginnixpkgs package indexes · pkgs/by-name/ku/kubelogin/package.nix · source: api.github.com
sudo zypper install kubeloginopenSUSE Tumbleweed package metadata · kubelogin · source: download.opensuse.org
sudo apk add kubectl-oidc_loginAlpine Linux edge package indexes · kubectl-oidc_login · source: dl-cdn.alpinelinux.org
choco install kubeloginChocolatey community package catalog · kubelogin · source: community.chocolatey.org
scoop install extras/kubeloginScoop official bucket manifest trees · bucket/kubelogin.json · source: api.github.com
winget install --id int128.kubelogin -eWindows Package Manager source index · int128.kubelogin · source: cdn.winget.microsoft.com
overview
OpenID Connect authentication plugin for kubectl
history
int128/kubelogin is a kubectl plugin for Kubernetes OpenID Connect authentication, also known as kubectl oidc-login. It became important as Kubernetes client authentication moved toward exec credential plugins and as clusters increasingly delegated user login to OIDC identity providers.
The public GitHub repository was created on March 21, 2018. The README identifies kubelogin as a kubectl plugin for Kubernetes OIDC authentication and explains that it is designed to run as a client-go credential plugin.
The project tracks Kubernetes exec credential APIs and browser-based OIDC login flows. Its CLI can be invoked through kubectl plugin naming as kubectl oidc-login, and it stores token cache data in the filesystem by default with an option to use the system keyring.
kubelogin gained adoption because Kubernetes documented client-go credential plugins as a stable feature in Kubernetes v1.22. That mechanism lets kubectl and client-go execute an external command to receive user credentials for authentication protocols such as OAuth2 and SAML.
The README documents installation through Homebrew, Krew, Chocolatey, and GitHub Releases. The package also appears in apk, Nix, Scoop, winget, and zypper metadata in the batch input, showing that an authentication helper crossed from Kubernetes plugin culture into general OS package managers.
When kubectl runs, kubelogin opens a browser for the user to authenticate with an OIDC provider, obtains a token, and returns Kubernetes ExecCredential output for client-go. The kubeconfig user.exec stanza points to the plugin command and arguments.
The default token cache path documented by the README is ~/.kube/cache/oidc-login, and kubectl oidc-login clean deletes cached credentials so the next kubectl run starts a fresh browser login.
kubelogin is significant because it is both a kubectl plugin and a security-sensitive credential helper. Packaging matters here: users want a reproducible binary from Homebrew, Krew, Chocolatey, or distro packages because the tool participates directly in Kubernetes API authentication.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.kube/configCredential-bearing paths to review before unattended agent runs.
~/.kube/cache/oidc-loginexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
kubectl-oidc_login | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/int128/kubelogin
install metadata
| Package key | brew:kubelogin |
|---|---|
| Version | 1.36.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/kubelogin |
| Homepage | https://github.com/int128/kubelogin |
| Repository | https://github.com/int128/kubelogin |
| Upstream docs | https://github.com/int128/kubelogin/blob/master/README.md |
| License | Apache-2.0 |
| Source archive | https://github.com/int128/kubelogin/archive/refs/tags/v1.36.2.tar.gz |
| Last updated | 2026-05-30T14:48:58Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kubelogin |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
kubelogin
nix profile install nixpkgs#kubeloginkubelogin 0.2.18-1.1
Kubernetes client credential plugin implementing Azure authentication
https://github.com/Azure/kubelogin
sudo zypper install kubeloginkubelogin
choco install kubeloginextras/kubelogin
scoop install extras/kubeloginint128.kubelogin
winget install --id int128.kubelogin -ekubectl-oidc_login 1.35.2-r3
kubectl plugin for Kubernetes OpenID Connect authentication
https://github.com/int128/kubelogin
sudo apk add kubectl-oidc_loginsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.