Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.17 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.17 KB

keepass2vault

Imports all secrets with basic properties (title, user, pass, notes and url) into a given vault instance.

Hacked together motivated by personal needs. Error handling is not great but verbose (-v) mode will help.

Build

cargo build

Usage

cargo run or built binary from ./target/[release/debug]/keepass2vault

 ᐅ keepass2vault
imports all secrets from a keepass file into Hashicorp-vault

Usage: keepass2vault [OPTIONS]

Options:
      --vault-addr <VAULT_ADDR>
          [env: VAULT_ADDR=] [default: http://127.0.0.1:8200]
      --vault-token <VAULT_TOKEN>
          [env: VAULT_TOKEN=]
      --keepass-file <KEEPASS_FILE>
          [env: KEEPASS_FILE=]
      --keepass-password <KEEPASS_PASSWORD>
          [env: KEEPASS_PASSWORD=]
      --path-prefix <PATH_PREFIX>
          vault path prefix [env: VAULT_PATH_PREFIX=] [default: ]
      --mount <MOUNT>
          vault mountpoint of the kv2 [env: VAULT_MOUNT=] [default: secret]
  -v
          verbose output if not specified otherwise by the RUST_LOG environment variable. [env: DEBUG=]
  -h, --help
          Print help information
  -V, --version
          Print version information