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

Download files

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

Source Distribution

kdb-vault-tools-0.1.6.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kdb_vault_tools-0.1.6-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file kdb-vault-tools-0.1.6.tar.gz.

File metadata

  • Download URL: kdb-vault-tools-0.1.6.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for kdb-vault-tools-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f38354cbd3ae327642e7af0a4eba5d234fd14787642c1805e986693e893ae8e1
MD5 2cdb324f8a58da7d2aeed42d23e5dd90
BLAKE2b-256 502a6e730b068d237ac662ef791e8bc1fc91d2594cb7d8642e12b4196b2e5ecd

See more details on using hashes here.

File details

Details for the file kdb_vault_tools-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: kdb_vault_tools-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for kdb_vault_tools-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 52f4792430b118782d7a23c811e422db56629e20a2d8fb8e9cc1b5a46107dbcf
MD5 0dbd6adb5a85670f414b597c39e1067c
BLAKE2b-256 88eac02fe20b9e4b4dd833e26d6de1bf1d3b34421b57136dd7cc4ac7adf3a96b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 files

0.1.5

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page