Skip to main content

Tools for kdb vault managing

Project description

KDB to Vault Tools

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_kdb()
    processor.write_vault(base_path="/sandbox/org/team/foo/")


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

Project details


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.5.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

kdb_vault_tools-0.1.5-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kdb-vault-tools-0.1.5.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

File hashes

Hashes for kdb-vault-tools-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ae7de37b5fe6bb0d378f65148561df66d7a4767b0628e7acef54d147198c245e
MD5 0ac2dd1ef32fd8ed3a071f9a0d9c346f
BLAKE2b-256 697c9fee7236382b5a1f61fa84f79456898b516439b5b5b8720e28fc24ccca4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kdb_vault_tools-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

File hashes

Hashes for kdb_vault_tools-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f612dcdff1d611d9a7048ba0bc2b92c673d967c33dedaa0b2ab1cd6515c375f9
MD5 6b3afbb45bd3063747b9b3c1b8cdecad
BLAKE2b-256 e1f3cfee92645553db6b7b3ef9c4500068c918129ebb38e9771110ec286b3253

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page