         loader   : color : "#444444"
         callback : -> @hideLoader()
 
-      Cancel     :
-        style    : "solid medium"
-        type     : "button"
-        callback : -> form.emit "Cancel"
+    buttons = injectCustomActions requiredFields, buttons, (generatedKeys) ->
+      for own field, input of form.inputs
+        input.setValue data  if data = generatedKeys[field]
+
+    buttons.Cancel =
+      style        : "solid medium"
+      type         : "button"
+      callback     : -> form.emit "Cancel"
+
 
     # Add advanced fields into form
     if advancedFields = currentProvider.advancedFields


  KNOWN_FIELD_TYPES   =
    'ssh_private_key' : 'textarea'

  @generateAddCredentialFormFor = (options) ->



        selectOptions.push { field, values }

    buttons      =
      Save       :
        title    : "Save"
