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