From 27628c5cf0e00399d0ca9567a109647ab765c203 Mon Sep 17 00:00:00 2001 From: Bruno MATEU Date: Sat, 17 Jun 2023 02:26:56 +0200 Subject: [PATCH] add tokens to config --- prometheuspvesd/config.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/prometheuspvesd/config.py b/prometheuspvesd/config.py index 492bdee..be45ee6 100644 --- a/prometheuspvesd/config.py +++ b/prometheuspvesd/config.py @@ -135,6 +135,18 @@ class Config: "file": True, "type": environs.Env().str }, + "pve.token_name": { + "default": "", + "env": "PVE_TOKEN_NAME", + "file": True, + "type": environs.Env().str + }, + "pve.token_value": { + "default": "", + "env": "PVE_TOKEN_VALUE", + "file": True, + "type": environs.Env().str + }, "pve.auth_timeout": { "default": 5, "env": "PVE_AUTH_TIMEOUT",