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