fsprojects / pulsar-client-dotnet

Apache Pulsar native client for .NET (C#/F#/VB)
MIT License
301 stars 47 forks source link

The oAuth2 private key file needs to be writeable #206

Closed ThomasHarzer closed 2 years ago

ThomasHarzer commented 2 years ago

This is not necessary and it makes it impossible to read from read-only file systems like Kubernetes configmaps.

Please open the FileStream with a third parameter FileAccess.Read since the default value is FileAccess.ReadWrite.

Lanayx commented 2 years ago

Hi! Will you be able to send a PR with the fix?