code: func loadConfig(data []byte) (*apiserverconfig.EncryptionConfiguration, error) {
  	scheme := runtime.NewScheme()
  	codecs := serializer.NewCodecFactory(scheme)
  	apiserverconfig.AddToScheme(scheme)
  	apiserverconfigv1.AddToScheme(scheme)
  
  	configObj, gvk, err := codecs.UniversalDecoder().Decode(data, nil, nil)
  	if err != nil {
  		return nil, err
  	}
  	config, ok := configObj.(*apiserverconfig.EncryptionConfiguration)
  	if !ok {
  		return nil, fmt.Errorf("got unexpected config type: %v", gvk)
  	}
  	return config, nil
  }
docs: // loadConfig decodes data as a EncryptionConfiguration object.