github.com/nats-io/nsc@v0.0.0-20221206222106-35db9400b257/docs/nsc_add_export.md (about) 1 ## nsc add export 2 3 Add an export 4 5 ### Synopsis 6 7 Add an export 8 9 ``` 10 nsc add export [flags] 11 ``` 12 13 ### Examples 14 15 ``` 16 nsc add export -i 17 nsc add export --subject "a.b.c.>" 18 nsc add export --service --subject a.b 19 nsc add export --name myexport --subject a.b --service 20 ``` 21 22 ### Options 23 24 ``` 25 -a, --account string account name 26 --account-token-position uint subject token position where account is expected (public exports only) 27 -h, --help help for export 28 --latency string latency metrics subject (services only) 29 -n, --name string export name 30 -p, --private private export - requires an activation to access 31 --response-threshold duration response threshold duration (units ms/s/m/h) (services only) 32 --response-type string response type for the service [Singleton | Stream | Chunked] (services only) (default "Singleton") 33 --sampling header latency sampling percentage [1-100] or header (services only) 34 -r, --service export type service 35 -s, --subject string subject 36 ``` 37 38 ### Options inherited from parent commands 39 40 ``` 41 --config-dir string nsc config directory 42 --data-dir string nsc data store directory 43 -i, --interactive ask questions for various settings 44 --keystore-dir string nsc keystore directory 45 -K, --private-key string Key used to sign. Can be specified as role (where applicable), 46 public key (private portion is retrieved) 47 or file path to a private key or private key 48 ``` 49 50 ### SEE ALSO 51 52 * [nsc add](nsc_add.md) - Add assets such as accounts, imports, users 53 54 ###### Auto generated by spf13/cobra on 25-Feb-2022