Skip to main content

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

Release files for kdb-vault-tools 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kdb-vault-tools 0.1.6
File Size Uploaded
kdb-vault-tools-0.1.6.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kdb-vault-tools 0.1.6
File Interpreter ABI Platform
kdb_vault_tools-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 22.4 kB

Release files / kdb-vault-tools-0.1.6.tar.gz

Download URL kdb-vault-tools-0.1.6.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f38354cbd3ae327642e7af0a4eba5d234fd14787642c1805e986693e893ae8e1
BLAKE2b-256 checksum
How to use checksums
502a6e730b068d237ac662ef791e8bc1fc91d2594cb7d8642e12b4196b2e5ecd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

Release files / kdb_vault_tools-0.1.6-py3-none-any.whl

Download URL kdb_vault_tools-0.1.6-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52f4792430b118782d7a23c811e422db56629e20a2d8fb8e9cc1b5a46107dbcf
BLAKE2b-256 checksum
How to use checksums
88eac02fe20b9e4b4dd833e26d6de1bf1d3b34421b57136dd7cc4ac7adf3a96b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page