Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX hsm test #3630

Merged
merged 66 commits into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
a0c90d2
tests pass
gearama May 9, 2022
3a158e0
oops
gearama May 9, 2022
6b23e20
update hsm path
gearama May 9, 2022
4670fcc
clang
gearama May 9, 2022
e6862a7
update test resources
gearama May 10, 2022
b452c75
try try again
gearama May 10, 2022
002bbde
try again
gearama May 10, 2022
c5b59e2
update variable in azure core
gearama May 10, 2022
89f3f9f
template worx
gearama May 11, 2022
1f2a90d
clang
gearama May 11, 2022
6cbb214
try pipeline1
gearama May 12, 2022
f2c3cbb
see now
gearama May 12, 2022
31a06a3
try try again
gearama May 12, 2022
3ccb3de
darn json
gearama May 12, 2022
111e083
oh boy
gearama May 12, 2022
9ed7b43
oh boy
gearama May 12, 2022
e63c69b
rwerwerw
gearama May 12, 2022
e827b24
jioijhjui
gearama May 12, 2022
88dba65
maybe now ?
gearama May 13, 2022
a7e2403
maybe now ?
gearama May 13, 2022
0e6d42d
increase timeout and fix ps script
gearama May 13, 2022
00c0ae9
Merge branch 'feature/keyvault7.3' of https://github.com/Azure/azure-…
gearama May 13, 2022
2e9117e
keyvault permissions
gearama May 13, 2022
a7fdbd7
rebalance regions
gearama May 13, 2022
06382a1
ssssss
gearama May 13, 2022
a32cf30
[p]ppi
gearama May 13, 2022
1be1fa5
try this
gearama May 14, 2022
0195b6f
fsdfsdfsd
gearama May 14, 2022
f3c1118
maybe now
gearama May 14, 2022
b4e806c
test again
gearama May 16, 2022
97dd54c
maybe
gearama May 16, 2022
175927a
maybe
gearama May 16, 2022
f13b949
maybe 2
gearama May 16, 2022
b1a9c21
try again
gearama May 16, 2022
ed0c9dc
ssssss
gearama May 16, 2022
8fbc74a
uyufyut
gearama May 16, 2022
1c71e51
maybe now ?
gearama May 17, 2022
ec0c181
try again
gearama May 17, 2022
fd23cda
t/f/1/0
gearama May 17, 2022
a86b024
cleanup
gearama May 17, 2022
1be719f
maybe now
gearama May 17, 2022
58ce990
edeployment output
gearama May 17, 2022
aa1a1fd
oook
gearama May 17, 2022
8bb2df9
let's see the envs
gearama May 17, 2022
1cdeea5
fix 2 tests
gearama May 17, 2022
68d7658
another one
gearama May 17, 2022
548dad7
try try again
gearama May 17, 2022
daa284b
oops
gearama May 17, 2022
6fde971
powershell error
gearama May 17, 2022
e65ca93
ps again
gearama May 18, 2022
b9757ce
i hate this so much right now
gearama May 18, 2022
01121e4
try try again
gearama May 18, 2022
052ee54
try again
gearama May 18, 2022
ce922aa
dsaas
gearama May 18, 2022
089f631
rewrwr
gearama May 18, 2022
cde75d7
erwrw
gearama May 18, 2022
6522ebc
windows?
gearama May 18, 2022
0c7e077
libcurl ?
gearama May 18, 2022
62eb999
???
gearama May 18, 2022
0c824c2
retry
gearama May 18, 2022
72db610
retyr message , api version
gearama May 18, 2022
d574946
again
gearama May 18, 2022
413f660
ok maybe
gearama May 20, 2022
b152571
dssds
gearama May 20, 2022
a455317
final updates
gearama May 20, 2022
5a902cd
missing line
gearama May 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
"sasia",
"scus",
"SDDL",
"sdpath",
"serializers",
"Seriot",
"southcentralus",
Expand All @@ -114,9 +115,11 @@
"unscoped",
"unskipped",
"UPNs",
"uaenorth",
"usgov",
"usgoviowa",
"usgovvirginia",
"westcentralus",
"vcpkg",
"Viet",
"Viktor",
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ jobs:
ServiceDirectory: ${{ parameters.ServiceDirectory }}
Location: ${{ parameters.Location }}
SubscriptionConfiguration: ${{ parameters.SubscriptionConfiguration }}
EnableHsm : true

# For non multi-config generator use the same build configuration to run tests
# We don't need to set it to invoke ctest
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ stages:
- Name: AZURE_KEYVAULT_URL
Value: "https://non-real-account.vault.azure.net"
- Name: AZURE_KEYVAULT_HSM_URL
Value: "https://non-real-account.vault.azure.net"
Value: "https://non-real-account.managedhsm.azure.net/"
# Key Vault & Identity
- Name: AZURE_TENANT_ID
Value: "33333333-3333-3333-3333-333333333333"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ TEST_F(KeyVaultKeyClient, CreateRsaKey)
}

// No tests for octKey since the server does not support it.

// FOR THIS TEST TO WORK MAKE SURE YOU ACTUALLY HAVE A VALID HSM VALUE FOR AZURE_KEYVAULT_HSM_URL
TEST_F(KeyVaultKeyClient, CreateEcHsmKey)
{
auto const keyName = GetTestName();
Expand All @@ -188,22 +188,27 @@ TEST_F(KeyVaultKeyClient, CreateEcHsmKey)

{
auto ecHsmKey = Azure::Security::KeyVault::Keys::CreateEcKeyOptions(keyName, true);
ecHsmKey.Enabled = true;
ecHsmKey.KeyOperations = {KeyOperation::Sign};
auto keyResponse = client.CreateEcKey(ecHsmKey);
CheckValidResponse(keyResponse);
auto keyVaultKey = keyResponse.Value;
EXPECT_EQ(keyVaultKey.Name(), keyName);
EXPECT_TRUE(keyVaultKey.Properties.Enabled.Value());
}
{
// Now get the key
auto keyResponse = client.GetKey(keyName);
CheckValidResponse(keyResponse);
auto keyVaultKey = keyResponse.Value;
EXPECT_EQ(keyVaultKey.Name(), keyName);
EXPECT_FALSE(keyResponse.Value.Properties.Exportable.HasValue());
EXPECT_TRUE(keyResponse.Value.Properties.Exportable.HasValue());
EXPECT_FALSE(keyResponse.Value.Properties.Exportable.Value());
EXPECT_FALSE(keyResponse.Value.Properties.ReleasePolicy.HasValue());
EXPECT_TRUE(keyVaultKey.Properties.Enabled.Value());
}
}

// FOR THIS TEST TO WORK MAKE SURE YOU ACTUALLY HAVE A VALID HSM VALUE FOR AZURE_KEYVAULT_HSM_URL
TEST_F(KeyVaultKeyClient, CreateRsaHsmKey)
{
auto const keyName = GetTestName();
Expand All @@ -213,6 +218,8 @@ TEST_F(KeyVaultKeyClient, CreateRsaHsmKey)

{
auto rsaHsmKey = Azure::Security::KeyVault::Keys::CreateRsaKeyOptions(keyName, true);
rsaHsmKey.Enabled = true;
rsaHsmKey.KeyOperations = {KeyOperation::Sign};
auto keyResponse = client.CreateRsaKey(rsaHsmKey);
CheckValidResponse(keyResponse);
auto keyVaultKey = keyResponse.Value;
Expand All @@ -224,8 +231,10 @@ TEST_F(KeyVaultKeyClient, CreateRsaHsmKey)
CheckValidResponse(keyResponse);
auto keyVaultKey = keyResponse.Value;
EXPECT_EQ(keyVaultKey.Name(), keyName);
EXPECT_FALSE(keyResponse.Value.Properties.Exportable.HasValue());
EXPECT_TRUE(keyResponse.Value.Properties.Exportable.HasValue());
EXPECT_FALSE(keyResponse.Value.Properties.Exportable.Value());
EXPECT_FALSE(keyResponse.Value.Properties.ReleasePolicy.HasValue());
EXPECT_TRUE(keyVaultKey.Properties.Enabled.Value());
}
}
TEST_F(KeyVaultKeyClient, CreateKeyWithReleasePolicyOptions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ TEST_F(KeyVaultKeyClient, GetKeyRotationPolicy)
EXPECT_TRUE(found);
}
}

