# Installer kubelogin avec Homebrew, chocolatey, Nix, zypper, scoop, winget, apk

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de kubelogin pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:kubelogin
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install kubelogin
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kubelogin
```

  Preuve: nixpkgs package indexes: pkgs/by-name/ku/kubelogin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install kubelogin
```

  Preuve: openSUSE Tumbleweed package metadata: kubelogin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- apk (92%):

```sh
sudo apk add kubectl-oidc_login
```

  Preuve: Alpine Linux edge package indexes: kubectl-oidc_login from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install kubelogin
```

  Preuve: Chocolatey community package catalog: kubelogin from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kindle'

- Scoop (92%):

```sh
scoop install extras/kubelogin
```

  Preuve: Scoop official bucket manifest trees: bucket/kubelogin.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id int128.kubelogin -e
```

  Preuve: Windows Package Manager source index: int128.kubelogin from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:kubelogin
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.36.3
- **Résumé source:** OpenID Connect authentication plugin for kubectl
- **Page d'accueil:** <https://github.com/int128/kubelogin>
- **Dépôt:** <https://github.com/int128/kubelogin>
- **Dernière mise à jour:** 2026-07-27T21:58:46+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- kubectl-oidc_login (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.36.3
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 2018-03-21: Public GitHub repository created
- 2021: Kubernetes v1.22 marked client-go credential plugins stable
- 2026-05-30: v1.36.2 release published
- 2026: README documented Homebrew, Krew, Chocolatey, and GitHub Releases installation paths

### Related projects

- Kubernetes client-go credential plugins provide the exec-plugin mechanism kubelogin implements.
- Krew distributes kubelogin as the oidc-login kubectl plugin.
- OpenID Connect and OAuth2 identity providers are the authentication systems kubelogin bridges into kubectl.

### Sources

- <https://api.github.com/repos/int128/kubelogin>
- <https://formulae.brew.sh/formula/kubelogin>
- <https://github.com/int128/kubelogin>
- <https://github.com/int128/kubelogin/releases>
- <https://kubernetes.io/docs/reference/access-authn-authz/authentication/>
- <https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## Configuration and credential file locations

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.


## Configuration files

- Unix: ~/.kube/config

## Credential files

- Unix: ~/.kube/cache/oidc-login
## Autres enregistrements de gestionnaires de paquets

- Nix - kubelogin: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubelogin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - kubelogin - 0.2.19-1.3: normalized package name match | openSUSE Tumbleweed package metadata: kubelogin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Kubernetes client credential plugin implementing Azure authentication | https://github.com/Azure/kubelogin
- Chocolatey - kubelogin: normalized package name match | Chocolatey community package catalog: kubelogin from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kindle'
- Scoop - extras/kubelogin: normalized package name match | Scoop official bucket manifest trees: bucket/kubelogin.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - int128.kubelogin: normalized package name match | Windows Package Manager source index: int128.kubelogin from https://cdn.winget.microsoft.com/cache/source.msix
- apk - kubectl-oidc_login - 1.35.2-r4: installed executable or alias match | Alpine Linux edge package indexes: kubectl-oidc_login from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | kubectl plugin for Kubernetes OpenID Connect authentication | https://github.com/int128/kubelogin


## Combined YAML source

View the package source record on GitHub. [combined/kubelogin.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kubelogin.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
