   ;  :service :executor,
     :accepted_repositories ["^.*$"]
 ;    :windows {:fsi_path "C:\\Program Files (x86)\\Microsoft SDKs\\F#\\4.0\\Framework\\v4.0\\Fsi.exe"},
-    :tmp_dir "tmp",
+    :tmp_dir (-> "/tmp" clj-fs/absolute clj-fs/normalized str),
 ;    :server_secret "secret",
     :trial_retention_duration "30 Minutes",
-    :name "DemoExecutor",
+    :name (hostname),
     :hostname (hostname),
 ;    :secret "secret",
     :repositories_dir nil;(-> "./tmp/executor_repositories" clj-fs/absolute clj-fs/normalized str),
     :working_dir (->  "./tmp/working_dir" clj-fs/absolute clj-fs/normalized str),
     :default_script_timeout "3 Minutes",
+    :public_key (-> (default-key-pair) pki/key-pair->pem-public)
+    :private_key (-> (default-key-pair) pki/key-pair->pem-private)
 ;    :http {:port 8883
 ;           :host "localhost"
 ;           :enabled (if (= env/env :dev) true false)}

(defn generate-config-file-usage [options-summary & more]
  (->> ["Cider-CI Executor generate-config-file"
        ""
        "Write the default configuration to a file. "
        "Commonly used to retrieve an initial configuration for the executor."
        ""
        "Options:"
        options-summary




;(-main {} "-c" "./tmp/initial-executor-config.yml" "-f")
;(-main {} "-h") 


