macOS
brew install kubeloginlocal Homebrew formula metadata
安装
brew install kubeloginlocal Homebrew formula metadata
nix profile install nixpkgs#kubeloginnixpkgs package indexes · pkgs/by-name/ku/kubelogin/package.nix · 来源: api.github.com
sudo zypper install kubeloginopenSUSE Tumbleweed package metadata · kubelogin · 来源: download.opensuse.org
sudo apk add kubectl-oidc_loginAlpine Linux edge package indexes · kubectl-oidc_login · 来源: dl-cdn.alpinelinux.org
choco install kubeloginChocolatey community package catalog · kubelogin · 来源: community.chocolatey.org
scoop install extras/kubeloginScoop official bucket manifest trees · bucket/kubelogin.json · 来源: api.github.com
winget install --id int128.kubelogin -eWindows Package Manager source index · int128.kubelogin · 来源: cdn.winget.microsoft.com
概览
OpenID Connect authentication plugin for kubectl
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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-login可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
kubectl-oidc_login | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/int128/kubelogin
安装元数据
| 软件包键 | brew:kubelogin |
|---|---|
| 版本 | 1.36.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/kubelogin |
| 主页 | https://github.com/int128/kubelogin |
| 仓库 | https://github.com/int128/kubelogin |
| 上游文档 | https://github.com/int128/kubelogin/blob/master/README.md |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/int128/kubelogin/archive/refs/tags/v1.36.3.tar.gz |
| 最后更新 | 2026-07-19T06:34:43Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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_login来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.