1 write to _secrets
Aspire.Hosting (1)
src\Shared\SecretsStore.cs (1)
27
_secrets
= Load(_secretsFilePath);
9 references to _secrets
Aspire.Hosting (9)
src\Shared\SecretsStore.cs (9)
30
public string? this[string key] =>
_secrets
[key];
32
public int Count =>
_secrets
.Count;
37
public bool ContainsKey(string key) =>
_secrets
.ContainsKey(key);
39
public IEnumerable<KeyValuePair<string, string?>> AsEnumerable() =>
_secrets
;
41
public void Clear() =>
_secrets
.Clear();
43
public void Set(string key, string value) =>
_secrets
[key] = value;
45
public bool Remove(string key) =>
_secrets
.Remove(key);
52
if (
_secrets
is not null)
54
foreach (var secret in
_secrets
.AsEnumerable())