Documentation ¶
Index ¶
Constants ¶
View Source
const CONFIGFILE = "ocicrypt.conf"
View Source
const ENVVARNAME = "OCICRYPT_CONFIG"
Variables ¶
This section is empty.
Functions ¶
func GetUserPkcs11Config ¶
func GetUserPkcs11Config() (*pkcs11.Pkcs11Config, error)
GetUserPkcs11Config gets the user's Pkcs11Conig either from a configuration file or if none is found the default ones are returned
Types ¶
type OcicryptConfig ¶
type OcicryptConfig struct {
Pkcs11Config pkcs11.Pkcs11Config `yaml:"pkcs11"`
}
OcicryptConfig represents the format of an imgcrypt.conf config file
Click to show internal directories.
Click to hide internal directories.