github.com/nats-io/nsc@v0.0.0-20221206222106-35db9400b257/docs/nsc_init.md (about) 1 ## nsc init 2 3 Initialize an environment by creating an operator, account and user 4 5 ### Synopsis 6 7 Initialize an environment by creating an operator, account and user 8 9 ``` 10 nsc init [flags] 11 ``` 12 13 ### Options 14 15 ``` 16 -d, --dir string directory where the operator directory will be created (default "/Users/synadia/.local/share/nats/nsc/stores") 17 -h, --help help for init 18 -n, --name string name used for the operator, account and user 19 -o, --remote-operator string remote well-known operator 20 -u, --url string operator account server url 21 ``` 22 23 ### Options inherited from parent commands 24 25 ``` 26 --config-dir string nsc config directory 27 --data-dir string nsc data store directory 28 -i, --interactive ask questions for various settings 29 --keystore-dir string nsc keystore directory 30 -K, --private-key string Key used to sign. Can be specified as role (where applicable), 31 public key (private portion is retrieved) 32 or file path to a private key or private key 33 ``` 34 35 ### SEE ALSO 36 37 * [nsc](nsc.md) - nsc creates NATS operators, accounts, users, and manage their permissions. 38 39 ###### Auto generated by spf13/cobra on 25-Feb-2022