Tags: ruby, programming, devblog, kbsecret
The KBSecret 1.6.x tree has just been released, after two prereleases.
This post will quickly summarize some of the important changes made in versions 1.4 through 1.6.
KBSecret now supports the
NO_COLOR standard, allowing users to explicitly
disable all ANSI-formatted color output even when on a supporting terminal device:
$ NO_COLOR=1 kbsecret whatever-command
kbsecret login -u
--username-only flag has been added to
kbsecret login. When passed,
will not print out the password associated with each requested login record.
This flag works in both normal and terse output modes:
$ kbsecret login gmail Label: gmail Username: firstname.lastname@example.org Password: hunter2 $ kbsecret login -u gmail Label: gmail Username: email@example.com $ kbsecret login -x gmail gmail:firstname.lastname@example.org:hunter2 $ kbsecret login -xu gmail gmail:email@example.com
Users may find this handy for limiting the amount of information shared when filtering records by username.
kbsecret stash-edit is the newest addition to the core KBSecret commands!
kbsecret stash-edit is used to edit the contents of unstructured records, including files
kbsecret stash-file can store base-64 encoded binary files,
stash-edit supports transparently decoding and re-encoding base-64 data via the
A quick demo:
Some versions ago, I partially broke
kbsecret list -t <type> — it stopped taking type
As of 1.6.x, type abbreviations work again:
# these are equivalent! $ kbsecret list -t env $ kbsecret list -t environment
As always, check KBSecret's website for the latest documentation (and references to the API docs).
Thanks for reading!