#env-var #keepass #convert #shell #child #file #process

app keepass-to-env

A simple tool to convert Keepass database to environment variable

5 unstable releases

0.3.2 Feb 27, 2024
0.3.1 Feb 8, 2024
0.3.0 Feb 1, 2024
0.2.0 Jan 31, 2024
0.1.0 Oct 22, 2023

#291 in Database interfaces

43 downloads per month

MIT license

10KB
138 lines

keepass-to-env

A simple utility to convert Keepass database to a dotenv file or to a child shell process

why would you need it

Managing environment in .env file is not easy. It may contain credentials so you don't want store it in plain file. On the other hand, the Keepass database is a perfect place to store such information. This simple tool helps you generate the .env file or setting environment variables to a child shell from a Keepass database.

install

cargo install keepass-to-env

usage

kte --kdbx <path/to/kdbx/file> [--root <abc/def>] [--password <your/secret/password>] [--output <path/to/dot/env>]

Dependencies

~5–16MB
~177K SLoC