public async Task AddSecretProtectedValue(ProtectedSecretHandle protectedSecretHandle)
 {
     await TryWithAwaitInCatch.ExecuteAndHandleErrorAsync(
         async() =>
     {
         await ResilientSessionContainer.EstablishSessionAsync();
         await ResilientSessionContainer.ResilientSession.AddSecretProtectedValue(protectedSecretHandle);
     },
         async (ex) => ResilientSessionContainer.HandleCassandraException <Task>(ex));
 }
Ejemplo n.º 2
0
 public async Task AddSecretProtectedValue(ProtectedSecretHandle handle)
 {
     await ClientStore.AddSecretProtectedValue(handle);
 }