private void SearchSecret(string keyVault, string secretName)
 {
     try
     {
         var kvModel = this.KeyVaults.Find(x => x.KvName.Equals(keyVault));
         var helper  = KeyVaultHelper.GetKeyVaultService(kvModel.KvName, kvModel.TenantId, kvModel.ClientId, kvModel.ClientSecret);
         var secret  = helper.RecuperaSegredo(secretName);
         txtSecretValue.Text = secret;
         txtNewSecret.Text   = secret;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 private void UpdateSecret(string keyVault)
 {
     try
     {
         var kvModel = this.KeyVaults.Find(x => x.KvName.Equals(keyVault));
         var helper  = KeyVaultHelper.GetKeyVaultService(kvModel.KvName, kvModel.TenantId, kvModel.ClientId, kvModel.ClientSecret);
         var success = helper.CriaSegredo(SecretName, NewSecretValue);
         if (success)
         {
             var secret = helper.RecuperaSegredo(SecretName);
             txtSecretValue.Text = secret;
             txtNewSecret.Text   = secret;
         }
     }
     catch
     {
         throw;
     }
 }