 
   helpers =
 
-    _loadCredentials: (selector, selectedCredentials, callback) ->
-
-      options  = { '_id' : -1 }
-      remote.api.JCredential.some selector, options, (err, items) ->
-        return callback err  if err
-
-        { provider } = selector
-        defaultItem  = selectedCredentials?[provider]?.first
-        callback null, _.extend { items, defaultItem }, selector
+    _loadCredentials: (selector, callback) ->
+
+      remote.api.JCredential.some selector, { '_id' : -1 }, callback
 
 
     loadCredentials: (stack, callback) ->

        break  if provider in ['aws', 'vagrant']
      provider ?= (Object.keys stack.credentials ? { aws : yes }).first

      helpers._loadCredentials { provider }, stack.credentials, (err, result) ->
        return callback err  if err

        { items, defaultItem } = result
        return callback null, result  unless defaultItem

        isAvailable = (

      requiredFields = requiredData[provider]
      fields = requiredFields.map (field) -> field.name ? field

      helpers._loadCredentials { provider, fields }, (err, items) ->
        return callback err  if err
        callback null, { items, provider, fields : requiredFields }


    getKDCmd: (callback) ->
