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)); }
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)); }