#env-var #env-file #keepass #variables #shell #environment #convert-file

app keepass-to-env

A simple tool to convert Keepass database to environment variable

6 releases

0.3.3 Jul 26, 2024
0.3.2 Feb 27, 2024
0.2.0 Jan 31, 2024
0.1.0 Oct 22, 2023

#132 in Authentication

MIT license

10KB
144 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–14MB
~171K SLoC