jwt-to-rbac
JWT-to-RBAC lets you automatically generate RBAC resources based on JWT tokens
What XERJ indexed
Snapshot
Only charts/jwt-to-rbac, cmd, internal, pkg/rbachandler at commit 6fe6f207e9 (2026-09-25). master is 10 commits ahead.
Selected work

“validate ID token on SA token requests”. 11 files, 507 lines in internal/tokenapi, pkg/rbachandler, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-16. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
kubernetesrbacjwtdexauthnauthz
Example questions
- How does jwt-to-rbac implement kubernetes?
- Where does jwt-to-rbac handle “validate ID token on SA token requests”?
- What does internal/tokenapi do in jwt-to-rbac?
Inside the indexed corpus
- 58 files, 169.4 KB in total, about 2.9 KB per file.
- The selected commit changed 11 of those files (19.0%).
- Languages by size: Go 91.3%, Makefile 5.7%, Shell 1.3%, Mustache 1.3%, Dockerfile 0.5%.
- On GitHub since 2019-01-25, last push 2026-10-28, 223 commits on master.
- The pin is 10 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for banzaicloud/jwt-to-rbac on 2026-10-31, and the LICENSE file at commit 6fe6f207e9 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Peter Balogh (@pbalogh-sa) has 1 selected repository on the hub.
Using XERJ with jwt-to-rbac
- Search text across Kubernetes pod logs from many pods jwt-to-rbac is tagged kubernetes on GitHub.
- Find every place a config key is set in a repo
- Batch lookup CVE and GHSA IDs offline in one query The hub files it under Security and vulnerabilities.
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones banzaicloud/jwt-to-rbac at the pinned commit and indexes it on your machine.
Search the GitHub repository banzaicloud/jwt-to-rbac with XERJ (https://hub.xerj.org/corpus/banzaicloud--jwt-to-rbac). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/banzaicloud/jwt-to-rbac jwt-to-rbac && git -C jwt-to-rbac checkout 6fe6f207e9d10584d8be4c8b2d0651aeaf393928 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./jwt-to-rbac --url http://127.0.0.1:9200 --prefix jwt-to-rbac --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Peter BaloghSecurity and vulnerabilities corporaharborcri-oglasskubekaaval/kaavalkubepattern/kubepatternkubescape/kubevuln
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.