Skip to content

TUI K8s

Overview#

Installing TUI and connecting to a Kubernetes installation.

  1. Download jans-cli-tui from the release assets depending on your OS. For example:

    wget https://github.com/JanssenProject/jans/releases/download/v1.1.4/jans-cli-tui-linux-ubuntu-X86-64.pyz

    Now we have jans-cli-tui-linux-ubuntu-X86-64.pyz downloaded.

  2. 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: 2023-11-02
Created: 2023-09-12