aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-10-24 20:59:38 -0500
committerJP Dillingham <jp@dillingham.me>2026-10-24 20:59:38 -0500
commit8b68a8ea7733ad1a4a9e85f296d9f628b71d3e64 (patch)
treeb36ddd415b731a39ffee7edc965a6ccc7f88f74b /src
parentd796445484f0a36a67627f9c98630c7f1755233f (diff)
downloadslskd-8b68a8ea7733ad1a4a9e85f296d9f628b71d3e64.tar.gz
mark props that might contain secrets as secret
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index d2aba37f..9119a8fe 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1466,6 +1466,7 @@ namespace slskd
[EnvironmentVariable("LOKI")]
[Description("optional; url to a Grafana Loki instance to which to log")]
[RequiresRestart]
+ [Secret]
public string Loki { get; init; } = null;
/// <summary>
@@ -2585,6 +2586,7 @@ namespace slskd
/// Gets the fully qualified URL for the webhook.
/// </summary>
[NotNullOrWhiteSpace]
+ [Secret]
public string Url { get; init; }
/// <summary>
@@ -2621,6 +2623,7 @@ namespace slskd
/// <summary>
/// Gets the header's value.
/// </summary>
+ [Secret]
public string Value { get; init; }
}
@@ -2661,6 +2664,7 @@ namespace slskd
/// <summary>
/// Gets the shell command to run.
/// </summary>
+ [Secret]
public string Command { get; init; }
/// <summary>
@@ -2674,6 +2678,7 @@ namespace slskd
/// <remarks>
/// Mutually exclusive with <see cref="Arglist"/>.
/// </remarks>
+ [Secret]
public string Args { get; init; }
/// <summary>