Single sign-on
KubeDrive runs the credential plugin your kubeconfig names, as kubectl does. When the session behind it has ended, the cluster shows Log in, and one click runs the provider’s own sign-in:
| Plugin in kubeconfig | Log in runs |
|---|---|
aws eks get-token |
aws sso login (details) |
gke-gcloud-auth-plugin |
gcloud auth login, or gcloud auth application-default login when the plugin uses Application Default Credentials |
kubelogin --login azurecli |
az login, in the kubeconfig’s tenant |
kubelogin --login azd |
azd auth login |
kubelogin devicecode or interactive |
kubelogin itself |
kubectl oidc-login (Okta, Keycloak, Dex, Google, Entra ID) |
the plugin itself, which opens your browser |
tsh kube credentials |
tsh login to the kubeconfig’s proxy |
oci ce cluster generate-token --auth security_token |
oci session authenticate |
pinniped |
the plugin itself |
Device codes
A device code sign-in (kubelogin’s default) shows its code in KubeDrive, opens the sign-in page once and has a Copy code button.
Session state
Once a minute KubeDrive reads the CLIs’ files to tell an ended session in the cluster list: no
gcloud account, no az login in the tenant, no live oidc-login token, an expired OCI session. For
Teleport it asks tsh status. It reads tokens only for their expiry and never keeps them.
No button
Service principals, managed identities, workload identity and token plugins such as doctl get
no Log in button: no one signs in there.
The CLI must be installed and on your PATH; KubeDrive uses the PATH of your login shell.