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 9b261ccc4b
update dependencies and dockerfile
3 months ago
.dockerignore Add Docker image, remove WIP notices in README 2 years ago
.gitignore Add support for serial versioning in case the config data structure changes; ignore secret-cli 2 years ago
.tool-versions update dependencies and dockerfile 3 months ago
Dockerfile update dependencies and dockerfile 3 months ago
LICENSE.md Add MIT license and a README to describe the project 2 years ago
Makefile Refactor each function into a separate file 2 years ago
README.md Add Docker image, remove WIP notices in README 2 years ago
agent.go Migrate to secret agent instead of requiring passphrase with each invocation 2 years ago
cli.go Allow+support environment variables to override CLI flags 2 years ago
config.go Add support for serial versioning in case the config data structure changes; ignore secret-cli 2 years ago
context.go Various security improvements 2 years ago
context_test.go Various security improvements 2 years ago
delete_secret.go Migrate to secret agent instead of requiring passphrase with each invocation 2 years ago
go.mod update dependencies and dockerfile 3 months ago
go.sum update dependencies and dockerfile 3 months ago
random_bytes.go Refactor each function into a separate file 2 years ago
random_bytes_test.go Much refactoring and added some tests 2 years ago
read_secret.go Migrate to secret agent instead of requiring passphrase with each invocation 2 years ago
salted_hash.go Refactor each function into a separate file 2 years ago
salted_hash_test.go Much refactoring and added some tests 2 years ago
write_secret.go Migrate to secret agent instead of requiring passphrase with each invocation 2 years 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