{"id":19374719,"url":"https://github.com/gyselroth/kube-ldap-client-go-exec-plugin","last_synced_at":"2026-04-20T14:02:36.544Z","repository":{"id":35717778,"uuid":"191936339","full_name":"gyselroth/kube-ldap-client-go-exec-plugin","owner":"gyselroth","description":"A client-go credentials plugin for kube-ldap","archived":false,"fork":false,"pushed_at":"2022-12-22T11:24:29.000Z","size":477,"stargazers_count":2,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T15:33:11.040Z","etag":null,"topics":["kube-ldap","kubectl","kubectl-plugin","kubernetes","kubernetes-authentication","kubernetes-cluster","ldap-authentication"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gyselroth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-14T12:04:30.000Z","updated_at":"2021-01-26T16:51:09.000Z","dependencies_parsed_at":"2023-01-16T03:50:26.437Z","dependency_job_id":null,"html_url":"https://github.com/gyselroth/kube-ldap-client-go-exec-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gyselroth/kube-ldap-client-go-exec-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fkube-ldap-client-go-exec-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fkube-ldap-client-go-exec-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fkube-ldap-client-go-exec-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fkube-ldap-client-go-exec-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gyselroth","download_url":"https://codeload.github.com/gyselroth/kube-ldap-client-go-exec-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fkube-ldap-client-go-exec-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32050451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kube-ldap","kubectl","kubectl-plugin","kubernetes","kubernetes-authentication","kubernetes-cluster","ldap-authentication"],"created_at":"2024-11-10T08:35:58.211Z","updated_at":"2026-04-20T14:02:36.499Z","avatar_url":"https://github.com/gyselroth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kube-ldap-client-go-exec-plugin\n[![Build Status](https://travis-ci.org/gyselroth/kube-ldap-client-go-exec-plugin.svg)](https://travis-ci.org/gyselroth/kube-ldap-client-go-exec-plugin)\n [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA [client-go credentials plugin](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins) for [kube-ldap](https://github.com/gyselroth/kube-ldap), written in javascript.\n\n## Description\nThe kube-ldap-client-go-exec-plugin can be used to integrate kube-ldap-authentication in your kubectl.\nWhenever kubectl is invoked with a context configured to use this plugin, the plugin asks for username and password to get a kube-ldap-token and stores this token together with the tokens expiry date.\nOn subsequent invocations of kubectl the cached token is used unless the token is expired or rejected by the kubernetes apiserver (in which case it asks for username and password again).\n\n## Installation\nDownload the latest version of this plugin from the [releases page](https://github.com/gyselroth/kube-ldap-client-go-exec-plugin/releases) for your OS, rename it to `kube-ldap-client-go-exec-plugin` and place it in an executable path for your OS.\nE.g.:\n- Linux/OS X: `/usr/local/bin`\n- Windows: `c:\\windows\\system32`\n\n## Configuration\nTo make use of this plugin, alter the credentials of your context in your kubeconfig to use this plugin for authentication together with the corresponding url to your kube-ldap installation.\nE.g.:\n```yaml\n[...]\nusers:\n- name: your-cluster-kube-ldap\n  user:\n    exec:\n      command: kube-ldap-client-go-exec-plugin\n      args:\n      - \"https://your-kube-ldap-url\"\n      apiVersion: \"client.authentication.k8s.io/v1alpha1\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyselroth%2Fkube-ldap-client-go-exec-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgyselroth%2Fkube-ldap-client-go-exec-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyselroth%2Fkube-ldap-client-go-exec-plugin/lists"}