Skip to content

Commit 7c34756

Browse files
committed
feat: OBS-491 - improve api key consistency by renaming INGESTION_API_KEY to DIODE_API_KEY
1 parent 11a6e47 commit 7c34756

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export DIODE_TO_NETBOX_API_KEY=$(head -c20 </dev/urandom|xxd -p); env | grep DIO
6363
# API key for the NetBox service to interact with Diode
6464
export NETBOX_TO_DIODE_API_KEY=$(head -c20 </dev/urandom|xxd -p); env | grep NETBOX_TO_DIODE_API_KEY
6565
# 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
6767
```
6868

6969
**Note:** store these API key strings in a safe place as they will be needed later to configure the Diode server

docker/netbox/env/netbox.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ WEBHOOKS_ENABLED=true
3939
RELOAD_NETBOX_ON_DIODE_PLUGIN_CHANGE=false
4040
DIODE_TO_NETBOX_API_KEY=1368dbad13e418d5a443d93cf255edde03a2a754
4141
NETBOX_TO_DIODE_API_KEY=1e99338b8cab5fc637bc55f390bda1446f619c42
42-
INGESTION_API_KEY=5a52c45ee8231156cb620d193b0291912dd15433
42+
DIODE_API_KEY=5a52c45ee8231156cb620d193b0291912dd15433
4343
BASE_PATH=netbox/

netbox_diode_plugin/management/commands/configurediodeplugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Command(BaseCommand):
4545

4646
diode_to_netbox_username = "DIODE_TO_NETBOX"
4747
netbox_to_diode_username = "NETBOX_TO_DIODE"
48-
ingestion_username = "INGESTION"
48+
ingestion_username = "DIODE"
4949

5050
def handle(self, *args, **options):
5151
"""Handle command execution."""

0 commit comments

Comments
 (0)