Skip to main content

vlt

vlt is an command line tool meant for storing username and password information within an encrypted SQLite database. Database files are localized and transportable, allowing users to archive, export, and link vlt's .db files with any other instance of vlt.

Things you can do with vlt:

  • access vlt directly from command line
  • get, add, edit, and remove vlt entries
  • make new entries/passwords using customizable parameters
  • search vlt by common source, username, and password entries
  • have multiple vlt tables in single vlt db, each with separate encryption key/salt codes
  • store you db files outside vlt, such as in a private git repository
  • link vlt to external vlt db files, such as one on USB drive or in git
  • archive db's to keep contents in separate db files
  • consume/dump unencrypted csv files to/from vlt

Specific use cases for the tool can be found by installing vlt and calling the help menu via vlt --help

Example

with vlt installed, we can add our first entry:

vlt add

this will prompt vlt to ask for your vlt key:

  • note: while you can pass -k <KEY> to vlt, this is not recommended, and is only used herein for demonstration purposes.
Please enter your vlt key:
$ test

since no source, username, or password were initially provided, vlt will ask for your credentials:

specify source:
$ fizz

specify username:
$ buzz

specify password:
$ fizzbuzz

optionally, we could have specified these from the command line, like: vlt add -s fizz -u buzz -p fizzbuzz any parameter not included from CLI will be requested by vlt (best not to store passwords from CLI so they don't persist in shell history).

to see our vlt entry, we can call get so to query vlt:

vlt get

since no get parameter was provided, vlt will ask for one:

specify search term(s):
 1) index        3) username
 2) source       4) password
$ 1

specify index:
$ 0

   source username  password
0   fizz     buzz  fizzbuzz

alternatively we can specify search parameters from the command line:

vlt get -i 0

searching across multiple terms returns the INNER JOIN of the parameters:

vlt add -s this -u buzz -p test -k test
vlt add -s bam -u buzz -p test -k test
vlt get -p test -u buzz

   source username  password
1   this     buzz  test
2   bam      buzz  test
vlt make -s fizzbuzz -u michael -fmt v --mode alphanumeric --omit 012345 --length 50 -k test

8.
  SOURCE: fizzbuzz
USERNAME: michael
PASSWORD: tM8eRDwTDwyHkhKRWUmMTNAeRv6OlseFXTKthNLDHlCgPm8GwT

entries can be edited and/or removed via the entry index

vlt edit -i 1 -s bim -k test
vlt get -i 1 -k test

   source username password
1    bim     buzz     test

with vlt we can autogenerate strong passwords using vlt make. See vlt --help for formatting specifics under the [make] command.

we can furthermore autogenerate new passwords for database entries by passing -p _ as a password argument.

vlt edit -i 1 -p _ --format v --mode alphanumeric

1.
  SOURCE: bim
USERNAME: buzz
PASSWORD: TwG8mlHDTXFkLlO6vReANTNhPgCesMmUWRKhtKHywDTwDRe8Mt

our db file can be exported to a local file directory:

vlt export /mnt/d/my_vlt.db

and vlt can link to this file for db I/O.

vlt link /mnt/d/my_vlt.db
vlt get -s fizzbuzz -k test -fmt v

8.
  SOURCE: fizzbuzz
USERNAME: michael
PASSWORD: tM8eRDwTDwyHkhKRWUmMTNAeRv6OlseFXTKthNLDHlCgPm8GwT

in vlt, the help menu can be accessed by calling vlt --help. The help section for each individual command can also be returned by calling vlt <CMD> --help

$ vlt edit --help

add/edit/get/remove
===================

 KWARGS
- [-i] <INDEX> - relative index of entry to select
- [-s] <SOURCE> - source to search against in db
- [-u] <USERNAME> - username to search against in db
- [-p] <PASSWORD> - password to search against in db

Release files for vlt 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vlt 0.0.7
File Size Uploaded
vlt-0.0.7.tar.gz 35.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vlt 0.0.7
File Interpreter ABI Platform
vlt-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 63.7 kB

Release files / vlt-0.0.7.tar.gz

Download URL vlt-0.0.7.tar.gz
Size 35.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b47800984405910cb615eeaab7ccd6e7e4a4dfea20296b366beeb28dce1665c2
BLAKE2b-256 checksum
How to use checksums
0fe24ccff20ce7078f44aecf444fd7f6fcbc3509e5a4af593288a2021f8f67df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / vlt-0.0.7-py3-none-any.whl

Download URL vlt-0.0.7-py3-none-any.whl
Size 27.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3664a17274855c29a1fc0542a6f82ff845fec09491356427687cc7210674cb77
BLAKE2b-256 checksum
How to use checksums
0c4d94f68253cea42507f97ff11de8b35e411ebde314e7e10c3c45ab7ffd521f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page