I am trying to use a Powershell Script that would get started by Dollar Universe. However, for accessing some services I need user credentials which are saved in a KeePass DB.
To access the KeePass DB I have to create a KeePass secret like this:
New-KeePassTempPhrase -TempPhrase "xyz" -MasterPassword "abc"
I tried to crete this secret in a normal Powershell session and as a Powershell script that gets called by Dollar Universe. This step doesn't produce any errors. However when I want to run my script afterwards I get the following error:
Find-KeePassEntry : The secret for xyz no longer exists
Does anyone have any ideas how to implement KeePass in a Powershell run by Dollar Universe or maybe already have the solution for this problem?