Skip to content

connect agent init

connect agent init

Interactively create an agent configuration file

Synopsis

Run an interactive wizard that writes a minimal agent.yaml to the default config location, then signs you in to Dioad Connect.

By default the wizard asks only for a tunnel type (and what it should expose) and a password for the management console's admin user, and uses defaults for everything else. Pass --advanced to choose the tunnel name, management address and admin username, and to confirm before anything is written.

With --preset-config (or CONNECT_PRESET_CONFIG), for an image that ships its own config, the wizard writes no config: it checks that one, then sets the management password and signs you in, at the password file and identity it names.

connect agent init [flags]

Options

      --advanced[=true|false]              
      --auth-command string                 (default "connect agent auth")
      --file-root-directory string          (default "./")
  -h, --help[=true|false]                  help for init
      --log-to-stdout[=true|false]         
      --management-listen-address string    (default "127.0.0.1:4444")
      --output-file string                  (default "$HOME/.config/dioad/connect/agent.yaml")
      --preset-config string               
      --skip-auth[=true|false]             
      --start-command string                (default "connect agent")
      --tunnel-type string                 

SEE ALSO