-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge azure-keyvault-keys 4.3.2 hotfix (#15636)
- Loading branch information
Showing
11 changed files
with
595 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
# Licensed under the MIT License. | ||
# ------------------------------------ | ||
|
||
VERSION = "4.3.1" | ||
VERSION = "4.3.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
146 changes: 146 additions & 0 deletions
146
sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '0' | ||
Content-Type: | ||
- application/json | ||
User-Agent: | ||
- azsdk-python-keyvault-keys/4.3.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) | ||
method: POST | ||
uri: https://vaultname.vault.azure.net/keys/eckeye9470d88/create?api-version=7.1 | ||
response: | ||
body: | ||
string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer | ||
or PoP token."}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '87' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Wed, 02 Dec 2020 20:50:57 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=31536000;includeSubDomains | ||
www-authenticate: | ||
- Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", | ||
resource="https://vault.azure.net" | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-keyvault-network-info: | ||
- conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; | ||
x-ms-keyvault-region: | ||
- westus | ||
x-ms-keyvault-service-version: | ||
- 1.2.80.0 | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 401 | ||
message: Unauthorized | ||
- request: | ||
body: '{"kty": "EC"}' | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '13' | ||
Content-Type: | ||
- application/json | ||
User-Agent: | ||
- azsdk-python-keyvault-keys/4.3.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) | ||
method: POST | ||
uri: https://vaultname.vault.azure.net/keys/eckeye9470d88/create?api-version=7.1 | ||
response: | ||
body: | ||
string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/eckeye9470d88/6e2cecdbf94c445e94f803e7718005be","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"JHuxTma0kqxGE158ricCGgzbYHx8wDoHFyiY_ew7LVs","y":"nkFZV0C0Mg-_ao0hkHY2Byx829BaSNEV_UBiRRgs8E4"},"attributes":{"enabled":true,"created":1606942258,"updated":1606942258,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '404' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Wed, 02 Dec 2020 20:50:58 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=31536000;includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-keyvault-network-info: | ||
- conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; | ||
x-ms-keyvault-region: | ||
- westus | ||
x-ms-keyvault-service-version: | ||
- 1.2.80.0 | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-keyvault-keys/4.3.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) | ||
method: GET | ||
uri: https://vaultname.vault.azure.net/keys/eckeye9470d88/6e2cecdbf94c445e94f803e7718005be?api-version=7.1 | ||
response: | ||
body: | ||
string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/eckeye9470d88/6e2cecdbf94c445e94f803e7718005be","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"JHuxTma0kqxGE158ricCGgzbYHx8wDoHFyiY_ew7LVs","y":"nkFZV0C0Mg-_ao0hkHY2Byx829BaSNEV_UBiRRgs8E4"},"attributes":{"enabled":true,"created":1606942258,"updated":1606942258,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '404' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Wed, 02 Dec 2020 20:50:59 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=31536000;includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-keyvault-network-info: | ||
- conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; | ||
x-ms-keyvault-region: | ||
- westus | ||
x-ms-keyvault-service-version: | ||
- 1.2.80.0 | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
146 changes: 146 additions & 0 deletions
146
sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '0' | ||
Content-Type: | ||
- application/json | ||
User-Agent: | ||
- azsdk-python-keyvault-keys/4.3.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) | ||
method: POST | ||
uri: https://vaultname.vault.azure.net/keys/rsakeyf8150e06/create?api-version=7.1 | ||
response: | ||
body: | ||
string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer | ||
or PoP token."}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '87' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Wed, 02 Dec 2020 20:51:00 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=31536000;includeSubDomains | ||
www-authenticate: | ||
- Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", | ||
resource="https://vault.azure.net" | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-keyvault-network-info: | ||
- conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; | ||
x-ms-keyvault-region: | ||
- westus | ||
x-ms-keyvault-service-version: | ||
- 1.2.80.0 | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 401 | ||
message: Unauthorized | ||
- request: | ||
body: '{"kty": "RSA"}' | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '14' | ||
Content-Type: | ||
- application/json | ||
User-Agent: | ||
- azsdk-python-keyvault-keys/4.3.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) | ||
method: POST | ||
uri: https://vaultname.vault.azure.net/keys/rsakeyf8150e06/create?api-version=7.1 | ||
response: | ||
body: | ||
string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/rsakeyf8150e06/ed780da8294a47aa906f65b4d3fff7d3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4ChGYiIT14cljCPVD6BEK23HeZ5Wzbm4JRLMtzLj7tpuUL3S0LBqcQRESEUkZ_La2olPa4lAwUhGN2cEQvhM0oNa1uGLubD9Q1V3g5yYeqj5faW5tdF_UXEcdSeODj7egV8miXO9IAKR0-L-8_-x8p_CkJSEk9DXSiiLtHUaxAb4EG2E8RyC3-Mw-Fb2cMxVC50X-S4dIs_9iKFenzqqWuYsIVme3Qritn2DMiOcswnr2LeCcFfruDTlFoLnAg-29dK0giOEYQmKOH3cM9EDZ93kKiiGcA6QLZefm8HbjqugvsAYoZDCtUvJkNBlCsc4YIM1FZYVXTDnWEddzB3CqQ","e":"AQAB"},"attributes":{"enabled":true,"created":1606942262,"updated":1606942262,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '694' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Wed, 02 Dec 2020 20:51:01 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=31536000;includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-keyvault-network-info: | ||
- conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; | ||
x-ms-keyvault-region: | ||
- westus | ||
x-ms-keyvault-service-version: | ||
- 1.2.80.0 | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-keyvault-keys/4.3.1 Python/3.5.4 (Windows-10-10.0.19041-SP0) | ||
method: GET | ||
uri: https://vaultname.vault.azure.net/keys/rsakeyf8150e06/ed780da8294a47aa906f65b4d3fff7d3?api-version=7.1 | ||
response: | ||
body: | ||
string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/rsakeyf8150e06/ed780da8294a47aa906f65b4d3fff7d3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4ChGYiIT14cljCPVD6BEK23HeZ5Wzbm4JRLMtzLj7tpuUL3S0LBqcQRESEUkZ_La2olPa4lAwUhGN2cEQvhM0oNa1uGLubD9Q1V3g5yYeqj5faW5tdF_UXEcdSeODj7egV8miXO9IAKR0-L-8_-x8p_CkJSEk9DXSiiLtHUaxAb4EG2E8RyC3-Mw-Fb2cMxVC50X-S4dIs_9iKFenzqqWuYsIVme3Qritn2DMiOcswnr2LeCcFfruDTlFoLnAg-29dK0giOEYQmKOH3cM9EDZ93kKiiGcA6QLZefm8HbjqugvsAYoZDCtUvJkNBlCsc4YIM1FZYVXTDnWEddzB3CqQ","e":"AQAB"},"attributes":{"enabled":true,"created":1606942262,"updated":1606942262,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '694' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Wed, 02 Dec 2020 20:51:03 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=31536000;includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-keyvault-network-info: | ||
- conn_type=Ipv4;addr=24.17.201.78;act_addr_fam=InterNetwork; | ||
x-ms-keyvault-region: | ||
- westus | ||
x-ms-keyvault-service-version: | ||
- 1.2.80.0 | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
Oops, something went wrong.