Skip to content

JustinGrote/SecretManagement.KeePass

Repository files navigation

KeePass Secret Management Extension

Actions

Actions

Summary

This is a simple proof-of-concept using a modified version of PoshKeePass to allow for cross platform usage.

KeePass SecretManagement Demo

Quick Start

  1. Create a keepass database with a master password, Keyfile or both.

  2. Install-Module SecretManagement.KeePass

  3. 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"
    }
  4. (optional) Use Test-SecretVault to validate your connection to the vault

    Test-SecretVault -Name 'testVault'
  5. Get the secret data using Get-Secret

    Get-Secret -Name 'My secret entry 1' -Vault 'testVault'

Known Limitations