EncryptionService should be using ISecretProvider

Remove Async from method that was not Async
This commit is contained in:
eelke 2026-02-15 19:18:02 +01:00
parent ccb06b260c
commit 3e5ce9d81d
6 changed files with 44 additions and 31 deletions

View file

@ -10,7 +10,7 @@ public class ConfigurationSecretProvider(IConfiguration configuration) : ISecret
{
private readonly IConfigurationSection secrets = configuration.GetSection("secrets");
public string GetSecretAsync(string name)
public string GetSecret(string name)
{
return secrets.GetValue<string>(name) ?? "";
}