github.com/nats-io/nsc@v0.0.0-20221206222106-35db9400b257/docs/nsc_generate_nkey.md (about) 1 ## nsc generate nkey 2 3 Generates an nkey 4 5 ### Synopsis 6 7 Generates an nkey 8 9 ``` 10 nsc generate nkey [flags] 11 ``` 12 13 ### Options 14 15 ``` 16 -a, --account account 17 -h, --help help for nkey 18 -o, --operator operator 19 -S, --store store in the keystore 20 -u, --user user 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 generate](nsc_generate.md) - Generate activations, creds, configs or nkeys 38 39 ###### Auto generated by spf13/cobra on 25-Feb-2022