nsc

nsc generate config

Generate an account config file for an operator

Synopsis

Generate an account config file for an operator

nsc generate config [flags]

Examples

nsc generate config --mem-resolver
nsc generate config --mem-resolver --config-file <outfile>
nsc generate config --mem-resolver --config-file <outfile> --force
nsc generate config --nats-resolver
nsc generate config --nats-resolver-cache

Options

      --config-file string    output configuration file '--' is standard output (exclusive of --dir) (default "--")
  -F, --force                 overwrite output files if they exist
  -h, --help                  help for config
      --mem-resolver          generates a mem resolver server configuration
      --nats-resolver         generates a full nats resolver server configuration
      --nats-resolver-cache   generates a cached nats resolver server configuration
      --sys-account string    system account name

Options inherited from parent commands

      --config-dir string     nsc config directory
      --data-dir string       nsc data store directory
  -i, --interactive           ask questions for various settings
      --keystore-dir string   nsc keystore directory
  -K, --private-key string    Key used to sign. Can be specified as role (where applicable),
                              public key (private portion is retrieved)
                              or file path to a private key or private key 

SEE ALSO

Auto generated by spf13/cobra on 25-Feb-2022