nsc

nsc add operator

Add an operator

Synopsis

Add an operator

nsc add operator [flags]

Options

      --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")
      --force                  on import, overwrite existing when already present
      --generate-signing-key   generate a signing key with the operator
  -h, --help                   help for operator
  -n, --name string            operator name
      --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")
  -s, --sys                    generate system account with the operator (if specified will be signed with signing key)
  -u, --url string             import from a jwt server url, file, or well known operator

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