Open sarhaynes opened 5 months ago
This is a duplicate of #32. Moreover, it requires more details on how exactly this should be changed to allow for the requested functionality.
A simple way of implementing this would be to allow a multi-line secret to be entered so we could store PEM file contents. There could be a radio button to select mode if needed. This should not require a major DB change.
NetBox version
v3.7.3
Feature type
New Model to plugin
Proposed functionality
We need to be able to store PEM formatted private keys as our secrets, not just passwords. Currently we can enter the PEM key, but it gets reformatted and will not work when extracted. I would recommend a selection of "PlainText" or "File" as a storage mechanism for the cipher. If file is selected a PEM file could be uploaded as the "Secret" for the system.
Use case
We use PEM files as authentication tokens to elevate privileges. We need a way to securely store those with devices.
External dependencies
Do not believe this would require any additional external dependencies.