     @editorPane.setCss background: 'black'
 
 
-  createCredentialsBox: (credentials) ->
-
-    creds = ({title: c.title, value: c.publicKey} for c in credentials)
+  createCredentialsBox: ->
+
+    creds = ({title: c.title, value: c.publicKey} for c in @_credentials)
 
     @addSubView new kd.LabelView
       title: "Select credential to use:"


          return

        @createEditorPane stackTemplate?.template?.content or defaultTemplate
        @createCredentialsBox credentials

        @addSubView @saveButton = new kd.ButtonView
          title    : 'Set as default stack'


    super options, data

    @_credentials = {}


  createEditorPane: (content) ->

