API key not related to Netbox user, but for system account to automate stuff #9400

Closed
opened 2025-12-29 20:49:21 +01:00 by adam · 1 comment
Owner

Originally created by @RemcoVroman on GitHub (Mar 28, 2024).

NetBox version

v3.7.2

Feature type

New functionality

Proposed functionality

Let the admin users create a api key for automation purposes and is not related to a netbox user. With the API key there should be a description possebility to register what the key is for. Also the rights and experation date should be possible.

Use case

We will use this for automation purposes. The api kesy are now related to a person who might leave the organisation and then the key becomes invallid. However the automation process will need to continue.

Database changes

No response

External dependencies

No response

Originally created by @RemcoVroman on GitHub (Mar 28, 2024). ### NetBox version v3.7.2 ### Feature type New functionality ### Proposed functionality Let the admin users create a api key for automation purposes and is not related to a netbox user. With the API key there should be a description possebility to register what the key is for. Also the rights and experation date should be possible. ### Use case We will use this for automation purposes. The api kesy are now related to a person who might leave the organisation and then the key becomes invallid. However the automation process will need to continue. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: feature label 2025-12-29 20:49:21 +01:00
adam closed this issue 2025-12-29 20:49:21 +01:00
Author
Owner

@jeremystretch commented on GitHub (Mar 28, 2024):

This is not feasible: All permission controls and change logging in NetBox is built on the user & group models. You simply need to create a "system" account to which API tokens can be assigned.

@jeremystretch commented on GitHub (Mar 28, 2024): This is not feasible: All permission controls and change logging in NetBox is built on the user & group models. You simply need to create a "system" account to which API tokens can be assigned.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9400