goraz v0.2.0

Go + راز (secret)

Secrets that stay encrypted. No server required.

goraz is a Go library and command-line tool that keeps API tokens, secrets and passwords in an encrypted file. Each production service gets its own file holding only what it needs.

1

Store

Put secrets in an encrypted vault from a hidden prompt or a pipe, never from arguments.

2

Split

Give each service its own file with only its items, and its key separately.

3

Read

Open the file from Go, or let goraz run pass values to any program.

All metadata is encrypted

Names, usernames and URLs are invisible in the file, not only the values.

Tampering is detected

Changed, swapped, removed or older data is refused, with documented limits.

Limits come from encryption

A service's file holds only its own secrets, so there is nothing else to leak.

Off the command line

Secrets are never read from arguments or environment variables, so they stay out of history.

Audit by default

A read fails if it can't be logged, and the log holds no names or values.

Few dependencies

Only Go's standard library and golang.org/x modules, with a published file format.

Documentation