Skip to content

Commit

Permalink
CNJR-0000: Fix broken API Key authn
Browse files Browse the repository at this point in the history
  • Loading branch information
szh committed Feb 27, 2024
1 parent ed48558 commit 3258f3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [3.0.1] - 2024-02-27
### Fixed
- Fix broken API Key authentication

## [3.0.0] - 2024-02-14
### Changed
- Target .NET 6+. If you're using .NET Framework, continue using v2.1.1.
Expand Down Expand Up @@ -53,7 +57,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- `Variable.AddValue()` method for adding variable values.

[Unreleased]: https://github.com/cyberark/conjur-api-dotnet/compare/v3.0.0...HEAD
[Unreleased]: https://github.com/cyberark/conjur-api-dotnet/compare/v3.0.1...HEAD
[3.0.1]: https://github.com/cyberark/conjur-api-dotnet/compare/v3.0.0...v3.0.1
[3.0.0]: https://github.com/cyberark/conjur-api-dotnet/compare/v2.1.1...v3.0.0
[2.1.1]: https://github.com/cyberark/conjur-api-dotnet/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/cyberark/conjur-api-dotnet/compare/v2.0.0...v2.1.0
Expand Down
1 change: 1 addition & 0 deletions conjur-api/ApiKeyAuthenticator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public string GetToken()
using (Stream memoryStream = new MemoryStream())
{
memoryStream.Write(bArr, 0, bArr.Length);
memoryStream.Seek(0, SeekOrigin.Begin);

using (var stream = new StreamContent(memoryStream))
{
Expand Down

0 comments on commit 3258f3e

Please sign in to comment.