File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,17 @@ cd /opt/netbox
40
40
source venv/bin/activate
41
41
```
42
42
43
- Generate three random 40 character long alphanumeric strings. You can use the following command to generate random strings:
43
+ Generate 3 API keys as random 40 character long alphanumeric strings:
44
44
45
45
``` shell
46
- head -c20 < /dev/urandom| xxd -p
46
+ echo " export DIODE_TO_NETBOX_API_KEY=$( head -c20 < /dev/urandom| xxd -p) "
47
+ echo " export NETBOX_TO_DIODE_API_KEY=$( head -c20 < /dev/urandom| xxd -p) "
48
+ echo " export INGESTION_API_KEY=$( head -c20 < /dev/urandom| xxd -p) "
47
49
```
48
50
49
- Set the following environment variables based on the random generated strings:
51
+ ** Note:** store these API key strings in a safe place as they will be needed later to configure the Diode server
52
+
53
+ Set the environment variables based on the random generated strings:
50
54
51
55
``` shell
52
56
export DIODE_TO_NETBOX_API_KEY={random_string_1} # API key for the Diode service to interact with NetBox
You can’t perform that action at this time.
0 commit comments