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.
This commit is contained in:
parent
97c7630c2d
commit
57a4f8de9a
@ -8,6 +8,8 @@
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- [3366](https://github.com/Azure/azure-sdk-for-cpp/issues/4466) Fixed the user-agent string sent to the service to include the "keys" suffix in the value, when using `CryptographyClient`.
|
||||
|
||||
### Other Changes
|
||||
|
||||
## 4.3.0 (2022-10-11)
|
||||
|
||||
@ -111,7 +111,7 @@ CryptographyClient::CryptographyClient(
|
||||
|
||||
m_pipeline = std::make_shared<Azure::Core::Http::_internal::HttpPipeline>(
|
||||
options,
|
||||
"KeyVault",
|
||||
KeyVaultServicePackageName,
|
||||
PackageVersion::ToString(),
|
||||
std::move(perRetrypolicies),
|
||||
std::move(perCallpolicies));
|
||||
|
||||
@ -29,7 +29,6 @@ using namespace Azure::Core::Http::Policies::_internal;
|
||||
using namespace Azure::Core::Http::_internal;
|
||||
|
||||
namespace {
|
||||
constexpr static const char KeyVaultServicePackageName[] = "keyvault-keys";
|
||||
constexpr static const char CreateValue[] = "create";
|
||||
} // namespace
|
||||
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
#pragma once
|
||||
|
||||
namespace Azure { namespace Security { namespace KeyVault { namespace Keys { namespace _detail {
|
||||
constexpr static const char KeyVaultServicePackageName[] = "keyvault-keys";
|
||||
|
||||
/***************** KeyVault Key *****************/
|
||||
constexpr static const char KeyPropertyName[] = "key";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user