Skip to content

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

@Mordanthanus

Description

@Mordanthanus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions