File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
netbox_diode_plugin/management/commands Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export DIODE_TO_NETBOX_API_KEY=$(head -c20 </dev/urandom|xxd -p); env | grep DIO
63
63
# API key for the NetBox service to interact with Diode
64
64
export NETBOX_TO_DIODE_API_KEY=$( head -c20 < /dev/urandom| xxd -p) ; env | grep NETBOX_TO_DIODE_API_KEY
65
65
# API key for Diode SDKs to ingest data into Diode
66
- export INGESTION_API_KEY =$( head -c20 < /dev/urandom| xxd -p) ; env | grep INGESTION_API_KEY
66
+ export DIODE_API_KEY =$( head -c20 < /dev/urandom| xxd -p) ; env | grep DIODE_API_KEY
67
67
```
68
68
69
69
** Note:** store these API key strings in a safe place as they will be needed later to configure the Diode server
Original file line number Diff line number Diff line change @@ -39,5 +39,5 @@ WEBHOOKS_ENABLED=true
39
39
RELOAD_NETBOX_ON_DIODE_PLUGIN_CHANGE = false
40
40
DIODE_TO_NETBOX_API_KEY = 1368dbad13e418d5a443d93cf255edde03a2a754
41
41
NETBOX_TO_DIODE_API_KEY = 1e99338b8cab5fc637bc55f390bda1446f619c42
42
- INGESTION_API_KEY = 5a52c45ee8231156cb620d193b0291912dd15433
42
+ DIODE_API_KEY = 5a52c45ee8231156cb620d193b0291912dd15433
43
43
BASE_PATH = netbox/
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class Command(BaseCommand):
45
45
46
46
diode_to_netbox_username = "DIODE_TO_NETBOX"
47
47
netbox_to_diode_username = "NETBOX_TO_DIODE"
48
- ingestion_username = "INGESTION "
48
+ ingestion_username = "DIODE "
49
49
50
50
def handle (self , * args , ** options ):
51
51
"""Handle command execution."""
You can’t perform that action at this time.
0 commit comments