func SetProperty(prop string, value interface{}) error { switch prop { case awsSecretKey, awsAccessKey: { db.SetSecret(prop, value.(string)) } default: return unknownPropertyError } return nil }
func createSecret() { secret = uuid.NewV4().String() db.SetSecret(jwtSecret, secret) }