Skip to content

curatorium/eyaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eYAML

A very thin YAML wrapper over eJSON.

eYAML lets you use eJSON with YAML files instead of JSON.

It converts YAML to JSON, runs ejson, and converts back.

Dependencies

  • ejson
  • yq (Mike Farah's implementation)

Usage

All subcommands, flags, options, and arguments are proxied to the ejson command, the behavior is identical except for working on YAML files:

eyaml encrypt secrets.eyml
eyaml decrypt secrets.eyml

Use .eyml or .eyaml file extensions.

Example

Create secrets.eyml:

_public_key: 85d47d85be8...

database:
  host: localhost
  password: supersecret

After eyaml encrypt secrets.eyml:

_public_key: 85d47d85be8...

database:
  host: "EJ[1:AbC12x...]"
  password: "EJ[1:KP3wLB...]"

The decrypt command outputs decrypted YAML to stdout.

See Also

See ejson for key generation, key management, encryption details, and file format rules.

About

A very thin YAML wrapper over eJSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages