 module.exports = class ComputeController extends KDController
 
 
-  @providers = globals.config.providers
+  @providers = globals.config.providers._getSupportedProviders()
   @Error     = {
     'TimeoutError', 'KiteError', 'NotSupported'
     Pending: '107', NotVerified: '500'

    if method?
      switch method
        when 'reinit'
          return NotSupported  if provider in ['aws', 'vagrant']
        when 'createSnapshot'
          return NotSupported  if provider in ['aws', 'softlayer', 'vagrant']





  shareCredentials: (credentials, requiredProviders, callback) ->

    selectedProvider = null
    for provider in requiredProviders when provider in @providers
      selectedProvider = provider
    selectedProvider ?= (Object.keys credentials ? { aws: yes }).first

    creds = Object.keys credentials
    { groupsController } = kd.singletons
