Publish to a subject from a NATS account
Publish to a subject from a NATS account
nsc tool pub [flags]
nsc tool pub <subject> <opt_payload>
-a, --account string account name
-h, --help help for pub
-u, --user string user name
--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
--nats string nats url, defaults to the operator's service URLs
-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