You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Devin Canterberry ada82c889d
Add Docker image, remove WIP notices in README
12 months ago
.dockerignore Add Docker image, remove WIP notices in README 12 months ago
.gitignore Add support for serial versioning in case the config data structure changes; ignore secret-cli 12 months ago
.tool-versions Initial commit of the Twuni Secret CLI 12 months ago
Dockerfile Add Docker image, remove WIP notices in README 12 months ago
LICENSE.md Add MIT license and a README to describe the project 12 months ago
Makefile Refactor each function into a separate file 12 months ago
README.md Add Docker image, remove WIP notices in README 12 months ago
agent.go Migrate to secret agent instead of requiring passphrase with each invocation 12 months ago
cli.go Allow+support environment variables to override CLI flags 12 months ago
config.go Add support for serial versioning in case the config data structure changes; ignore secret-cli 12 months ago
context.go Various security improvements 12 months ago
context_test.go Various security improvements 12 months ago
delete_secret.go Migrate to secret agent instead of requiring passphrase with each invocation 12 months ago
go.mod Various security improvements 12 months ago
go.sum Various security improvements 12 months ago
random_bytes.go Refactor each function into a separate file 12 months ago
random_bytes_test.go Much refactoring and added some tests 12 months ago
read_secret.go Migrate to secret agent instead of requiring passphrase with each invocation 12 months ago
salted_hash.go Refactor each function into a separate file 12 months ago
salted_hash_test.go Much refactoring and added some tests 12 months ago
write_secret.go Migrate to secret agent instead of requiring passphrase with each invocation 12 months ago

README.md

Secret CLI | Twuni

A lightweight, automation-friendly CLI tool for safely managing secrets.

Usage

CLI

The latest release can be downloaded via the following command:

$ curl -sSL -o secret https://releases.twuni.dev/secret/latest/linux-amd64/secret

Run ./secret --help for detailed usage information.

Docker

The twuni/secret is available on Docker Hub.

Example Usage

$ docker run \
  --env SECRET_PASSPHRASE="change it" \
  --volume $PWD/secrets:/secrets:rw \
  --publish 2049:2049/tcp \
  --detach \
  --rm \
  --name secret-agent \
  twuni/secret \
  agent