1 write to _secrets
Aspire.Hosting (1)
src\Shared\SecretsStore.cs (1)
28
_secrets
= Load(_secretsFilePath);
9 references to _secrets
Aspire.Hosting (9)
src\Shared\SecretsStore.cs (9)
31
public string? this[string key] =>
_secrets
[key];
33
public int Count =>
_secrets
.Count;
38
public bool ContainsKey(string key) =>
_secrets
.ContainsKey(key);
40
public IEnumerable<KeyValuePair<string, string?>> AsEnumerable() =>
_secrets
;
42
public void Clear() =>
_secrets
.Clear();
44
public void Set(string key, string value) =>
_secrets
[key] = value;
46
public bool Remove(string key) =>
_secrets
.Remove(key);
53
if (
_secrets
is not null)
55
foreach (var secret in
_secrets
.AsEnumerable())