JustinGrote / JustinGrote/SecretManagement.KeePass

Feature Request: Support for Writing Metadata via Set-Secret and Set-SecretInfo

Open
#82 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
123
Forks
23
PR merge metrics
No merged PRs in 30d

Description

I would like to request support for writing and updating metadata in KeePass entries. Currently, the extension allows reading metadata fields (such as ParentGroup, URL, and custom tags), but attempting to write this data results in a NotImplementedException.

**Current Behavior:**

Using Set-Secret with a -Metadata hash table fails with: "The vault does not support the Set-SecretInfo function".

Using Set-SecretInfo directly results in a NotImplementedException.

The only data currently accepted in the Set-Secret that can be written to an entry is the Title (name) and Username/Password. This gets written to the Root of the database instead of a folder that would be specified in the metadata.

**Desired Behavior:**

At Creation: Set-Secret should accept a -Metadata hash table to populate KeePass fields (e.g., Group/ParentGroup, IconName, URL, and Notes, etc) during the initial entry save.

Post-Creation: Implement the Set-SecretInfo function to allow updating an existing entry's metadata without overwriting the secret itself.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.