aspire certs command
Ce contenu n’est pas encore disponible dans votre langue.
aspire certs - Manage HTTPS development certificates.
Synopsis
Section titled “Synopsis”aspire certs [command] [options]Description
Section titled “Description”The aspire certs command manages the HTTPS development certificates used by Aspire during local development. Use it when you want to trust the development certificate explicitly or remove existing development certificates while troubleshooting HTTPS issues.
Options
Section titled “Options”The following options are available:
-
-?, -h, --helpPrints help and usage documentation for the available commands and options.
-
-l, --log-level <Critical|Debug|Error|Information|None|Trace|Warning>Set the minimum log level for console output. Use this option to increase diagnostics while troubleshooting or reduce output in scripted runs.
-
--non-interactiveRun the command in non-interactive mode, disabling all interactive prompts and spinners.
-
--nologoSuppress the startup banner and telemetry notice.
-
--bannerDisplay the animated Aspire CLI welcome banner.
-
--wait-for-debuggerWait for a debugger to attach before running a command.
Commands
Section titled “Commands”The following commands are available:
| Command | Function |
|---|---|
aspire certs clean | Remove all HTTPS development certificates. |
aspire certs trust | Trust the HTTPS development certificate, creating one if needed. |
Examples
Section titled “Examples”-
Trust the Aspire HTTPS development certificate:
Aspire CLI aspire certs trust -
Remove all local HTTPS development certificates:
Aspire CLI aspire certs clean