eyaml

package module
v0.0.0-...-38f0bcb Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 14 Imported by: 0

README

eyaml - secrets shouldn't be this hard

Lets you encrypt inlined secrets and not worry about secret managers.

TODO: for v0.1b

  • change file extension from *.yaml to *.e.yaml (allows github to pickup yaml syntax highlighting)
  • add setenv command
  • add vault as keystore
  • add 1password as a keystore
  • write readme for v1.1 rc
  • make a build pipeline using github actions
  • notarize and publish build for brew
  • add a rotate cmd

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(filepath string, searchPath string)

func Encrypt

func Encrypt(filepath string)

func Keygen

func Keygen(write bool)

func ParseEyamlMetadata

func ParseEyamlMetadata(doc *ast.DocumentNode) (eyamlMetadata, error)

Types

type YamlLiterals

type YamlLiterals struct {
	// contains filtered or unexported fields
}

func DfsSequence

func DfsSequence(root ast.Node) *YamlLiterals

func (*YamlLiterals) DFS

func (i *YamlLiterals) DFS(node ast.Node)

func (*YamlLiterals) List

func (i *YamlLiterals) List() []addressedLiteral

Directories

Path Synopsis
This package comes straight from shopify/ejson.
This package comes straight from shopify/ejson.

Jump to

Keyboard shortcuts

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