nsc

nsc init

Initialize an environment by creating an operator, account and user

nsc init [flags]

Options

  -H, --all-dirs string          sets --config-dir, --data-dir, and --keystore-dir to the same value
      --config-dir string        nsc config directory
      --data-dir string          nsc data store directory
  -d, --dir string               directory where the operator directory will be created (default "/Users/aricart/.local/share/nats/nsc/stores")
  -h, --help                     help for init
  -i, --interactive              ask questions for various settings
      --keystore-dir string      nsc keystore directory
  -n, --name string              name used for the operator, account and user
  -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 
  -o, --remote-operator string   remote well-known operator
  -u, --url string               operator account server url

SEE ALSO

Auto generated by spf13/cobra on 2-Jan-2025