Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

mikedougherty/dexctl-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dexctl-py

Python client for dexidp/dex

Requirements

  • Python3
  • Activated virtualenv for the project (e.g. virtualenv -p python3 venv; . venv/bin/activate)
  • Kubernetes config/context configured such that e.g. kubectl get secret works.
  • Dex (https://github.com/dexidp/dex) up and running and gRPC port accessible from your host.
  • gRPC certs for Dex on your filesystem (recommended paths: ca.crt, tls.crt, tls.key)

Setup/Hack

  1. pip install -r requirements.txt
  2. export PYTHONPATH=.
  3. bin/dexctl --help

Future development

  1. Tests!
  2. Allow fetching gRPC TLS from k8s
  3. Allow changing keys within the target secret where client ID and secret are stored
  4. More docs
  5. Package/publish?

About

Python client for dexidp/dex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages