Enhance your secret management with encrypted storage and flexible, user-friendly features.
This is the continuation of the NetBox Secretstore app. The original plugin is minimally maintained and has a lot of issues. This plugin is a complete rewrite of the original plugin. It is more generic and flexible than the original plugin. It is also regularly tested with the latest NetBox releases to ensure compatibility and stability.
NetBox Version | Plugin Version |
---|---|
3.3.x | 1.4.x, 1.5.x |
3.4.x | 1.6.x, 1.7.x |
3.5.x | 1.8.x |
3.6.x | 1.9.x |
3.7.x | 1.10.x |
netbox-secrets
./venv/bin/pip install -r local_requirements.txt
'netbox_secrets',
./venv/bin/python netbox/manage.py migrate
./venv/bin/python netbox/manage.py collectstatic --no-input
You can view releases at: https://github.com/Onemind-Services-LLC/netbox-secrets/releases
The following options are available in the configuration file:
apps
List
['dcim.device', 'virtualization.virtualmachine']
display_default
String
left_page
left_page
, right_page
, full_width_page
, tab_view
display_setting
Dict
{}
{'app.model': 'display_default'}
{'dcim.device': 'full_width_page', 'virtualization.virtualmachine': 'right_page'}
enable_contacts
Boolean
False
public_key_size
Integer
2048
2048
, 4096
, 8192
The following options are inherited from NetBox to configure the cookies:
SESSION_COOKIE_SECURE
Boolean
LOGIN_TIMEOUT
Integer
Note: These options should be set in the NetBox configuration file.
netbox-secretstore
?Note: This is a one-way migration. You can't migrate back to netbox-secretstore
. Ensure you do not have any data including tables for netbox-secrets already in the database
These instructions assume that you are running Netbox v3.4.x and the plugin version 1.7.x. Install a new version
of netbox_secretstore
as:
pip install git+https://github.com/Onemind-Services-LLC/netbox-secretstore@migration/nb34
Note: You should have netbox-secretstore v1.4.4 installed now.
Make sure to add both plugins to the configuration.py
before the migration.
Run the migration:
python manage.py migrate
Finally, readjust the indices for the netbox-secrets
plugin
python manage.py sqlsequencereset netbox_secrets
Run the output of the previous command in the database.
You can now remove netbox-secretstore
from the application. You may have clean up your database of the old tables manually.