nsc

nsc generate creds

Generate a credentials file for an user

nsc generate creds [flags]

Examples

nsc generate creds --account a --name u

Options

  -a, --account string       account name
  -h, --help                 help for creds
  -n, --name string          user name
  -o, --output-file string   output file '--' is stdout (default "--")

Options inherited from parent commands

  -H, --all-dirs string       sets --config-dir, --data-dir, and --keystore-dir to the same value
      --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 2-Jan-2025