public override void Load() { using (var loader = new VaultSecretLoader()) { Data = loader.GetVaultSecrets().ConfigureAwait(false).GetAwaiter().GetResult(); } }
public override void Load() { var loader = new VaultSecretLoader(); Data = Task.Run(async() => await loader.GetVaultSecrets()).Result; }