nsc

nsc expirations

Create a new expiration report

nsc expirations [flags]

Examples

expirations --skip --within 1w (reports entities that are expiring within on week)
expirations --json --within 3M (reports in JSON all entities marking those expiring within a month)

Options

  -h, --help            help for expirations
      --json            print the expiration report in json format to stdout
      --skip            skip reporting entities that are not expired or expiring soon
  -e, --within string   print an expiration report for entities that expire within the specified duration.
                        Supported are YYYY-MM-DD for absolute, and relative of now
                         (m)inute, (h)our, (d)ay, (w)week, (M)onth, (y)ear expressions (default "1M")

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