first commit
This commit is contained in:
15
Services/Interfaces/IKeyManagerService.cs
Normal file
15
Services/Interfaces/IKeyManagerService.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HanaToolbox.Services.Interfaces;
|
||||
|
||||
public interface IKeyManagerService
|
||||
{
|
||||
Task<bool> CreateKeyAsync(
|
||||
string keyName, string connectionString,
|
||||
string user, string password,
|
||||
string sid, CancellationToken ct = default);
|
||||
|
||||
Task<bool> DeleteKeyAsync(string keyName, string sid, CancellationToken ct = default);
|
||||
|
||||
Task<IReadOnlyList<string>> ListKeysAsync(string sid, CancellationToken ct = default);
|
||||
|
||||
Task<bool> TestKeyAsync(string hdbsqlPath, string keyName, string sid, CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user