Exemplo n.º 1
0
 public void Decrypt(string key)
 {
     if (!_sman.TryRetrieve(key, out string retrieved))
     {
         throw new ExitCodeException(1, $"Key \"{key}\" not found in secrets store!");
     }
     else
     {
         Console.WriteLine(retrieved);
     }
 }