#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

#129 in Authentication

Download history 5/week @ 2024-09-14 16/week @ 2024-09-21 11/week @ 2024-09-28 2/week @ 2024-10-12

279 downloads per month

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
~172K SLoC