My company uses Bamboo to deploy or run scripts. We are mainly a PowerShell shop. We have our database on one server, and a key file on another server in a share that is locked down to restrict access to the key file using NTFS permissions. If my database was stored on \server1\KeePass\mydb.kdbx and the key was located on \server2\KeePass\mykee.txt, could I open the database and grab credentials for an account named MyServiceAccount? All examples I am finding seem to center around using a password...
Thanks, so if I understand correctly I would need to install the KPScript plugin first? Do plugins install into the database or into the PC you execute them from? If using a cluster of web servers would that require installing the plugin on each server?
Hello, I am an experienced PowerShell scripter and have been successfully using KeePass with PowerShell for several years. We use a key file stored in an NTFS protected shared folder. I am now working on a web app using C# & ASP.Net, I am totally new to C# and still learning my way around. I only require the ability to read from the database. Can anyone share some sample code to read from the kdbx file for a specific account? All help would be greatly appreciated.
If I create a new database that only uses a key file and not a master password, and then try to pull those credentials down using powershell and the posh keypass module it will fail. Exception calling 'open' with "3" arguments. The composite key is invalid. We used version 2.3 to create a new database and then all worked as expected.