File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,19 @@ cd /opt/netbox
4040source venv/bin/activate
4141```
4242
43- Set the following environment variables based on API keys created in your NetBox installation :
43+ Generate three random 40 character long alphanumeric strings. You can use the following command to generate random strings :
4444
4545``` shell
46- export DIODE_TO_NETBOX_API_KEY={API_KEY_1} # API key for the Diode service to interact with NetBox
47- export NETBOX_TO_DIODE_API_KEY={API_KEY_2} # API key for the NetBox service to interact with Diode
48- export INGESTION_API_KEY={API_KEY_3} # API key for Diode SDKs to ingest data into Diode
46+ head -c20 < /dev/urandom| xxd -p
4947```
5048
51- Note: API key values should be 40 character long alphanumeric strings
49+ Set the following environment variables based on the random generated strings:
50+
51+ ``` shell
52+ export DIODE_TO_NETBOX_API_KEY={random_string_1} # API key for the Diode service to interact with NetBox
53+ export NETBOX_TO_DIODE_API_KEY={random_string_2} # API key for the NetBox service to interact with Diode
54+ export INGESTION_API_KEY={random_string_3} # API key for Diode SDKs to ingest data into Diode
55+ ```
5256
5357Configure the plugin:
5458
You can’t perform that action at this time.
0 commit comments