Secrets as URLs #1206

Closed
opened 2025-12-29 16:30:02 +01:00 by adam · 3 comments
Owner

Originally created by @kopacko on GitHub (Aug 30, 2017).

Issue type

[x] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version:
  • NetBox version: 2.1.2

Description

I am curious if it would be possible to add URLs where they are automatically linked when you unlock a secret that has a URL in it?

The reasoning behind this is, as more teams get access, since there is not a mechanism in place to prevent basic read on device info, storing links to configuration backups, Cisco Prime Infrastruture REST API (by device), etc, is not something that we want "publicly" visible. As a side note, you are required to login just to even view data in NetBox but as an added layer of protection, we want to lock down links to external data/repositories/etc that are specific to the device.

Originally created by @kopacko on GitHub (Aug 30, 2017). <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. If none of the below apply, please raise your issue for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. ---> ### Issue type [x] Feature request <!-- Requesting the implementation of a new feature --> [ ] Bug report <!-- Reporting unexpected or erroneous behavior --> [ ] Documentation <!-- Proposing a modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) --> ### Environment * Python version: <!-- Example: 3.5.4 --> * NetBox version: <!-- Example: 2.1.3 --> 2.1.2 <!-- BUG REPORTS must include: * A list of the steps needed to reproduce the bug * A description of the expected behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description I am curious if it would be possible to add URLs where they are automatically linked when you unlock a secret that has a URL in it? The reasoning behind this is, as more teams get access, since there is not a mechanism in place to prevent basic read on device info, storing links to configuration backups, Cisco Prime Infrastruture REST API (by device), etc, is not something that we want "publicly" visible. As a side note, you are required to login just to even view data in NetBox but as an added layer of protection, we want to lock down links to external data/repositories/etc that are specific to the device.
adam closed this issue 2025-12-29 16:30:02 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 30, 2017):

You wouldn't store an entire URL as secret data, only the relevant login credentials or other sensitive bits.

@jeremystretch commented on GitHub (Aug 30, 2017): You wouldn't store an entire URL as secret data, only the relevant login credentials or other sensitive bits.
Author
Owner

@kopacko commented on GitHub (Aug 30, 2017):

We are storing the URL, it contains all the pertinent info in it and directly loads to a new page.

@kopacko commented on GitHub (Aug 30, 2017): We are storing the URL, it contains all the pertinent info in it and directly loads to a new page.
Author
Owner

@kopacko commented on GitHub (Aug 30, 2017):

The other things we are storing are management related URLs where there is custom ports, URI paths, etc.

@kopacko commented on GitHub (Aug 30, 2017): The other things we are storing are management related URLs where there is custom ports, URI paths, etc.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1206