func (conf *NodeConfiguration) GetEnrollmentPWD() string {
	key := "tests.crypto.users." + conf.Name + ".enrollpw"
	value := viper.GetString(key)
	if value == "" {
		panic(fmt.Errorf("Enrollment id not specified in configuration file. Please check that property '%s' is set", key))
	}
	return value
}
GetEnrollmentPWD returns the enrollment PWD
package utils
import (
	"fmt"
	"github.com/spf13/viper"
)
type NodeConfiguration struct {
	Type string
	Name string
}
func (conf *NodeConfiguration) GetEnrollmentID() string {
	key := "tests.crypto.users." + conf.Name + ".enrollid"
	value := viper.GetString(key)
	if value == "" {
		panic(fmt.Errorf("Enrollment id not specified in configuration file. Please check that property '%s' is set", key))
	}
	return value
}