summaryrefslogtreecommitdiffstats
path: root/extras/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/config.py')
-rw-r--r--extras/config.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/extras/config.py b/extras/config.py
new file mode 100644
index 0000000..5056cc3
--- /dev/null
+++ b/extras/config.py
@@ -0,0 +1,14 @@
+import os
+import platform
+
+python_version = "python" + platform.python_version_tuple()[0] + "." + platform.python_version_tuple()[1]
+
+KUKSA_CONFIG = {
+ "ip": 'localhost',
+ "port": "8090",
+ 'protocol': 'ws',
+ 'insecure': False,
+}
+
+TOKEN_PATH = os.path.join(os.path.expanduser("~"),
+ f".local/lib/{python_version}/site-packages/kuksa_certificates/jwt/super-admin.json.token") \ No newline at end of file