Secrets for Virtual Machines #1309

Closed
opened 2025-12-29 16:31:20 +01:00 by adam · 5 comments
Owner

Originally created by @martink2 on GitHub (Oct 15, 2017).

Issue type

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

Environment

  • Python version: 2.7.12
  • NetBox version: 2.2.1

Description

The current VM model does not support Secrets to be associated with VM's.

From an administrative standpoint a VM is no different from a Physical Server (except the missing HW of cause) so it would be highly desirable to also save Credentials and Secrets with the VM Object.

This might be considered a duplicate of #1503 though i would say that secrets are rather more essential on VM's as they are on additional objects.

Originally created by @martink2 on GitHub (Oct 15, 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: 2.7.12<!-- Example: 3.5.4 --> * NetBox version: 2.2.1<!-- Example: 2.1.3 --> <!-- 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 The current VM model does not support Secrets to be associated with VM's. From an administrative standpoint a VM is no different from a Physical Server (except the missing HW of cause) so it would be highly desirable to also save Credentials and Secrets with the VM Object. This might be considered a duplicate of #1503 though i would say that secrets are rather more essential on VM's as they are on additional objects.
adam added the status: duplicate label 2025-12-29 16:31:20 +01:00
adam closed this issue 2025-12-29 16:31:20 +01:00
Author
Owner

@jnfohr commented on GitHub (Oct 16, 2017):

I have the same needs on my side, the virtualization handling within netbox is a great feature but the secrets for VMs are mandatory for us.

Regards

@jnfohr commented on GitHub (Oct 16, 2017): I have the same needs on my side, the virtualization handling within netbox is a great feature but the secrets for VMs are mandatory for us. Regards
Author
Owner

@kasimon commented on GitHub (Oct 16, 2017):

Instead of implementing a dedicated security storage for netbox, probably adding integration to store secrets in hashicorp vault (https://vaultproject.io) would be a good solution.

@kasimon commented on GitHub (Oct 16, 2017): Instead of implementing a dedicated security storage for netbox, probably adding integration to store secrets in hashicorp vault (https://vaultproject.io) would be a good solution.
Author
Owner

@martink2 commented on GitHub (Oct 16, 2017):

@kasimon the same was suggested already in #1503 so maybe you can open a separate Feature request this is more for which objects secrets are needed than how they are stored backend wise.

@martink2 commented on GitHub (Oct 16, 2017): @kasimon the same was suggested already in #1503 so maybe you can open a separate Feature request this is more for which objects secrets are needed than how they are stored backend wise.
Author
Owner

@kasimon commented on GitHub (Oct 16, 2017):

@martink2 thank your for the pointer.

@kasimon commented on GitHub (Oct 16, 2017): @martink2 thank your for the pointer.
Author
Owner

@jeremystretch commented on GitHub (Oct 16, 2017):

This is a duplicate of #1495, which was folded into #1503.

@jeremystretch commented on GitHub (Oct 16, 2017): This is a duplicate of #1495, which was folded into #1503.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1309