TEST_F(KeyVaultKeyClient, DISABLED_GetRandomBytes)
// FOR THIS TEST TO WORK MAKE SURE YOU ACTUALLY HAVE A VALID HSM VALUE FOR AZURE_KEYVAULT_HSM_URL
TEST_F(KeyVaultKeyClient, GetRandomBytes)
{ // NEED TO DISABLE TEST FOR THE MOMENT.
// DUE TO ISSUE WITH CREATE EC HSM TEST WHICH FAILS WITH ACTUAL HSM BEING SET IN THE ENVIRONMENT
// VARIABLE FILED BUG 3563 TO FIX IT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,54 +4,51 @@
"Headers": {
"content-type": "application/json",
"user-agent": "azsdk-cpp-keyvault-keys/4.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)",
"x-ms-client-request-id": "c2f708f9-421f-4b9f-5e6f-9cb976fdf9aa"
"x-ms-client-request-id": "03277438-b825-4d0e-6bff-0726da4ca1e0"
},
"Method": "POST",
"Response": {
"BODY": "{\"key\":{\"kid\":\"https://REDACTED.vault.azure.net/keys/CreateEcHsmKey/bf168ef89e874495b30cfbe36ed84b2c\",\"kty\":\"EC-HSM\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"5gxakUninQnV905zeNXrHmlveKKPqG1VTGwfALjxotE\",\"y\":\"G83nn5f2IDBzj9MlIVKq7xrJZ7jVTuGJKnhynl2zAnk\"},\"attributes\":{\"enabled\":true,\"created\":1651169961,\"updated\":1651169961,\"recoveryLevel\":\"Recoverable+Purgeable\",\"recoverableDays\":90}}",
"BODY": "{\"attributes\":{\"created\":1652124867,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1652124867},\"key\":{\"crv\":\"P-256\",\"key_ops\":[\"sign\"],\"kid\":\"https://REDACTED.managedhsm.azure.net/keys/CreateEcHsmKey/35e07b4fbcdd0260137ee5100b599ff8\",\"kty\":\"EC-HSM\",\"x\":\"kPFWxfwG14icL_Xhy0YB_mlVUgbuxQgS_c9xVlNd-vk\",\"y\":\"G1T3lEneG7ZyQi0gxYJU5ezJt9u8DtKyhJYqxyg78X0\"}}",
"REASON_PHRASE": "OK",
"STATUS_CODE": "200",
"cache-control": "no-cache",
"content-length": "395",
"content-length": "420",
"content-security-policy": "default-src 'self'",
"content-type": "application/json; charset=utf-8",
"date": "Thu, 28 Apr 2022 18:19:23 GMT",
"expires": "-1",
"pragma": "no-cache",
"strict-transport-security": "max-age=31536000;includeSubDomains",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"x-ms-client-request-id": "c2f708f9-421f-4b9f-5e6f-9cb976fdf9aa",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=24.22.157.72;act_addr_fam=InterNetwork;",
"x-frame-options": "SAMEORIGIN",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=24.22.157.72;act_addr_fam=Ipv4;",
"x-ms-keyvault-region": "westus3",
"x-ms-keyvault-service-version": "1.9.378.1",
"x-ms-request-id": "ffa2749b-f8de-4826-a0d1-2c60fbb65d09"
"x-ms-request-id": "09f1ca3e-cfcf-11ec-818f-6045bd86d60f",
"x-ms-server-latency": "401"
},
"Url": "https://REDACTED.vault.azure.net/keys/CreateEcHsmKey/create?api-version=7.3"
"Url": "https://REDACTED.managedhsm.azure.net/keys/CreateEcHsmKey/create?api-version=7.3"
},
{
"Headers": {
"user-agent": "azsdk-cpp-keyvault-keys/4.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)",
"x-ms-client-request-id": "5c1329c6-8796-4931-6794-eb905cb865d6"
"x-ms-client-request-id": "dd6d2b02-8254-40f1-48fb-e214b8f7991b"
},
"Method": "GET",
"Response": {
"BODY": "{\"key\":{\"kid\":\"https://REDACTED.vault.azure.net/keys/CreateEcHsmKey/bf168ef89e874495b30cfbe36ed84b2c\",\"kty\":\"EC-HSM\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"5gxakUninQnV905zeNXrHmlveKKPqG1VTGwfALjxotE\",\"y\":\"G83nn5f2IDBzj9MlIVKq7xrJZ7jVTuGJKnhynl2zAnk\"},\"attributes\":{\"enabled\":true,\"created\":1651169961,\"updated\":1651169961,\"recoveryLevel\":\"Recoverable+Purgeable\",\"recoverableDays\":90}}",
"BODY": "{\"attributes\":{\"created\":1652124867,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1652124867},\"key\":{\"crv\":\"P-256\",\"key_ops\":[\"sign\"],\"kid\":\"https://REDACTED.managedhsm.azure.net/keys/CreateEcHsmKey/35e07b4fbcdd0260137ee5100b599ff8\",\"kty\":\"EC-HSM\",\"x\":\"kPFWxfwG14icL_Xhy0YB_mlVUgbuxQgS_c9xVlNd-vk\",\"y\":\"G1T3lEneG7ZyQi0gxYJU5ezJt9u8DtKyhJYqxyg78X0\"}}",
"REASON_PHRASE": "OK",
"STATUS_CODE": "200",
"cache-control": "no-cache",
"content-length": "395",
"content-length": "420",
"content-security-policy": "default-src 'self'",
"content-type": "application/json; charset=utf-8",
"date": "Thu, 28 Apr 2022 18:19:23 GMT",
"expires": "-1",
"pragma": "no-cache",
"strict-transport-security": "max-age=31536000;includeSubDomains",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"x-ms-client-request-id": "5c1329c6-8796-4931-6794-eb905cb865d6",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=24.22.157.72;act_addr_fam=InterNetwork;",
"x-frame-options": "SAMEORIGIN",
"x-ms-build-version": "1.0.20220503-3-e1430fa9-1.0.20220430-1-f02155ab-pre-openssl",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=24.22.157.72;act_addr_fam=Ipv4;",
"x-ms-keyvault-region": "westus3",
"x-ms-keyvault-service-version": "1.9.378.1",
"x-ms-request-id": "237db785-85f7-480b-9015-a48dd29b3363"
"x-ms-request-id": "0a375036-cfcf-11ec-818f-6045bd86d60f",
"x-ms-server-latency": "98"
},
"Url": "https://REDACTED.vault.azure.net/keys/CreateEcHsmKey?api-version=7.3"
"Url": "https://REDACTED.managedhsm.azure.net/keys/CreateEcHsmKey?api-version=7.3"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,54 +4,51 @@
"Headers": {
"content-type": "application/json",
"user-agent": "azsdk-cpp-keyvault-keys/4.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)",
"x-ms-client-request-id": "4253488d-717b-4589-66dc-6d54c160aef9"
"x-ms-client-request-id": "1ea49abe-f092-4bfe-4fc8-81ba88de736c"
},
"Method": "POST",
"Response": {
"BODY": "{\"key\":{\"kid\":\"https://REDACTED.vault.azure.net/keys/CreateRsaHsmKey/095403ac2710405593272cf4d7f906ec\",\"kty\":\"RSA-HSM\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sKKm0idUFMK-WJX1NhfQanxlVy07gRLHJNaIDa06jm9iX48Gm1UbIYZItO2Ln888JaZzuNzCf4DD8yKzkgaykiHHLgMIbGVZOieZaMBcTFujXaLKQt1KYsNT2mjhh9rTNH-RiMzjDniZwkwMcOylJqkRFw2f203Y-RRQXKJIb6Bm779dLWmS6lp3j923GEihMBIb1DRaC2go_IP_tCQGoMbLEEEDh4kBj75viTaGKxcwSXfWbHhtRJRyLIgu4cjwnZ1X0iwOYicXv6vu7usCNrBJvyXMXnyvEaiO26kBE1mRaZ3JzugCpiPYj-FuGpJXK4AgiDn2il8KNJFsFBORTw\",\"e\":\"AAEAAQ\"},\"attributes\":{\"enabled\":true,\"created\":1651169926,\"updated\":1651169926,\"recoveryLevel\":\"Recoverable+Purgeable\",\"recoverableDays\":90}}",
"BODY": "{\"attributes\":{\"created\":1652124859,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1652124859},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"sign\"],\"kid\":\"https://REDACTED.managedhsm.azure.net/keys/CreateRsaHsmKey/0a21749b0bda05ad03d7847f7e99fc3f\",\"kty\":\"RSA-HSM\",\"n\":\"jjyunHjWkDTNGYhYiKtUJCjhEpP6PZFpV4qSiCUoLJILg4D53vScrEmqpKQ7viYO16z-_e6bEeePrwA-pR4S1ZNl-Wyk2m1lCFw-DYKh8oV9RSt024O704cwwjAyKpXAhFwQJ8shtfZGoetIx-B_NnmaDAEG8wwHHJeKbX-OExGF22EBbxLlX5ssfmvlzyZPCxf4fkhEFg617OUP12dtrgssPB1daznXG_OxK5gjrjYOPMC0ev6Z3W91f7sTGUyuI5-QlCctPGr7ylmRQQoYCxqvKRaPrELRPdG8XEVfJBNpJJF2jKeEID_4Jwjwuf3Y8YjX3_H_ZlMUyhZouxZrsQ\"}}",
"REASON_PHRASE": "OK",
"STATUS_CODE": "200",
"cache-control": "no-cache",
"content-length": "687",
"content-length": "668",
"content-security-policy": "default-src 'self'",
"content-type": "application/json; charset=utf-8",
"date": "Thu, 28 Apr 2022 18:18:45 GMT",
"expires": "-1",
"pragma": "no-cache",
"strict-transport-security": "max-age=31536000;includeSubDomains",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"x-ms-client-request-id": "4253488d-717b-4589-66dc-6d54c160aef9",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=24.22.157.72;act_addr_fam=InterNetwork;",
"x-frame-options": "SAMEORIGIN",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=24.22.157.72;act_addr_fam=Ipv4;",
"x-ms-keyvault-region": "westus3",
"x-ms-keyvault-service-version": "1.9.378.1",
"x-ms-request-id": "e9d3787d-eb96-46db-8a53-5cf57cc5cc4a"
"x-ms-request-id": "04fb4e56-cfcf-11ec-8d22-6045bd86d5ca",
"x-ms-server-latency": "361"
},
"Url": "https://REDACTED.vault.azure.net/keys/CreateRsaHsmKey/create?api-version=7.3"
"Url": "https://REDACTED.managedhsm.azure.net/keys/CreateRsaHsmKey/create?api-version=7.3"
},
{
"Headers": {
"user-agent": "azsdk-cpp-keyvault-keys/4.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)",
"x-ms-client-request-id": "315f7a30-4f35-485b-59db-9383f85ad08c"
"x-ms-client-request-id": "666f33b2-35fe-49ca-40ad-a2fc0dc9de38"
},
"Method": "GET",
"Response": {
"BODY": "{\"key\":{\"kid\":\"https://REDACTED.vault.azure.net/keys/CreateRsaHsmKey/095403ac2710405593272cf4d7f906ec\",\"kty\":\"RSA-HSM\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sKKm0idUFMK-WJX1NhfQanxlVy07gRLHJNaIDa06jm9iX48Gm1UbIYZItO2Ln888JaZzuNzCf4DD8yKzkgaykiHHLgMIbGVZOieZaMBcTFujXaLKQt1KYsNT2mjhh9rTNH-RiMzjDniZwkwMcOylJqkRFw2f203Y-RRQXKJIb6Bm779dLWmS6lp3j923GEihMBIb1DRaC2go_IP_tCQGoMbLEEEDh4kBj75viTaGKxcwSXfWbHhtRJRyLIgu4cjwnZ1X0iwOYicXv6vu7usCNrBJvyXMXnyvEaiO26kBE1mRaZ3JzugCpiPYj-FuGpJXK4AgiDn2il8KNJFsFBORTw\",\"e\":\"AAEAAQ\"},\"attributes\":{\"enabled\":true,\"created\":1651169926,\"updated\":1651169926,\"recoveryLevel\":\"Recoverable+Purgeable\",\"recoverableDays\":90}}",
"BODY": "{\"attributes\":{\"created\":1652124859,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1652124859},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"sign\"],\"kid\":\"https://REDACTED.managedhsm.azure.net/keys/CreateRsaHsmKey/0a21749b0bda05ad03d7847f7e99fc3f\",\"kty\":\"RSA-HSM\",\"n\":\"jjyunHjWkDTNGYhYiKtUJCjhEpP6PZFpV4qSiCUoLJILg4D53vScrEmqpKQ7viYO16z-_e6bEeePrwA-pR4S1ZNl-Wyk2m1lCFw-DYKh8oV9RSt024O704cwwjAyKpXAhFwQJ8shtfZGoetIx-B_NnmaDAEG8wwHHJeKbX-OExGF22EBbxLlX5ssfmvlzyZPCxf4fkhEFg617OUP12dtrgssPB1daznXG_OxK5gjrjYOPMC0ev6Z3W91f7sTGUyuI5-QlCctPGr7ylmRQQoYCxqvKRaPrELRPdG8XEVfJBNpJJF2jKeEID_4Jwjwuf3Y8YjX3_H_ZlMUyhZouxZrsQ\"}}",
"REASON_PHRASE": "OK",
"STATUS_CODE": "200",
"cache-control": "no-cache",
"content-length": "687",
"content-length": "668",
"content-security-policy": "default-src 'self'",
"content-type": "application/json; charset=utf-8",
"date": "Thu, 28 Apr 2022 18:18:45 GMT",
"expires": "-1",
"pragma": "no-cache",
"strict-transport-security": "max-age=31536000;includeSubDomains",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"x-ms-client-request-id": "315f7a30-4f35-485b-59db-9383f85ad08c",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=24.22.157.72;act_addr_fam=InterNetwork;",
"x-frame-options": "SAMEORIGIN",
"x-ms-build-version": "1.0.20220503-3-e1430fa9-1.0.20220430-1-f02155ab-pre-openssl",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=24.22.157.72;act_addr_fam=Ipv4;",
"x-ms-keyvault-region": "westus3",
"x-ms-keyvault-service-version": "1.9.378.1",
"x-ms-request-id": "3ea74b94-d97c-4800-83ba-3c7f66afd6d9"
"x-ms-request-id": "0539f7c8-cfcf-11ec-8d22-6045bd86d5ca",
"x-ms-server-latency": "96"
},
"Url": "https://REDACTED.vault.azure.net/keys/CreateRsaHsmKey?api-version=7.3"
"Url": "https://REDACTED.managedhsm.azure.net/keys/CreateRsaHsmKey?api-version=7.3"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"Headers": {
"content-type": "application/json",
"user-agent": "azsdk-cpp-keyvault-keys/4.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)",
"x-ms-client-request-id": "62efb9c3-6fe1-4ac9-58b7-6ceb5877ef46"
"x-ms-client-request-id": "23e6a7fd-96c0-4642-7b13-4fe10963a7d1"
},
"Method": "POST",
"Response": {
"BODY": "{\"value\":\"QkaFtQ\"}",
"BODY": "{\"value\":\"W4Ed2Q\"}",
"REASON_PHRASE": "OK",
"STATUS_CODE": "200",
"cache-control": "no-cache",
Expand All @@ -20,8 +20,8 @@
"x-frame-options": "SAMEORIGIN",
"x-ms-keyvault-network-info": "conn_type=Ipv4;addr=24.22.157.72;act_addr_fam=Ipv4;",
"x-ms-keyvault-region": "westus3",
"x-ms-request-id": "e0ed8ab4-bcec-11ec-b7b1-6045bd86d68a",
"x-ms-server-latency": "559"
"x-ms-request-id": "008b910a-cfcf-11ec-bf3e-6045bd7778ea",
"x-ms-server-latency": "3"
},
"Url": "https://REDACTED.managedhsm.azure.net//rng?api-version=7.3"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ stages:
- Name: AZURE_KEYVAULT_URL
Value: "https://non-real-account.vault.azure.net"
- Name: AZURE_KEYVAULT_HSM_URL
Value: "https://non-real-account.vault.azure.net"
Value: "https://non-real-account.managedhsm.azure.net/"
# Tenant ID should use the uniqueID format for playback recordings
- Name: AZURE_TENANT_ID
Value: "33333333-3333-3333-3333-333333333333"
Expand Down
Loading