From ef5958dc145a806bf5515f1ef2927fde57dc8548 Mon Sep 17 00:00:00 2001 From: bboerni2 <93215657+bboerni2@users.noreply.github.com> Date: Tue, 30 Sep 2025 11:47:51 +0200 Subject: [PATCH] dsa --- configuration/plugins.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configuration/plugins.py b/configuration/plugins.py index f439f59..b04d8cb 100644 --- a/configuration/plugins.py +++ b/configuration/plugins.py @@ -1,3 +1,5 @@ +import os + PLUGINS = [ "netbox_topology_views", "netbox_lifecycle", @@ -16,8 +18,8 @@ PLUGINS_CONFIG = { "sync_asset_tag_to_device": True, }, "netbox_diode_plugin": { - "diode_target_override": "grpc:///diode", - "diode_username": "diode", - "netbox_to_diode_client_secret": "changeme", + "diode_target_override": os.getenv("DIODE_GRPC_TARGET"), + "diode_username": os.getenv("DIODE_USERNAME", "diode"), + "netbox_to_diode_client_secret": os.getenv("NETBOX_TO_DIODE_CLIENT_SECRET"), }, }