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
40
40
source venv/bin/activate
41
41
```
42
42
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 :
44
44
45
45
``` 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
49
47
```
50
48
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
+ ```
52
56
53
57
Configure the plugin:
54
58
You can’t perform that action at this time.
0 commit comments