Skip to main content

Robot Framework library for working with KeePass Database

Project description

KeePass Library

This library enables Robot Framework to interact with KeePass databases.

Build Status Version PyPI - License PyPI - Downloads

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


Versions:

  • 0.2.0 Group Support
  • 0.1.0 Entry Support

Installation

The recommended approach to install KeePassLibrary, regardless the version, is using pip.

Install (or upgrade) the latest KeePassLibrary version:

pip install --upgrade robotframework-keepasslibrary

Example

*** Settings ***
Documentation     A test suite with a single test for retrieving a password.
...
...               The test loads 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
Import            KeePassLibrary

*** Test Cases ***
Get KeePass Database Entry
    Get KeePass Database       Database.kdbx    keyfile=Database.key        
    ${entry}= Get Entries By Username    User Name    first=True  
  Log   Password for spam_user is ${entry.password}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for robotframework-keepasslibrary, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size robotframework_keepasslibrary-0.2.0-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size robotframework-keepasslibrary-0.2.0.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page