Add an export
Add an export
nsc add export [flags]
nsc add export -i
nsc add export --subject "a.b.c.>"
nsc add export --service --subject a.b
nsc add export --name myexport --subject a.b --service
-a, --account string account name
--account-token-position uint subject token position where account is expected (public exports only)
-h, --help help for export
--latency string latency metrics subject (services only)
-n, --name string export name
-p, --private private export - requires an activation to access
--response-threshold duration response threshold duration (units ms/s/m/h) (services only)
--response-type string response type for the service [Singleton | Stream | Chunked] (services only) (default "Singleton")
--sampling header latency sampling percentage [1-100] or header (services only)
-r, --service export type service
-s, --subject string subject
--config-dir string nsc config directory
--data-dir string nsc data store directory
-i, --interactive ask questions for various settings
--keystore-dir string nsc keystore directory
-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