Ejemplo n.º 1
0
 internal static bool RemoveItemThrow(string Id, string VaultName, string Name, bool Exact)
 {
     Data.KeyVaultSecret result = GetItemThrow(Id, VaultName, Name, null, false, Exact);
     if (result == null)
     {
         return(false);
     }
     return(RemoveItems(Id, VaultName, Name, Exact));
 }
Ejemplo n.º 2
0
 internal static bool SetItemThrow(string Id, string VaultName, string Name, string Version, string Enabled, Nullable <DateTime> Expires, Nullable <DateTime> NotBefore, string ContentType, string[] Tags, string SecretValue, bool Exact)
 {
     Data.KeyVaultSecret result = GetItemThrow(Id, VaultName, Name, null, false, true);
     if (result == null)
     {
         return(false);
     }
     return(SetItemsThrow(Id, VaultName, Name, Version, Enabled, Expires, NotBefore, ContentType, Tags, SecretValue, Exact));
 }