public virtual async Task <String> EncryptSecretAsync() { AddRules(); AddProperties(); EncryptSecret(); string id = await _secretStore.CreateAsync(Secret); _context.OnSecretEncrypted?.Invoke(this, _eventArgs); return(id); }