nsc

nsc init

Initialize an environment by creating an operator, account and user

Synopsis

Initialize an environment by creating an operator, account and user

nsc init [flags]

Options

  -d, --dir string               directory where the operator directory will be created (default "/Users/synadia/.local/share/nats/nsc/stores")
  -h, --help                     help for init
  -n, --name string              name used for the operator, account and user
  -o, --remote-operator string   remote well-known operator
  -u, --url string               operator account server url

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