Commit Graph

2278 Commits

Author SHA1 Message Date
James Le Cuirot
b33fb227ce
Fix IMDS token requests for managed identities (#6698)
This was broken by a035ee5f94, which
accidentally constructed the IMDS URL with a double slash at the start
of the path. This is not properly routed on the server side, leading to
a 404 error with some very misleading XML.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-08-14 00:22:53 -07:00
Azure SDK Bot
c67192484f
Increment package version after release of azure-identity (#6684) 2025-08-05 14:15:39 -07:00
Anton Kolesnyk
6aea93d041
Azure Identity August GA Release (#6681)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-08-05 10:02:51 -07:00
microzchang
b828be5d8d
Update to STG98 GA Version (#6661) (#6664) 2025-07-23 11:29:06 +08:00
Ronnie Geraghty
ad39366be4
Fix small typo (#6625)
Found a small typo randomly.

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-15 20:16:39 +00:00
Azure SDK Bot
4771bb3bcd
Increment package version after release of azure-identity (#6657)
---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-15 11:40:48 -07:00
Anton Kolesnyk
95b9f6e538
Azure Identity July Beta Release (#6652)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-15 08:19:04 -07:00
Anton Kolesnyk
65508720fb
Identity: 'AZURE_TOKEN_CREDENTIALS' env var support for specific credential names (#6634)
* Identity: 'AZURE_TOKEN_CREDENTIALS' env var support for specific credential names

* No need to use index-based loop at that place

* Clang-format

* Require 'Credential' suffix for env var values

* Update sdk/identity/azure-identity/CHANGELOG.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2025-07-10 12:10:03 -07:00
Azure SDK Bot
970b619b28
Increment package version after release of azure-identity (#6655)
---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-10 11:09:44 -07:00
Azure SDK Bot
2630c06030
Increment package version after release of azure-core (#6654)
---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-10 11:09:06 -07:00
Anton Kolesnyk
de3cc64a55
Azure Core and Identity July GA Releases (#6651)
* Azure Core and Identity July GA Releases

* Add Identity to the release

* Undo change to FolderList.cmake (chicken vs egg problem; we'll have to update after the release)

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-10 08:25:05 -07:00
Larry Osterman
a14e3d5ee0
Fixed WinHTTP failfast caused by premature cancellation (#6637) 2025-06-30 17:52:32 +00:00
Azure SDK Bot
87e1f72926
Increment version for storage releases (#6645)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares

* Increment package version after release of azure-storage-queues
2025-06-25 18:19:16 +08:00
microzchang
30c682b950
Storage June Release (#6635) 2025-06-25 11:18:16 +08:00
Wes Haggard
2326ca61c5
Fix image demands to be inline (#6640) 2025-06-24 15:03:09 -07:00
Larry Osterman
2626f12add
Temporarily disable Mac azuresdkforcpp tests (#6636)
* Temporarily disable Mac azuresdkforcpp tests
2025-06-23 21:34:53 +00:00
microzchang
17563c7c01
Storage STG99 Features (#6622)
* Changed QueueProperties.ApproximateMessagesCount from int to long (#6584)

* Storage/STG99 Added ShareSnapshotNotFound in ShareErrorCode (#6612)

* Share SnapshotNotFound error code support

* add test record

* Storage/STG99 Made error message for invalid x-ms-version more user-friendly  (#6613)

* add invalid version erorr message support

* Update find logic

* Stg99/Add test records and update change logs (#6620)

* Update test records and change logs

* update change log
2025-06-23 11:31:03 +08:00
Azure SDK Bot
8573c29cde
Increment package version after release of azure-identity (#6615)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-06-05 09:35:16 -07:00
Azure SDK Bot
65fed0581f
Increment package version after release of azure-core (#6614)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-06-05 09:32:58 -07:00
Anton Kolesnyk
2e9f0472b4
Core and Identity June Beta releases (#6605)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-06-05 07:03:18 -07:00
Anton Kolesnyk
3cd85cde0d
Identity samples: make sample service to invoke GetToken() (#6604)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-06-03 13:59:06 -07:00
Daniel Jurek
32e868cd5f
Add Cargo.toml to sdk/core/ci.yml (#6608) 2025-06-02 15:25:20 -07:00
Anton Kolesnyk
a035ee5f94
Identity: IMDS fail-fast and Cred order change in DAC (and Core support) (#6573)
* Identity: IMDS fail-fast and Cred order change in DAC (and Core support)

* Mac fix and cspell update

* Update unit test and clang-format

* Temporarily update samples to use AzCliCred until recordings are re-recorded

* Revert samples back to use DAC

* Remove SAS auth from Tables template

* Clang-format

* Add support for 'AZURE_POD_IDENTITY_AUTHORITY_HOST', override it for running samples in CI

* Add unit test for AZURE_POD_IDENTITY_AUTHORITY_HOST

* "in milliseconds"

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* PR Feedback

* Named constant + comment

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2025-05-30 16:47:50 -07:00
Anton Kolesnyk
47c738bba2
Implement AZURE_TOKEN_CREDENTIALS (#6593)
* Implement AZURE_TOKEN_CREDENTIALS

* Clang-format

* Update sdk/identity/azure-identity/src/default_azure_credential.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update sdk/identity/azure-identity/src/default_azure_credential.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update sdk/identity/azure-identity/CHANGELOG.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* TrimString()

* Test against contains() or startsWith() being used

* Update sdk/identity/azure-identity/src/default_azure_credential.cpp

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* TrimString() => StringExtensions::Trim()

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2025-05-27 16:40:16 -07:00
Scott Addie
ebdbafd959
Direct traffic to credential chains doc (#6591) 2025-05-22 13:46:37 -07:00
Anton Kolesnyk
63ac69506f
Update vcpkg baseline (#6574)
* Update vcpkg baseline

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Suppress otel warnings in stress test code

* Update CI to update vcpkg cache if the run is PR-initiated

* Turn SSL caching off by default

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Integrate the exact copy of #6581 - to make sure we're testing the same change with libcurl >= 8.12, and also make future merging easier

* Update cspell

* Move feature to bugfix

* Update vcpkg.yml

* Copy #6582 to verify against the latest libcurl

* Undo unnecessary changes

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-21 11:57:28 -07:00
Anton Kolesnyk
6c6c4e9b35
Update libcurl transport pool to include all options into connection key (#6583)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-21 05:32:53 -07:00
Sushrut Shringarputale
c6d553b2a2
Fix Windows error for failing curl SSL cache (#6582)
* Fix Windows error for failing curl SSL cache

* Fix unused parameter warning in win_http_transport.cpp, as in #6579

* Update changelog, cspell, and conditional init m_sslShareHandle

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-20 21:59:01 -07:00
Azure SDK Bot
fe6de0cc1f
Increment version for storage releases (#6567)
* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-shares
2025-05-13 11:05:09 -07:00
microzchang
dc4118ea4b
Storage May Release (#6563)
* Update version and change log

* Update version

* Update the change log date
2025-05-13 15:18:11 +08:00
Sushrut Shringarputale
51125b0fdc
Add SSL caching share for curl (#6537)
* Add SSL caching share for curl

* Use correct destructor for CURLSH RAII

* Unit tests passing locally

* Add curloptions test for coverage and fix clangformat errors

* whitespace reverts

* Fix clang format errors

* Address PR comments

* Update changelog and CI line coverage target

* Update Changelog and set curl options test to disable ssl caching for validating non-default codepath

* Update sdk/core/azure-core/CHANGELOG.md

* Update CHANGELOG.md

* Update cspell.json

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-05-12 14:36:19 -07:00
microzchang
c9f07f1389
Storage STG98 Features (#6501)
* get set acl oauth (#6405)

* Storage STG98/Added support for x-ms-file-request-intent for blob copy APIs (#6406)

* Source File Copy Support

* Storage STG98/NFS 2 (#6404)

* feature

* add test record

* Update blob sas new string to sign (#6511)
2025-05-07 16:45:25 +08:00
Azure SDK Bot
fe4a884d0f
Increment package version after release of azure-security-keyvault-certificates (#6562) 2025-05-06 14:30:39 -07:00
gearama
be96fae795
Update release notes for version 4.3.0-beta.4 (#6558)
* Update release notes for version 4.3.0-beta.4

* Updated Features Added
2025-05-06 12:06:33 -07:00
Anton Kolesnyk
9b32b889d7
Identity: update Troubleshooting.md with all the credentials (#6552)
* Identity: update Troubleshooting.md with all the credentials

* </li></ul>

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-01 22:16:15 -07:00
Anton Kolesnyk
395a2d13c5
Temporarily disable CheckFailedCrlValidation test to unblock CI (#6554)
* Temporarily disable CheckFailedCrlValidation test to unblock CI

* Update branch coverage

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-01 21:31:32 -07:00
microzchang
8b092ab175
Fix unstable test cases (#6541) 2025-04-28 10:42:02 +08:00
gearama
1752fec5c0
Expose Scopes on the client options (#6522)
* try

* dsf

* Allow for scope to be passed in

* comment

* clang and others

* Update sdk/tables/azure-data-tables/test/ut/table_client_test.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/tables_audience.hpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/tables_audience.hpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* PR comments

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/table_audience.hpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/table_audience.hpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* PR

* clang

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-04-14 16:30:49 -07:00
gearama
ccfdc87473
Small cleanup (#6526) 2025-04-14 16:22:28 -07:00
gearama
45c02dc359
Kv cleanup (#6519)
* Certs stage1

* keys part 1

* screts part 1

* Keys part2

* keys step3

* QFT

* clang

* Preserve Cert order

* recored tests add checks for preserve
2025-04-14 10:46:16 -07:00
Azure SDK Bot
86245d07e6
Increment package version after release of azure-identity (#6517) 2025-04-08 20:08:17 +00:00
Azure SDK Bot
edc07cca48
Increment version for keyvault releases (#6515)
* Increment package version after release of azure-security-keyvault-keys

* Increment package version after release of azure-security-keyvault-secrets

* Increment package version after release of azure-security-keyvault-certificates
2025-04-08 19:25:27 +00:00
Anton Kolesnyk
e8d34efc67
Update Identity live test (#6516)
* Update Identity live test

* Clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-04-08 11:55:11 -07:00
Anton Kolesnyk
170660ff80
Identity April GA Release (#6504)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-04-08 10:31:59 -07:00
gearama
9b94fc3f72
Kv april releases (#6508)
* april releases

* changelogs

* fds

* fds

* Update sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>

* sadasfsd

---------

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
2025-04-08 09:42:30 -07:00
gearama
020ffec789
Certs update (#6507)
* generate code and build the generated code

* client

* update name

* put back things

* work in progress for get

* get and get version

* das

* issuer ops

* set/get/delete contacts

* backup restore

* Get /update policy

* purge

* get deleted

* Update props

* Merge cert

* import cert

* Create

* Start delete

* Recover

* Delete/Cacel op

* GetCertsProps

* Get versions

* get deleted certs

* getissuers

* some cleanup and tests all working

* samples

* test record

* PR build

* more PR stuffs

* PR update part i lost count

* clang

* Update sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-basic-operations/certificate_basic_operations.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-get-certificates/certificate_get_certificates.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-import-certificate/certificate_import_certificate.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/test/ut/certificate_client_base_test.hpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/test/ut/certificate_client_test.cpp

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

* comments

* explicitly turn off

* friend comments

* clang

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2025-04-07 12:31:45 -07:00
Sutou Kouhei
6cc8fc195f
Add support for building with ICU 75.1 or later (#6486)
* Add support for building with ICU 75.1 or later

We use ICU via libxml2 implicitly. ICU 75.1 or later require C++17 for
its C++ API:

https://github.com/unicode-org/icu/releases/tag/release-75-1

> C++ code now requires C++17

But we use C++17. So `#include <libxml/xmlreader.h>` with ICU 75.1 or
later causes an error:

    [1/177] Building CXX object sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    FAILED: sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    /bin/c++ -DAZ_RTTI -DBUILD_CURL_HTTP_TRANSPORT_ADAPTER -D_azure_BUILDING_SDK
    -Isdk/storage/azure-storage-common/inc -Isdk/core/azure-core/inc
    -isystem /usr/include/libxml2 -g -std=gnu++14 -fno-operator-names
    -Wold-style-cast -Wall -Wextra -pedantic -Werror -MD
    -MT sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    -MF sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o.d
    -o sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/xml_wrapper.cpp.o
    -c sdk/storage/azure-storage-common/src/xml_wrapper.cpp
    In file included from /usr/include/unicode/uenum.h:25,
                     from /usr/include/unicode/ucnv.h:52,
                     from /usr/include/libxml2/libxml/encoding.h:31,
                     from /usr/include/libxml2/libxml/parser.h:812,
                     from /usr/include/libxml2/libxml/globals.h:18,
                     from /usr/include/libxml2/libxml/threads.h:35,
                     from /usr/include/libxml2/libxml/xmlmemory.h:218,
                     from /usr/include/libxml2/libxml/tree.h:1307,
                     from /usr/include/libxml2/libxml/xmlreader.h:14,
                     from sdk/storage/azure-storage-common/src/xml_wrapper.cpp:23:
    /usr/include/unicode/localpointer.h:561:26: error: 'auto' parameter not permitted in this context
      561 | template <typename Type, auto closeFunction>
          |                          ^~~~
    /usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
      573 |     explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
          |                                                                            ^
    /usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
      583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
          |                                                                              ^
    /usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
      599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
          |                                                           ^
    /usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
       69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
      597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~

We don't need ICU C++ API. So we can avoid this error by disabling ICU
C++ API by defining `U_SHOW_CPLUSPLUS_API` as `0`.

* Update CHANGELOG
2025-04-02 16:08:40 -07:00
gearama
9ac4ae9002
Temporary fix for the live pipeline (#6496)
* take out expects till we fix the TME thing

* clang
2025-03-31 15:43:20 -07:00
gearama
da1f4c399f
Keys update (#6491)
* Generate files

* GetKey done

* Creates done

* GetDeletedKey

* StartDeleteKey

* StartRecoverDeleted

* backup/restore

* purge/rotate

* import

* update properties

* get/update rotation policy

* release key

* GetProps of keys

* GetVersions

* GetDeletedKeys

* remove test used for test

* cleanup tests

* remove some methods

* tests

* PR pipeline

* more PR

* fsdfs

* clang

* update to hsm

* PR comments

* PR

* rwe

* Rerecord for HSM and fix get

* gdf
2025-03-31 11:16:41 -07:00
Anton Kolesnyk
eaae21410c
Update Identity root README to align with the common format (#6493)
* Update Identity root README to align with the common format

* Update vcpkg link identifier in README

* Remove vcpkg installation instructions from README

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-03-31 09:54:19 -07:00