KeePass Secret Management Extension
Actions
Summary
This is a simple proof-of-concept using a modified version of PoshKeePass to allow for cross platform usage.
Quick Start
-
Create a keepass database with a master password, Keyfile or both.
-
Install-Module SecretManagement.KeePass
-
Run the following command:
Register-SecretVault -Name 'testVault' -ModuleName 'SecretManagement.Keepass' -VaultParameters @{ Path = "path/to/my/vault.kdbx" UseMasterPassword = $true KeyPath= "path/to/my/keyfile.key" }
-
(optional) Use Test-SecretVault to validate your connection to the vault
Test-SecretVault -Name 'testVault'
-
Get the secret data using Get-Secret
Get-Secret -Name 'My secret entry 1' -Vault 'testVault'