(incus_config_trust_add-certificate.md)=
# `incus config trust add-certificate`

Add new trusted client certificate

## Synopsis
```{line-block}

Description
  Add new trusted client certificate

  The following certificate types are supported:
  - client (default)
  - metrics




```
```
incus config trust add-certificate [<remote>:] <cert.crt> [flags]
```

## Options

```
      --description               Certificate description
      --name                      Alternative certificate name
      --projects                  List of projects to restrict the certificate to
      --restricted[=true|false]   Restrict the certificate to one or more projects
  -t, --type                      Type of certificate (default "client")
```

## Options inherited from parent commands

```
      --debug[=true|false]          Show all debug messages
      --explain[=true|false]        If the command is valid, explain its parsed arguments instead of running it
      --force-local[=true|false]    Force using the local unix socket
  -h, --help[=true|false]           Print help
      --project                     Override the source project
  -q, --quiet[=true|false]          Don't show progress information
      --sub-commands[=true|false]   Use with help or --help to view sub-commands
  -v, --verbose[=true|false]        Show all information messages
      --version[=true|false]        Print version number
```

## SEE ALSO

* [incus config trust](incus_config_trust.md)	 - Manage trusted clients

