add tokens to config

This commit is contained in:
Bruno MATEU 2023-06-17 02:26:56 +02:00 committed by Robert Kaussow
parent a6d128d605
commit 27628c5cf0
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -135,6 +135,18 @@ class Config:
"file": True, "file": True,
"type": environs.Env().str "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": { "pve.auth_timeout": {
"default": 5, "default": 5,
"env": "PVE_AUTH_TIMEOUT", "env": "PVE_AUTH_TIMEOUT",