spkez

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2024 License: MIT Imports: 16 Imported by: 0

README

spkez

A simple secret store with a casual atmosphere.

Install

Requires git.

go install
go install lesiw.io/spkez@latest
curl
curl lesiw.io/spkez | sh

Usage

spkez - simple secret manager

  spkez ls                 List keys.
  spkez get [key]          Get value of [key].
  spkez del [key]          Delete [key].
  spkez set [key] [value]  Set [key] to [value].

environment variables

  SPKEZREPO  URL of the git secret store.
  SPKEZPASS  Password for encrypting and decrypting secrets.

Example

export SPKEZREPO=github.com/example/example.git
# scp-style urls are also supported:
#   export SPKEZREPO=git@github.com:example/example.git
export SPKEZPASS=supersecretpassword
spkez set some/key "secret" # => set "some/key"
spkez get some/key          # => secret
spkez ls                    # => some/key
spkez del some/key          # => deleted "some/key"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL