netbox-secretstore
netbox-secretstore copied to clipboard
Feature request: multiline secrets
Plugin version
v1.0.5
netbox-plugin-extensions version
v1.0.2
NetBox version
v3.0.3
Feature type
Data model extension
Proposed functionality
Hi,
I've just tried to store my SSH private key as a secret and got it completely messed after copying back. The same happens with SSL certificate private keys and so on, any multiline secret.
Use case
Storing not only single-line secrets like password but also multiline secrets like SSH/SSL private keys, certificates and so on would be very useful, in my opinion.
Database changes
No response
External dependencies
Looks like it depends on this my FR: https://github.com/netbox-community/netbox/issues/6711 Nowdays netbox offers only single-line customfields.
@hiddenman As a workaround, you could encode it, for example via base64.
Scope:
- Change field to multi-line field
- Update forms/fields in views
- Update tests