From 8474da3d3dd2033491ac48bfe41b2723273979de Mon Sep 17 00:00:00 2001 From: Relax2Zero Date: Fri, 18 Oct 2024 16:33:18 +0200 Subject: [PATCH] fix workload identity in azure reader (#120) Co-authored-by: Gutzeit, Enrico --- CMakeLists.txt | 2 +- Src/libCZI/Doc/version-history.markdown | 3 ++- Src/libCZI/StreamsLib/azureblobinputstream.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f1c44f22..398565f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15) cmake_policy(SET CMP0091 NEW) # enable new "MSVC runtime library selection" (https://cmake.org/cmake/help/latest/variable/CMAKE_MSVC_RUNTIME_LIBRARY.html) project(libCZI - VERSION 0.62.5 + VERSION 0.62.6 HOMEPAGE_URL "https://github.com/ZEISS/libczi" DESCRIPTION "libCZI is an Open Source Cross-Platform C++ library to read and write CZI") diff --git a/Src/libCZI/Doc/version-history.markdown b/Src/libCZI/Doc/version-history.markdown index 6a86680d..fca07623 100644 --- a/Src/libCZI/Doc/version-history.markdown +++ b/Src/libCZI/Doc/version-history.markdown @@ -31,4 +31,5 @@ version history {#version_history} 0.62.2 | [115](https://github.com/ZEISS/libczi/pull/115) | enabling building with clang on windows 0.62.3 | [116](https://github.com/ZEISS/libczi/pull/116) | enable long paths on Windows for CZIcmd, add Windows-ARM64 build 0.62.4 | [117](https://github.com/ZEISS/libczi/pull/117) | fix build with private RapidJSON library - 0.62.5 | [119](https://github.com/ZEISS/libczi/pull/119) | fix a discrepancy between code and documentation \ No newline at end of file + 0.62.5 | [119](https://github.com/ZEISS/libczi/pull/119) | fix a discrepancy between code and documentation + 0.62.6 | [120](https://github.com/ZEISS/libczi/pull/120) | fix workload identity in the azure blob inputstream \ No newline at end of file diff --git a/Src/libCZI/StreamsLib/azureblobinputstream.cpp b/Src/libCZI/StreamsLib/azureblobinputstream.cpp index 47d4a1d7..beb60a15 100644 --- a/Src/libCZI/StreamsLib/azureblobinputstream.cpp +++ b/Src/libCZI/StreamsLib/azureblobinputstream.cpp @@ -115,7 +115,7 @@ void AzureBlobInputStream::CreateWithCreateAzureCliCredential(const std::map& tokenized_file_name, const std::map& property_bag) { - this->CreateWithCredential(tokenized_file_name, property_bag, AzureBlobInputStream::CreateAzureCliCredential); + this->CreateWithCredential(tokenized_file_name, property_bag, AzureBlobInputStream::CreateWorkloadIdentityCredential); } void AzureBlobInputStream::CreateWithManagedIdentityCredential(const std::map& tokenized_file_name, const std::map& property_bag)