diff --git a/Using-Netbox-Plugins.md b/Using-Netbox-Plugins.md index d1ee6ce..49adc7f 100644 --- a/Using-Netbox-Plugins.md +++ b/Using-Netbox-Plugins.md @@ -12,7 +12,12 @@ Lets start with a fresh install of netbox-docker. ### `plugin_requirements.txt` This file contains a list of the NetBox Plugins (as **PyPi Python Packages**) to be installed during the building of the Docker image. -For Example: +Add _netbox-secrets_ If you are using Netbox > 3.5: +``` +netbox-secrets +``` + +or add _netbox-secretstore_ If you are using Netbox < 3.5: ``` netbox-secretstore ``` @@ -63,6 +68,19 @@ services: To get plugins to work within NetBox you need to add some configuration to `configuration/plugins.py`. +For Netbox > 3.5: + +```python +PLUGINS = ["netbox_secrets"] + +# PLUGINS_CONFIG = { +# "netbox_secretstore": { +# ADD YOUR SETTINGS HERE +# } +# } +``` + +or for Netbox < 3.5: ```python PLUGINS = ["netbox_secretstore"] @@ -72,6 +90,7 @@ PLUGINS = ["netbox_secretstore"] # } # } ``` + > NOTE: This can differ for every plugin. To learn more about this see the [NetBox documentation](https://netbox.readthedocs.io/en/stable/plugins/#enable-the-plugin). ## Step 4 - Build and Deploy!