github.com/nats-io/nsc@v0.0.0-20221206222106-35db9400b257/docs/nsc_generate_activation.md (about) 1 ## nsc generate activation 2 3 Generate an export activation jwt token 4 5 ### Synopsis 6 7 Generate an export activation jwt token 8 9 ``` 10 nsc generate activation [flags] 11 ``` 12 13 ### Options 14 15 ``` 16 -a, --account string account name 17 --expiry string valid until ('0' is always, '2M' is two months) - yyyy-mm-dd, #m(inutes), #h(ours), #d(ays), #w(eeks), #M(onths), #y(ears) (default "0") 18 -h, --help help for activation 19 -o, --output-file string output file '--' is stdout (default "--") 20 --push push activation token to operator's account server (exclusive of output-file 21 --start string valid from ('0' is always, '3d' is three days) - yyyy-mm-dd, #m(inutes), #h(ours), #d(ays), #w(eeks), #M(onths), #y(ears) (default "0") 22 -s, --subject string export subject 23 -t, --target-account string target-account 24 ``` 25 26 ### Options inherited from parent commands 27 28 ``` 29 --config-dir string nsc config directory 30 --data-dir string nsc data store directory 31 -i, --interactive ask questions for various settings 32 --keystore-dir string nsc keystore directory 33 -K, --private-key string Key used to sign. Can be specified as role (where applicable), 34 public key (private portion is retrieved) 35 or file path to a private key or private key 36 ``` 37 38 ### SEE ALSO 39 40 * [nsc generate](nsc_generate.md) - Generate activations, creds, configs or nkeys 41 42 ###### Auto generated by spf13/cobra on 25-Feb-2022