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