LXC.CONFIG.TRUST.ADD(1)

πŸ“¦
version 5.21.6 Β· 3 versions
, in opensuse-leap 16.0

πŸ’– LXD β€” Command line client(1) πŸ’–

okay bestie, welcome to the lxc-config-trust-add page β€” this is part of the LXD command line client manual, and honestly it's a whole vibe. it's short, it's sweet, and it's literally about letting new people into the club πŸŽ€


✨ NAME ✨

lxc-config-trust-add β€” add a new trusted client, no cap 🫢


🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Description: add a new trusted client. periodt. πŸ’…

the following certificate types are supported:

  • client (this one's the default, she's the main character πŸ‘‘)
  • metrics

okay so here's the tea about omitting the certificate: if you leave it out, a token gets generated and returned to you. then a client that shows up with a valid token will have its client certificate added to the trusted list β€” and the token it used gets invalidated right after (one-time use, iconc). πŸ”₯

and similar to certificates, tokens can be restricted to one or more projects, so you can keep things cute and contained. ✨


πŸ’œ OPTIONS πŸ’œ

  • --name="" β€” an alternative name for the certificate 🌸
  • --projects="" β€” the list of projects you want to restrict the certificate to πŸŽ€
  • --restricted[=false] β€” restrict the certificate to one or more projects (defaults to false, so it's off unless you say so) πŸ”’
  • --type="client" β€” the type of certificate, defaulting to "client" πŸ¦‹

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these bad boys come from the parent command β€” you get them for free, bestie:

  • --debug[=false] β€” show all the debug messages (defaults to false) πŸ›
  • --force-local[=false] β€” force using the local unix socket (defaults to false) πŸ”Œ
  • -h, --help[=false] β€” print help, always there for you 🫢
  • --project="" β€” override the source project πŸ—‚οΈ
  • -q, --quiet[=false] β€” don't show progress information (defaults to false) 🀫
  • --sub-commands[=false] β€” use this with help or --help to view sub-commands πŸ‘€
  • -v, --verbose[=false] β€” show all the information messages (defaults to false) πŸ“£
  • --version[=false] β€” print the version number ⭐

🧚 SEE ALSO 🧚

  • lxc-config-trust(1) β€” go read her next, she's iconic πŸ’–

⭐ HISTORY ⭐

22-Aug-2026 β€” auto generated by spf13/cobra πŸ€–


fr fr, this whole page was auto generated by spf13/cobra and it's dated Aug 2026, and the source is the LXD command line client manual, section 1. that's the sign-off bestie, slay πŸ’…βœ¨πŸŽ€
πŸ“¦ where this page comes from