Skip to content

Commit

Permalink
doc: Update for trust add-certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
stgraber committed Nov 16, 2023
1 parent c0b9944 commit eb25da8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/howto/projects_confine.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Use the following command to add a restricted client certificate:
```{group-tab} Add client certificate
incus config trust add <certificate_file> --projects <project_name> --restricted
incus config trust add-certificate <certificate_file> --projects <project_name> --restricted
```
````
Expand Down
2 changes: 1 addition & 1 deletion doc/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ The command requires OpenSSL version 1.1.0 or later.

Then add this certificate to the list of trusted clients, specifying the type as `metrics`:

incus config trust add metrics.crt --type=metrics
incus config trust add-certificate metrics.crt --type=metrics

If requiring TLS client authentication isn't possible in your environment, the `/1.0/metrics` API endpoint can be made available to unauthenticated clients.
While not recommended, this might be acceptable if you have other controls in place to restrict who can reach that API endpoint. To disable the authentication on the metrics API:
Expand Down

0 comments on commit eb25da8

Please sign in to comment.