Secretstore adding User-Key - 'str' object has no attribute '_meta' #6484

Closed
opened 2025-12-29 19:41:14 +01:00 by adam · 2 comments
Owner

Originally created by @jaeyoungh on GitHub (May 16, 2022).

NetBox version

v3.2.3

Python version

3.10

Steps to Reproduce

  1. Login to netbox
  2. Navigate to https://netbox.hostname/plugins/netbox_secretstore/user-key/
  3. When attempting to add user-key, observe the following error.

Expected Behavior

Should add the user's public key using the secretstore plugin function.

Observed Behavior

Server error is returned, with messages below.

AttributeError at /plugins/netbox_secretstore/user-key/edit/ 'str' object has no attribute '_meta'

image

traceback from debug mode: traceback.log

Originally created by @jaeyoungh on GitHub (May 16, 2022). ### NetBox version v3.2.3 ### Python version 3.10 ### Steps to Reproduce 1. Login to netbox 2. Navigate to https://netbox.hostname/plugins/netbox_secretstore/user-key/ 3. When attempting to add user-key, observe the following error. ### Expected Behavior Should add the user's public key using the secretstore plugin function. ### Observed Behavior Server error is returned, with messages below. `AttributeError at /plugins/netbox_secretstore/user-key/edit/ 'str' object has no attribute '_meta'` ![image](https://user-images.githubusercontent.com/102309322/168636569-52da5513-26c1-4b92-8e5e-07c276eeff6f.png) traceback from debug mode: [traceback.log](https://github.com/netbox-community/netbox/files/8701650/traceback.log)
adam closed this issue 2025-12-29 19:41:14 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 16, 2022):

This repository pertains to the core NetBox application only. Please raise any issues concerning a plugin against the repository for that plugin: netbox_secretstore.

@jeremystretch commented on GitHub (May 16, 2022): This repository pertains to the core NetBox application only. Please raise any issues concerning a plugin against the repository for that plugin: [netbox_secretstore](https://github.com/DanSheps/netbox-secretstore).
Author
Owner

@jaeyoungh commented on GitHub (May 16, 2022):

Moving the issue to the plugin, thank you.

@jaeyoungh commented on GitHub (May 16, 2022): Moving the issue to the plugin, thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6484