EncryptionService should be using ISecretProvider
Remove Async from method that was not Async
This commit is contained in:
parent
ccb06b260c
commit
3e5ce9d81d
6 changed files with 44 additions and 31 deletions
|
|
@ -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) ?? "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue