[PR #20577] [MERGED] Closes #20492: Disable API token plaintext retrieval #15970

Closed
opened 2025-12-30 00:25:04 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20577
Author: @jeremystretch
Created: 10/14/2025
Status: Merged
Merged: 10/14/2025
Merged by: @bctiemann

Base: featureHead: 20492-disable-token-plaintext-retrieval


📝 Commits (1)

📊 Changes

8 files changed (+10 additions, -42 deletions)

View changed files

📝 docs/configuration/security.md (+0 -11)
📝 docs/integrations/rest-api.md (+5 -2)
📝 netbox/netbox/configuration_example.py (+0 -3)
📝 netbox/netbox/configuration_testing.py (+0 -2)
📝 netbox/netbox/settings.py (+0 -1)
📝 netbox/templates/users/token.html (+1 -8)
📝 netbox/users/forms/model_forms.py (+3 -7)
📝 netbox/users/tables.py (+1 -8)

📄 Description

Closes: #20492

  • Remove the ALLOW_TOKEN_RETRIEVAL configuration parameter
  • Remove conditional logic controlling the display of token plaintexts

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/20577 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 10/14/2025 **Status:** ✅ Merged **Merged:** 10/14/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `feature` ← **Head:** `20492-disable-token-plaintext-retrieval` --- ### 📝 Commits (1) - [`2bebfcc`](https://github.com/netbox-community/netbox/commit/2bebfccf9bee6d369355d29476cf8e81a55e16bc) Closes #20492: Disable API token plaintext retrieval ### 📊 Changes **8 files changed** (+10 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/security.md` (+0 -11) 📝 `docs/integrations/rest-api.md` (+5 -2) 📝 `netbox/netbox/configuration_example.py` (+0 -3) 📝 `netbox/netbox/configuration_testing.py` (+0 -2) 📝 `netbox/netbox/settings.py` (+0 -1) 📝 `netbox/templates/users/token.html` (+1 -8) 📝 `netbox/users/forms/model_forms.py` (+3 -7) 📝 `netbox/users/tables.py` (+1 -8) </details> ### 📄 Description ### Closes: #20492 - Remove the `ALLOW_TOKEN_RETRIEVAL` configuration parameter - Remove conditional logic controlling the display of token plaintexts --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:25:04 +01:00
adam closed this issue 2025-12-30 00:25:04 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15970