Skip to content

Commit 81af8a0

Browse files
authored
Update README.md
1 parent 1177ada commit 81af8a0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,17 @@ cd /opt/netbox
4040
source venv/bin/activate
4141
```
4242

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:
4444

4545
```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)"
4749
```
4850

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:
5054

5155
```shell
5256
export DIODE_TO_NETBOX_API_KEY={random_string_1} # API key for the Diode service to interact with NetBox

0 commit comments

Comments
 (0)