     crypto.randomBytes 12, (ex1, key) ->
       crypto.randomBytes 12, (ex2, secret) ->
         #todo remove prefixes
-        apiKey    = "kite-api-key-" + key.toString 'hex'
-        apiSecret = "kite-api-secret-" + secret.toString 'hex'
+        apiKey    = "key-" + key.toString 'hex'
+        apiSecret = "secret-" + secret.toString 'hex'
         data.key = apiKey
         data.secret = apiSecret
 

  @share()

  @set
    indexes         :
      apiKey          : 'unique'
    permissions: [
      'read kites'
      'create kites'

          'create', 'get', 'fetchAll', 'control'
        ]
    schema          :
      appName       :
        type        : String
        required    : yes
      kiteName      :
        type        : String
        required    : yes
      secret        :
        type        : String
        required    : no
      key          :
