1 write to SecretStore
dotnet-user-secrets (1)
Internal\CommandContext.cs (1)
19
SecretStore
= store;
12 references to SecretStore
dotnet-user-secrets (12)
Internal\ClearCommand.cs (2)
23
context.
SecretStore
.Clear();
24
context.
SecretStore
.Save();
Internal\ListCommand.cs (3)
41
if (context.
SecretStore
.Count == 0)
47
foreach (var secret in context.
SecretStore
.AsEnumerable())
57
foreach (var item in context.
SecretStore
.AsEnumerable())
Internal\RemoveCommand.cs (3)
36
if (!context.
SecretStore
.ContainsKey(_keyName))
42
context.
SecretStore
.Remove(_keyName);
43
context.
SecretStore
.Save();
Internal\SetCommand.cs (4)
78
context.
SecretStore
.Set(k.Key, k.Value);
83
context.
SecretStore
.Save();
100
context.
SecretStore
.Set(_keyName, _keyValue);
101
context.
SecretStore
.Save();