nsc

nsc add export

Add an export

Synopsis

Add an export

nsc add export [flags]

Examples

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

Options

  -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

Options inherited from parent commands

      --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 

SEE ALSO

Auto generated by spf13/cobra on 25-Feb-2022