TUI K8s
Overview#
Installing TUI and connecting to a Kubernetes installation.
-
Download jans-cli-tui from the release assets depending on your OS. For example:
wget https://github.com/JanssenProject/jans/releases/download/v1.1.6/jans-cli-tui-linux-ubuntu-X86-64.pyz
Now we have
jans-cli-tui-linux-ubuntu-X86-64.pyz
downloaded. -
Now we can grab the FQDN, client-id, client-secret, and connect using the following commands:
FQDN= #Add your FQDN here TUI_CLIENT_ID=$(kubectl get cm cn -n <namespace> --template={{.data.tui_client_id}}) TUI_CLIENT_SECRET=$(kubectl get secret cn -n <namespace> --template={{.data.tui_client_pw}} | base64 -d) #add -noverify if your FQDN is not registered python3 jans-cli-tui-linux-ubuntu-X86-64.pyz --host $FQDN --client-id $TUI_CLIENT_ID --client-secret $TUI_CLIENT_SECRET
Last update:
2024-09-27
Created: 2023-09-12
Created: 2023-09-12