Commit Graph

2615 Commits

Author SHA1 Message Date
Anton Kolesnyk
a8dd2b021b
Fix Identity compilation (WinAPI crypto API) on UWP (#4931)
* Fix Identity compilation (WinAPI crypto API) on UWP

* Clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-07 10:28:37 -07:00
Ahson Khan
f7452cc233
Update the workload identity credential sample to work with required environment variables that need to be set. (#4924)
* Update the workload identity credential sample to work with required environment variables that need to be set.

* Fix clang format.
2023-09-06 10:25:26 -07:00
Larry Osterman
0ad52a028c
Ignore compiler and STL version mismatch on published packages to unblock ApiView (#4925) 2023-09-06 10:22:52 -07:00
Anton Kolesnyk
146460ec5a
Acknowledge community contributions in the changelogs (#4919)
* Acknowledge customer contributions in the changelogs

* cspell

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-05 14:05:19 -07:00
microzchang
06c0159137
Storage/Add instruction for setting up storage accounts (#4917)
* update readme.md

* update

* fxi spell

* update link

* update link

* update

---------

Co-authored-by: Jinming Hu <jinmhu@microsoft.com>
2023-09-05 14:01:49 +08:00
JinmingHu
85af81f0a6
Update storage coverage target (#4922) 2023-09-05 09:52:52 +08:00
microzchang
99567fa14d
Storage/Fix live test failure (#4920) 2023-09-01 01:20:04 +08:00
Larry Osterman
1177548540
WIL headers and C++ static analysis don't always get along (#4918)
* WIL headers and C++ static analysis don't always get along

* Accidentally removed a header
2023-08-29 13:41:52 -07:00
Azure SDK Bot
468742224b
Check for DocsMsPackagesAllValid before running validation step (#4916)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-08-28 21:54:57 -07:00
Theodore Tsirpanis
b7afe2faf1
[identity] Remove OpenSSL dependency on Windows. (#4747)
* Add dependency to WIL in azure-identity-cpp when on WIndows.

* Use Win32 APIs to get the thumbprint and private key of a certificate.

* Don't use `out_param_ptr` in `GetPrivateKey`.

`NCRYPT_KEY_HANDLE` is not a pointer but a uintptr and using `out_param_ptr` with it causes compiler errors.

* Use Win32 APIs to sign messages with a private key.

* Remove the OpenSSL dependency from azure-identity-cpp on Windows.

We can't remove it from the root vcpkg.json that gets used for development, because an attestation example uses OpenSSL for certificate code.

* Update the changelog.

* Fix compile errors.

We can't use WIL in the public headers; we will use instead the same approach with the OpenSSL handles.

* Fix more compile errors.

* Use `AZ_PLATFORM_WINDOWS`.

* clang-format

* Update cspell.json

* Update CHANGELOG.md

* Update cspell.json

* Update cspell.json

* Attempt to make spell checker happy with minimum changes

* Ignore `CMakeUserPresets.json`.

* Move to the BCrypt APIs in anticipation of the rewrite.

* Use Windows APIs to read the certificate and the private key in PEM format.

* Move decoding the PEM string to its own function.

* Remove redundant error messages from some checks.

WIL does not recommend them if they do not provide additional information, and it already captures the source location.

* Support opening raw RSA and ECC private keys.

* Stop using pseudo-handles.

They are not supported in Windows Server 2012 R2, which is still supported.

* Fix CI.

* Refactor the ClientCertificateCredential tests and test more certificates.

Thanks to googletest's parameterized tests, duplicate code was eliminated and we test twelve cases with only two test methods.

* Improve code sharing across OpenSSL and CNG.

* Fix error checks when signing.

* Remove ECC certificate support.

Turns out Microsoft identity platform itself does not support them.

* Replace `#ifdef` with `#if defined`.

* Move some CryptoAPI-related terms to a `cspell.json` file local to `azure-identity`.

* Exclude the root `cspell.json` file from gitignore.

* Clean-up `cspell.json`.

* Fix linked libraries of `azure-identity`.
We don't use ncrypt anymore.

* Move `platform.hpp` to `client_certificate_credential.cpp`.

* Clean-up `UniquePrivateKey` and reduce mentions of `pkey`.

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-08-28 10:55:49 -07:00
Azure SDK Bot
80b6fc6022
Fail fast on variable conflicts with subscription config (#4915)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-08-25 15:22:14 -04:00
Azure SDK Bot
dd23631119
Use emitter-package-lock.json and @local feed view (#4910)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2023-08-23 16:33:32 -07:00
Azure SDK Bot
97845b77eb
Sync eng/common directory with azure-sdk-tools for PR 6632 (#4912)
* Docs Onboarding 2 - Add eng/common changes

* Dictionary Syntax

* Remove $UpdatePackageMetadata, it can be handled in other places

* Set exit code to 0 on success. The last executable to run (pip or docker or other) may be passed through

* Add optional _DocsOnboardingOrdinal sorting to work around onboarding sequence problems

* Update-DocsMsPackages2.ps1 -> Update-DocsMsPackages.ps1

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-08-23 14:53:33 -07:00
Azure SDK Bot
518d9d26d3
Sync eng/common directory with azure-sdk-tools for PR 6782 (#4891)
* Create Epic work item type as Service or product when running prepare release script

* Updated epic type field name

* Additional change to create release plan work item

* Exclude work items created from release planner test

* Fix issue in params

* Updated as per review comments

---------

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2023-08-23 11:15:33 -07:00
microzchang
be8c89123b
Storage/Update Queue API Version (#4903)
* update queue api version

* update version

* update sas version

* update test reocrd

* update test records
2023-08-23 09:31:16 +08:00
adamdebreceni
69fe21f7b0
Address gcc13 compilation issue (#4857) 2023-08-22 13:49:35 -07:00
Azure SDK Bot
99df769e8c
update proxy version to one with fixed logging (#4902)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-08-21 15:36:06 -07:00
Ahson Khan
384c1ae01e
Update core ci.yml so that some CI pipeline runs when modifying markdown files at the root of the repo (#4900)
* Update core ci.yml so that some CI pipeline runs when modifying markdown files at the root of the repo

* Update ci.yml for PRs.

* Update README.md to test that CI triggers.

* Check why wildcard isn't working as expected

* Try wrapping wildcard in quotes since it is at the start of the path to trigger
2023-08-18 14:51:46 -07:00
Sutou Kouhei
c844535efb
Fix a typo in README (#4896) 2023-08-18 12:48:55 -07:00
Ahson Khan
66e36b0399
Add a sample on how to use Workload Identity Credential. (#4894) 2023-08-18 12:44:35 -07:00
microzchang
653d7dfecd
Storage/File Share test coverage improvement (#4895)
* add share tests

* Add accessRights test

* update tests

* update test records

* change
2023-08-18 16:31:05 +08:00
JinmingHu
f6f2617201
Add some test cases for blob service (#4890) 2023-08-18 03:58:31 +00:00
microzchang
678d08072b
Storage/Datalake test coverage improvement (#4889)
* update test cases

* fix spell and conversation

* remove live only

* update test records
2023-08-18 09:24:50 +08:00
Larry Osterman
85d1a669e9
Removed version>= dependency for curl (#4892)
* Removed version>= dependency for curl

* removed another curl version check
2023-08-17 18:28:58 +00:00
Larry Osterman
b108bf6235
Post-release updates (#4871)
* Added link credit support to message sender and receiver; reworked message receiver creation to move to the partition client object

* Added round trip test, including filters; fixed a hang with the consumer client caused by no messages; fixed checkpoint store storage names.

* EventDataBatch is created from EventProducer. Fixes #4868

* SendEventDataBatch renamed to Send; pass in Context on methods which require a context

* Added producer client send APIs without requiring an explicit event data batch

* close message receiver in destructor if it is open

* Consumer client and producer client only create message sender and receiver when needed
2023-08-17 09:52:54 -07:00
microzchang
0a4d7009f4
Storage/Fix Files Shares ShareServiceClient::SetProperties 400 Error (#4887)
* fix bug

* update record

* udpate record

* test

* update test record
2023-08-17 06:35:40 +00:00
JinmingHu
7c10104461
Improve storage blob & queue coverage (#4888) 2023-08-17 10:15:56 +08:00
Ahson Khan
25f33e9800
Update azure-core dependency on curl to 7.48 from 7.44 since that's the minimum available on vcpkg. (#4882)
* Update azure-core dependency on curl to 7.48 from 7.44 since that's the minimum available on vcpkg.

* Update nested vcpkg.json to 7.48
2023-08-16 15:13:23 -07:00
Ahson Khan
e3a5a44e46
Update amqp dependency on core that isn't a beta (#4881)
As far as I know, this is the minimum version of core that's needed. If we need a newer version that we amqp needs, we can bump up this dependency.
2023-08-16 15:12:58 -07:00
JinmingHu
bbf6c9c3ee
Add test cases for simplified storage headers (#4880) 2023-08-16 20:09:30 +08:00
microzchang
9ef9483d92
Storage/File Share test improvement (#4885)
* update sas test

* update fileshare test cases
2023-08-16 06:04:28 +00:00
microzchang
efc0d8930a
Storage/Datalake test improvement (#4884)
* Update sas test

* add test case and test records

* fix import file

* fix import files

* update record

* fix test name

* fix conversations

* update test

* fix clang format
2023-08-15 14:17:39 +08:00
Josh Free
40bea8e20a
Update CODEOWNERS (#4883)
Add @Azure/azure-sdk-write-identity as an owner of /sdk/identity
2023-08-14 15:00:03 -07:00
JinmingHu
3b91ee9c9a
add sanitizer for cookie and set-cookie headers (#4870) 2023-08-15 00:47:33 +08:00
Azure SDK Bot
d75e140049
Increment version for storage releases (#4878)
* 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
2023-08-12 05:58:05 +00:00
JinmingHu
00db04eb76
Storage August Release 2 (#4877) 2023-08-12 12:02:32 +08:00
Azure SDK Bot
5590c3bfbd
Increment package version after release of azure-identity (#4876) 2023-08-11 19:31:51 -07:00
Anton Kolesnyk
d6294aaa9f
Azure Identity August Release (#4839)
* Azure Identity August Release

* Update CL

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-08-12 01:18:04 +00:00
Ahson Khan
e43c34c90a
Add support for Workload Identity Credential for Kubernetes. (#4872)
* Add support for Workload Identity Credential for Kubernetes.

* Fix order of initialization for member fields.
2023-08-11 17:43:02 -07:00
microzchang
69e5f1a627
Storage/feature parity (#4869)
* add content type support on rename file. (#4712)

* Storage/STG74 Bearer Challenge (#4743)

* bearer challenge

* Storage/STG78 OAuth Copy (#4831)

* OAuth Copy

* add test for oauth copy

* add test

* fix conversation

* fix conversation

* update clang format

* update test record

* update test case

* fix unit test cases

* update recordings

* recordings

* fff

* fix doc

* CL

* recording

* fix typo

* CL

* recording

* revert debug code

---------

Co-authored-by: Jinming Hu <jinmhu@microsoft.com>
2023-08-11 20:47:53 +08:00
Azure SDK Bot
b8d2301931
Increment package version after release of azure-messaging-eventhubs (#4861) 2023-08-09 21:05:58 -07:00
Azure SDK Bot
cd2edf266e
Used ScheduledPurgeDate for both KV, MHSM (#4866)
The previous property was calculated so didn't exist from the REST-based
call. Also updated the api-version to the latest stable control plane
version.

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2023-08-09 16:29:58 -07:00
Richard Park
3e5af5508f
Readme spelling mistake: bahavior -> behavior (#4863)
* bahavior -> behavior

* Update transport_adapter_base_test.hpp to fix the typo

* Update blob_base_test.hpp to fix the typo

* Update cspell.json to exclude bahavior is a valid word in the dictionary

---------

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2023-08-09 15:36:13 -07:00
Azure SDK Bot
eb3074d5c0
Increment package version after release of azure-storage-files-shares (#4862) 2023-08-09 15:26:26 +08:00
JinmingHu
98c2e319dc
add sanitizer for x-ms-copy-source-authorization header (#4851) 2023-08-09 11:29:37 +08:00
JinmingHu
950a39e3f1
Enable some storage test cases (#4856)
* fix container name

* test last access time

* recording

* playback only test cases

* legalhold
2023-08-09 11:28:51 +08:00
Azure SDK Bot
56c9f47c16
Increment version for storage releases (#4855)
* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake
2023-08-09 10:18:00 +08:00
Anton Kolesnyk
4428baf59e
Azure Event Hubs August Release (#4838)
* Azure Event Hubs August Release

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-08-08 16:30:57 -07:00
Larry Osterman
4d580a7fe3
Added azure_test resources to test-resources.json (#4858)
* Added azure_test resources to test-resources.json

* Add RBAC roles to created eventhubs instances

* Eventhubs samples read from the start of the partition, not the end.
2023-08-08 23:29:56 +00:00
Larry Osterman
15a8a7b0da
Updated test-resources to add eventhubs host name (#4854) 2023-08-08 11:35:56 -07:00