Hide Tokens in 'API Tokens' list #8708

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

Originally created by @PieterL75 on GitHub (Oct 4, 2023).

NetBox version

v3.6.3

Feature type

Change to existing functionality

Proposed functionality

When opening the 'API Tokens' list, all tokens are fully displayed.
These should be either 'starred', 'shortened (first2/last4)' or not shown at all.
The key can still be retrieved when opening the token itself

Use case

Showing all keys at once is a security concern. It will raise a redflag by our SOC when this is seen.

Database changes

No response

External dependencies

No response

Originally created by @PieterL75 on GitHub (Oct 4, 2023). ### NetBox version v3.6.3 ### Feature type Change to existing functionality ### Proposed functionality When opening the 'API Tokens' list, all tokens are fully displayed. These should be either 'starred', 'shortened (first2/last4)' or not shown at all. The key can still be retrieved when opening the token itself ### Use case Showing all keys at once is a security concern. It will raise a redflag by our SOC when this is seen. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: feature label 2025-12-29 20:40:13 +01:00
adam closed this issue 2025-12-29 20:40:14 +01:00
Author
Owner

@arthanson commented on GitHub (Oct 4, 2023):

This has already been implemented - You can toggle ALLOW_TOKEN_RETRIEVAL config param to change this, see: https://docs.netbox.dev/en/stable/configuration/security/#allow_token_retrieval.

@arthanson commented on GitHub (Oct 4, 2023): This has already been implemented - You can toggle ALLOW_TOKEN_RETRIEVAL config param to change this, see: https://docs.netbox.dev/en/stable/configuration/security/#allow_token_retrieval.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8708