Skip to content

Unable to save existing secret without re-entering plaintext #5408

@jeremystretch

Description

@jeremystretch

Environment

  • Python version: 3.6.9
  • NetBox version: 2.9.10

Steps to Reproduce

  1. Create a secret
  2. Edit the secret and change its role or name without specifying a new plaintext value
  3. Save the secret

Expected Behavior

The secret should be saved with its new attributes.

Observed Behavior

An exception is raised: Must unlock or set plaintext before locking.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions