Skip to content

Implement a filtered version of the Server struct - #3462

Merged
stgraber merged 3 commits into
lxc:mainfrom
stgraber:cli
Jun 6, 2026
Merged

Implement a filtered version of the Server struct#3462
stgraber merged 3 commits into
lxc:mainfrom
stgraber:cli

Conversation

@stgraber

@stgraber stgraber commented Jun 6, 2026

Copy link
Copy Markdown
Member

Closes #2550
Closes #2337

stgraber added 3 commits June 6, 2026 00:34
This returns a filtered version of the struct where sensitive keys are
replaced with SENSITIVE and where some other noisy keys are removed or
summarized.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Default to filtered output now and use --show-sensitive to show the
original long output with all the sensitive config keys.

Closes lxc#2337

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@github-actions github-actions Bot added the API Changes to the REST API label Jun 6, 2026
@stgraber
stgraber merged commit 50df3cc into lxc:main Jun 6, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Changes to the REST API

Development

Successfully merging this pull request may close these issues.

Implement incus info alternative that strips out sensitive data

3 participants