Commit Graph

342 Commits

Author SHA1 Message Date
Larry Osterman
faeb832f8a
Initial cut at snippet generation tool. Also updated KeyVault Secrets readme to use snippets as a working proof of concept. (#5213)
* First cut at snippet generation - markdown files only for now.

* Removed trailing blank lines in updated file

* Use snippet generator for keyvault snippets
2023-11-30 19:40:30 +00:00
Anton Kolesnyk
73399d7325
Change samples to use DefaultAzureCredential (#5183)
* Change samples to use `DefaultAzureCredential`

* Missed instance

* Oaep

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-29 16:07:40 +00:00
Anton Kolesnyk
217b3cd8a5
Add thread safety for KeyVaultChallengeBasedAuthenticationPolicy (#5189)
* Add thread safety for `KeyVaultChallengeBasedAuthenticationPolicy`

* Copy constructor

* Add comment

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-29 07:37:15 +00:00
Anton Kolesnyk
05d1f5455c
Make vcpkg.json comment multiline (#5175)
* Make vcpkg.json comment multiline

* Update core-opentelemetry tests to be able to compile with opentelemetry-cpp version 1.12.0

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-21 17:06:37 -08:00
Anton Kolesnyk
030ad9a6ca
Unify all markup C++ code sections to use 'cpp' (#5138)
* Unify all markup C++ code sections to use 'cpp'

* Update broken link

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-08 20:42:59 -08:00
Heath Stewart
a9c492a8b3
Move MHSM to region with more availability (#5122)
* Move MHSM to region with more availability

Resolves #4613

* Trigger CI re-run

* Undo the trigger

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-11-08 11:44:57 -08:00
Anton Kolesnyk
37060211b5
Fix malformed URL in KeyVault (#5129)
* Fix malformed URL in KeyVault

* Update changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-07 21:33:05 -08:00
Anton Kolesnyk
edf7ab18c7
Add a note to vcpkg manifest files that all changes made in the vcpkg repo alone might be lost. (#5110)
* Add a note to vcpkg manifest files that all changes made in the vcpkg repo alone might be lost.

* may => will

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-02 20:57:51 -07:00
Anton Kolesnyk
50c18516df
Ensure CMakeLists don't miss any files (#5065)
* Ensure CMakeLists don't miss any files

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-26 18:15:03 -07:00
George Arama
860240fec9
Add retry for the restore operation in sample (#5036)
* just to checkup

* try again

* bvj

* fudge brownies

* added retry for restore

* clang
2023-10-19 11:55:28 -07:00
George Arama
25dc8ca24d
Implement purge check intead of blind timeout (#5021)
* implement purge check intead of blind timeput

* typo

* timeout
2023-10-11 08:38:29 -07:00
Anton Kolesnyk
ebf958df23
Shorten the names of some long name headers (#4987)
* Shorten the names of some long name headers

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-26 09:29:27 -07:00
Anton Kolesnyk
ec220be784
Shorten build-time paths when building in vcpkg (#4977)
* Shorten build-time paths when building in vcpkg

* if-guard

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-25 09:30:00 -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
adamdebreceni
69fe21f7b0
Address gcc13 compilation issue (#4857) 2023-08-22 13:49:35 -07:00
Anton Kolesnyk
0a175f2c83
Clean up version requirements (#4814)
* Clean up version requirements

* Revert curl back to 7.44

* Update vcpkg.json

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-20 16:03:57 -07:00
Rick Winter
b54d509c72
Use standard syntax for MIT license (#4786)
* Use standard syntax for MIT license

* Stop appending "All rights reserved"
2023-07-12 22:37:36 -07:00
Ahson Khan
804be39699
Update key_client_create_test_live.cpp to remove dependency on attestation headers (#4727)
* Update key_client_create_test_live.cpp to remove dependency on attestation headers

* Update CMakeLists.txt to remove linking to azure-security-attestation

* Update CMakeLists.txt in hsm unit tests to remove linking to azure-security-attestation
2023-06-23 13:14:04 -07:00
Larry Osterman
fba91e34c9
Enabled doxygen validation in CI pipeline. (#4715)
* doxygen fixes

* enable doxygen errors now that doxygen is updated.

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-06-22 18:26:07 -07:00
Ahson Khan
b2f92f3513
Fix typos in KeyVault Keys and Secrets sources. (#4716) 2023-06-15 15:09:26 -07:00
Rick Winter
fb1b439ddc
Remove a private internal method that is not used. (#4667) 2023-06-09 13:55:32 -07:00
Larry Osterman
184303a893
Manually disable tests in all vcpkg portfile.cmake files (#4697) 2023-06-05 11:52:21 -07:00
Larry Osterman
b303a70eaa
Stop disabling security warnings in get_env.hpp; Fixed all incorrect … (#4655)
* Disable deprecation warnings in cmakelists.txt to avoid introducing new concepts; removed unnecessary uses of get_env.hpp

* Removed use of GetEnvHelper from AMQP samples

* Removed special case for get_env.hpp
2023-06-01 12:50:45 -07:00
Larry Osterman
fb240a4b25
Define a standardized header ordering for Azure SDK for C++ (#4632)
* Standardized header ordering for C++ repo

* Reordered categories to move private headers above public headers; added space between categories to enable future flexibility
2023-05-26 14:32:45 -07:00
Azure SDK Bot
7ec78e5816
Increment version for keyvault releases (#4624)
* Increment package version after release of azure-security-keyvault-keys

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

* Increment package version after release of azure-security-keyvault-secrets
2023-05-09 11:13:36 -07:00
Anton Kolesnyk
abf6be6951
Azure Key Vault May Release (#4580)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-05-09 08:44:57 -07:00
Azure SDK Bot
cfe34de5b3
Increment version for keyvault releases (#4545)
* Increment package version after release of azure-security-keyvault-keys

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

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

* Increment package version after release of azure-security-keyvault-certificates
2023-04-11 22:50:54 +00:00
Anton Kolesnyk
e7995c0fc0
Key Vault April Beta Releases (#4518)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-11 11:54:55 -07:00
Larry Osterman
3cb4993423
Removed 'using namespace' directive from public header (#4514)
* Removed 'using namespace' directive from public header

* Shortened namespace names (Thanks Antkmsft)

* Update sdk/keyvault/azure-security-keyvault-administration/inc/azure/keyvault/administration/settings_client.hpp

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-04-04 18:31:37 +00:00
Anton Kolesnyk
fd687c32fa
Add support for challenge-based and multi-tenant authentication (#4506)
* Add support for challenge-based and multi-tenant authentication

* Clang-format

* cspell

* clang-format

* gcc warning

* clang warning

* Remove debug message

* clang-format

* update version>= in vcpkg manifests

* unpublic copy ctor in polymorphic class

* KeyVault::_internal::ChallengeBasedAuthenticationPolicy => KeyVault::_internal::KeyVaultChallengeBasedAuthenticationPolicy

* keyvault/shared/challenge_based_authentication_policy.hpp => keyvault/shared/keyvault_challenge_based_authentication_policy.hpp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-04 11:00:05 -07:00
Ahson Khan
57a4f8de9a
Fixed the user-agent string sent to the service to include the "keys" suffix in the value, when using CryptographyClient. (#4467)
* Fixed the user-agent string sent to the service to include the "keys"
suffix in the value, when using `CryptographyClient`.

* Fix clang format.
2023-03-29 17:36:44 -07:00
Rick Winter
c457e91373
Ensure the comparison is unsigned to unsigned (#4464)
* Ensure the comparison is unsigned to unsigned

* Remove cast
2023-03-21 13:57:07 -07:00
Anton Kolesnyk
43632ebce8
Tests: replace most EXPECT_TRUE(a OP b) with EXPECT_OP(a, b) (#4457)
* Tests: replace most `EXPECT_TRUE(a OP b)` with `EXPECT_OP(a, b)`

* Undo unnecessary change

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-17 03:55:14 -07:00
Anton Kolesnyk
c673e9550c
Update vcpkg release manifest templates per vcpkg team recommendation (#4425)
* Update vcpkg release manifest templates per vcpkg team recommendation

* Forgotten change

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-08 21:00:59 -08:00
George Arama
5e91f5584e
Enable profiling in perf piplines. (#4398)
* profiling

* dsadsada

* Update eng/pipelines/templates/jobs/perf.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-03-08 12:28:13 -08:00
George Arama
7946b83b9b
separate hsm tests from keys, and regen the tests (#4392)
* separate hsm tests from keys, and regen the tests

* adding assets

* cleanup includes

* clang and map

* hgghg
2023-03-08 11:19:50 -08:00
Azure SDK Bot
b46ee09627
Increment package version after release of azure-security-keyvault-administration (#4423) 2023-03-07 22:03:50 -08:00
George Arama
3bebe6ff99
Kv admin march release (#4402)
* Changelog update

* merch changelog
2023-03-07 16:26:11 -08:00
George Arama
e48cf92704
update to version 7.4 for admin. update tests (#4388) 2023-02-27 12:03:57 -08:00
George Arama
1849597580
Fix pipelines path (#4358)
* test path

* qwq

* dsda

* asas

* dsada

* sdsds

* Update sdk/keyvault/azure-security-keyvault-certificates/perf-tests.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

* Update sdk/keyvault/azure-security-keyvault-certificates/perf-tests.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

* remove warmup

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-21 17:21:17 -08:00
Scott Beddall
5058f15594
Triggerkeyvault on proxy changes (#4343)
* autotrigger the keyvault and storage CI when a testproxy file is changed
2023-02-21 13:32:30 -08:00
George Arama
889e0255a2
update comment (#4364)
* update comment

* jghjg

* update broken link

* Update sdk/keyvault/tools/cleanup/src/cleanup.cpp

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-02-21 10:52:20 -08:00
George Arama
c8b97561f3
changelog (#4350) 2023-02-11 00:24:50 +00:00
Mike Harder
fd1695ebba
[Perf] Refactor tests.yml into one file per package per language (#4270) 2023-02-09 21:18:03 -08:00
Azure SDK Bot
46fbcb914c
Increment package version after release of azure-security-keyvault-administration (#4340) 2023-02-07 14:47:14 -08:00
George Arama
3762c59552
Test proxy start (#4295)
* lll

* sss

* oipio

* vcvc

* enable test proxy start at test suite start for KV and storage , example created for attestation, we cannot find the base definitions for the test suites,

* Contrib

* clangs

* clangs

* test logs

* pipeline

* more clangs

* pipeline

* clang

* try try again

* try try again

* try again

* try again

* again

* update paths , moved to macro , call macro in target code

* core

* capitalization
2023-02-07 10:52:20 -08:00
George Arama
39ec586d96
Feb key vault release (#4319)
* kv release

* ds

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

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* core to latest GA

* 1.8.0

* update folder list

* put to stable versions

* put back to last GA

* put back to original

* try core 1.8.0

* Revert "try core 1.8.0"

This reverts commit 1e0b612235dfa60e7be60819a2076cb6bc266813.

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-02-07 01:31:59 -08:00
George Arama
310790a5c1
Update artifacts for ci.yml (#4330)
* update artifacts

* remove error

* try

* gfd

* folderlist

* put back core
2023-02-03 11:41:52 -08:00
George Arama
69763502f1
move cleanup tool. (#4307)
* move cleanup tool.

* move to /tools/cleanup

* aAsaddas
2023-02-01 17:37:49 -08:00