Skip to content

Retrieve info when using field references #77

@jlanza

Description

@jlanza

Hi,

First of all, thanks for this great module.

I'm just wanna ask or report that when you have an entry where the user name and password are set as field reference, the value returned is not the actual value of the reference, but the field itself.
For instance, if I have a username set as {REF:U@T:MainAccount}, when I execute the following code I get:

$cred = Get-Secret -Vault KeePass -Name "MainAccount"
Write-Host $cred.GetNetworkCredential().Username

Result:

{REF:U@T:MainAccount}

However if the value of username of MainAccount is for instance jlanza, the result should have been jlanza and not the pointer to the value.

Thanks for you help.

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