Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Update for trust add-certificate #230

Merged
merged 1 commit into from Nov 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/howto/projects_confine.md
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
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