Skip to content

Conversation

@THardy98
Copy link
Contributor

What was changed

Read TLS paths from DataSource path if specified.

Literal changes:

  • Added GetBytes() method to DataSource that returns Data if set, or reads from Path using File.ReadAllBytes()
  • Changed ToTlsOptions() to use ?.GetBytes() instead of ?.Data

Why?

Bug fix

  1. Closes [Bug] Loading TLS certificates from path doesn't work #584

  2. How was this tested:
    Modified existing integration test

  3. Any docs updates needed?
    Don't think so

… reads from Path using File.ReadAllBytes (ensures that we read from path if set
@THardy98 THardy98 requested a review from a team as a code owner January 15, 2026 17:32
@THardy98 THardy98 merged commit a0a70a1 into main Jan 15, 2026
11 checks passed
@THardy98 THardy98 deleted the envconfig-fix-tls-path branch January 15, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Loading TLS certificates from path doesn't work

3 participants