netbox 3.6-beta1 - api tokens - keys now hidden in ui #8452

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

Originally created by @ITJamie on GitHub (Aug 10, 2023).

Originally assigned to: @jeremystretch on GitHub.

Change Type

Correction

Area

Integrations/API

Proposed Changes

I noticed in the release notes for 3.6-beta1 there is no mention of the fact that API tokens are now partially hidden in the UI for both users under "API Tokens" and in the admin section.

This is a change from past behavior where API keys were viewable, which should probably get called out in the release notes.

Originally created by @ITJamie on GitHub (Aug 10, 2023). Originally assigned to: @jeremystretch on GitHub. ### Change Type Correction ### Area Integrations/API ### Proposed Changes I noticed in the release notes for 3.6-beta1 there is no mention of the fact that API tokens are now partially hidden in the UI for both users under "API Tokens" and in the admin section. This is a change from past behavior where API keys were viewable, which should probably get called out in the release notes.
adam added the status: acceptedtype: documentationbeta labels 2025-12-29 20:36:55 +01:00
adam closed this issue 2025-12-29 20:36:56 +01:00
Author
Owner

@tagur87 commented on GitHub (Aug 10, 2023):

They are also obfuscated in the API: https://beta-demo.netbox.dev/api/users/tokens/

Also appears that you cannot even see the full token when allowing netbox to create the token for you.

@tagur87 commented on GitHub (Aug 10, 2023): They are also obfuscated in the API: https://beta-demo.netbox.dev/api/users/tokens/ Also appears that you cannot even see the full token when allowing netbox to create the token for you.
Author
Owner

@jeremystretch commented on GitHub (Aug 10, 2023):

@tagur87 this is not related to any work done in v3.6. The ALLOW_TOKEN_RETRIEVAL configuration parameter was introduced in v3.4.0, and is currently disabled on the demo instance.

@jeremystretch commented on GitHub (Aug 10, 2023): @tagur87 this is not related to any work done in v3.6. The [`ALLOW_TOKEN_RETRIEVAL`](https://docs.netbox.dev/en/stable/configuration/security/#allow_token_retrieval) configuration parameter was introduced in v3.4.0, and is currently disabled on the demo instance.
Author
Owner

@ITJamie commented on GitHub (Aug 10, 2023):

apologies, closing out

@ITJamie commented on GitHub (Aug 10, 2023): apologies, closing out
Author
Owner

@jeremystretch commented on GitHub (Aug 10, 2023):

API tokens are now partially hidden in the UI for both users under "API Tokens" and in the admin section.

@ITJamie I think you're right to flag this detail. Previously, token keys were always visible in the admin UI. Now that they've been moved to the proper frontend, admins also cannot view token keys when ALLOW_TOKEN_RETRIEVAL is disabled.

@jeremystretch commented on GitHub (Aug 10, 2023): > API tokens are now partially hidden in the UI for both users under "API Tokens" and in the admin section. @ITJamie I think you're right to flag this detail. Previously, token keys were always visible in the admin UI. Now that they've been moved to the proper frontend, admins also cannot view token keys when `ALLOW_TOKEN_RETRIEVAL` is disabled.
Author
Owner

@ITJamie commented on GitHub (Aug 10, 2023):

No probs ether way. I was comparing against the normal demo instance so i had assumed the config settings would be the same.

Probably good that it wasnt to catch this

@ITJamie commented on GitHub (Aug 10, 2023): No probs ether way. I was comparing against the normal demo instance so i had assumed the config settings would be the same. Probably good that it wasnt to catch this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8452