Skip to content

tools for converting *kdbx to vault and vault to *kdbx

License

Notifications You must be signed in to change notification settings

moaddib666/kdb-vault-tools

Repository files navigation

KDB to Vault Tools

codecov

Package that allow migrate from kdb to vault and vise versa

Example

  • Start vault in development mode
docker-compose up
  • Prepare simple script or use kdb_2_vault.py
from kdb_vault_tools import Processor

def create_kdb():
    vault_conf = {"url": "http://localhost:1234", "token": "myroot"}
    kdb_conf = {
        "filename": "kdb_tmp/secrets-20190422.kdbx",
        "password": "superSecret123",
    }

    processor = Processor(vault_settings=vault_conf, kdb_settings=kdb_conf)
    processor.sync_from_vault()
    processor.write_kdb()


def fill_vault():
    vault_conf = {"url": "http://localhost:1234", "token": "myroot"}
    kdb_conf = {
        "filename": "kdb_tmp/secrets-20190422.kdbx",
        "password": "superSecret123",
    }

    processor = Processor(vault_settings=vault_conf, kdb_settings=kdb_conf)
    processor.sync_from_kdb()
    processor.write_vault(base_path="/sandbox/org/team/foo/") 

History

Version 0.1.0 (2021-02-23) - Base Concept

Credits

Lead Developer - Max Nikitenko (moaddib666@gmail.com)

License

  • MIT

About

tools for converting *kdbx to vault and vault to *kdbx

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages