secret-yaml

command module
v0.0.0-...-ae06814 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 1 Imported by: 0

README

secret-yaml

Maintainability Coverage Status GoDoc Go Report Card FOSSA Status

Goal

Lightweight tool to encrypt yaml values, which you can quickly install right inside your pipeline. Usable when you don't need centralized secrets management.

Install

export OS=$(uname | tr '[:upper:]' '[:lower:]')
curl -LsSo /usr/local/bin/syml https://github.com/antonmarin/secret-yaml/releases/latest/download/syml-$OS
chmod +x /usr/local/bin/syml

Usage

  • export SYML_SECRET=$(syml generateSecretKey) generate secret and store inside env variable
  • syml encrypt --secret=${SYML_SECRET} ~/decryptedSecrets/secret.yaml > ~/encryptedSecrets/secret.yaml encrypt values inside yaml-file and save to new file
  • syml decrypt --secret=${SYML_SECRET} ~/encryptedSecrets/secret.yaml > ~/decryptedSecrets/secret.yaml decrypt values inside yaml-file and save to new file

asciicast

syml help to get more about usage

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
encryption
aes
useCases

Jump to

Keyboard shortcuts

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