public void AddSecret(string tableName, string key, string application, string name, SecureString value) { SetDependencies(tableName); var s = new ClearSecret(application, name, value.ToUnprotectedString()); var ps = _secretStore.Protect(key, s); _secretStore.Save(ps); }