lxc config trust add
¶
Add new trusted client
Synopsis¶
Description: Add new trusted client
The following certificate types are supported:
client (default)
metrics
If the certificate is omitted, a token will be generated and returned. A client providing a valid token will have its client certificate added to the trusted list and the consumed token will be invalidated. Similar to certificates, tokens can be restricted to one or more projects.
lxc config trust add [<remote>:] [<cert>] [flags]
Options¶
--name Alternative certificate name
--projects List of projects to restrict the certificate to
--restricted Restrict the certificate to one or more projects
--type Type of certificate (default "client")
Options inherited from parent commands¶
--debug Show all debug messages
--force-local Force using the local unix socket
-h, --help Print help
--project Override the source project
-q, --quiet Don't show progress information
--sub-commands Use with help or --help to view sub-commands
-v, --verbose Show all information messages
--version Print version number
SEE ALSO¶
lxc config trust - Manage trusted clients