package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.git
Documentation: pkg.go.dev

# Functions

GenBLSKeyWithPassPhrase generates bls key with passphrase and write into disk.
LoadAwsCMKEncryptedBLSKey loads aws encrypted bls key.
LoadBLSKeyWithPassPhrase loads bls key with passphrase.
LoadKeys load all BLS keys with the given config.
WriteToFile will print any string of text to a file safely by checking for errors and syncing at the end.

# Constants

AwsCfgSrcFile instruct reading aws config through a json file.
AwsCfgSrcNil is the nil place holder for AwsCfgSrcType.
AwsCfgSrcPrompt use a user interactive prompt to ge aws config.
AwsCfgSrcShared use shared AWS config and credentials from env and ~/.aws files.
PassSrcAuto first try to unlock with pass from file, then look for prompt.
PassSrcFile provide the passphrase through pass files.
PassSrcNil is place holder for nil src.
PassSrcPrompt provide the passphrase through prompt.

# Structs

AwsConfig is the config data structure for credentials and region.
Config is the config structure for LoadKeys.

# Type aliases

AwsCfgSrcType is the type of src to load aws config.
PassSrcType is the type of passphrase provider source.