lxc.config.trust.add

LXD - Command line client(1) LXD - Command line client(1)

NAME

   lxc-config-trust-add - Add new trusted client

SYNOPSIS

   lxc config trust add [:] [] [flags]

DESCRIPTION

   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.

OPTIONS

   --name=""      Alternative certificate name``

   --projects=""      List of projects to restrict the certificate to``

   --restricted[=false]      Restrict the certificate to one or more projects

   --type="client"      Type of certificate``

OPTIONS INHERITED FROM PARENT COMMANDS

   --debug[=false]      Show all debug messages

   --force-local[=false]      Force using the local unix socket

   -h, --help[=false]      Print help

   --project=""      Override the source project``

   -q, --quiet[=false]      Don't show progress information

   --sub-commands[=false]      Use with help or --help to view sub-commands

   -v, --verbose[=false]      Show all information messages

   --version[=false]      Print version number

SEE ALSO

   lxc-config-trust(1)

HISTORY

   22-Jun-2025 Auto generated by spf13/cobra

Auto generated by spf13/cobra Jun 2025 LXD - Command line client(1)