Skip to content

autom8ter/cryptcfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryptcfg

a golang library

cryptcfg uses a key to decrypt a file thats been encrypted with the Autom8ter gocrypt cli tool at runtime, read in the config, and store the config in memory without ever decrypting the file on disk.

-- import "github.com/autom8ter/cryptcfg"

Usage

type Crypt

type Crypt struct {
}

func New

func New() *Crypt

func (*Crypt) ReadInEncrypted

func (c *Crypt) ReadInEncrypted(path, key string) error

func (*Crypt) Viper

func (c *Crypt) Viper() *viper.Viper

Releases

No releases published

Packages

 
 
 

Languages