This library enables Robot Framework to interact with KeePass databases.
Supported KeePass versions:
- KDBX3
- KDBX4
KeepassLibrary uses the PyKeePass modules internally to access KeePass databases
See https://keepass.info for more information about KeePass in general
See keyword documentation for available keywords and more information about the library in general.
The recommended approach to install KeePassLibrary, regardless the version, is using pip.
Install (or upgrade) the latest KeePassLibrary version:
pip install --upgrade robotframework-keepasslibrary
*** Settings ***
Documentation A test suite with a single test for retrieving a password.
...
... The test opens a KeePass database named Database.kdbx using
... the keyfile Database.key.
... It then retrieves the first entry that matches the Username "User Name"
... and logs the password from the returned KeePass database entry
Library KeePassLibrary
*** Test Cases ***
Get KeePass Database Entry
Open KeePass Database Database.kdbx keyfile=Database.key
${entry}= Get Entries By Username User Name first=True
${value}= Get Entry Password ${entry}
Log Password for User Name is ${value}
0.4.0
Update dependencies, rework for pykeepas 4.x with keyfile v2 support, additional test cases0.3.1
Update dependencies, tests moved to github actions0.3.0
New keywords for accessing entry and group data, rebuild of code using Python Library Core.0.2.5
Fix manifest, additional test cases0.2.4
Update dependencies0.2.3
Update dependencies, new travis builds0.2.2
Update dependencies0.2.1
KDBX v3 and v4 test cases0.2.0
Group Support0.1.0
Entry Support