package
0.0.0-20181026174623-98ca5a1f01c9
Repository: https://github.com/agilebits/eh.git
Documentation: pkg.go.dev

# Functions

Decrypt will access the key service and decrypt the protected values in the content.
Encrypt will generate a new key and encrypt the protected values.
FormatASTFile returns formatted text representation of the file.
NewAwsKeyService creates a new AwsKeyService in given AWS region and with the given masterKey identifier.
NewDevKeyService returns an empty DevKeyService object.
Read loads and decrypt the contents at the specifed URL.

# Constants

A256GCM identifies the encryption algorithm.
B5JWKJSON identifies content type.

# Structs

AwsKeyService represents connection to Amazon Web Services KMS.
DevKeyService contains DevKeyService information.
EncryptionKey contians server key information.
Header is a special entry in the .hcl file that defines encryption parameters.
ServiceParams is a part of the header entry with crypto service type and parameters.
Wrapper allows access to the echl Header entry.

# Interfaces

KeyService defines key methods.