 # When adding up the storage usage totals, the DEFAULT_STORAGE_USAGE is
 # the default value to add, if no storage is defined.
 DEFAULT_STORAGE_USAGE = 3
+
+PROVIDERS_WITHOUT_CREDS = ['koding', 'managed', 'softlayer']
 
 reviveProvisioners = (client, provisioners, callback, revive = no) ->
 

      # since the user session is enough for koding provider for now.

      if shouldPassCredential and not credential?
        unless provider in ['koding', 'managed']
          return callback new KodingError \
            'Credential is required.', 'MissingCredential'


        if err then return callback err

        if shouldPassCredential and not cred?
          unless provider in PROVIDERS_WITHOUT_CREDS
            return callback \
              new KodingError 'Credential failed.', 'AccessDenied'
        else
