jwt-to-rbac

JWT-to-RBAC lets you automatically generate RBAC resources based on JWT tokens

A new way for AI to search for data
View on GitHub
112GitHub stars
223commits on master
12forks
0.6.7latest release, 2026-09-25

Go 91.3%, Makefile 5.7%, Shell 1.3%, Mustache 1.3% · created 2019-01-25 · last push 2026-10-28

What XERJ indexed

Snapshot

58 files · 169.4 KB

Only charts/jwt-to-rbac, cmd, internal, pkg/rbachandler at commit 6fe6f207e9 (2026-09-25). master is 10 commits ahead.

Selected work

Peter Balogh
@pbalogh-sa

“validate ID token on SA token requests”. 11 files, 507 lines in internal/tokenapi, pkg/rbachandler, the project root.

Licence

The repository

Apache-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Apache-2.0, with credit

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

Inside the indexed corpus

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

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

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.