From 1192115664ff36d1fff471e0e269599b95694754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Thu, 4 Mar 2021 10:01:23 -0800 Subject: [PATCH 01/12] Parameterize test_key_client.py --- .../azure-keyvault-keys/dev_requirements.txt | 3 +- .../test_key_client.test_backup_restore.yaml | 427 -- ...t_key_client.test_backup_restore_mhsm.yaml | 301 ++ ..._key_client.test_backup_restore_vault.yaml | 933 ++++ ...t_key_client.test_key_crud_operations.yaml | 579 --- ..._client.test_key_crud_operations_mhsm.yaml | 494 +++ ...client.test_key_crud_operations_vault.yaml | 799 ++++ .../test_key_client.test_key_list.yaml | 523 --- .../test_key_client.test_key_list_mhsm.yaml | 437 ++ .../test_key_client.test_key_list_vault.yaml | 478 ++ ...est_key_client.test_list_deleted_keys.yaml | 1682 ------- ...ey_client.test_list_deleted_keys_mhsm.yaml | 1025 +++++ ...y_client.test_list_deleted_keys_vault.yaml | 2912 ++++++++++++ ...st_key_client.test_list_versions_mhsm.yaml | 437 ++ ..._key_client.test_list_versions_vault.yaml} | 138 +- .../test_key_client.test_logging.yaml | 63 - ...key_client.test_logging_disabled_mhsm.yaml | 89 + ...y_client.test_logging_disabled_vault.yaml} | 28 +- ..._key_client.test_logging_enabled_mhsm.yaml | 89 + ...ey_client.test_logging_enabled_vault.yaml} | 28 +- .../test_key_client.test_purge.yaml | 2211 ---------- .../test_key_client.test_purge_mhsm.yaml | 1634 +++++++ .../test_key_client.test_purge_vault.yaml | 3910 +++++++++++++++++ .../test_key_client.test_recover.yaml | 1915 -------- .../test_key_client.test_recover_mhsm.yaml | 1319 ++++++ .../test_key_client.test_recover_vault.yaml | 3102 +++++++++++++ .../tests/test_key_client.py | 120 +- 27 files changed, 18161 insertions(+), 7515 deletions(-) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys_vault.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_key_client.test_list_versions.yaml => test_key_client.test_list_versions_vault.yaml} (56%) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_key_client.test_logging_disabled.yaml => test_key_client.test_logging_disabled_vault.yaml} (63%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_key_client.test_logging_enabled.yaml => test_key_client.test_logging_enabled_vault.yaml} (63%) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover_vault.yaml diff --git a/sdk/keyvault/azure-keyvault-keys/dev_requirements.txt b/sdk/keyvault/azure-keyvault-keys/dev_requirements.txt index eb63864de06a..6aae6374926c 100644 --- a/sdk/keyvault/azure-keyvault-keys/dev_requirements.txt +++ b/sdk/keyvault/azure-keyvault-keys/dev_requirements.txt @@ -4,4 +4,5 @@ -e ../azure-mgmt-keyvault -e ../../../tools/azure-sdk-tools ../azure-keyvault-nspkg -aiohttp>=3.0; python_version >= '3.5' \ No newline at end of file +aiohttp>=3.0; python_version >= '3.5' +parameterized>=0.7.3 \ No newline at end of file diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore.yaml deleted file mode 100644 index 825c14d21137..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore.yaml +++ /dev/null @@ -1,427 +0,0 @@ -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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d/create?api-version=7.2-preview - 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: - - Sat, 06 Feb 2021 02:36:23 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d/f827ea92407249519554c426e3664280","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"mjvXVEeOYkMafnIdPNSONOArypAEP-LizZt9YPOi5RCHbOpwXM0J08_Yi5WquZvb9XynWLRD67HJa_48qYEo2977bsyUpOV-gGZyz15JQxkfP2qSw1ve8iJKY1laYfOAw6uIOQu38ORPqZEGhq2olvJxxOFjuqPL_d457P7hqNICar7iOsJnkvLrRe7w9WA5RdOtHZAxt89OD5ZyBPImAT_DHiqHps9Bf3wAGpUJaitRPV6eM09oViA5SgMJxMY7e-dbVrPW0G45UeA1GnUcPkot--HhwOTzui2dxQsW74GVvoUBf2QFtEMuMTnpU_V77rtx_jOxb-uo8WiuvY7WVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578984,"updated":1612578984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:25 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d/backup?api-version=7.2-preview - response: - body: - string: '{"value":"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUppTTJJd1pqZ3dZeTB5Wkdaa0xUUmlPVGt0T0RVeE1TMWpZVGRrTTJKbFlURTVNMkVpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuS2t6aGEtb1I1MEpTY2FMV3lsM0w1U3FKMzdQYzRZNmtjM2R3ZEJzY0lUWEYtNnV4TzRtUENyQnM3WkVpa0ZmaDV1VlFRbEFGaGYzR3pLSGp3ZkZFRjhMc2Jjc3JhU2VDMlBuVWdXWU9IZXBzV3IzVlJQYVd4el9yNnpYUmVZd1RDQy1pSy15VmszbW10M1FaTXFrTjJpSzh4WHBmVlNBbjhFYTJGNDhmS3JTZ0FEcVI1OHRkU2pIWmk3TmlNb3ZCdjVKck1GZnM0Ny1Yd3ZRUW4xZ19vdkVNcFNLVWItQmFkWTBhNXVYN0JKNUluekN3T1FwZUd5S3BjeGhjSkZjclRnb2dvOXZsa1E4QW9Xa3JNSldrc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MVJJOEtMRzFJTFhMbGJsbnd2UTJ4LWs0eWRMc3dUbmJJQm5jbm1hZzdlYnNuNUI4cXJEZXNQNk5ENE5jUmotNk9VQVNvSUVMOHJpVjhOVU5zNDVOMTRUaHpRMEJCdGpoSUxpYU1SM2wyTWpiTGJJT19kOEREUHUyNXJEVVdGOWVKRzdGMEZiTTc3VmFBbmxwODlkU2tVWVFQZEVJeHVITGZ6WnlSYmI3OW5yQnJ2Ri02Wjk2eDRISWV5a3Itb2pqV042VmltQTF2dFhFeldiQkZrVWpEVXozSGNvUnJTZjVpLWh4Q3NQb0MxeG4yUlo5S1B6OFdBVi02YUhCM1FrN1BHMTljLWhSZHV4eEVoZlZKNHQwTzJ1TDNLd1FyOV9tSFFpZExvVDBiX0xrNzM3U2hBSkJ6LVdaTEZSZ0hnY0FfY284VjNIdXExSVlyejE2LS5FeFZNUGZWOUdIUHZKczZMZmRPb19ySGliS3B6eFpad1cwZ19DVkVYRVNv"}' - headers: - cache-control: - - no-cache - content-length: - - '11608' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:25 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak2e80e6d","deletedDate":1612578985,"scheduledPurgeDate":1620354985,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d/f827ea92407249519554c426e3664280","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"mjvXVEeOYkMafnIdPNSONOArypAEP-LizZt9YPOi5RCHbOpwXM0J08_Yi5WquZvb9XynWLRD67HJa_48qYEo2977bsyUpOV-gGZyz15JQxkfP2qSw1ve8iJKY1laYfOAw6uIOQu38ORPqZEGhq2olvJxxOFjuqPL_d457P7hqNICar7iOsJnkvLrRe7w9WA5RdOtHZAxt89OD5ZyBPImAT_DHiqHps9Bf3wAGpUJaitRPV6eM09oViA5SgMJxMY7e-dbVrPW0G45UeA1GnUcPkot--HhwOTzui2dxQsW74GVvoUBf2QFtEMuMTnpU_V77rtx_jOxb-uo8WiuvY7WVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578984,"updated":1612578984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:25 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak2e80e6d?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak2e80e6d"}}' - headers: - cache-control: - - no-cache - content-length: - - '91' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:25 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak2e80e6d?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak2e80e6d","deletedDate":1612578985,"scheduledPurgeDate":1620354985,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d/f827ea92407249519554c426e3664280","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"mjvXVEeOYkMafnIdPNSONOArypAEP-LizZt9YPOi5RCHbOpwXM0J08_Yi5WquZvb9XynWLRD67HJa_48qYEo2977bsyUpOV-gGZyz15JQxkfP2qSw1ve8iJKY1laYfOAw6uIOQu38ORPqZEGhq2olvJxxOFjuqPL_d457P7hqNICar7iOsJnkvLrRe7w9WA5RdOtHZAxt89OD5ZyBPImAT_DHiqHps9Bf3wAGpUJaitRPV6eM09oViA5SgMJxMY7e-dbVrPW0G45UeA1GnUcPkot--HhwOTzui2dxQsW74GVvoUBf2QFtEMuMTnpU_V77rtx_jOxb-uo8WiuvY7WVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578984,"updated":1612578984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '836' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak2e80e6d?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Sat, 06 Feb 2021 02:36:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUppTTJJd1pqZ3dZeTB5Wkdaa0xUUmlPVGt0T0RVeE1TMWpZVGRrTTJKbFlURTVNMkVpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuS2t6aGEtb1I1MEpTY2FMV3lsM0w1U3FKMzdQYzRZNmtjM2R3ZEJzY0lUWEYtNnV4TzRtUENyQnM3WkVpa0ZmaDV1VlFRbEFGaGYzR3pLSGp3ZkZFRjhMc2Jjc3JhU2VDMlBuVWdXWU9IZXBzV3IzVlJQYVd4el9yNnpY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mIzdmhFYXh4T2ZGY2RXby1nYUh3U0pWN3FLeU5SNnd0dmc3Tk9qQ0REZEo3cXlURnh5c0lGLVVlNnpicXdhZmlmUm85b3k3X0JNYmFIaGVzYzdtS1I5Z2wwZ1VfdjNhYksyMzMwaU03ZkxXUU8tWkU2LTRuUGxTMmN2T0p3RmtvWHp6S3RiUFZSY3BZN3h3bkFrT2pMSjZOMVJJOEtMRzFJTFhMbGJsbnd2UTJ4LWs0eWRMc3dUbmJJQm5jbm1hZzdlYnNuNUI4cXJEZXNQNk5ENE5jUmotNk9VQVNvSUVMOHJpVjhOVU5zNDVOMTRUaHpRMEJCdGpoSUxpYU1SM2wyTWpiTGJJT19kOEREUHUyNXJEVVdGOWVKRzdGMEZiTTc3VmFBbmxwODlkU2tVWVFQZEVJeHVITGZ6WnlSYmI3OW5yQnJ2Ri02Wjk2eDRISWV5a3Itb2pqV042VmltQTF2dFhFeldiQkZrVWpEVXozSGNvUnJTZjVpLWh4Q3NQb0MxeG4yUlo5S1B6OFdBVi02YUhCM1FrN1BHMTljLWhSZHV4eEVoZlZKNHQwTzJ1TDNLd1FyOV9tSFFpZExvVDBiX0xrNzM3U2hBSkJ6LVdaTEZSZ0hnY0FfY284VjNIdXExSVlyejE2LS5FeFZNUGZWOUdIUHZKczZMZmRPb19ySGliS3B6eFpad1cwZ19DVkVYRVNv"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '11609' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the key ''https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d/f827ea92407249519554c426e3664280''. - This can happen if either: a second key with the same name was created after - the first key was deleted; thus trying to restore a key whose name is already - in use. To fix this, rename the second key to something else so that the restore - works. The second probable cause of this exception is when multiple operations - are performed in parallel against the key. To avoid this error, perform operations - against a key in a sequential manner."}}' - headers: - cache-control: - - no-cache - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:28 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 409 - message: Conflict -- request: - body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUppTTJJd1pqZ3dZeTB5Wkdaa0xUUmlPVGt0T0RVeE1TMWpZVGRrTTJKbFlURTVNMkVpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuS2t6aGEtb1I1MEpTY2FMV3lsM0w1U3FKMzdQYzRZNmtjM2R3ZEJzY0lUWEYtNnV4TzRtUENyQnM3WkVpa0ZmaDV1VlFRbEFGaGYzR3pLSGp3ZkZFRjhMc2Jjc3JhU2VDMlBuVWdXWU9IZXBzV3IzVlJQYVd4el9yNnpYUmVZd1RDQy1pSy15VmszbW10M1FaTXFrTjJpSzh4WHBmVlNBbjhFYTJGNDhmS3JTZ0FEcVI1OHRkU2pIWmk3TmlNb3ZCdjVKck1GZnM0Ny1Yd3ZRUW4xZ19vdkVNcFNLVWItQmFkWTBhNXVYN0JKNUluekN3T1FwZUd5S3BjeGhjSkZjclRnb2dvOXZsa1E4QW9Xa3JNSldrcUltLVZPT1RNMldqck5iX05LNXdKZUZMbGY5M0hxdkFLeGFnMVc0czhGSmZYNVhfUjZUekNUQW9LaWpYOTIzdC1BLlU1TlpzXzJSaEJUeUx6NjV0bm82OVEuSHpF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aHpRMEJCdGpoSUxpYU1SM2wyTWpiTGJJT19kOEREUHUyNXJEVVdGOWVKRzdGMEZiTTc3VmFBbmxwODlkU2tVWVFQZEVJeHVITGZ6WnlSYmI3OW5yQnJ2Ri02Wjk2eDRISWV5a3Itb2pqV042VmltQTF2dFhFeldiQkZrVWpEVXozSGNvUnJTZjVpLWh4Q3NQb0MxeG4yUlo5S1B6OFdBVi02YUhCM1FrN1BHMTljLWhSZHV4eEVoZlZKNHQwTzJ1TDNLd1FyOV9tSFFpZExvVDBiX0xrNzM3U2hBSkJ6LVdaTEZSZ0hnY0FfY284VjNIdXExSVlyejE2LS5FeFZNUGZWOUdIUHZKczZMZmRPb19ySGliS3B6eFpad1cwZ19DVkVYRVNv"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '11609' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d/f827ea92407249519554c426e3664280","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"mjvXVEeOYkMafnIdPNSONOArypAEP-LizZt9YPOi5RCHbOpwXM0J08_Yi5WquZvb9XynWLRD67HJa_48qYEo2977bsyUpOV-gGZyz15JQxkfP2qSw1ve8iJKY1laYfOAw6uIOQu38ORPqZEGhq2olvJxxOFjuqPL_d457P7hqNICar7iOsJnkvLrRe7w9WA5RdOtHZAxt89OD5ZyBPImAT_DHiqHps9Bf3wAGpUJaitRPV6eM09oViA5SgMJxMY7e-dbVrPW0G45UeA1GnUcPkot--HhwOTzui2dxQsW74GVvoUBf2QFtEMuMTnpU_V77rtx_jOxb-uo8WiuvY7WVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578984,"updated":1612578984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:30 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore_mhsm.yaml new file mode 100644 index 000000000000..cf0acd4def1c --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore_mhsm.yaml @@ -0,0 +1,301 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak51231081/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak51231081/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616112118,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616112118},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak51231081/b102769b0fc543261d0c73897bd76352","kty":"RSA-HSM","n":"oj_V3ODU760sNWEZtnrKTCcSbbDr143CybNmW91wgqDISb4RalNfUWh8Xpp0jpN2Go9U47adcbixD5Susl988Z41iwm16elNWqqxWl4tHdxabi-lSMl5MjhkZXTbY5mMWPj0Fxu30e59HztxjHTSPaORX4pzbIRBpv7TAc2aOvtE5wk29fnlMNTn3FSV9IQBOVz05stxPKQ1jhvebJ7A_nPPJhClpAqWUasRhFsYgzQYQ9BH8j-Iq24SqSPYYokM3vEMrT-s-GlpRO7cayOEnyOtvhTWrxmwPSk3F3AJMXjXWTebs2NEYy49JyALEG200_uGdFKFFQ08oSMl2IKJ2w"}}' + headers: + cache-control: + - no-cache + content-length: + - '723' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '234' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak51231081/backup?api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-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '97' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak51231081?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616112118,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616112118},"deletedDate":1616112119,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak51231081/b102769b0fc543261d0c73897bd76352","kty":"RSA-HSM","n":"oj_V3ODU760sNWEZtnrKTCcSbbDr143CybNmW91wgqDISb4RalNfUWh8Xpp0jpN2Go9U47adcbixD5Susl988Z41iwm16elNWqqxWl4tHdxabi-lSMl5MjhkZXTbY5mMWPj0Fxu30e59HztxjHTSPaORX4pzbIRBpv7TAc2aOvtE5wk29fnlMNTn3FSV9IQBOVz05stxPKQ1jhvebJ7A_nPPJhClpAqWUasRhFsYgzQYQ9BH8j-Iq24SqSPYYokM3vEMrT-s-GlpRO7cayOEnyOtvhTWrxmwPSk3F3AJMXjXWTebs2NEYy49JyALEG200_uGdFKFFQ08oSMl2IKJ2w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkeybak51231081","scheduledPurgeDate":1623888119}' + headers: + cache-control: + - no-cache + content-length: + - '877' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '81' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkeybak51231081?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616112118,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616112118},"deletedDate":1616112119,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak51231081/b102769b0fc543261d0c73897bd76352","kty":"RSA-HSM","n":"oj_V3ODU760sNWEZtnrKTCcSbbDr143CybNmW91wgqDISb4RalNfUWh8Xpp0jpN2Go9U47adcbixD5Susl988Z41iwm16elNWqqxWl4tHdxabi-lSMl5MjhkZXTbY5mMWPj0Fxu30e59HztxjHTSPaORX4pzbIRBpv7TAc2aOvtE5wk29fnlMNTn3FSV9IQBOVz05stxPKQ1jhvebJ7A_nPPJhClpAqWUasRhFsYgzQYQ9BH8j-Iq24SqSPYYokM3vEMrT-s-GlpRO7cayOEnyOtvhTWrxmwPSk3F3AJMXjXWTebs2NEYy49JyALEG200_uGdFKFFQ08oSMl2IKJ2w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkeybak51231081","scheduledPurgeDate":1623888119}' + headers: + cache-control: + - no-cache + content-length: + - '877' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '35' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkeybak51231081?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '111' + status: + code: 204 + message: '' +- request: + body: '{"value": "ZXlKaGJHY2lPaUprYVhJaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJaXdpYTJsa0lqb2lZbUZqYTNWd0xYQnliM1JsWTNScGIyNHRhMlY1SW4wLi4xMldzUVhxVXl5Nm45NjdfLWNIVWN3LjBZb0gyX3M4dHlVa29ocEZKNmNzXzdJamNjM0x5Mjgxa1hHLVBkMnpHeVNhaWdQTGN6Z2NDdE03Y2xfWmZBaU9LRHdFbXZwTHZ5OW1sb0lDcE5zNUdkOURBS0x6dlFsbFFadXNra3pxN0NJWFhqb3ZnQ3h5a2VoLXJ0ZmNGTHJyUFdVRUVxOU1aeTFhZ01tQjdseHA5MmNuNzBIazlWYjFmdFJsaDlLZ3NUY1hvVlRXS3Bud2hvMWhhbDBxT0ZESDA2MU1NV0FTM09LSFF5TUI5OFd0MXBTcHpRWFpjTnBRdC1meS13a08xUWVOMUhpd0VDa2FocHhzUWpEb1daY0ZZd251a0dzc0dHZ09wQndzYlZYMzROZG1OckdjT1l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hwdU9RZEhOZjNScnZ3MzhVM0t5UjV6RlNYY3dsV0FRV3ZNOXNfTDVGeFB6RjliaTBobEM5QXRMNGoyWU5zeGczckY0NEFtdWFrcDVNTG9uQmx2Y25oaUl4dllhSnZ6dTdoQzdrVVY5RG50MTh5ejJNNnMtTU81cEJObE5RTmRUaHNPaHlnTWZwRnVQY0k0LVRidGVOTllOZndWVjk5Smp4dVVnd21sZm1mMjQ2RVBidGJJMzFpZEQ0dTAxSXhyWFdLYnJlZFdjNXRXc0lpNV85dlFwT1BqZkU4WVFpWDFDbngxN3VWLVhnWGNnTnhDUUtEU0JjMzZ6dmhOMXlLUTc2R1k3dVhGOHlnb1NJaG42b3JzRlVNdXZGajVwWlNtbjVNQUtVbW1qcHdsN2ZYVlJRLjhia3lPRzdrblozSEdiZEpnamVkekVaVU1iSlRhcW9VMGhUUVA5LV8zaDQ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '22096' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616112118,"enabled":true,"exportable":true,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616112118},"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak51231081/b102769b0fc543261d0c73897bd76352","kty":"RSA-HSM","n":"oj_V3ODU760sNWEZtnrKTCcSbbDr143CybNmW91wgqDISb4RalNfUWh8Xpp0jpN2Go9U47adcbixD5Susl988Z41iwm16elNWqqxWl4tHdxabi-lSMl5MjhkZXTbY5mMWPj0Fxu30e59HztxjHTSPaORX4pzbIRBpv7TAc2aOvtE5wk29fnlMNTn3FSV9IQBOVz05stxPKQ1jhvebJ7A_nPPJhClpAqWUasRhFsYgzQYQ9BH8j-Iq24SqSPYYokM3vEMrT-s-GlpRO7cayOEnyOtvhTWrxmwPSk3F3AJMXjXWTebs2NEYy49JyALEG200_uGdFKFFQ08oSMl2IKJ2w"}}' + headers: + cache-control: + - no-cache + content-length: + - '722' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '122' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore_vault.yaml new file mode 100644 index 000000000000..9933fce78b7b --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_backup_restore_vault.yaml @@ -0,0 +1,933 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/create?api-version=7.2-preview + 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: + - Fri, 19 Mar 2021 00:02:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/6fa7953e73ec43708a62058a81abe691","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wxY4P8nkGNTnkL7l5kW7IjjEUf3a7lrO598IjzC_DQvMwDLmnSiW364JeO26S-k8mpbnDaSRyA0QxvOehbmzrGdP4SGh491Oto4HMMSQLnMkrrI9uaZhMX_h2hZl4lFzRlVJoLGkYYzAv4VUYPFaHiFMjhsoWEOzdERrv52-Vk7hG5DiEjTY2oaB3Yk3KW2A_LpZKSvZnf_EgvfSd3c_0FYEeCbr7ejv10XP1MAVuNSeyQGEdMDdGH4iT-gEImNIn0jP5Yb6sJKGvawprATujRtsjXb7LkTGeNAzTbe1df8HmF3ScB9qSRJnWUa4EmbSfgp9t5tmnifzj-jEmiyc4Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616112123,"updated":1616112123,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '692' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/backup?api-version=7.2-preview + response: + body: + string: '{"value":"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuTWlfRlpVN18xUUJCeFYzTnMtZ0RTXzBDY3NyYXhSSmFCNVFFQzRqNlpLX3ctbk1zZkJtMERsczdNY2xHWG1qQ1pCMHRCYVJ2SUd0MG5vOFNTTXo2WHZEajN6ZEtFeUpYcnN6UHNwVVlKYndUNGdQZUU3M0FjTGtDQUJjblVONkRRV2dDQUREWldfRkpnbGhpZEs3d3JLMDk2ZzRQd2Qxb3Q3ZHRKb2p6LVNQVTBLZFZGRTQ2aHZWODRleDVYMXllS3JTMHYxRnd4U2x1QzdPMG4tREJpM2YxUmxFSml5TVJtOTE2UWpBS3k5NHFwVHhfS2NsUXM1VXdHSEJaTlNqMlI2allrUU5VODZnOHlQbmNBenI2a1lIX0JtZ2xhYmQwZnF1ZG9TM1VYWjNBNmNYY2xsNF9ya2FKcHg1bjRRbGZDV0REQ3ZSRE9uVEZ1dFA5WVRaTVRRLkhyRGRTbXVjUEN0Y2YxUGNZekk5OGcuYVBKWjJ4c0d0d2pCLUwybTl6M2gtRHl1SDZldkU5Nmhsc002cV9hVUJxOTVXWVNMRGVXT05TT3FGbWNvYktKVWNHM1ZJdz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headers: + cache-control: + - no-cache + content-length: + - '10272' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8","deletedDate":1616112124,"scheduledPurgeDate":1623888124,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/6fa7953e73ec43708a62058a81abe691","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wxY4P8nkGNTnkL7l5kW7IjjEUf3a7lrO598IjzC_DQvMwDLmnSiW364JeO26S-k8mpbnDaSRyA0QxvOehbmzrGdP4SGh491Oto4HMMSQLnMkrrI9uaZhMX_h2hZl4lFzRlVJoLGkYYzAv4VUYPFaHiFMjhsoWEOzdERrv52-Vk7hG5DiEjTY2oaB3Yk3KW2A_LpZKSvZnf_EgvfSd3c_0FYEeCbr7ejv10XP1MAVuNSeyQGEdMDdGH4iT-gEImNIn0jP5Yb6sJKGvawprATujRtsjXb7LkTGeNAzTbe1df8HmF3ScB9qSRJnWUa4EmbSfgp9t5tmnifzj-jEmiyc4Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616112123,"updated":1616112123,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '838' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:21 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak622d10f8"}}' + headers: + cache-control: + - no-cache + content-length: + - '92' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8","deletedDate":1616112124,"scheduledPurgeDate":1623888124,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/6fa7953e73ec43708a62058a81abe691","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wxY4P8nkGNTnkL7l5kW7IjjEUf3a7lrO598IjzC_DQvMwDLmnSiW364JeO26S-k8mpbnDaSRyA0QxvOehbmzrGdP4SGh491Oto4HMMSQLnMkrrI9uaZhMX_h2hZl4lFzRlVJoLGkYYzAv4VUYPFaHiFMjhsoWEOzdERrv52-Vk7hG5DiEjTY2oaB3Yk3KW2A_LpZKSvZnf_EgvfSd3c_0FYEeCbr7ejv10XP1MAVuNSeyQGEdMDdGH4iT-gEImNIn0jP5Yb6sJKGvawprATujRtsjXb7LkTGeNAzTbe1df8HmF3ScB9qSRJnWUa4EmbSfgp9t5tmnifzj-jEmiyc4Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616112123,"updated":1616112123,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '838' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak622d10f8?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 19 Mar 2021 00:02:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuTWlfRlpVN18xUUJCeFYzTnMtZ0RTXzBDY3NyYXhSSmFCNVFFQzRqNlpLX3ctbk1zZkJtMERsczdNY2xHWG1qQ1pCMHRCYVJ2SUd0MG5vOFNTTXo2WHZEajN6ZEtFeUpYcnN6UHNwVVlKYndUNGdQZUU3M0FjTGtDQUJjblVONkRRV2dDQUREWldfRkpnbGhpZEs3d3JLMDk2ZzRQd2Qxb3Q3ZHRKb2p6LVNQVTBLZFZGRTQ2aHZWODRleDVYMXllS3JTMHYxRnd4U2x1QzdPMG4tREJpM2YxUmxFSml5TV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xQnlyd0MxeTZEa0Q5RGtNS0FtLUo5b2ZaX3NtVmdFMUpZdl9vOEhkQV9GaVZhZ1AyN3psQ2FHdUpEYldJVEhmTDFtR214WUpSWXZOVXV6dFZDbi1nd19NRDgxY3B1UjNnbVRfSkJFZzBaZTFYbkdYcXVDRmxJNzFZS2hHSllMUTltaFVpd2FiYWxXYUZLTE5Vcll3Z0VnNk5OcF9xZ1A4WlRhdU5vQS5Yel9HMlNQTk91QXBuZ0RCTXRfVy16ZGRkUXRiVGRsREFINGUxeFVndVFr"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '10273' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the key ''https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/6fa7953e73ec43708a62058a81abe691''. + This can happen if either: a second key with the same name was created after + the first key was deleted; thus trying to restore a key whose name is already + in use. To fix this, rename the second key to something else so that the restore + works. The second probable cause of this exception is when multiple operations + are performed in parallel against the key. To avoid this error, perform operations + against a key in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZa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tbTFlbi1rc21FVWJXMFoxMHpCUW1qWjRsNnFVYnlVZnJQaUxsdWlqNF9BZzN2VGhlQmREcG5YeGd5d280dEpLdU9PY2xxczFBeGdwcUxZcDNpdkVGcjBRZ0NCUEMzWGdZRXY4SFUteFdJY0ktN1NUMjlaMUlYbEh1VWlEMHNacUJISDQ4VXdKaXYxQ0hRZkFUWWs5RW8tUnl5RjFQZ2ljcDVnazkxMzNDQjBJcDZZWXh0ZzZxSlhqMmozS2dqZ0R3VFRMTXNtbFdQcVRGcjE4THEzakhmd1V1ZlpjS0pQZWFsQ3IwTEQ0Yzh6bVAyMDNYR2FKUkl1Q1VfU2tqT2VSR2k2LUxPdVdVZnNnckFKbHFBSE5PMnJnaEFMRGtEX3RFaF9aTldlSmNoYllCNUtHMmRMTHVUV0prR0pXUnZxQnlyd0MxeTZEa0Q5RGtNS0FtLUo5b2ZaX3NtVmdFMUpZdl9vOEhkQV9GaVZhZ1AyN3psQ2FHdUpEYldJVEhmTDFtR214WUpSWXZOVXV6dFZDbi1nd19NRDgxY3B1UjNnbVRfSkJFZzBaZTFYbkdYcXVDRmxJNzFZS2hHSllMUTltaFVpd2FiYWxXYUZLTE5Vcll3Z0VnNk5OcF9xZ1A4WlRhdU5vQS5Yel9HMlNQTk91QXBuZ0RCTXRfVy16ZGRkUXRiVGRsREFINGUxeFVndVFr"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '10273' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the key ''https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/6fa7953e73ec43708a62058a81abe691''. + This can happen if either: a second key with the same name was created after + the first key was deleted; thus trying to restore a key whose name is already + in use. To fix this, rename the second key to something else so that the restore + works. The second probable cause of this exception is when multiple operations + are performed in parallel against the key. To avoid this error, perform operations + against a key in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuTWlfRlpVN18xUUJCeFYzTnMtZ0RTXzBDY3NyYXhSSmFCNVFFQzRqNlpLX3ctbk1zZkJtMERsczdNY2xHWG1qQ1pCMHRCYVJ2SUd0MG5vOFNTTXo2WHZEajN6ZEtFeUpYcnN6UHNwVVlKYndUNGdQZUU3M0FjTGtDQUJjblVONkRRV2dDQUREWldfRkpnbGhpZEs3d3JLMDk2ZzRQd2Qxb3Q3ZHRKb2p6LVNQVTBLZFZGRTQ2aHZWODRleDVYMXllS3JTMHYxRnd4U2x1QzdPMG4tREJpM2YxUmxFSml5TVJtOTE2UWpBS3k5NHFwVHhfS2NsUXM1VXdHSEJaTlNqMlI2allrUU5VODZnOHlQbmNBenI2a1lIX0JtZ2xhYmQwZnF1ZG9TM1VYWjNBNmNYY2xsNF9ya2FKcHg1bjRRbGZDV0REQ3ZSRE9uVEZ1dFA5WVRaTVRRLkhyRGRTbXVjUEN0Y2YxUGNZekk5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TE5Vcll3Z0VnNk5OcF9xZ1A4WlRhdU5vQS5Yel9HMlNQTk91QXBuZ0RCTXRfVy16ZGRkUXRiVGRsREFINGUxeFVndVFr"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '10273' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the key ''https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/6fa7953e73ec43708a62058a81abe691''. + This can happen if either: a second key with the same name was created after + the first key was deleted; thus trying to restore a key whose name is already + in use. To fix this, rename the second key to something else so that the restore + works. The second probable cause of this exception is when multiple operations + are performed in parallel against the key. To avoid this error, perform operations + against a key in a sequential manner."}}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 409 + message: Conflict +- request: + body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuTWlfRlpVN18xUUJCeFYzTnMtZ0RTXzBDY3NyYXhSSmFCNVFFQzRqNlpLX3ct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FUWWs5RW8tUnl5RjFQZ2ljcDVnazkxMzNDQjBJcDZZWXh0ZzZxSlhqMmozS2dqZ0R3VFRMTXNtbFdQcVRGcjE4THEzakhmd1V1ZlpjS0pQZWFsQ3IwTEQ0Yzh6bVAyMDNYR2FKUkl1Q1VfU2tqT2VSR2k2LUxPdVdVZnNnckFKbHFBSE5PMnJnaEFMRGtEX3RFaF9aTldlSmNoYllCNUtHMmRMTHVUV0prR0pXUnZxQnlyd0MxeTZEa0Q5RGtNS0FtLUo5b2ZaX3NtVmdFMUpZdl9vOEhkQV9GaVZhZ1AyN3psQ2FHdUpEYldJVEhmTDFtR214WUpSWXZOVXV6dFZDbi1nd19NRDgxY3B1UjNnbVRfSkJFZzBaZTFYbkdYcXVDRmxJNzFZS2hHSllMUTltaFVpd2FiYWxXYUZLTE5Vcll3Z0VnNk5OcF9xZ1A4WlRhdU5vQS5Yel9HMlNQTk91QXBuZ0RCTXRfVy16ZGRkUXRiVGRsREFINGUxeFVndVFr"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '10273' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8/6fa7953e73ec43708a62058a81abe691","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wxY4P8nkGNTnkL7l5kW7IjjEUf3a7lrO598IjzC_DQvMwDLmnSiW364JeO26S-k8mpbnDaSRyA0QxvOehbmzrGdP4SGh491Oto4HMMSQLnMkrrI9uaZhMX_h2hZl4lFzRlVJoLGkYYzAv4VUYPFaHiFMjhsoWEOzdERrv52-Vk7hG5DiEjTY2oaB3Yk3KW2A_LpZKSvZnf_EgvfSd3c_0FYEeCbr7ejv10XP1MAVuNSeyQGEdMDdGH4iT-gEImNIn0jP5Yb6sJKGvawprATujRtsjXb7LkTGeNAzTbe1df8HmF3ScB9qSRJnWUa4EmbSfgp9t5tmnifzj-jEmiyc4Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616112123,"updated":1616112123,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '692' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 00:02:35 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations.yaml deleted file mode 100644 index 43a08d57ca91..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations.yaml +++ /dev/null @@ -1,579 +0,0 @@ -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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-key51c4108d/create?api-version=7.2-preview - 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: - - Sat, 06 Feb 2021 02:36:31 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 401 - message: Unauthorized -- request: - body: '{"kty": "EC-HSM", "tags": {"test name": "CreateECKeyTest", "purpose": "unit - test"}, "attributes": {"enabled": true}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '116' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-key51c4108d/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-key51c4108d/88aa226a9e0b48f3a722e790704fe1ee","kty":"EC-HSM","key_ops":["sign","verify"],"crv":"P-256","x":"FK2TEKieLNWJIVwEYo2iXYPZu467ukjE3KmNtl74x0M","y":"UdaqCKvrU1uEttU7E4mkmC1R3rF1zxuZQgpO-yx7jxU"},"attributes":{"enabled":true,"created":1612578993,"updated":1612578993,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test - name":"CreateECKeyTest","purpose":"unit test"}}' - headers: - cache-control: - - no-cache - content-length: - - '473' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"kty": "EC", "crv": "P-256"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '29' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-key51c4108d/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-key51c4108d/4c7349114bc445f88dd361621f1b94f3","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"Gfa3kH8bcdxVq_gxaJ6uu9GxiYAueOVE_2OwjaOWE7A","y":"I5mjQmwbyV7WqGvcia_Mh3oUYiFJdL9mjXA0EO7Hrbs"},"attributes":{"enabled":true,"created":1612578995,"updated":1612578995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '414' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"key": {"kty": "RSA", "p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz", - "dq": "AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0w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j8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ", - "q": "AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3", - "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1724' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestimport-test-key51c4108d?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestimport-test-key51c4108d/a97acc4e955c47ca9df6141037a3f3b6","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578995,"updated":1612578995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '702' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"kty": "RSA", "tags": {"purpose": "unit test", "test name ": "CreateRSAKeyTest"}, - "key_size": 2048, "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", - "unwrapKey"]}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '177' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/e809dfed78d541aaa6817c65ac1d33d3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xbzvbMk_PclJhJZ6Ij2P-0Wjwz-4e6bt7MNCYrnA6r0sXxkttU6wTACieVjy11xIeg82wPJ0UlO3ljTjgHv2Bu3Y-O33A65lF5h0XRfutN2l8B9oRcnYrIRkk7E2Bz3BnEIPBvJZUakJ-2N9iU-jBLLNmrE9DzL7BoZqn6Hfr5tHKO00pIH-wB3pZfQv5Flf5G_Z4vAJ4aAUemtFcJyVHdYsd6_smLbkuoD1mcTsWLF2dBTd3dZS3R472u323NTTi0OGqMcQpc9KoeE8_AZZgrMUEbHmCfqOd6dUL0vcQiVYM-NoFSiDx_SBr6nPgKRtf_9Zh2HP4y5WcfLxVg_2ZQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578995,"updated":1612578995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit - test","test name ":"CreateRSAKeyTest"}}' - headers: - cache-control: - - no-cache - content-length: - - '761' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/e809dfed78d541aaa6817c65ac1d33d3?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/e809dfed78d541aaa6817c65ac1d33d3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xbzvbMk_PclJhJZ6Ij2P-0Wjwz-4e6bt7MNCYrnA6r0sXxkttU6wTACieVjy11xIeg82wPJ0UlO3ljTjgHv2Bu3Y-O33A65lF5h0XRfutN2l8B9oRcnYrIRkk7E2Bz3BnEIPBvJZUakJ-2N9iU-jBLLNmrE9DzL7BoZqn6Hfr5tHKO00pIH-wB3pZfQv5Flf5G_Z4vAJ4aAUemtFcJyVHdYsd6_smLbkuoD1mcTsWLF2dBTd3dZS3R472u323NTTi0OGqMcQpc9KoeE8_AZZgrMUEbHmCfqOd6dUL0vcQiVYM-NoFSiDx_SBr6nPgKRtf_9Zh2HP4y5WcfLxVg_2ZQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578995,"updated":1612578995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit - test","test name ":"CreateRSAKeyTest"}}' - headers: - cache-control: - - no-cache - content-length: - - '761' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/e809dfed78d541aaa6817c65ac1d33d3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xbzvbMk_PclJhJZ6Ij2P-0Wjwz-4e6bt7MNCYrnA6r0sXxkttU6wTACieVjy11xIeg82wPJ0UlO3ljTjgHv2Bu3Y-O33A65lF5h0XRfutN2l8B9oRcnYrIRkk7E2Bz3BnEIPBvJZUakJ-2N9iU-jBLLNmrE9DzL7BoZqn6Hfr5tHKO00pIH-wB3pZfQv5Flf5G_Z4vAJ4aAUemtFcJyVHdYsd6_smLbkuoD1mcTsWLF2dBTd3dZS3R472u323NTTi0OGqMcQpc9KoeE8_AZZgrMUEbHmCfqOd6dUL0vcQiVYM-NoFSiDx_SBr6nPgKRtf_9Zh2HP4y5WcfLxVg_2ZQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578995,"updated":1612578995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit - test","test name ":"CreateRSAKeyTest"}}' - headers: - cache-control: - - no-cache - content-length: - - '761' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"tags": {"foo": "updated tag"}, "attributes": {"exp": 2524723200}, "key_ops": - ["decrypt", "encrypt"]}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '102' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/e809dfed78d541aaa6817c65ac1d33d3","kty":"RSA","key_ops":["decrypt","encrypt"],"n":"xbzvbMk_PclJhJZ6Ij2P-0Wjwz-4e6bt7MNCYrnA6r0sXxkttU6wTACieVjy11xIeg82wPJ0UlO3ljTjgHv2Bu3Y-O33A65lF5h0XRfutN2l8B9oRcnYrIRkk7E2Bz3BnEIPBvJZUakJ-2N9iU-jBLLNmrE9DzL7BoZqn6Hfr5tHKO00pIH-wB3pZfQv5Flf5G_Z4vAJ4aAUemtFcJyVHdYsd6_smLbkuoD1mcTsWLF2dBTd3dZS3R472u323NTTi0OGqMcQpc9KoeE8_AZZgrMUEbHmCfqOd6dUL0vcQiVYM-NoFSiDx_SBr6nPgKRtf_9Zh2HP4y5WcfLxVg_2ZQ","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: - - no-cache - content-length: - - '706' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:37 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/e809dfed78d541aaa6817c65ac1d33d3","kty":"RSA","key_ops":["decrypt","encrypt"],"n":"xbzvbMk_PclJhJZ6Ij2P-0Wjwz-4e6bt7MNCYrnA6r0sXxkttU6wTACieVjy11xIeg82wPJ0UlO3ljTjgHv2Bu3Y-O33A65lF5h0XRfutN2l8B9oRcnYrIRkk7E2Bz3BnEIPBvJZUakJ-2N9iU-jBLLNmrE9DzL7BoZqn6Hfr5tHKO00pIH-wB3pZfQv5Flf5G_Z4vAJ4aAUemtFcJyVHdYsd6_smLbkuoD1mcTsWLF2dBTd3dZS3R472u323NTTi0OGqMcQpc9KoeE8_AZZgrMUEbHmCfqOd6dUL0vcQiVYM-NoFSiDx_SBr6nPgKRtf_9Zh2HP4y5WcfLxVg_2ZQ","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: - - no-cache - content-length: - - '858' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:37 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-key51c4108d"}}' - headers: - cache-control: - - no-cache - content-length: - - '98' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:38 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/e809dfed78d541aaa6817c65ac1d33d3","kty":"RSA","key_ops":["decrypt","encrypt"],"n":"xbzvbMk_PclJhJZ6Ij2P-0Wjwz-4e6bt7MNCYrnA6r0sXxkttU6wTACieVjy11xIeg82wPJ0UlO3ljTjgHv2Bu3Y-O33A65lF5h0XRfutN2l8B9oRcnYrIRkk7E2Bz3BnEIPBvJZUakJ-2N9iU-jBLLNmrE9DzL7BoZqn6Hfr5tHKO00pIH-wB3pZfQv5Flf5G_Z4vAJ4aAUemtFcJyVHdYsd6_smLbkuoD1mcTsWLF2dBTd3dZS3R472u323NTTi0OGqMcQpc9KoeE8_AZZgrMUEbHmCfqOd6dUL0vcQiVYM-NoFSiDx_SBr6nPgKRtf_9Zh2HP4y5WcfLxVg_2ZQ","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: - - no-cache - content-length: - - '858' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d/e809dfed78d541aaa6817c65ac1d33d3","kty":"RSA","key_ops":["decrypt","encrypt"],"n":"xbzvbMk_PclJhJZ6Ij2P-0Wjwz-4e6bt7MNCYrnA6r0sXxkttU6wTACieVjy11xIeg82wPJ0UlO3ljTjgHv2Bu3Y-O33A65lF5h0XRfutN2l8B9oRcnYrIRkk7E2Bz3BnEIPBvJZUakJ-2N9iU-jBLLNmrE9DzL7BoZqn6Hfr5tHKO00pIH-wB3pZfQv5Flf5G_Z4vAJ4aAUemtFcJyVHdYsd6_smLbkuoD1mcTsWLF2dBTd3dZS3R472u323NTTi0OGqMcQpc9KoeE8_AZZgrMUEbHmCfqOd6dUL0vcQiVYM-NoFSiDx_SBr6nPgKRtf_9Zh2HP4y5WcfLxVg_2ZQ","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: - - no-cache - content-length: - - '858' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations_mhsm.yaml new file mode 100644 index 000000000000..6f31f42c7d25 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations_mhsm.yaml @@ -0,0 +1,494 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-ec-keyaa9f12a1/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"attributes": {"enabled": true}, "tags": {"test name": "CreateECKeyTest", + "purpose": "unit test"}, "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-ec-keyaa9f12a1/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109450,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109450},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-ec-keyaa9f12a1/98330e19f28e4e091177a71026280596","kty":"EC-HSM","x":"Y_z9N1dgUZV8U-NbbydyWxCifW9TOvVD6rnbJkQpTow","y":"rvBKETaCiZ_Go0WwHGQzhoIR_FZY7I9lKb_9t1gChns"},"tags":{"purpose":"unit + test","test name":"CreateECKeyTest"}}' + headers: + cache-control: + - no-cache + content-length: + - '500' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '476' + status: + code: 200 + message: OK +- request: + body: '{"crv": "P-256", "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-P-256-ec-keyaa9f12a1/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109453,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109453},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-P-256-ec-keyaa9f12a1/1036104b742d4fa49260228083a4b7df","kty":"EC-HSM","x":"2HsSsb24VLacfF05yXuKF9Hfgs7UJCyy8l_PXBzgdfM","y":"770DFBSQFyXxD837g270swV9O3UYU1iFm0v3YxVLkDc"}}' + headers: + cache-control: + - no-cache + content-length: + - '445' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '261' + status: + code: 200 + message: OK +- request: + body: '{"key": {"p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz", + "n": "AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU", + "d": "Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ", + "kty": "RSA-HSM", "e": "AQAB", "dp": "AMmhWb5yZcu6vJr8xJZ-t0_likxJRUMZAtEULaWZt2DgODj4y9JrZDJP6mvckzhQP0WXk2NuWbU2HR5pUeCN2wieG1B76VKoH76vfnaJDqT1NuJVBcP2SLHog3ffwZtMME5zjfygchG3kihqOSpwTQ9ETAqAJTkRC38fEhwAz_Cp", + "q": "AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3", + "qi": "AJ_nrkLpK8BPzVeARkvSHQyKwMWZ-a8CD95qsKfn0dOZAvXY-2xhQYTEwbED-0bpTNEKbIpA-ZkaHygmnzJkNbbFAnb9pkkzU8ZQqDP3JNgMfVIroWx58Oth9nJza2j7i-MkPRCUPEq3Ao0J52z7WJIiLji8TTVYW_NaiM1oxzsH", + "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], + "dq": "AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0wYawzUJzoyuXBH0zS6D9BqCZPeF543AmWB27iPf38Q9Z8Rjr6oBgMSnGDV_mm8nDVQkeaDyE4cOZh-5UKvKShTKKQVwunmDNH"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1728' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestimport-test-keyaa9f12a1?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109453,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109453},"key":{"e":"AQAB","key_ops":["decrypt","encrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestimport-test-keyaa9f12a1/a98cbbc2daff4ac42137f6f890d244e4","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '732' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '255' + status: + code: 200 + message: OK +- request: + body: '{"tags": {"test name ": "CreateRSAKeyTest", "purpose": "unit test"}, "key_size": + 2048, "kty": "RSA-HSM", "key_ops": ["encrypt", "decrypt", "sign", "verify", + "wrapKey", "unwrapKey"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '181' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109456,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109456},"key":{"e":"AQAB","key_ops":["sign","verify","decrypt","encrypt","unwrapKey","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/f651dc64c3390b1d28779fb898695bdd","kty":"RSA-HSM","n":"iTPKbXKSldaXFjo1ELlCqOhaswOUpYVDH19AxF71WMicdFZk9G9qGyUT9w4KdjstJQ4CLAmIpLgGSmWj9Vr0rZKCxMEI3RoFkziUifmoJ2EXvsr-mYszSX-EqtLAkG1UBk3ipwlDbywfNSImD_oUhf-eEqrp6Zv9oecJeZoWdDR3QXrHWMf56WqIal1e9K554FtirNzwLSJUKGSA2i_xUUe6p7u-FIHwLoNf1rgN-ZAX-0dz5Au8YNhGvOKMikmCFA8d3z8ET2kt2S6lZZ4Kj-Ydk-bu7iFFFZEHIrB623pOGkHztV6GadwmJtWKRwoI_zeBCQUajLRAgXLaYRmWtQ"},"tags":{"purpose":"unit + test","test name ":"CreateRSAKeyTest"}}' + headers: + cache-control: + - no-cache + content-length: + - '792' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '232' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/f651dc64c3390b1d28779fb898695bdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109456,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109456},"key":{"e":"AQAB","key_ops":["unwrapKey","encrypt","decrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/f651dc64c3390b1d28779fb898695bdd","kty":"RSA-HSM","n":"iTPKbXKSldaXFjo1ELlCqOhaswOUpYVDH19AxF71WMicdFZk9G9qGyUT9w4KdjstJQ4CLAmIpLgGSmWj9Vr0rZKCxMEI3RoFkziUifmoJ2EXvsr-mYszSX-EqtLAkG1UBk3ipwlDbywfNSImD_oUhf-eEqrp6Zv9oecJeZoWdDR3QXrHWMf56WqIal1e9K554FtirNzwLSJUKGSA2i_xUUe6p7u-FIHwLoNf1rgN-ZAX-0dz5Au8YNhGvOKMikmCFA8d3z8ET2kt2S6lZZ4Kj-Ydk-bu7iFFFZEHIrB623pOGkHztV6GadwmJtWKRwoI_zeBCQUajLRAgXLaYRmWtQ"},"tags":{"purpose":"unit + test","test name ":"CreateRSAKeyTest"}}' + headers: + cache-control: + - no-cache + content-length: + - '792' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '191' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109456,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109456},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/f651dc64c3390b1d28779fb898695bdd","kty":"RSA-HSM","n":"iTPKbXKSldaXFjo1ELlCqOhaswOUpYVDH19AxF71WMicdFZk9G9qGyUT9w4KdjstJQ4CLAmIpLgGSmWj9Vr0rZKCxMEI3RoFkziUifmoJ2EXvsr-mYszSX-EqtLAkG1UBk3ipwlDbywfNSImD_oUhf-eEqrp6Zv9oecJeZoWdDR3QXrHWMf56WqIal1e9K554FtirNzwLSJUKGSA2i_xUUe6p7u-FIHwLoNf1rgN-ZAX-0dz5Au8YNhGvOKMikmCFA8d3z8ET2kt2S6lZZ4Kj-Ydk-bu7iFFFZEHIrB623pOGkHztV6GadwmJtWKRwoI_zeBCQUajLRAgXLaYRmWtQ"},"tags":{"purpose":"unit + test","test name ":"CreateRSAKeyTest"}}' + headers: + cache-control: + - no-cache + content-length: + - '792' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '0' + status: + code: 200 + message: OK +- request: + body: '{"attributes": {"exp": 2524723200}, "tags": {"foo": "updated tag"}, "key_ops": + ["decrypt", "encrypt"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '102' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109456,"enabled":true,"exp":2524723200,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109457},"key":{"e":"AQAB","key_ops":["encrypt","decrypt"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/f651dc64c3390b1d28779fb898695bdd","kty":"RSA-HSM","n":"iTPKbXKSldaXFjo1ELlCqOhaswOUpYVDH19AxF71WMicdFZk9G9qGyUT9w4KdjstJQ4CLAmIpLgGSmWj9Vr0rZKCxMEI3RoFkziUifmoJ2EXvsr-mYszSX-EqtLAkG1UBk3ipwlDbywfNSImD_oUhf-eEqrp6Zv9oecJeZoWdDR3QXrHWMf56WqIal1e9K554FtirNzwLSJUKGSA2i_xUUe6p7u-FIHwLoNf1rgN-ZAX-0dz5Au8YNhGvOKMikmCFA8d3z8ET2kt2S6lZZ4Kj-Ydk-bu7iFFFZEHIrB623pOGkHztV6GadwmJtWKRwoI_zeBCQUajLRAgXLaYRmWtQ"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '737' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '66' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109456,"enabled":true,"exp":2524723200,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109457},"deletedDate":1616109458,"key":{"e":"AQAB","key_ops":["decrypt","encrypt"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/f651dc64c3390b1d28779fb898695bdd","kty":"RSA-HSM","n":"iTPKbXKSldaXFjo1ELlCqOhaswOUpYVDH19AxF71WMicdFZk9G9qGyUT9w4KdjstJQ4CLAmIpLgGSmWj9Vr0rZKCxMEI3RoFkziUifmoJ2EXvsr-mYszSX-EqtLAkG1UBk3ipwlDbywfNSImD_oUhf-eEqrp6Zv9oecJeZoWdDR3QXrHWMf56WqIal1e9K554FtirNzwLSJUKGSA2i_xUUe6p7u-FIHwLoNf1rgN-ZAX-0dz5Au8YNhGvOKMikmCFA8d3z8ET2kt2S6lZZ4Kj-Ydk-bu7iFFFZEHIrB623pOGkHztV6GadwmJtWKRwoI_zeBCQUajLRAgXLaYRmWtQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyaa9f12a1","scheduledPurgeDate":1623885458,"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '897' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '95' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyaa9f12a1?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109456,"enabled":true,"exp":2524723200,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109457},"deletedDate":1616109458,"key":{"e":"AQAB","key_ops":["encrypt","decrypt"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/f651dc64c3390b1d28779fb898695bdd","kty":"RSA-HSM","n":"iTPKbXKSldaXFjo1ELlCqOhaswOUpYVDH19AxF71WMicdFZk9G9qGyUT9w4KdjstJQ4CLAmIpLgGSmWj9Vr0rZKCxMEI3RoFkziUifmoJ2EXvsr-mYszSX-EqtLAkG1UBk3ipwlDbywfNSImD_oUhf-eEqrp6Zv9oecJeZoWdDR3QXrHWMf56WqIal1e9K554FtirNzwLSJUKGSA2i_xUUe6p7u-FIHwLoNf1rgN-ZAX-0dz5Au8YNhGvOKMikmCFA8d3z8ET2kt2S6lZZ4Kj-Ydk-bu7iFFFZEHIrB623pOGkHztV6GadwmJtWKRwoI_zeBCQUajLRAgXLaYRmWtQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyaa9f12a1","scheduledPurgeDate":1623885458,"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '897' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '29' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyaa9f12a1?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616109456,"enabled":true,"exp":2524723200,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616109457},"deletedDate":1616109458,"key":{"e":"AQAB","key_ops":["encrypt","decrypt"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyaa9f12a1/f651dc64c3390b1d28779fb898695bdd","kty":"RSA-HSM","n":"iTPKbXKSldaXFjo1ELlCqOhaswOUpYVDH19AxF71WMicdFZk9G9qGyUT9w4KdjstJQ4CLAmIpLgGSmWj9Vr0rZKCxMEI3RoFkziUifmoJ2EXvsr-mYszSX-EqtLAkG1UBk3ipwlDbywfNSImD_oUhf-eEqrp6Zv9oecJeZoWdDR3QXrHWMf56WqIal1e9K554FtirNzwLSJUKGSA2i_xUUe6p7u-FIHwLoNf1rgN-ZAX-0dz5Au8YNhGvOKMikmCFA8d3z8ET2kt2S6lZZ4Kj-Ydk-bu7iFFFZEHIrB623pOGkHztV6GadwmJtWKRwoI_zeBCQUajLRAgXLaYRmWtQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyaa9f12a1","scheduledPurgeDate":1623885458,"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '897' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '35' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations_vault.yaml new file mode 100644 index 000000000000..c59c641d6a9b --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_crud_operations_vault.yaml @@ -0,0 +1,799 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-keybdc91318/create?api-version=7.2-preview + 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: + - Thu, 18 Mar 2021 23:18:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"attributes": {"enabled": true}, "kty": "EC-HSM", "tags": {"test name": + "CreateECKeyTest", "purpose": "unit test"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-keybdc91318/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-keybdc91318/3499d679cae34d89bdb4b8bf3c192687","kty":"EC-HSM","key_ops":["sign","verify"],"crv":"P-256","x":"qXPsb2mQp345xd95K2vS1jQhYtSvPDZdCLRfPi-0O8c","y":"cbaKMEyDSHNytnxAWM13UByIZcSVHUPRvs84Q4aB_LQ"},"attributes":{"enabled":true,"created":1616109520,"updated":1616109520,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test + name":"CreateECKeyTest","purpose":"unit test"}}' + headers: + cache-control: + - no-cache + content-length: + - '473' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"crv": "P-256", "kty": "EC"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '29' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-keybdc91318/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-keybdc91318/4031e848be4f48b494ee18b60da90282","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"WBK9HQJDu5ZmOBES3K73Rc_J6TC1qK60ED7UbkkkjJQ","y":"1A72H398P-Arbu1TdVWxnirafszL5PO9C25rWfuD10w"},"attributes":{"enabled":true,"created":1616109524,"updated":1616109524,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '414' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"key": {"n": "AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1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YW_NaiM1oxzsH", + "d": "Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ", + "kty": "RSA", "dp": "AMmhWb5yZcu6vJr8xJZ-t0_likxJRUMZAtEULaWZt2DgODj4y9JrZDJP6mvckzhQP0WXk2NuWbU2HR5pUeCN2wieG1B76VKoH76vfnaJDqT1NuJVBcP2SLHog3ffwZtMME5zjfygchG3kihqOSpwTQ9ETAqAJTkRC38fEhwAz_Cp"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1724' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/keys/livekvtestimport-test-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestimport-test-keybdc91318/6441c8a90c044afba9a7147c19878f1b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1616109525,"updated":1616109525,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '702' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"key_size": 2048, "kty": "RSA", "key_ops": ["encrypt", "decrypt", "sign", + "verify", "wrapKey", "unwrapKey"], "tags": {"test name ": "CreateRSAKeyTest", + "purpose": "unit test"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '177' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/2335f14692b24db3beb17052c432e30e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x1x35DZy9Ji3aD0sOI8nlwL9yxGnSYXMhpjKdo_mO3FMz6dEhuq_AODs1193Foo0rV6yyjQHxXqnfqlu7F77wpPuTAstWGTGtgUdzUMST_sfffbvg3NGbUfIgvN-H7LP_bedHew5oSu1SdfJSTLivrQsBGWQw_-1b8UjLBoSFWbKUmg_7_fO07BJm4MyXpSNER433q1JnNHD--dKFSyhRtFFTiXJoGBJVl7WdrcRrBKCbwSpi99oBu_c4uVg9d9wtXbr0XaWK9Njs7clRTUAu3ri_7a59J1txEfRao8miWFqsIycGftaO3K2_7ePTPShN1DPFCQK2tc4xJMOim8X7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616109527,"updated":1616109527,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test + name ":"CreateRSAKeyTest","purpose":"unit test"}}' + headers: + cache-control: + - no-cache + content-length: + - '761' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/2335f14692b24db3beb17052c432e30e?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/2335f14692b24db3beb17052c432e30e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x1x35DZy9Ji3aD0sOI8nlwL9yxGnSYXMhpjKdo_mO3FMz6dEhuq_AODs1193Foo0rV6yyjQHxXqnfqlu7F77wpPuTAstWGTGtgUdzUMST_sfffbvg3NGbUfIgvN-H7LP_bedHew5oSu1SdfJSTLivrQsBGWQw_-1b8UjLBoSFWbKUmg_7_fO07BJm4MyXpSNER433q1JnNHD--dKFSyhRtFFTiXJoGBJVl7WdrcRrBKCbwSpi99oBu_c4uVg9d9wtXbr0XaWK9Njs7clRTUAu3ri_7a59J1txEfRao8miWFqsIycGftaO3K2_7ePTPShN1DPFCQK2tc4xJMOim8X7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616109527,"updated":1616109527,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test + name ":"CreateRSAKeyTest","purpose":"unit test"}}' + headers: + cache-control: + - no-cache + content-length: + - '761' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/2335f14692b24db3beb17052c432e30e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x1x35DZy9Ji3aD0sOI8nlwL9yxGnSYXMhpjKdo_mO3FMz6dEhuq_AODs1193Foo0rV6yyjQHxXqnfqlu7F77wpPuTAstWGTGtgUdzUMST_sfffbvg3NGbUfIgvN-H7LP_bedHew5oSu1SdfJSTLivrQsBGWQw_-1b8UjLBoSFWbKUmg_7_fO07BJm4MyXpSNER433q1JnNHD--dKFSyhRtFFTiXJoGBJVl7WdrcRrBKCbwSpi99oBu_c4uVg9d9wtXbr0XaWK9Njs7clRTUAu3ri_7a59J1txEfRao8miWFqsIycGftaO3K2_7ePTPShN1DPFCQK2tc4xJMOim8X7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616109527,"updated":1616109527,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test + name ":"CreateRSAKeyTest","purpose":"unit test"}}' + headers: + cache-control: + - no-cache + content-length: + - '761' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"attributes": {"exp": 2524723200}, "key_ops": ["decrypt", "encrypt"], + "tags": {"foo": "updated tag"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '102' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/2335f14692b24db3beb17052c432e30e","kty":"RSA","key_ops":["decrypt","encrypt"],"n":"x1x35DZy9Ji3aD0sOI8nlwL9yxGnSYXMhpjKdo_mO3FMz6dEhuq_AODs1193Foo0rV6yyjQHxXqnfqlu7F77wpPuTAstWGTGtgUdzUMST_sfffbvg3NGbUfIgvN-H7LP_bedHew5oSu1SdfJSTLivrQsBGWQw_-1b8UjLBoSFWbKUmg_7_fO07BJm4MyXpSNER433q1JnNHD--dKFSyhRtFFTiXJoGBJVl7WdrcRrBKCbwSpi99oBu_c4uVg9d9wtXbr0XaWK9Njs7clRTUAu3ri_7a59J1txEfRao8miWFqsIycGftaO3K2_7ePTPShN1DPFCQK2tc4xJMOim8X7Q","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1616109527,"updated":1616109528,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '706' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318","deletedDate":1616109529,"scheduledPurgeDate":1623885529,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/2335f14692b24db3beb17052c432e30e","kty":"RSA","key_ops":["decrypt","encrypt"],"n":"x1x35DZy9Ji3aD0sOI8nlwL9yxGnSYXMhpjKdo_mO3FMz6dEhuq_AODs1193Foo0rV6yyjQHxXqnfqlu7F77wpPuTAstWGTGtgUdzUMST_sfffbvg3NGbUfIgvN-H7LP_bedHew5oSu1SdfJSTLivrQsBGWQw_-1b8UjLBoSFWbKUmg_7_fO07BJm4MyXpSNER433q1JnNHD--dKFSyhRtFFTiXJoGBJVl7WdrcRrBKCbwSpi99oBu_c4uVg9d9wtXbr0XaWK9Njs7clRTUAu3ri_7a59J1txEfRao8miWFqsIycGftaO3K2_7ePTPShN1DPFCQK2tc4xJMOim8X7Q","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1616109527,"updated":1616109528,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '858' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keybdc91318"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keybdc91318"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keybdc91318"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keybdc91318"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keybdc91318"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18:57 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keybdc91318"}}' + headers: + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:18: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318","deletedDate":1616109529,"scheduledPurgeDate":1623885529,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/2335f14692b24db3beb17052c432e30e","kty":"RSA","key_ops":["decrypt","encrypt"],"n":"x1x35DZy9Ji3aD0sOI8nlwL9yxGnSYXMhpjKdo_mO3FMz6dEhuq_AODs1193Foo0rV6yyjQHxXqnfqlu7F77wpPuTAstWGTGtgUdzUMST_sfffbvg3NGbUfIgvN-H7LP_bedHew5oSu1SdfJSTLivrQsBGWQw_-1b8UjLBoSFWbKUmg_7_fO07BJm4MyXpSNER433q1JnNHD--dKFSyhRtFFTiXJoGBJVl7WdrcRrBKCbwSpi99oBu_c4uVg9d9wtXbr0XaWK9Njs7clRTUAu3ri_7a59J1txEfRao8miWFqsIycGftaO3K2_7ePTPShN1DPFCQK2tc4xJMOim8X7Q","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1616109527,"updated":1616109528,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '858' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:19: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keybdc91318","deletedDate":1616109529,"scheduledPurgeDate":1623885529,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keybdc91318/2335f14692b24db3beb17052c432e30e","kty":"RSA","key_ops":["decrypt","encrypt"],"n":"x1x35DZy9Ji3aD0sOI8nlwL9yxGnSYXMhpjKdo_mO3FMz6dEhuq_AODs1193Foo0rV6yyjQHxXqnfqlu7F77wpPuTAstWGTGtgUdzUMST_sfffbvg3NGbUfIgvN-H7LP_bedHew5oSu1SdfJSTLivrQsBGWQw_-1b8UjLBoSFWbKUmg_7_fO07BJm4MyXpSNER433q1JnNHD--dKFSyhRtFFTiXJoGBJVl7WdrcRrBKCbwSpi99oBu_c4uVg9d9wtXbr0XaWK9Njs7clRTUAu3ri_7a59J1txEfRao8miWFqsIycGftaO3K2_7ePTPShN1DPFCQK2tc4xJMOim8X7Q","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1616109527,"updated":1616109528,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: + - no-cache + content-length: + - '858' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:19: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list.yaml deleted file mode 100644 index 9992b9d7233b..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list.yaml +++ /dev/null @@ -1,523 +0,0 @@ -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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0b3510bf8/create?api-version=7.2-preview - 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: - - Sat, 06 Feb 2021 02:36:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0b3510bf8/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0b3510bf8/7a7a21ab994741a2aaecf28dfe782e27","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"w1v9l-1WDSQw7fZI5nYilfSzPjaIBKaJZCc5dPmaVMZKKM2PSvobdYTkCoSmUOYDLG1n4544q6XbKbTkwQB8SNMe9wpmM7q6wsuH5JQ4Ulg6pjAR9AhFC6GDT_IUvsP0QLDQTSeA7-AQd141w0OOStOzTjaUotfPCSTs4q0fS6-GUUGKBQ0UVHhIvbpIjYLVcUjmhK-xzHW4q3OA0lMnO6L0xw506Y2Q9V1zsw4nK8yH81K4UAlJa091bA_Ilg3tBXzpXV0ACE3JC1_ZZwqTKDXuU5icpZNrWhptQOYbk-WgyfJzd4NkKZQOruRofB5SWyjUwVgPmh1ECcCQD_kD2Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579002,"updated":1612579002,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:41 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey1b3510bf8/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1b3510bf8/88a34fd3b2ea42d0a9d24b83c17f4fde","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qiqwmzrn2iOZTL_NjBzNlJaZlQ1r_nlF1nuFhhUVzNHHHABIGNM0NEgFTCtVh1tYzCNphnj27tSA_w0-1ci_vxLiR5t8aUdjnsq27gAqHNUSBnrxbbL3wXbewGC2iVJm3kJ2GgedXkW0dT8tjFRnCWbxkPZAJJDLPjlSRXOuxXr0cg7xKETudtMz_5_-k6dwvmiTQX7kFrLSqEr9VJMaD35zDVbzAvcyB8OqmJ3qtwyFU_-RPzf7LF2zw2g-wHZF_upjdOsGZiFVMPVYL5zp8h4w1oogn0hPM2M5Wl6nwfKz3wF5MlcRLzW66Rlz1dNr6KHnJybUVmHerC6VX-_E7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579002,"updated":1612579002,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:43 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey2b3510bf8/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2b3510bf8/4ceb938a85c84f1688e73333a2401462","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4KxpNiPlxZjxT0B4EyOy92ZzXTFvHW7VflxvpIYNB9-hIdgOXTqpyi9vDduuayWlFxKo3YBHYHcUfvkckER9dTjPap8VyePZnMD0_VKzYfC4mxsOVa4S1hyHNnQU-o8V5uKWws8LtG65M4g3mB-TOJNY_AWQBiqFYLrnpa7I3Nql_GHH4ToVjaRRxeKhbYwV8or4YMD8x7ZysZmErAwywmH4udqmUiW87HOdko-zJ1-_W0thi3jhsJzvYAhUVM5TmRmOR_WxG1nVGSYjuoelTrogjyu3eS9cZn86fJCKMkbRy-5Y6aXVvT7kJ20rA6_vjxTOsXlahmazDZnVGRX9LQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579003,"updated":1612579003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:43 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey3b3510bf8/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3b3510bf8/acea1a2d1e26498a9062eae648db6cbc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yvDPEBAm-nrjIr4zdL0GOq02Eja5caG4PKGrsBqS8TIbBG2jkrQJxeGoUT1AGSkBmTaQBMDoHI8iAspKp77q05qG9T3m9Q5v00JQrTIrBthOruNXgnbKGb5zV0OgNNTroZddVHJRP8w50SHyY_KqoRDKPYvUGD91jmrEjCFWPq8zEmUMBwpjAP7JKhi8FGiEyCiUgXxxqHxMPRimZPARbcxvnBueQ-hpXo8LjCI17lLziXfcMIEQmYdyKQiGzqbfgRc9gsJbJRgtOAiLitsYtXdbCocpSUPusYrDn-czagmz6iN1POZoqBDqAa_YfMK3BRukTKPiDm0fBfKOni0AVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579003,"updated":1612579003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:43 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey4b3510bf8/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4b3510bf8/1f9cdecc1f1c49c7862c0f84ca5b4ba4","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rpGGIjGxNJfvYHroyf5a2rVw657G9oSAu7Tl1Fm-7VrpW6M8P3FnYkg6AmWv6zj4_5V3XxmF0JYJ_MG8R0IXFTLm-5mEtcQs7SmpJ2c2yHFruYbxrcslfUwYleV8-GjN3gKmdKZZ8LfzagSPDn8fX0R2GpZ5KEWmM9CO6xP4vXCe0f98_BaxQm5p2J_r71Jn9aScJDtB_cDPO6HpLpBm2SIDesIks2xdFxKxcqNVl-ketoyu2i2sh87uimvQeIv2Z6chdeNNR5RS2qgMCmlLIj34mAgrQVnERK3DCFriYKC2PLdZxndJ-qdXPeHk4yHIHYnoaPHwURIzSUHa7GjhEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579003,"updated":1612579003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey5b3510bf8/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5b3510bf8/0aa23c5cd1d24efbad5e7a897403be67","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uKlMgTvw2WFhozlqwu_33se5lsICMXvnEKSuACBxif0z2Wk3COE3j0ZSL3djVK2rS15cSQL4y2mikBOT14YDelSzNkK9GdoPpxio38IZ9qWCv0dxF3LBSLWIWErYlgZjlq8nSAVUi66EZSJk11ePQ2cKPQHECbGBizWf2_Qk67_Ee79HAmexnK07Lu3FT1EWfSpiZzOwFG_mZnTPwlc6It4_ff6T6ExmRMKV3N0scnqT7NJ2oJsyZqPsGBbkYsU_RrDG-nWlExCgPTkkYhizy-XB0xoJbVZm5ravhAcr-uNAdvcb1EJ66z2Otrccb2PErQIQR_Ep38KcvZBwulmKwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579004,"updated":1612579004,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey6b3510bf8/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6b3510bf8/067a199c598c48ca9b20d9d89acf7d6b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"y5QkPgXsxE9ZPgmvlktn_qGN5XFW7tf0hUInfhUhTtqDKcRH0ksEJPpBB9boFuPCA1qcv41HKLsFQmpFWPwcaYES_VmyEJ3OUpcmu2N7f9s_mzp0AYJoDe6RU04muinVrEbW8Bmig4chEjMSJA5VV1I9cjq5F125j7_PapZzgS2gIG9V-eJePdd5RQv1FAXFwDSus0SxaAO5VAiKyQDfS2wgJhm2I_5Td1xaJvk4QBU6-dyf9V0iFBSbc9irejxIN3jb18ZHBJ9yD8seogGnPOdmnruodHal4_rZoJ2Y7FhdNXCj2xE8qIlzjBaK3v0LwmjpCfBparvxKJv_uh6IBQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579004,"updated":1612579004,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys?api-version=7.2-preview&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-key51c4108d","attributes":{"enabled":true,"created":1612578993,"updated":1612578993,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test - name":"CreateECKeyTest","purpose":"unit test"}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-key51c4108d","attributes":{"enabled":true,"created":1612578995,"updated":1612578995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestimport-test-key51c4108d","attributes":{"enabled":true,"created":1612578995,"updated":1612578995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0b3510bf8","attributes":{"enabled":true,"created":1612579002,"updated":1612579002,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1b3510bf8","attributes":{"enabled":true,"created":1612579002,"updated":1612579002,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1VSTBSRVF3UXpCQklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: - - no-cache - content-length: - - '1434' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1VSTBSRVF3UXpCQklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2b3510bf8","attributes":{"enabled":true,"created":1612579003,"updated":1612579003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3b3510bf8","attributes":{"enabled":true,"created":1612579003,"updated":1612579003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4b3510bf8","attributes":{"enabled":true,"created":1612579003,"updated":1612579003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5b3510bf8","attributes":{"enabled":true,"created":1612579004,"updated":1612579004,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6b3510bf8","attributes":{"enabled":true,"created":1612579004,"updated":1612579004,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d","attributes":{"enabled":true,"created":1612578984,"updated":1612578984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWlFrRkxORVV3TUVVM1JpRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: - - no-cache - content-length: - - '1551' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWlFrRkxORVV3TUVVM1JpRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/test-rsa","attributes":{"enabled":true,"created":1612558238,"updated":1612558238,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '221' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list_mhsm.yaml new file mode 100644 index 000000000000..09a738fa2db3 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list_mhsm.yaml @@ -0,0 +1,437 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0f5430e0c/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0f5430e0c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110679,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110679},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0f5430e0c/fb9c7abf92014ae2923ddb2659b90437","kty":"RSA-HSM","n":"l2v6p89xIIGN9s5K0r0mLnRSREb8r1y7fTadXp4xCbGPx-H7eKn2w2clMDl5_TmRRULWEg87_b84UvTNMJjcqXhaMtoiUQZ_snfG_HOala_HErgkTi25gBaG1P0R_H7xwAoI8m7KF1jw6ODvHuLAGYF7iRGbR6EMWgB5Sv-npsOJKouoXjjDNN7_LEsRdZVyYoickSnWAG67Mrm-jrMDvvctWqdiAQqi3mpXHWJrcQbykK-gdQ4QRrFSnAM9YoaozgrGOa09JzYZhl3iuplWGMRnizff0Wz6gcBi-K0u1v0V0Qgm76aovAodW-nZvOpHe3iMFOBM2qATNuziJmN3ew"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '605' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1f5430e0c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110681,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110681},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1f5430e0c/031f51a347010c62b125b666c5e453b5","kty":"RSA-HSM","n":"jH33Xvv9vfK-33JTE_ScdcoJF3Je2mQb6AH8dU_scTE1TgoHQjxDfs1HF3JK369MK8DeLeacwf59XUIbdwFYSpfNHPD7ZW78lmO6q3xkRNbd5BbN47FEWDThpORJDMDkLnzcT0CLU20MG4dVXShjoLtJcsawgSPlm5_f5tKRQe21ZVbndblvZkz_Alt9Ay2qz1EDw1_KZw6o8yBh4fZM-2fUC7q6fwtP65IWjVXO376uZ-rapesu4cU3roXVSBd953OMsBrkPWyKZFOUymKm_bzlYYlb2yZDBwb6FGlWzK9-UNHp56hFokv7pjFDcwTB6ltFYev3j-CDknv-vQaNbw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '215' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2f5430e0c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110683,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110683},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2f5430e0c/caca438e30154b640720d7f7de54a4fa","kty":"RSA-HSM","n":"nJZ5MXPdiyxzVWsvtc1pJv0_nk_d7neHYcFbn-hLhvrVu3f5mplWKq-pQteykbV8H7oityAb7vAGCbvEo7KcNizCjCGHCt0gL94Xb-EvXhO2boxZuFLYOORTCCUvP7EKilj6l0I38NoyCSSEfFxQlGxF_-t9FbG2HMyaJajD899dpqbnAt9ajIlgfrB3dTbpHy8hQM0Nt9SOWoF7LFWtzKn_NyuoKgYUY7F5S0raOzFPCfPEd-sNwzoS5cbUDKxvE0RFTYqnx1BSsN18TZzrCJxPOu4xikzz_HMgR0Z-YXaZ1EhoURqDMUXlfqwkEnlvmxWiljNKUzLXr5BywdSxMw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '238' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3f5430e0c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110686,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110686},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3f5430e0c/d4872aa1fde2424dbc029377bcca5b21","kty":"RSA-HSM","n":"hVDUcQ-Atlaml28xPf6WapxUlkB7dfxBNVlmXI4kqE5Q0ha0F4LCyW9tyNt3w3sUcCXTEJ4gtMrc1jWj3AtBbas372occ6QFQlCvAVtiz2exutcSUjCMUVCSncS1716pRQScLyqjy6Dxt27phSunKwpqZrJnXPAy0rXmRC_hBNlNY3gwPdJ-m-DvtNtmhy4ZFcgKmrOVTWAgMmM9mpJJHFdA3sbinzqFX9Ac4jbX6tesobPAlLG5hmrMmDK-NZKduMFRZxP_vyiD0YWWzn36Hz_7iX1vzuurI-B5omdYPV8kjYl_QGERpyq2QA5_Tvtn36HK9NxqEik3DgdHmk0RSQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '261' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4f5430e0c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110688,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110688},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4f5430e0c/9d58e78c84590ee31084596b55f0b2fe","kty":"RSA-HSM","n":"iyI71SQlklALo5EHkBVM7A0_41aRSN33ps9drZjzKhPL7yV-Qw8HUw5oYMbxBr7eremYZtdd4rhZ0gcKC7LP9JxmvIZ6mWGHDeCle80-7lB9_iW4eLL4TOhkoyplNGgiUOGJT2Md6XTALOGXd2uMTMdfw-8QI5Ry_J5Znxtjjxvp7q2h2W3PtnBbtW9YzbcBxZflacC_29MqAY4wM5JjNfObEDkMXHvK9JWg0aawv689BUQJ3eT_pT5HfYjc_72d9z2GYKgGOwIOCgLKa5ccwIkMLoEI-DPYSLUjlmGRNOSyoP9EcCY1Xapc_JoTUpqbdWGotdb7mXERxSbOJdjFkw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '222' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5f5430e0c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110690,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110690},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5f5430e0c/8b1a530d16a70c36afadf1451d8e15c9","kty":"RSA-HSM","n":"j3UiGU_tkA_5vvukYOpQ21DfFkGyOwB_8l6Vb0XvdGphxS0zH1uE7jE-IEKPE4OVk5DOs3WQUPCXm8NhbZ-9VffUAFMy_-KPuBLol4E0eyRHmzKfrd2wejUQ-yIa39pfB6-5mj_TjXDqgDJY36H18kDJL2bqp8QfSlAJeBT3o06RhpCxs9f1MvST4QyELv7Xa8hglAhdlVVJUQ9UhQPWV_JM9QIY3OviSM0nvuX2DLx31p7Yzzy-cHcMi48WK7poS-0RgmgssEnA4cI4QPikYH-389Imv9ob11rJr2KH6t4Bepmra-lfq9ebpobc5O4dvLkwlWlcE0Ke_RLzcPQp_w"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '218' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6f5430e0c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110693,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110693},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6f5430e0c/821aa596290b03df8974a78876ce1310","kty":"RSA-HSM","n":"pN0BAkyApvd5ctWVPT6wQskkrbcIYGyAU1Ni5cMIZiaEvIYlSeeDC92-IzCiaaEpQGJXysVO-Mq1zodI8f1TlvkQFVC0HruzI7bB87pm-7mYp8ySQnYYI1lct5q_hpPQT5yahJb-LqzpHO7qRNTeTV8cxZvM4RJrUGI3QLU508t41OFgkBYc_B7Lv5B28Ieh1Po3gHi80HmH4GDrfaOl7SvI9iq_Cn6S4Er9T7CE-lkHFcy1fdnPLIAPTzPD1_MZlqXsltKBnmuSqLbqMqPSVx7HNXmTQGKLS-3dcRwt67s9hDxRqHEG2STzOQRUjPaRVczGcUDBIRFwAZ6iGf2XEw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '305' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&api-version=7.2-preview + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVFSQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz","value":[{"attributes":{"created":1616110679,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110679},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0f5430e0c"},{"attributes":{"created":1616110681,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110681},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1f5430e0c"},{"attributes":{"created":1616110683,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110683},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2f5430e0c"},{"attributes":{"created":1616110686,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110686},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3f5430e0c"},{"attributes":{"created":1616110688,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110688},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4f5430e0c"},{"attributes":{"created":1616110690,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110690},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5f5430e0c"}]}' + headers: + cache-control: + - no-cache + content-length: + - '1593' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '35' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVFSQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz + response: + body: + string: '{"value":[{"attributes":{"created":1616110693,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110693},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6f5430e0c"}]}' + headers: + cache-control: + - no-cache + content-length: + - '246' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '34' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list_vault.yaml new file mode 100644 index 000000000000..16c807f2901b --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_key_list_vault.yaml @@ -0,0 +1,478 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey03e70e83/create?api-version=7.2-preview + 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: + - Thu, 18 Mar 2021 23:38:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey03e70e83/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey03e70e83/a44689b6e68b4ede842e16750f7632af","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"-SmhOpMTRNKfd1aOT1VuRFgk4yiLS4fefKDK99VTyS_XaCmeqFgT86x1KEpcfJTYS2hZNra0_01_hlGyAgAGMamL3vS6-umvNW_M6XK8aJHODiZs5WgXKCmnB7LcN-1AMK5uwt3PrRZE1rywQgN4tRhIVxbGk1BWMHdwsqOqthEbRMGiyQrAf6WO1daJXBvty6kIm7INYhTnAXrKFkmgE-2rbdgUWSeFmef81p0hC6-xOuE3StU1z23OTW6jA04yztvwr1t_RfrG2PRX5LdBEwNoyGp_XW4lhYqQLVXn2dq7GW2ZZW_a3IMVkrTj-NfIx1Fbnaiy7GggvcFBkxPO9Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110696,"updated":1616110696,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '689' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:38:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey13e70e83/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey13e70e83/4706a3144d00451eb0d0b2988c8c523b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vdp37k2rVYo9_RfJsOqyH3JSYjRXcTjG8bQTiX4H6cBYs0sX-uQjmsf77cRHKUKWsXn4xTqpCnAThQ_nydaar3QgsS54aY3bkwsKJOOZgEMqWOYC-kOp1xIE5uvEtplrcRTaXEYUm8i9GTv1B4Pm-Rc7lG6pTltnoQcPKoTg6UlB9roCNqsT3EIarR4t_37WkT4or-xuxTmyRvzG5XNED54GTMmiEYENZeyHp5qkcfQjayh-TiDPnlhDPydOmxAtIvwsvIqDvZv23AytEwqkGKm8_qXUMaQ1Iv-6iLjw9XcoD8AFqtqqb6Y5gUzAjcbaFzR_lks1Gu75jtnZpKL4cQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110699,"updated":1616110699,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '689' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:38:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey23e70e83/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey23e70e83/9eada256d7c340779c4b115c646d8e7a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qwKJyw6kPSk5kWpcz54h7E20WrE5ZdMU0u5RGCK7f0QQOl7_8bcJhAUiCKpJali3Mhp6PPeq0hwqMpub_FIJGWt-mLsPyzLIxbqbsgf0mGqUKC0XJgN1bc2YvKyPo3mf3zdlVQCpNShSS5CQLQV3D4PMDaJrq5ghEKKnE_QBmHkxR4kkZpxeDqtyutKg2qQZUYviVn0nF65IcvsM21WOBdegxE0UcwhmUUV5LSVWi23ci7jDOr_yJxvWL9qNzRSMzYeuZ7oo_vyqs-FYG4fg0qJ0Hdttn-IxbUvGPby6pOq4HzUbBxYhZpA-ye5ztiDg3Bd2JoWyNUHXtFEWok7ekQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110701,"updated":1616110701,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '689' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:38:21 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey33e70e83/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey33e70e83/f73d0a1ef98b488ab3021bed917b215e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sa6bNmTbJij2pjIbu6FBcCY0LSQ2iBMjfwhA_BTEmC0bgJGbga6UGk7m4O1MWRv2Ex8NrkouhtoPLvSRXRLVbFmb9b67Sp8MG84ohK_bKMin39W9siAcRQHs3bqnIzCXtgrI7kjkVsg2IVhWLHMRLMY6disuFnoX9Op4_PDYc2wgbm1Ybj_rcOAYGkBkMxfhRmjbtYCAVLRG5cdhdcMqkJsm5aToYlBepZf8fn67BLCmjmNRcsaDSeSWU7Nu9MjA9lPQbSGmcsspmabKEBHfr_m7KmW_u5K4dzoV4FfiNjFW4gBYIc2nAxOyFR_a8d3sVcCWf-Hhz0xm-2Qsvr_iIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110703,"updated":1616110703,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '689' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:38:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey43e70e83/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey43e70e83/ef103d8d654f4e45aee786ddb2b14b3a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qYS3nQTVe99RbbV7JZr3VRI-_MOCwyoAfCLSbfYL5-l_WKDo9W9HtG_LJMbehnod-fjmzInbiplNV6H1hSNuLWxMsKsYu3GpAfbm3a9QQ7R1iwuj-r8_AY9cTeSC5wXcoAW0hzrcXEUOD8QSXvSTryWHFApRrbsHUenJBwEIPVVzH7hXJuTOOdYakCf21M20kERcbakjFuycZn8IJCK9oKvyzmD0PkQqgoQSwSTyT5z_IPHlzlpl5nNPXI6rGvw6SI3shYFtS4N4tOFGv68KMEHfCMUE-YsX0aPLWmUEDrtEQD9LlKHrnAZ7W5dIn6ZAhjI_PfupHocDhlBOxGzH1Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110706,"updated":1616110706,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '689' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:38:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey53e70e83/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey53e70e83/870413a02fe84d08bd866620281c6dd6","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tJXYiDT7ACy7IjKR1_0l0-sOF6mwyzIYf-g7LXPTQZBb5QrIkI6F99_J4HwR84BmZPrKVqafcsULkUc_nYb_pRKVa-oQM4hctFlAVbXOSby0MmJB9EgQEimsjC0UoCBd4p4_xlIE6HcDvG1q3Kd-PRrqBCVuv84UpO6UM29rs5XN2mcN--YFY5ewJhipPzrkI2_Gnr4tyYxA1K9EASVQ6iGKBOOvCWXs5VZ4y18cZDNfbU41pv_T7JL4J1lxgWJkCh_tA2iqNY3czFdFwauFpPVppz65y5vPSI8dvULxyfnCoEF_IwzjvJZ9fnZdkk3zIMTEfbVAKv0hXcxBn2vHiQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110708,"updated":1616110708,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '689' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:38:27 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey63e70e83/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey63e70e83/ab7e155417fb4bf885dae55ad4bd5c95","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rponNJreNBNdoZawiX-LIuOVQUAEfTCW8Ci1TXSMy99I9AFGGSpNHatUc-rUmvGgpb3gOcp9eapF87SGoRCstlCitHxpIhA0jiKM8Xt0kUh9m2cUM70pak24gWS0HnmeV5QIogYvVLm3fkH4QdLtesVMKTy8pVWcWSTn7k82Wl6Wy_p3A6IouMfxraxqlrLSthifuJr6ecwsn4QpRSLqAcOqtqX-LoEDE6pQce-5tlywn0JFkdWbXMg9QggetYLNggAOaDddeZtwjQbt51koDqzAXVZNPR_9EZyg06SxUt7MoWDPNF2dwNSVe9G3Q8kTwmRb1eXWvD1tZ01Kk4NR_Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110710,"updated":1616110710,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '689' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:38:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys?maxresults=6&api-version=7.2-preview + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey03e70e83","attributes":{"enabled":true,"created":1616110696,"updated":1616110696,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey13e70e83","attributes":{"enabled":true,"created":1616110699,"updated":1616110699,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey23e70e83","attributes":{"enabled":true,"created":1616110701,"updated":1616110701,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey33e70e83","attributes":{"enabled":true,"created":1616110703,"updated":1616110703,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey43e70e83","attributes":{"enabled":true,"created":1616110706,"updated":1616110706,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey53e70e83","attributes":{"enabled":true,"created":1616110708,"updated":1616110708,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5qTkZOekJGT0RNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' + headers: + cache-control: + - no-cache + content-length: + - '1539' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:38:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5qTkZOekJGT0RNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey63e70e83","attributes":{"enabled":true,"created":1616110710,"updated":1616110710,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:38:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys.yaml deleted file mode 100644 index 0f5db9dda810..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys.yaml +++ /dev/null @@ -1,1682 +0,0 @@ -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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1/create?api-version=7.2-preview - 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: - - Sat, 06 Feb 2021 02:36:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1/79ef62322a1e47d9a1a1959670c51dc3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2crc7cLim1v0rBZ7kPFpA69xFqXErkdGOBih2nDKbUGBR_pD61hX90AKAt0kQ2dObbBatjEun1qx0hoKHt-uEkqa9TjtPnI6w32u6lECG3kyZ7kS1Z_ZQHfuVAkq6nOejq4A-7fI_ynLuMD_qt7fzcaxzNnwhySX9l31UVCnFB6vwa1v3bln8wEm_KglnazYwClYK-ahqFcB7gkkJ4CRw4JhzJAtJcdRmH-zN9dmzNCOARgWKrxcrM7PvHvfu24ZdKp44w_R7gMhwXasaxdkjb4XeHBDNfp6v7EruQOFOp43-LK6T9heoFVLyQ-uXv4_vxx0wySobLn9efBxI1FZ9Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:47 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1/9247f49d819c43f5ab267b0dcc70ba59","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nsTEIrj7mjojSOAbkRJsCqCHWH3-zNRrrQCVe1gzouAtwIBPhdRtupZbEHtYvEHcBASF2pTFuUCmK9oAhgJaPAQStuA0K9YdKwzfXV9yRR1HfAMXr2qYFwS7g51QLKK9HQ3-jPWb9vHwjqQ_OU1kVLvuTMvp0jpXHxnMWhSVBFjlP8k7sxBKIXp0WlOnOMZxB_tOcBTr0vTDxOhxBfDP-nSYzmxTbOpcVy-Oh-FOC8ioo_oJqaeAJ3Rzw_hoZpCNCnx2FCX4cBz5Pnc7Q3PGeGsOmgOYpwg0tssx7m2ThWx4x4Y6eZzsV41Gt7k-7WHrF04orDeNsTQW_Z0m0EdiAQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:47 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1/f818b6cfeaec4073936b83dd6314e2d9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xh7-pnfCkK2f7kUYIuhRRnbn6RmDsyp08MLtgSYd-6h7KEhmDap3pEBsv8XhQzQLlRTLJqwoCIbjCsCSLJMjBpOI0q5J40NHPsdh57GYca3GQOjJka2SAeOllV7JxZ8i-n2mgDsmE0AvLrpAqiz68-Vg0jq0JgKkQisHRbR_NHYmvwFFesaFTCpNTw5NNTYoMLScqrp9BKJOX-PjokUJRu6Drw3Gu6YHXjz4NtHovgmotHUZORybusbGD5_n3dN_oJkqt2HSdmOuZMlq9XeCnpSxfBcWEWo8WvzTJzgFgHlb2yihnhvhDjEbsOtRvRoXUMy-pfIMPo0QZut4rFPBSQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:47 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1/d42ddbf83d3a4edca8d99269e8cff69d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v2C7Xxs1F1R5fe9QSm3Albi7cfmgZFfyCdiAXAPd4HcR9FH9rDEBFN4UmSQel7Pguurtu7JSPXvyTY7ienTG2F9sJAP3JONYdkeMVH7kplszJMaEqsVGpolHa4Pd1GIqTJ3msSWVqqnMZTyu-CJqcuo1JbKHWL6rai_RPE8Bo5iY1_8OUpDo9ZJTJH8fO5gHHGA2pzMlgVcmlsqnp935pDxuQOS9N7lGy-5uhtINan6Y_vX4f3X1auuChe5LZcBvOtcJAnndlzoWpve0La3hq-oFlkDZ53bm3M2nEvEXVBcIuKNbNSIEFIpHhG4BzSy3oBcalEMapZQGXBPEtOrYRQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:48 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1/cfef9f8b0a414541bc9e1ad9a5f8b28b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uqzM35yckEwY0BHZEybbMtp5sgNeEIshx1W-Jj0Is3dLK-0eF0ShzMfte09xFPglWNQK6zBEgUFHRUnfdrUFxBBfMcgF3mPOJY-sT7zqfYC3CLY1jagSHHceXtrfiJ_XUBLTp2t3HsrGDvcgJbzTGQrRU7l-3ESRX0TNLBx-WAhTQJ9OXfN5XJVMwB9zw4VK0OF6_fQU9xGow52OR6t82V-74NKVgheez_L8bkORFr6FXxYyfO0Auq4zU_R0Ne-2wUClmUC_2wnDdTckPbXL15qjkEjH34lwLw4z5x0bI8dptoO4eOE1ypT64RbHo8ZFobqmoVuQOWLuRKX_mqG4zQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:48 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1/4df152e6af624994b5163361be84537e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rY8XS8BmWvdpV1O2UvrGgoSmwYQTGzulh8DAuD_tS98tEa_YCJEzAoMBpOx8KjzW6R4kyKaYLK5MLdWPoQG80sdBgrQOy0K4uoHC0hsbLGaFdQ0V-XotU5QPb5xSOf0h-mSx_legKJA5CGl5Uby9-n68Gwj05CShDtTwYtoigmlq6lV5IB26XD9WtgGDikGThjtqHYIzhpx2U0LSe_ad5tOsfAa1Qle7dtoVR-fYqha6BrOlu2K12fPbxV8lLcbVOdFxl9UzAbrSKhe1CIEd2Jh0Y1APTRQN0cYPeModJaVMv7Di4u22DU0EYcYCF7NdoC9G2GVuYf8yJar5ArgtDQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:48 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1/c8f602067b23474aae4f39ad8293ef85","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"t6eu8mVcmz5DvxnSA9cddOScCM63YlCOnv6Il6vkkaZZSraHXWsFC0sJEshsM6Hf1P_2KapA9Llbq_aWjrmLTcOORUh91Pn9JImGwmrMXanzbN1szgn4c5GKA4jAQyFR6MnF4mA0Ogmx2qgFLN13H4SL6FNsWYw8BQdsZHOB0-LyXhm3CHRWIMrzZJaY5bvnIdTh-5uBCCv76HWGR-hfcGFf8dng7hUWSz5NO8pdJ8dqBUhMUTRiQWozvlscbgDGO8ilNfdj9oKmFdmq2OAKE66urrbYc1GaPg3NhUBz1Ovq0WoNP20C_ajG8ecBFbDUdJ7kx_hXNXHrSdA8SLTysQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:49 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1/f818b6cfeaec4073936b83dd6314e2d9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xh7-pnfCkK2f7kUYIuhRRnbn6RmDsyp08MLtgSYd-6h7KEhmDap3pEBsv8XhQzQLlRTLJqwoCIbjCsCSLJMjBpOI0q5J40NHPsdh57GYca3GQOjJka2SAeOllV7JxZ8i-n2mgDsmE0AvLrpAqiz68-Vg0jq0JgKkQisHRbR_NHYmvwFFesaFTCpNTw5NNTYoMLScqrp9BKJOX-PjokUJRu6Drw3Gu6YHXjz4NtHovgmotHUZORybusbGD5_n3dN_oJkqt2HSdmOuZMlq9XeCnpSxfBcWEWo8WvzTJzgFgHlb2yihnhvhDjEbsOtRvRoXUMy-pfIMPo0QZut4rFPBSQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:49 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey230c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:49 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1/f818b6cfeaec4073936b83dd6314e2d9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xh7-pnfCkK2f7kUYIuhRRnbn6RmDsyp08MLtgSYd-6h7KEhmDap3pEBsv8XhQzQLlRTLJqwoCIbjCsCSLJMjBpOI0q5J40NHPsdh57GYca3GQOjJka2SAeOllV7JxZ8i-n2mgDsmE0AvLrpAqiz68-Vg0jq0JgKkQisHRbR_NHYmvwFFesaFTCpNTw5NNTYoMLScqrp9BKJOX-PjokUJRu6Drw3Gu6YHXjz4NtHovgmotHUZORybusbGD5_n3dN_oJkqt2HSdmOuZMlq9XeCnpSxfBcWEWo8WvzTJzgFgHlb2yihnhvhDjEbsOtRvRoXUMy-pfIMPo0QZut4rFPBSQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1/4df152e6af624994b5163361be84537e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rY8XS8BmWvdpV1O2UvrGgoSmwYQTGzulh8DAuD_tS98tEa_YCJEzAoMBpOx8KjzW6R4kyKaYLK5MLdWPoQG80sdBgrQOy0K4uoHC0hsbLGaFdQ0V-XotU5QPb5xSOf0h-mSx_legKJA5CGl5Uby9-n68Gwj05CShDtTwYtoigmlq6lV5IB26XD9WtgGDikGThjtqHYIzhpx2U0LSe_ad5tOsfAa1Qle7dtoVR-fYqha6BrOlu2K12fPbxV8lLcbVOdFxl9UzAbrSKhe1CIEd2Jh0Y1APTRQN0cYPeModJaVMv7Di4u22DU0EYcYCF7NdoC9G2GVuYf8yJar5ArgtDQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey530c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey530c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1/4df152e6af624994b5163361be84537e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rY8XS8BmWvdpV1O2UvrGgoSmwYQTGzulh8DAuD_tS98tEa_YCJEzAoMBpOx8KjzW6R4kyKaYLK5MLdWPoQG80sdBgrQOy0K4uoHC0hsbLGaFdQ0V-XotU5QPb5xSOf0h-mSx_legKJA5CGl5Uby9-n68Gwj05CShDtTwYtoigmlq6lV5IB26XD9WtgGDikGThjtqHYIzhpx2U0LSe_ad5tOsfAa1Qle7dtoVR-fYqha6BrOlu2K12fPbxV8lLcbVOdFxl9UzAbrSKhe1CIEd2Jh0Y1APTRQN0cYPeModJaVMv7Di4u22DU0EYcYCF7NdoC9G2GVuYf8yJar5ArgtDQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:57 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1/c8f602067b23474aae4f39ad8293ef85","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"t6eu8mVcmz5DvxnSA9cddOScCM63YlCOnv6Il6vkkaZZSraHXWsFC0sJEshsM6Hf1P_2KapA9Llbq_aWjrmLTcOORUh91Pn9JImGwmrMXanzbN1szgn4c5GKA4jAQyFR6MnF4mA0Ogmx2qgFLN13H4SL6FNsWYw8BQdsZHOB0-LyXhm3CHRWIMrzZJaY5bvnIdTh-5uBCCv76HWGR-hfcGFf8dng7hUWSz5NO8pdJ8dqBUhMUTRiQWozvlscbgDGO8ilNfdj9oKmFdmq2OAKE66urrbYc1GaPg3NhUBz1Ovq0WoNP20C_ajG8ecBFbDUdJ7kx_hXNXHrSdA8SLTysQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:57 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey630c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36:57 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey630c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:36: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1/c8f602067b23474aae4f39ad8293ef85","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"t6eu8mVcmz5DvxnSA9cddOScCM63YlCOnv6Il6vkkaZZSraHXWsFC0sJEshsM6Hf1P_2KapA9Llbq_aWjrmLTcOORUh91Pn9JImGwmrMXanzbN1szgn4c5GKA4jAQyFR6MnF4mA0Ogmx2qgFLN13H4SL6FNsWYw8BQdsZHOB0-LyXhm3CHRWIMrzZJaY5bvnIdTh-5uBCCv76HWGR-hfcGFf8dng7hUWSz5NO8pdJ8dqBUhMUTRiQWozvlscbgDGO8ilNfdj9oKmFdmq2OAKE66urrbYc1GaPg3NhUBz1Ovq0WoNP20C_ajG8ecBFbDUdJ7kx_hXNXHrSdA8SLTysQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1/9247f49d819c43f5ab267b0dcc70ba59","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nsTEIrj7mjojSOAbkRJsCqCHWH3-zNRrrQCVe1gzouAtwIBPhdRtupZbEHtYvEHcBASF2pTFuUCmK9oAhgJaPAQStuA0K9YdKwzfXV9yRR1HfAMXr2qYFwS7g51QLKK9HQ3-jPWb9vHwjqQ_OU1kVLvuTMvp0jpXHxnMWhSVBFjlP8k7sxBKIXp0WlOnOMZxB_tOcBTr0vTDxOhxBfDP-nSYzmxTbOpcVy-Oh-FOC8ioo_oJqaeAJ3Rzw_hoZpCNCnx2FCX4cBz5Pnc7Q3PGeGsOmgOYpwg0tssx7m2ThWx4x4Y6eZzsV41Gt7k-7WHrF04orDeNsTQW_Z0m0EdiAQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey130c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey130c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:04 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1/9247f49d819c43f5ab267b0dcc70ba59","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nsTEIrj7mjojSOAbkRJsCqCHWH3-zNRrrQCVe1gzouAtwIBPhdRtupZbEHtYvEHcBASF2pTFuUCmK9oAhgJaPAQStuA0K9YdKwzfXV9yRR1HfAMXr2qYFwS7g51QLKK9HQ3-jPWb9vHwjqQ_OU1kVLvuTMvp0jpXHxnMWhSVBFjlP8k7sxBKIXp0WlOnOMZxB_tOcBTr0vTDxOhxBfDP-nSYzmxTbOpcVy-Oh-FOC8ioo_oJqaeAJ3Rzw_hoZpCNCnx2FCX4cBz5Pnc7Q3PGeGsOmgOYpwg0tssx7m2ThWx4x4Y6eZzsV41Gt7k-7WHrF04orDeNsTQW_Z0m0EdiAQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:06 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1/d42ddbf83d3a4edca8d99269e8cff69d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v2C7Xxs1F1R5fe9QSm3Albi7cfmgZFfyCdiAXAPd4HcR9FH9rDEBFN4UmSQel7Pguurtu7JSPXvyTY7ienTG2F9sJAP3JONYdkeMVH7kplszJMaEqsVGpolHa4Pd1GIqTJ3msSWVqqnMZTyu-CJqcuo1JbKHWL6rai_RPE8Bo5iY1_8OUpDo9ZJTJH8fO5gHHGA2pzMlgVcmlsqnp935pDxuQOS9N7lGy-5uhtINan6Y_vX4f3X1auuChe5LZcBvOtcJAnndlzoWpve0La3hq-oFlkDZ53bm3M2nEvEXVBcIuKNbNSIEFIpHhG4BzSy3oBcalEMapZQGXBPEtOrYRQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:06 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey330c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:06 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey330c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:09 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1/d42ddbf83d3a4edca8d99269e8cff69d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v2C7Xxs1F1R5fe9QSm3Albi7cfmgZFfyCdiAXAPd4HcR9FH9rDEBFN4UmSQel7Pguurtu7JSPXvyTY7ienTG2F9sJAP3JONYdkeMVH7kplszJMaEqsVGpolHa4Pd1GIqTJ3msSWVqqnMZTyu-CJqcuo1JbKHWL6rai_RPE8Bo5iY1_8OUpDo9ZJTJH8fO5gHHGA2pzMlgVcmlsqnp935pDxuQOS9N7lGy-5uhtINan6Y_vX4f3X1auuChe5LZcBvOtcJAnndlzoWpve0La3hq-oFlkDZ53bm3M2nEvEXVBcIuKNbNSIEFIpHhG4BzSy3oBcalEMapZQGXBPEtOrYRQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1/79ef62322a1e47d9a1a1959670c51dc3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2crc7cLim1v0rBZ7kPFpA69xFqXErkdGOBih2nDKbUGBR_pD61hX90AKAt0kQ2dObbBatjEun1qx0hoKHt-uEkqa9TjtPnI6w32u6lECG3kyZ7kS1Z_ZQHfuVAkq6nOejq4A-7fI_ynLuMD_qt7fzcaxzNnwhySX9l31UVCnFB6vwa1v3bln8wEm_KglnazYwClYK-ahqFcB7gkkJ4CRw4JhzJAtJcdRmH-zN9dmzNCOARgWKrxcrM7PvHvfu24ZdKp44w_R7gMhwXasaxdkjb4XeHBDNfp6v7EruQOFOp43-LK6T9heoFVLyQ-uXv4_vxx0wySobLn9efBxI1FZ9Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey030c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1/79ef62322a1e47d9a1a1959670c51dc3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2crc7cLim1v0rBZ7kPFpA69xFqXErkdGOBih2nDKbUGBR_pD61hX90AKAt0kQ2dObbBatjEun1qx0hoKHt-uEkqa9TjtPnI6w32u6lECG3kyZ7kS1Z_ZQHfuVAkq6nOejq4A-7fI_ynLuMD_qt7fzcaxzNnwhySX9l31UVCnFB6vwa1v3bln8wEm_KglnazYwClYK-ahqFcB7gkkJ4CRw4JhzJAtJcdRmH-zN9dmzNCOARgWKrxcrM7PvHvfu24ZdKp44w_R7gMhwXasaxdkjb4XeHBDNfp6v7EruQOFOp43-LK6T9heoFVLyQ-uXv4_vxx0wySobLn9efBxI1FZ9Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:13 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1/cfef9f8b0a414541bc9e1ad9a5f8b28b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uqzM35yckEwY0BHZEybbMtp5sgNeEIshx1W-Jj0Is3dLK-0eF0ShzMfte09xFPglWNQK6zBEgUFHRUnfdrUFxBBfMcgF3mPOJY-sT7zqfYC3CLY1jagSHHceXtrfiJ_XUBLTp2t3HsrGDvcgJbzTGQrRU7l-3ESRX0TNLBx-WAhTQJ9OXfN5XJVMwB9zw4VK0OF6_fQU9xGow52OR6t82V-74NKVgheez_L8bkORFr6FXxYyfO0Auq4zU_R0Ne-2wUClmUC_2wnDdTckPbXL15qjkEjH34lwLw4z5x0bI8dptoO4eOE1ypT64RbHo8ZFobqmoVuQOWLuRKX_mqG4zQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey430c90fa1"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1/cfef9f8b0a414541bc9e1ad9a5f8b28b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uqzM35yckEwY0BHZEybbMtp5sgNeEIshx1W-Jj0Is3dLK-0eF0ShzMfte09xFPglWNQK6zBEgUFHRUnfdrUFxBBfMcgF3mPOJY-sT7zqfYC3CLY1jagSHHceXtrfiJ_XUBLTp2t3HsrGDvcgJbzTGQrRU7l-3ESRX0TNLBx-WAhTQJ9OXfN5XJVMwB9zw4VK0OF6_fQU9xGow52OR6t82V-74NKVgheez_L8bkORFr6FXxYyfO0Auq4zU_R0Ne-2wUClmUC_2wnDdTckPbXL15qjkEjH34lwLw4z5x0bI8dptoO4eOE1ypT64RbHo8ZFobqmoVuQOWLuRKX_mqG4zQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d","attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORE13UXprd1JrRXhMekF5UmpBME5EUXdSa0UwTWpReVFqVkJSRUpCT1VNNU5rUkdSakUwUlVSRUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: - - no-cache - content-length: - - '2530' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORE13UXprd1JrRXhMekF5UmpBME5EUXdSa0UwTWpReVFqVkJSRUpCT1VNNU5rUkdSakUwUlVSRUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '731' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d","attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORE13UXprd1JrRXhMekF5UmpBME5EUXdSa0UwTWpReVFqVkJSRUpCT1VNNU5rUkdSakUwUlVSRUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: - - no-cache - content-length: - - '2530' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:18 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORE13UXprd1JrRXhMekF5UmpBME5EUXdSa0UwTWpReVFqVkJSRUpCT1VNNU5rUkdSakUwUlVSRUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '731' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:18 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys_mhsm.yaml new file mode 100644 index 000000000000..87ffa9dea600 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys_mhsm.yaml @@ -0,0 +1,1025 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '0' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110888,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110888},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5/3ad360d3ee070b373b581da21c7d2f8e","kty":"RSA-HSM","n":"uH4aFwBCnN34EVUus2TPCyryfJtS0IsdnMmvMo-Drgijpt94rJSLvmY3YjAuDsu-1oaD-xM0c3LTj97nh8EgO38phq4dA3d5Pzv-Z9Jv1k_1-S5PjtomF7PoyO--4HnnJ34KscklaUG-rTKcqFbOJZMzijQua1Ia_s7SYEnhacDIXlhiwtkJX6KdS6M2Iufk2jp36cFf0e5bTF1xu5jc3NRYGdD3DsrpZgC3JWcA6V8sGAEGxuL-4ykPacRaxtNeD7u3fcmqmwJ06oJ3qx3MMba74u37hJRbZ3cdK3fea9Xee4AIyiFSdPjVoTCmJ0RR0OhKow3igxEFfMjFBsod8Q"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '206' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110891,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110891},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5/c78a7cc752bb07ba1d5b656ae2395173","kty":"RSA-HSM","n":"iyr58Ing6O0k7FQBc1IBIJE9ck3SfCp-X20-F4pFENYTlUXtasubPtpokh-7X0OCMwg3EzQW2pUrc6SNGvCjAknEXyG9QuD6gpGxCgGNPHbHLbFinoMUUe86HNOfKffVHbJj7cWPhczMVkpyJVQQ493bSZKDe3FrskdwGLkvjGKeVa9m-hREdXf0FL_lUXq1Wx7n2xypXmX0A7pWiLCjtqIMjw62KHD4HoEyZBe3q1bxyfR5W90QuiZw97OMUy2ev03F8_7CQbeTmuKfWCB_dyr58bYFCEiooluWMovsoxYy8eUyPKYHkGQq44jyYrRaNJEIdsNA7zLaTu-Et1252w"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '246' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110893,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110893},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5/32aa71f7c2174f8a3ea11db53750bd47","kty":"RSA-HSM","n":"iLZC0U4pPnf9wE_Fz0bX-NBgv9_o8bVHGKVw3vtGfSKFHqL5lriNRlHdD8aVN3ZtewTkj6mVLc6q2PKxXS4X9bO_KCRScASc4AE8zMf7ALYGupMxKTmHi5hGK-Qa1s0dvb_UozYpffxkcnDvNRg4MYLz4lFNEzo3NKYIKOS4DlgwajyhiVEmLcdQ3faBGKFbdrn5fiz1L7R9tpPuKa0Xx457maTbvb-9BRMO0Tp4StXqmUV2ppgJrL2OC2oO5f6eYZMxxf6CPKVucP2Bm239FVS9U2_pUz7-npX08UWso9LS0wIdVXaHu_jNtYjcejuNe3La6V4Qg_bcvK_bVk2AOQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '242' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110895,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110895},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5/dca1c2dd907007cb0d3f62025cbb135f","kty":"RSA-HSM","n":"iACmrmw9dv6UzICzWbjqqaMdFqFatcq0COIX6RWhYPQ3CxDVgoN-1AFi6gjRO8b2q6Aimpie38lIL6FP_MpMnVYj1AkBHGG8FA-S5oJl7OV6tabE7Ji2M0TtC6dY1nbNA5njDq6plf-I5dv7lAmLWQYLxwXNfadCXoXvFSyLaqhpLr2ADobHIIH0RGiRG2QXQraQaj-PRERaifBQVwOu2D3-t39-hUsdXTEksfbptwPmt02b6L-z2DMj38I8HoqYiiRyah04pjf3ByD4r1vTXGjUTxHvX-WzJFTKF9tVF7xjcnV5Uq6rf3H9fhXbumATWhFXlsyolfnnbH8rrJfNOQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '279' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110898,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110898},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5/34d9248e5d934f1502273ad4c178a27c","kty":"RSA-HSM","n":"r9r2hNsuKeN-PILcpk4bVBs8nvxgDU_l1Di8YgbeErXGrBjxJJcHabuiHZaadU176Myv5jNwfvkAzrMiXoK4aR3i039osw-AG1mi4xcLDKKa3rNOMoED-kgdDonF2Hr1p1gvFjSceQ4Zq7kb4b6dY6nj2OjKbcWeARf1aizffwgWxS61QznFfDHzZJaJtqrfrVe2Z1soukQ1pre6ngYKnPFhhVngSE-U75GVjzoqpCsuWfug0sJ5Bxs5gy2A4xoz1E7hAMK0IIlOoZ7Y8_I5z_wG8ChiGfh_K5itxOOBJxZIcmW78gVXtCoG8DqLcqRBJoV1AcmdhiBmOyQkixG-Gw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '234' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110900,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110900},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5/d099c699aaa04cbe98e42c198df4a03f","kty":"RSA-HSM","n":"xghJeVIJW8KHCTiu8GYmo20h4KO4-K3F6BuPWHtjHcCFgAeT_6Volugo9kvnrFy2J9-cazRhp9_ueygaAFeLvTCUU0lAInOO0WQsAbgQW0tshrwYb1o4Zvb-D0_LLFEsJfKTDzsPH1RwAKTxuP1vA15hUWBbsN2m0IaN6fV3WOyFrJ2TV32RSeXbjbXkHlnC0iNXvJnuCQCA1rvsL54tVaXC9v7SVnKf5Y_T0RpOw7atONM3Rcqdhlz6jRRS6LLOirEWRbuN8441X7zlLqjBLEf94ejlgFNrMuZ4NS39I9VBn5WEjrrERkqnXWoqwRPUzMhacL6DAHkA46RKWNc9tQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '214' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110902,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110902},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5/3953426193e04c0e24def9eca62fadf5","kty":"RSA-HSM","n":"xDZTd95j-jIDr8YXVLcXdVNTvzbZtQE4Hz02-j2gbTUBV5gdQPxb9fT4DD0xhNO_NnokwXVjLnE0VB6dAbdyYQS4VDnignPfP20JdmQbdCMIZze-1aw-8ABGv7cjR6a82O1XWRpyoEiXMgjjaSlV9NXqINWb5aamq71grcki1c9KI8mD6ANUM1TLWdWDGmAG8SnRAzex5RzcV90DOF_KJPKMXEaHCT-zIcfDjT8Qg4A5KGV2w6Aead7kSbGloEsv3F4GElPxtSluJfEh8-fxEws_MOywy7g4lSVg3oXDksNg4pRJ3vkc56fKaY2xR-DS7RTDKCe7UlJUonYUeLA-hQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '205' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110891,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110891},"deletedDate":1616110903,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5/c78a7cc752bb07ba1d5b656ae2395173","kty":"RSA-HSM","n":"iyr58Ing6O0k7FQBc1IBIJE9ck3SfCp-X20-F4pFENYTlUXtasubPtpokh-7X0OCMwg3EzQW2pUrc6SNGvCjAknEXyG9QuD6gpGxCgGNPHbHLbFinoMUUe86HNOfKffVHbJj7cWPhczMVkpyJVQQ493bSZKDe3FrskdwGLkvjGKeVa9m-hREdXf0FL_lUXq1Wx7n2xypXmX0A7pWiLCjtqIMjw62KHD4HoEyZBe3q1bxyfR5W90QuiZw97OMUy2ev03F8_7CQbeTmuKfWCB_dyr58bYFCEiooluWMovsoxYy8eUyPKYHkGQq44jyYrRaNJEIdsNA7zLaTu-Et1252w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1850811b5","scheduledPurgeDate":1623886903}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '193' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110891,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110891},"deletedDate":1616110903,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5/c78a7cc752bb07ba1d5b656ae2395173","kty":"RSA-HSM","n":"iyr58Ing6O0k7FQBc1IBIJE9ck3SfCp-X20-F4pFENYTlUXtasubPtpokh-7X0OCMwg3EzQW2pUrc6SNGvCjAknEXyG9QuD6gpGxCgGNPHbHLbFinoMUUe86HNOfKffVHbJj7cWPhczMVkpyJVQQ493bSZKDe3FrskdwGLkvjGKeVa9m-hREdXf0FL_lUXq1Wx7n2xypXmX0A7pWiLCjtqIMjw62KHD4HoEyZBe3q1bxyfR5W90QuiZw97OMUy2ev03F8_7CQbeTmuKfWCB_dyr58bYFCEiooluWMovsoxYy8eUyPKYHkGQq44jyYrRaNJEIdsNA7zLaTu-Et1252w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1850811b5","scheduledPurgeDate":1623886903}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '30' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110902,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110902},"deletedDate":1616110903,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5/3953426193e04c0e24def9eca62fadf5","kty":"RSA-HSM","n":"xDZTd95j-jIDr8YXVLcXdVNTvzbZtQE4Hz02-j2gbTUBV5gdQPxb9fT4DD0xhNO_NnokwXVjLnE0VB6dAbdyYQS4VDnignPfP20JdmQbdCMIZze-1aw-8ABGv7cjR6a82O1XWRpyoEiXMgjjaSlV9NXqINWb5aamq71grcki1c9KI8mD6ANUM1TLWdWDGmAG8SnRAzex5RzcV90DOF_KJPKMXEaHCT-zIcfDjT8Qg4A5KGV2w6Aead7kSbGloEsv3F4GElPxtSluJfEh8-fxEws_MOywy7g4lSVg3oXDksNg4pRJ3vkc56fKaY2xR-DS7RTDKCe7UlJUonYUeLA-hQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6850811b5","scheduledPurgeDate":1623886903}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '152' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110902,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110902},"deletedDate":1616110903,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5/3953426193e04c0e24def9eca62fadf5","kty":"RSA-HSM","n":"xDZTd95j-jIDr8YXVLcXdVNTvzbZtQE4Hz02-j2gbTUBV5gdQPxb9fT4DD0xhNO_NnokwXVjLnE0VB6dAbdyYQS4VDnignPfP20JdmQbdCMIZze-1aw-8ABGv7cjR6a82O1XWRpyoEiXMgjjaSlV9NXqINWb5aamq71grcki1c9KI8mD6ANUM1TLWdWDGmAG8SnRAzex5RzcV90DOF_KJPKMXEaHCT-zIcfDjT8Qg4A5KGV2w6Aead7kSbGloEsv3F4GElPxtSluJfEh8-fxEws_MOywy7g4lSVg3oXDksNg4pRJ3vkc56fKaY2xR-DS7RTDKCe7UlJUonYUeLA-hQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6850811b5","scheduledPurgeDate":1623886903}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '37' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110900,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110900},"deletedDate":1616110904,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5/d099c699aaa04cbe98e42c198df4a03f","kty":"RSA-HSM","n":"xghJeVIJW8KHCTiu8GYmo20h4KO4-K3F6BuPWHtjHcCFgAeT_6Volugo9kvnrFy2J9-cazRhp9_ueygaAFeLvTCUU0lAInOO0WQsAbgQW0tshrwYb1o4Zvb-D0_LLFEsJfKTDzsPH1RwAKTxuP1vA15hUWBbsN2m0IaN6fV3WOyFrJ2TV32RSeXbjbXkHlnC0iNXvJnuCQCA1rvsL54tVaXC9v7SVnKf5Y_T0RpOw7atONM3Rcqdhlz6jRRS6LLOirEWRbuN8441X7zlLqjBLEf94ejlgFNrMuZ4NS39I9VBn5WEjrrERkqnXWoqwRPUzMhacL6DAHkA46RKWNc9tQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5850811b5","scheduledPurgeDate":1623886904}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '133' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110900,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110900},"deletedDate":1616110904,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5/d099c699aaa04cbe98e42c198df4a03f","kty":"RSA-HSM","n":"xghJeVIJW8KHCTiu8GYmo20h4KO4-K3F6BuPWHtjHcCFgAeT_6Volugo9kvnrFy2J9-cazRhp9_ueygaAFeLvTCUU0lAInOO0WQsAbgQW0tshrwYb1o4Zvb-D0_LLFEsJfKTDzsPH1RwAKTxuP1vA15hUWBbsN2m0IaN6fV3WOyFrJ2TV32RSeXbjbXkHlnC0iNXvJnuCQCA1rvsL54tVaXC9v7SVnKf5Y_T0RpOw7atONM3Rcqdhlz6jRRS6LLOirEWRbuN8441X7zlLqjBLEf94ejlgFNrMuZ4NS39I9VBn5WEjrrERkqnXWoqwRPUzMhacL6DAHkA46RKWNc9tQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5850811b5","scheduledPurgeDate":1623886904}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '30' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110898,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110898},"deletedDate":1616110904,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5/34d9248e5d934f1502273ad4c178a27c","kty":"RSA-HSM","n":"r9r2hNsuKeN-PILcpk4bVBs8nvxgDU_l1Di8YgbeErXGrBjxJJcHabuiHZaadU176Myv5jNwfvkAzrMiXoK4aR3i039osw-AG1mi4xcLDKKa3rNOMoED-kgdDonF2Hr1p1gvFjSceQ4Zq7kb4b6dY6nj2OjKbcWeARf1aizffwgWxS61QznFfDHzZJaJtqrfrVe2Z1soukQ1pre6ngYKnPFhhVngSE-U75GVjzoqpCsuWfug0sJ5Bxs5gy2A4xoz1E7hAMK0IIlOoZ7Y8_I5z_wG8ChiGfh_K5itxOOBJxZIcmW78gVXtCoG8DqLcqRBJoV1AcmdhiBmOyQkixG-Gw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4850811b5","scheduledPurgeDate":1623886904}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '151' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110898,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110898},"deletedDate":1616110904,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5/34d9248e5d934f1502273ad4c178a27c","kty":"RSA-HSM","n":"r9r2hNsuKeN-PILcpk4bVBs8nvxgDU_l1Di8YgbeErXGrBjxJJcHabuiHZaadU176Myv5jNwfvkAzrMiXoK4aR3i039osw-AG1mi4xcLDKKa3rNOMoED-kgdDonF2Hr1p1gvFjSceQ4Zq7kb4b6dY6nj2OjKbcWeARf1aizffwgWxS61QznFfDHzZJaJtqrfrVe2Z1soukQ1pre6ngYKnPFhhVngSE-U75GVjzoqpCsuWfug0sJ5Bxs5gy2A4xoz1E7hAMK0IIlOoZ7Y8_I5z_wG8ChiGfh_K5itxOOBJxZIcmW78gVXtCoG8DqLcqRBJoV1AcmdhiBmOyQkixG-Gw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4850811b5","scheduledPurgeDate":1623886904}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '31' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110893,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110893},"deletedDate":1616110905,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5/32aa71f7c2174f8a3ea11db53750bd47","kty":"RSA-HSM","n":"iLZC0U4pPnf9wE_Fz0bX-NBgv9_o8bVHGKVw3vtGfSKFHqL5lriNRlHdD8aVN3ZtewTkj6mVLc6q2PKxXS4X9bO_KCRScASc4AE8zMf7ALYGupMxKTmHi5hGK-Qa1s0dvb_UozYpffxkcnDvNRg4MYLz4lFNEzo3NKYIKOS4DlgwajyhiVEmLcdQ3faBGKFbdrn5fiz1L7R9tpPuKa0Xx457maTbvb-9BRMO0Tp4StXqmUV2ppgJrL2OC2oO5f6eYZMxxf6CPKVucP2Bm239FVS9U2_pUz7-npX08UWso9LS0wIdVXaHu_jNtYjcejuNe3La6V4Qg_bcvK_bVk2AOQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2850811b5","scheduledPurgeDate":1623886905}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '138' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110893,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110893},"deletedDate":1616110904,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5/32aa71f7c2174f8a3ea11db53750bd47","kty":"RSA-HSM","n":"iLZC0U4pPnf9wE_Fz0bX-NBgv9_o8bVHGKVw3vtGfSKFHqL5lriNRlHdD8aVN3ZtewTkj6mVLc6q2PKxXS4X9bO_KCRScASc4AE8zMf7ALYGupMxKTmHi5hGK-Qa1s0dvb_UozYpffxkcnDvNRg4MYLz4lFNEzo3NKYIKOS4DlgwajyhiVEmLcdQ3faBGKFbdrn5fiz1L7R9tpPuKa0Xx457maTbvb-9BRMO0Tp4StXqmUV2ppgJrL2OC2oO5f6eYZMxxf6CPKVucP2Bm239FVS9U2_pUz7-npX08UWso9LS0wIdVXaHu_jNtYjcejuNe3La6V4Qg_bcvK_bVk2AOQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2850811b5","scheduledPurgeDate":1623886904}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '41' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110895,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110895},"deletedDate":1616110905,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5/dca1c2dd907007cb0d3f62025cbb135f","kty":"RSA-HSM","n":"iACmrmw9dv6UzICzWbjqqaMdFqFatcq0COIX6RWhYPQ3CxDVgoN-1AFi6gjRO8b2q6Aimpie38lIL6FP_MpMnVYj1AkBHGG8FA-S5oJl7OV6tabE7Ji2M0TtC6dY1nbNA5njDq6plf-I5dv7lAmLWQYLxwXNfadCXoXvFSyLaqhpLr2ADobHIIH0RGiRG2QXQraQaj-PRERaifBQVwOu2D3-t39-hUsdXTEksfbptwPmt02b6L-z2DMj38I8HoqYiiRyah04pjf3ByD4r1vTXGjUTxHvX-WzJFTKF9tVF7xjcnV5Uq6rf3H9fhXbumATWhFXlsyolfnnbH8rrJfNOQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3850811b5","scheduledPurgeDate":1623886905}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '145' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110895,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110895},"deletedDate":1616110905,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5/dca1c2dd907007cb0d3f62025cbb135f","kty":"RSA-HSM","n":"iACmrmw9dv6UzICzWbjqqaMdFqFatcq0COIX6RWhYPQ3CxDVgoN-1AFi6gjRO8b2q6Aimpie38lIL6FP_MpMnVYj1AkBHGG8FA-S5oJl7OV6tabE7Ji2M0TtC6dY1nbNA5njDq6plf-I5dv7lAmLWQYLxwXNfadCXoXvFSyLaqhpLr2ADobHIIH0RGiRG2QXQraQaj-PRERaifBQVwOu2D3-t39-hUsdXTEksfbptwPmt02b6L-z2DMj38I8HoqYiiRyah04pjf3ByD4r1vTXGjUTxHvX-WzJFTKF9tVF7xjcnV5Uq6rf3H9fhXbumATWhFXlsyolfnnbH8rrJfNOQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3850811b5","scheduledPurgeDate":1623886905}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '33' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110888,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110888},"deletedDate":1616110905,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5/3ad360d3ee070b373b581da21c7d2f8e","kty":"RSA-HSM","n":"uH4aFwBCnN34EVUus2TPCyryfJtS0IsdnMmvMo-Drgijpt94rJSLvmY3YjAuDsu-1oaD-xM0c3LTj97nh8EgO38phq4dA3d5Pzv-Z9Jv1k_1-S5PjtomF7PoyO--4HnnJ34KscklaUG-rTKcqFbOJZMzijQua1Ia_s7SYEnhacDIXlhiwtkJX6KdS6M2Iufk2jp36cFf0e5bTF1xu5jc3NRYGdD3DsrpZgC3JWcA6V8sGAEGxuL-4ykPacRaxtNeD7u3fcmqmwJ06oJ3qx3MMba74u37hJRbZ3cdK3fea9Xee4AIyiFSdPjVoTCmJ0RR0OhKow3igxEFfMjFBsod8Q"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0850811b5","scheduledPurgeDate":1623886905}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '140' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0850811b5?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110888,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110888},"deletedDate":1616110905,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5/3ad360d3ee070b373b581da21c7d2f8e","kty":"RSA-HSM","n":"uH4aFwBCnN34EVUus2TPCyryfJtS0IsdnMmvMo-Drgijpt94rJSLvmY3YjAuDsu-1oaD-xM0c3LTj97nh8EgO38phq4dA3d5Pzv-Z9Jv1k_1-S5PjtomF7PoyO--4HnnJ34KscklaUG-rTKcqFbOJZMzijQua1Ia_s7SYEnhacDIXlhiwtkJX6KdS6M2Iufk2jp36cFf0e5bTF1xu5jc3NRYGdD3DsrpZgC3JWcA6V8sGAEGxuL-4ykPacRaxtNeD7u3fcmqmwJ06oJ3qx3MMba74u37hJRbZ3cdK3fea9Xee4AIyiFSdPjVoTCmJ0RR0OhKow3igxEFfMjFBsod8Q"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0850811b5","scheduledPurgeDate":1623886905}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '27' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"attributes":{"created":1616110888,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110888},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110891,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110891},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1850811b5","scheduledPurgeDate":1623886903},{"attributes":{"created":1616110893,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110893},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110895,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110895},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110898,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110898},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110900,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110900},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110902,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110902},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6850811b5","scheduledPurgeDate":1623886903}]}' + headers: + cache-control: + - no-cache + content-length: + - '2720' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '36' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"attributes":{"created":1616110888,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110888},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110891,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110891},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1850811b5","scheduledPurgeDate":1623886903},{"attributes":{"created":1616110893,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110893},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110895,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110895},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110898,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110898},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110900,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110900},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110902,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110902},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6850811b5","scheduledPurgeDate":1623886903}]}' + headers: + cache-control: + - no-cache + content-length: + - '2720' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '37' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys_vault.yaml new file mode 100644 index 000000000000..e0c3e288010b --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_deleted_keys_vault.yaml @@ -0,0 +1,2912 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey09746122c/create?api-version=7.2-preview + 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: + - Thu, 18 Mar 2021 23:41:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey09746122c/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey09746122c/0e276a81324c4970a39bf7de2ffe6b94","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"z8lGH-gbihf7mFRG7uMlCYsvfJ2VZBNwUywGlQc-D7etsoc3_sIbDULFXETLXfcpNQ4sc50GVn2uRrHA_rtNouhyyVQWPa3VpfDV7fS9B0yA_E5EA1g59F4a-IJRzu_ktj0DEzxLHemgmyDF-oSc9k0YybFpEjllYZsuzegvYMj-ul8062CtkUyQrdrh_H9rUJ-uHDUluHY7EEOY4JULCDoU_qkTCVM2d8h1qzdUyRMy7ksoni8aPBqJzMU5J6paLA3ZmuoNT3oY6LrCBPXNLX2vonFL8ciwMYWkFYklJehkHH922QZhUnZhpwBHhtuIrbsGpwyt0lo4D1zqY4a7zQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110909,"updated":1616110909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:41:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey19746122c/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey19746122c/f028d41e41d949cea330f589f372e317","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1HKgJVj4iEW1CJ-MvpE4wZf4Fe8PZTQHFkuXnKrZmARZ2soBhQJ_ViwItjanXjbzlmpWevB5UZYpitZPYM6KeIgawbRxbBnzH17DTdolTvjI8m3KFP_gs-axVlaij0njUe6GtQoZnG9mnwi0Ho7BEvKx1pdKJqoA0vBo6fdkHo8G9Zb_HGIt16X1Md8DL7RJ7WedowiUDij1FCurXbAoWU-MPapKNS5nUDD62h_5npCDC5QQu1qBOHS23P1vX2r5mTlKYcmfnpQwebbDjCGtevRItNfQVCAlrTekY4WRjcEsRnhHPB6qAA9kybJhKcHOhhxoB6O_2TCWZDtVBWLg8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110911,"updated":1616110911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:41:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey29746122c/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey29746122c/1d555bdcd52449828878e98064ecaac8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qYO1xgXcskXxWxW04Q4SzUuYo9ECZUGxFORkQC_kURDzQzIY8M7h0oMAIB8T7N2Mo6u6e0C9Y5kvkT8S8wyCQaeGAvF6BU38Svk2alHd2HVRC-izti9CPD617UANeGQkq5K2OjJ5jys9Us9030-zJt5fT5RnVC-qdKDZ4DxZezr6_LbgQ_PlH60nCgsmyC6NiEfSD7k4NhaDPIXzczaT-RfqMy5un8uSSzzXiyTcIrHu55YZS1l-rJWHIS-DuGZfO_lmhU8Ni-f_x7jX4P03gkqMvfvgdTXPU5W5Vg0ZbeXQ_eVXN6_fw0FiDZSAoFcTklcZNz6HD4hW9FzolBEw8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110913,"updated":1616110913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:41:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey39746122c/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey39746122c/54d70e5a594f41c381e7553787254828","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"28U3kJRcYwos9oPB63YFJQ8X7l8k-BW45C_LNzafX-8zWZ-jJh38dPXqJeCBjj0LHmCh93B8Kuo9zUNcGDfGvlUvHZy5yb5K487233-eNxReGNfLhyGkt-jFY8Hwj6p2KSWOOwtn2LgaOgM8bYaWO85biWnMRWtIHF_M3JUlqvQOw7FCtA767-Pr4L_BaaihOx4bOvw1CH9S7K37aIUi_aXuSbGlxAMKSbCyRzADTMyyOVe5JUXEt_2te280QpxChk0oI8u6wsTc2P99mLTcMDRCSYzxUghbF1om7wghqZR-6rwKIvNlp2NSuXb4Bl2rSGGRKH_2dD0DVxzkcJXz8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110916,"updated":1616110916,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:41:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey49746122c/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey49746122c/f2ef4af6febf434abcd13826e5f68845","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4UbAXWhhS3B3Ez0lsaAC9WTLHk8J7ZHvPZZsiAMuQAajaNlGC_t-XNUZIqeKnzVUVBI7xAOd-EicY-Vu5uPtQTPIwHusapzk7dIQmaj-Q3mF4ICiG21ytsBLF7-nOuaEZ9j99ztlzbsSV5_uz0hfHOXSttN-XQDRXTDlxBpBt_iIUOA7CNtg1AYZUAPgd6W96DselfDk5gwA9cljazr1_9AlIAranfseg7WxJCVQxduN_8kSGs3-u1DcJT8sPlGnDF4yB-qprbc3XlvgW9xsWUlo9QR7Gof35suXsZi16DCV3UznpF74lcbOX83j2z86RZy0xtIhuXPTbYNz19iNbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110918,"updated":1616110918,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:41: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey59746122c/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey59746122c/3b8867b101bb4ff0bb0259b6db113a24","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ohSR5iHkvLqe4bAxrCxxNq-rKg3OUUa0Tx43MMiyjL41Ukrzj1w73q7YRcJencxyzfcMVi6QDmrnxz198rAjqZCx8mkVnKy8eXt-hIHWPvaIGE4CMcg8eEFID0EVV5rWwfHglR43G6moTEJB_T22RqRDN5PLot4BJXQMy50D1xlyKRGS8-qYJbMG_k13dBwboFNaRZkMA4kfXC_rb17LdhRMZ815YJtwek7Zf2wjO0uIQlWduzXeF2CWbHYzQ0vlwtTcYJ2m7Y89mvC7FojEY4lus2rykugGLseT4f3OnurbgtilyHY9Ip4HuPPE7NOhitB93wNUa6P2IG-ToOPvtQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110921,"updated":1616110921,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey69746122c/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey69746122c/93a443303fec42dfa4f68dbfb2fe466d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4Wjv03gaxAPIgVYvr3F0XS2WuCvBfZA6Q8fe5XBgFRLIkyz6koJkeV7jPpgs-vmq_y4Ku6vxglr43o5h-N6diJt_MXveBh6UYuj8cIDTyb89qj0KkhZobWhB0AofCVyEE7MwEjXsPP_QmYoSuonKBL8aMERl6G3CVD5tpWQpGSbWGXoZCUHY8nTdiasOFIBAgvQMG5FgrFTgBFNNUZNXXhRpRGtTiXlCTpK0W9eEkmV4jRCYk4DmF1rnjQyTnkfuvRLfUcpDEyDyNg26y4iFrH1Xr_DLhMxucdY3h36Qt2aTGVzHU4d_kZ4URNGbiJHyKVzSsmkHMkkfEwFR0BO5JQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110923,"updated":1616110923,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey69746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c","deletedDate":1616110923,"scheduledPurgeDate":1623886923,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey69746122c/93a443303fec42dfa4f68dbfb2fe466d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4Wjv03gaxAPIgVYvr3F0XS2WuCvBfZA6Q8fe5XBgFRLIkyz6koJkeV7jPpgs-vmq_y4Ku6vxglr43o5h-N6diJt_MXveBh6UYuj8cIDTyb89qj0KkhZobWhB0AofCVyEE7MwEjXsPP_QmYoSuonKBL8aMERl6G3CVD5tpWQpGSbWGXoZCUHY8nTdiasOFIBAgvQMG5FgrFTgBFNNUZNXXhRpRGtTiXlCTpK0W9eEkmV4jRCYk4DmF1rnjQyTnkfuvRLfUcpDEyDyNg26y4iFrH1Xr_DLhMxucdY3h36Qt2aTGVzHU4d_kZ4URNGbiJHyKVzSsmkHMkkfEwFR0BO5JQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110923,"updated":1616110923,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey69746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey69746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey69746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey69746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:09 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey69746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey69746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c","deletedDate":1616110923,"scheduledPurgeDate":1623886923,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey69746122c/93a443303fec42dfa4f68dbfb2fe466d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4Wjv03gaxAPIgVYvr3F0XS2WuCvBfZA6Q8fe5XBgFRLIkyz6koJkeV7jPpgs-vmq_y4Ku6vxglr43o5h-N6diJt_MXveBh6UYuj8cIDTyb89qj0KkhZobWhB0AofCVyEE7MwEjXsPP_QmYoSuonKBL8aMERl6G3CVD5tpWQpGSbWGXoZCUHY8nTdiasOFIBAgvQMG5FgrFTgBFNNUZNXXhRpRGtTiXlCTpK0W9eEkmV4jRCYk4DmF1rnjQyTnkfuvRLfUcpDEyDyNg26y4iFrH1Xr_DLhMxucdY3h36Qt2aTGVzHU4d_kZ4URNGbiJHyKVzSsmkHMkkfEwFR0BO5JQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110923,"updated":1616110923,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey09746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c","deletedDate":1616110936,"scheduledPurgeDate":1623886936,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey09746122c/0e276a81324c4970a39bf7de2ffe6b94","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"z8lGH-gbihf7mFRG7uMlCYsvfJ2VZBNwUywGlQc-D7etsoc3_sIbDULFXETLXfcpNQ4sc50GVn2uRrHA_rtNouhyyVQWPa3VpfDV7fS9B0yA_E5EA1g59F4a-IJRzu_ktj0DEzxLHemgmyDF-oSc9k0YybFpEjllYZsuzegvYMj-ul8062CtkUyQrdrh_H9rUJ-uHDUluHY7EEOY4JULCDoU_qkTCVM2d8h1qzdUyRMy7ksoni8aPBqJzMU5J6paLA3ZmuoNT3oY6LrCBPXNLX2vonFL8ciwMYWkFYklJehkHH922QZhUnZhpwBHhtuIrbsGpwyt0lo4D1zqY4a7zQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110909,"updated":1616110909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey09746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey09746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey09746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey09746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey09746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:24 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c","deletedDate":1616110936,"scheduledPurgeDate":1623886936,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey09746122c/0e276a81324c4970a39bf7de2ffe6b94","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"z8lGH-gbihf7mFRG7uMlCYsvfJ2VZBNwUywGlQc-D7etsoc3_sIbDULFXETLXfcpNQ4sc50GVn2uRrHA_rtNouhyyVQWPa3VpfDV7fS9B0yA_E5EA1g59F4a-IJRzu_ktj0DEzxLHemgmyDF-oSc9k0YybFpEjllYZsuzegvYMj-ul8062CtkUyQrdrh_H9rUJ-uHDUluHY7EEOY4JULCDoU_qkTCVM2d8h1qzdUyRMy7ksoni8aPBqJzMU5J6paLA3ZmuoNT3oY6LrCBPXNLX2vonFL8ciwMYWkFYklJehkHH922QZhUnZhpwBHhtuIrbsGpwyt0lo4D1zqY4a7zQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110909,"updated":1616110909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey49746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c","deletedDate":1616110948,"scheduledPurgeDate":1623886948,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey49746122c/f2ef4af6febf434abcd13826e5f68845","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4UbAXWhhS3B3Ez0lsaAC9WTLHk8J7ZHvPZZsiAMuQAajaNlGC_t-XNUZIqeKnzVUVBI7xAOd-EicY-Vu5uPtQTPIwHusapzk7dIQmaj-Q3mF4ICiG21ytsBLF7-nOuaEZ9j99ztlzbsSV5_uz0hfHOXSttN-XQDRXTDlxBpBt_iIUOA7CNtg1AYZUAPgd6W96DselfDk5gwA9cljazr1_9AlIAranfseg7WxJCVQxduN_8kSGs3-u1DcJT8sPlGnDF4yB-qprbc3XlvgW9xsWUlo9QR7Gof35suXsZi16DCV3UznpF74lcbOX83j2z86RZy0xtIhuXPTbYNz19iNbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110918,"updated":1616110918,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey49746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey49746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey49746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey49746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey49746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey49746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c","deletedDate":1616110948,"scheduledPurgeDate":1623886948,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey49746122c/f2ef4af6febf434abcd13826e5f68845","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4UbAXWhhS3B3Ez0lsaAC9WTLHk8J7ZHvPZZsiAMuQAajaNlGC_t-XNUZIqeKnzVUVBI7xAOd-EicY-Vu5uPtQTPIwHusapzk7dIQmaj-Q3mF4ICiG21ytsBLF7-nOuaEZ9j99ztlzbsSV5_uz0hfHOXSttN-XQDRXTDlxBpBt_iIUOA7CNtg1AYZUAPgd6W96DselfDk5gwA9cljazr1_9AlIAranfseg7WxJCVQxduN_8kSGs3-u1DcJT8sPlGnDF4yB-qprbc3XlvgW9xsWUlo9QR7Gof35suXsZi16DCV3UznpF74lcbOX83j2z86RZy0xtIhuXPTbYNz19iNbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110918,"updated":1616110918,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey29746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c","deletedDate":1616110961,"scheduledPurgeDate":1623886961,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey29746122c/1d555bdcd52449828878e98064ecaac8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qYO1xgXcskXxWxW04Q4SzUuYo9ECZUGxFORkQC_kURDzQzIY8M7h0oMAIB8T7N2Mo6u6e0C9Y5kvkT8S8wyCQaeGAvF6BU38Svk2alHd2HVRC-izti9CPD617UANeGQkq5K2OjJ5jys9Us9030-zJt5fT5RnVC-qdKDZ4DxZezr6_LbgQ_PlH60nCgsmyC6NiEfSD7k4NhaDPIXzczaT-RfqMy5un8uSSzzXiyTcIrHu55YZS1l-rJWHIS-DuGZfO_lmhU8Ni-f_x7jX4P03gkqMvfvgdTXPU5W5Vg0ZbeXQ_eVXN6_fw0FiDZSAoFcTklcZNz6HD4hW9FzolBEw8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110913,"updated":1616110913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey29746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey29746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey29746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey29746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey29746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:49 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey29746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c","deletedDate":1616110961,"scheduledPurgeDate":1623886961,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey29746122c/1d555bdcd52449828878e98064ecaac8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qYO1xgXcskXxWxW04Q4SzUuYo9ECZUGxFORkQC_kURDzQzIY8M7h0oMAIB8T7N2Mo6u6e0C9Y5kvkT8S8wyCQaeGAvF6BU38Svk2alHd2HVRC-izti9CPD617UANeGQkq5K2OjJ5jys9Us9030-zJt5fT5RnVC-qdKDZ4DxZezr6_LbgQ_PlH60nCgsmyC6NiEfSD7k4NhaDPIXzczaT-RfqMy5un8uSSzzXiyTcIrHu55YZS1l-rJWHIS-DuGZfO_lmhU8Ni-f_x7jX4P03gkqMvfvgdTXPU5W5Vg0ZbeXQ_eVXN6_fw0FiDZSAoFcTklcZNz6HD4hW9FzolBEw8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110913,"updated":1616110913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey59746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c","deletedDate":1616110974,"scheduledPurgeDate":1623886974,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey59746122c/3b8867b101bb4ff0bb0259b6db113a24","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ohSR5iHkvLqe4bAxrCxxNq-rKg3OUUa0Tx43MMiyjL41Ukrzj1w73q7YRcJencxyzfcMVi6QDmrnxz198rAjqZCx8mkVnKy8eXt-hIHWPvaIGE4CMcg8eEFID0EVV5rWwfHglR43G6moTEJB_T22RqRDN5PLot4BJXQMy50D1xlyKRGS8-qYJbMG_k13dBwboFNaRZkMA4kfXC_rb17LdhRMZ815YJtwek7Zf2wjO0uIQlWduzXeF2CWbHYzQ0vlwtTcYJ2m7Y89mvC7FojEY4lus2rykugGLseT4f3OnurbgtilyHY9Ip4HuPPE7NOhitB93wNUa6P2IG-ToOPvtQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110921,"updated":1616110921,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey59746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey59746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42:56 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey59746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:42: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey59746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey59746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey59746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c","deletedDate":1616110974,"scheduledPurgeDate":1623886974,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey59746122c/3b8867b101bb4ff0bb0259b6db113a24","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ohSR5iHkvLqe4bAxrCxxNq-rKg3OUUa0Tx43MMiyjL41Ukrzj1w73q7YRcJencxyzfcMVi6QDmrnxz198rAjqZCx8mkVnKy8eXt-hIHWPvaIGE4CMcg8eEFID0EVV5rWwfHglR43G6moTEJB_T22RqRDN5PLot4BJXQMy50D1xlyKRGS8-qYJbMG_k13dBwboFNaRZkMA4kfXC_rb17LdhRMZ815YJtwek7Zf2wjO0uIQlWduzXeF2CWbHYzQ0vlwtTcYJ2m7Y89mvC7FojEY4lus2rykugGLseT4f3OnurbgtilyHY9Ip4HuPPE7NOhitB93wNUa6P2IG-ToOPvtQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110921,"updated":1616110921,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey39746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c","deletedDate":1616110987,"scheduledPurgeDate":1623886987,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey39746122c/54d70e5a594f41c381e7553787254828","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"28U3kJRcYwos9oPB63YFJQ8X7l8k-BW45C_LNzafX-8zWZ-jJh38dPXqJeCBjj0LHmCh93B8Kuo9zUNcGDfGvlUvHZy5yb5K487233-eNxReGNfLhyGkt-jFY8Hwj6p2KSWOOwtn2LgaOgM8bYaWO85biWnMRWtIHF_M3JUlqvQOw7FCtA767-Pr4L_BaaihOx4bOvw1CH9S7K37aIUi_aXuSbGlxAMKSbCyRzADTMyyOVe5JUXEt_2te280QpxChk0oI8u6wsTc2P99mLTcMDRCSYzxUghbF1om7wghqZR-6rwKIvNlp2NSuXb4Bl2rSGGRKH_2dD0DVxzkcJXz8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110916,"updated":1616110916,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey39746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey39746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:09 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey39746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey39746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey39746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c","deletedDate":1616110987,"scheduledPurgeDate":1623886987,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey39746122c/54d70e5a594f41c381e7553787254828","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"28U3kJRcYwos9oPB63YFJQ8X7l8k-BW45C_LNzafX-8zWZ-jJh38dPXqJeCBjj0LHmCh93B8Kuo9zUNcGDfGvlUvHZy5yb5K487233-eNxReGNfLhyGkt-jFY8Hwj6p2KSWOOwtn2LgaOgM8bYaWO85biWnMRWtIHF_M3JUlqvQOw7FCtA767-Pr4L_BaaihOx4bOvw1CH9S7K37aIUi_aXuSbGlxAMKSbCyRzADTMyyOVe5JUXEt_2te280QpxChk0oI8u6wsTc2P99mLTcMDRCSYzxUghbF1om7wghqZR-6rwKIvNlp2NSuXb4Bl2rSGGRKH_2dD0DVxzkcJXz8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110916,"updated":1616110916,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey19746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c","deletedDate":1616110998,"scheduledPurgeDate":1623886998,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey19746122c/f028d41e41d949cea330f589f372e317","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1HKgJVj4iEW1CJ-MvpE4wZf4Fe8PZTQHFkuXnKrZmARZ2soBhQJ_ViwItjanXjbzlmpWevB5UZYpitZPYM6KeIgawbRxbBnzH17DTdolTvjI8m3KFP_gs-axVlaij0njUe6GtQoZnG9mnwi0Ho7BEvKx1pdKJqoA0vBo6fdkHo8G9Zb_HGIt16X1Md8DL7RJ7WedowiUDij1FCurXbAoWU-MPapKNS5nUDD62h_5npCDC5QQu1qBOHS23P1vX2r5mTlKYcmfnpQwebbDjCGtevRItNfQVCAlrTekY4WRjcEsRnhHPB6qAA9kybJhKcHOhhxoB6O_2TCWZDtVBWLg8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110911,"updated":1616110911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey19746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey19746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey19746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey19746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey19746122c"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:27 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c","deletedDate":1616110998,"scheduledPurgeDate":1623886998,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey19746122c/f028d41e41d949cea330f589f372e317","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1HKgJVj4iEW1CJ-MvpE4wZf4Fe8PZTQHFkuXnKrZmARZ2soBhQJ_ViwItjanXjbzlmpWevB5UZYpitZPYM6KeIgawbRxbBnzH17DTdolTvjI8m3KFP_gs-axVlaij0njUe6GtQoZnG9mnwi0Ho7BEvKx1pdKJqoA0vBo6fdkHo8G9Zb_HGIt16X1Md8DL7RJ7WedowiUDij1FCurXbAoWU-MPapKNS5nUDD62h_5npCDC5QQu1qBOHS23P1vX2r5mTlKYcmfnpQwebbDjCGtevRItNfQVCAlrTekY4WRjcEsRnhHPB6qAA9kybJhKcHOhhxoB6O_2TCWZDtVBWLg8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110911,"updated":1616110911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c","deletedDate":1616110936,"scheduledPurgeDate":1623886936,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey09746122c","attributes":{"enabled":true,"created":1616110909,"updated":1616110909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c","deletedDate":1616110998,"scheduledPurgeDate":1623886998,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey19746122c","attributes":{"enabled":true,"created":1616110911,"updated":1616110911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c","deletedDate":1616110961,"scheduledPurgeDate":1623886961,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey29746122c","attributes":{"enabled":true,"created":1616110913,"updated":1616110913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c","deletedDate":1616110987,"scheduledPurgeDate":1623886987,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey39746122c","attributes":{"enabled":true,"created":1616110916,"updated":1616110916,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c","deletedDate":1616110948,"scheduledPurgeDate":1623886948,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey49746122c","attributes":{"enabled":true,"created":1616110918,"updated":1616110918,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c","deletedDate":1616110974,"scheduledPurgeDate":1623886974,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey59746122c","attributes":{"enabled":true,"created":1616110921,"updated":1616110921,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOak5GTnpCRk9ETXZRVUkzUlRFMU5UUXhOMFpDTkVKR09EZzFSRUZGTlRWQlJEUkNSRFZET1RVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2463' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOak5GTnpCRk9ETXZRVUkzUlRFMU5UUXhOMFpDTkVKR09EZzFSRUZGTlRWQlJEUkNSRFZET1RVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c","deletedDate":1616110923,"scheduledPurgeDate":1623886923,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey69746122c","attributes":{"enabled":true,"created":1616110923,"updated":1616110923,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '379' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c","deletedDate":1616110936,"scheduledPurgeDate":1623886936,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey09746122c","attributes":{"enabled":true,"created":1616110909,"updated":1616110909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c","deletedDate":1616110998,"scheduledPurgeDate":1623886998,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey19746122c","attributes":{"enabled":true,"created":1616110911,"updated":1616110911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c","deletedDate":1616110961,"scheduledPurgeDate":1623886961,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey29746122c","attributes":{"enabled":true,"created":1616110913,"updated":1616110913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c","deletedDate":1616110987,"scheduledPurgeDate":1623886987,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey39746122c","attributes":{"enabled":true,"created":1616110916,"updated":1616110916,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c","deletedDate":1616110948,"scheduledPurgeDate":1623886948,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey49746122c","attributes":{"enabled":true,"created":1616110918,"updated":1616110918,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c","deletedDate":1616110974,"scheduledPurgeDate":1623886974,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey59746122c","attributes":{"enabled":true,"created":1616110921,"updated":1616110921,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOak5GTnpCRk9ETXZRVUkzUlRFMU5UUXhOMFpDTkVKR09EZzFSRUZGTlRWQlJEUkNSRFZET1RVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2463' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOak5GTnpCRk9ETXZRVUkzUlRFMU5UUXhOMFpDTkVKR09EZzFSRUZGTlRWQlJEUkNSRFZET1RVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c","deletedDate":1616110923,"scheduledPurgeDate":1623886923,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey69746122c","attributes":{"enabled":true,"created":1616110923,"updated":1616110923,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '379' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:43:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions_mhsm.yaml new file mode 100644 index 000000000000..08ec1f0e55ca --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions_mhsm.yaml @@ -0,0 +1,437 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110763,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110763},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/9d51a15728844672296d91a6a4f95cae","kty":"RSA-HSM","n":"lthkV_blWLqsUgEM5W6ygGJzbanMTRHR1jsMsLKSPNL6MeovTd9Dqf-2rhES9WkOIti1NIKQqztfsGSUmyEBjCENsG48-yZAMXGhADX69UscF8Q90elZX1pVkLnX5Fe-VXzbx_StNl15njsFQD1J3qN26cCQMZ4qWmSKeRK4FGGx3fT3-9y6lDB2Zsr7tTzrbbGmkWRL7gumWryppHabohisZc5SoabWlyKYBAYt6SnIK2arUzC8kjRjOBjphFly8Om-m_hY-VJssiqreNx-rKEw4Kaok4_TD-Y3Zkjsx-iw-e77K_Ll8herMtRnew8VF7OTZaV4kJa89j2mrhokzQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '210' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110765,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110765},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/a97b6ef52bba0acc3bcd267d472423b8","kty":"RSA-HSM","n":"twbrcnmWZlguqyq2WBMS9x9ZQAk5OpsLfw-lF5hQ5kqwc8Ekbj3mmiq_SifRQsfI8Q0ha9n6MB2XAYmFHyYFlm_MJp7y0oBj0DhC4g5gOAJrwX4EnRyEKr37c7MuUugWNGj9fdfnWDpEk1ZzsCH2xlo9Bmbo6_pBsiklojg9nb8jDNHD0cJkXeNzvCbMCnQ4aLwLxYrcBE8P-s_L_JTr1waixdtuILFzeUX2nN2JcddKEGajXUtRdoc2l11Ua3mNHV2HJJ-q9XsshRkKVfG7YRZCq6bvHypuBbAcJP_7oP6BSFkNBRg1SNU0NTpQ_d9r15alcmn_f7XZq6OSyEiBnQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '296' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110768,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110768},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/491c992cfdaf40a5a45cc6f6cb1fbc78","kty":"RSA-HSM","n":"rqkxo1AnkLvcgajKvWVpKbGpgU1SDWYftoWNUW09YDzvZ4WsFwk3Nb3ju8WvNJInAtqTCCPJgZRb2fpkQaxD_Zjj51h0seYvY-34-sZzIm7EP86tM-L1mqHs6UrgU4uIpPte81_M8gsyeGcrXsRxvFcD2nGse8kAbQKKv7JQoholQLuJJaY3OyUJMDSKlNSPdQT4WgNn85GbdEM3BkENithujXjAqjbo4lStdAjbZ1828wSwVFOdpcS7cBSdb-GEoIshw0yXA1ENLL_jkrcUZP-H7d0qD-p24TS_tA1O9Oxh2zjiajK9AkTIlqAA4oXJh0OHl2YqVKIQxIJZ8oragQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '302' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110770,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110770},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/17c2c2c4dcf64052b1671cb6792e9387","kty":"RSA-HSM","n":"jujsvHEd2cpozCy0Dy5CooYcSHb_ITSt5lxVVpdAf6Vtbd8edL1riUJjoAqch8iJfYtDRF1lwQzSwEoKDj23dSPAfEXgPyW0o21bW6lhaa2o5UsMAKwz9c-CJkW8jAoml6YLHQSKP6j06I5ZjPXPUWN4WTZ_Agj1pcv8B5hDzNP4TvYZPPQYsNum_rFOfRnQzpzJM8siWuSvjY61ZRz5Dvslx-cJeb3rcRBFXEZIHqreJbtMG9-B5wGP_9v7QLvt3XeHKiucvu2YV1hKPx2RVQGh_O5h2XiEpEb1TYCfedl8K57VuaoxCVXjb95uS9XKbAbK08CA2cFxpUhaV8Fqqw"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '293' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110773,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110773},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/b07267fb73034e3cb03ac8e10b2d81f7","kty":"RSA-HSM","n":"vOTyzCPOFG4ypaFnUCvmsl7-_dvvJpK0ZvgpVVGdn6qHWN_mEGeDfk74mq_PbYSt9IepZgH2nkEwmJEvSbhuwW1pyAU5hs7w_GwvHAy7kNMeCNQg5-N9yTPvyaJaKI7DKDM3qNA4cx7qtjWq5iO1RlS5UTaQNBGJL0bUROa-VEiguH0e5JsQt_AhrS2r3EiCfgp2retoKmKNFwsCI1iUfQOlKuyIUWmzSFcjMcbP10lOXes3jKv5IRp1MLNaFA_xlOmZKRNFPZnuWwwYkueBGN9BFktb5_Sy8C-uyEpUL9IV6_q21SOIky_H1JWrx-ZOGS6nvKdNS6ojKpYJBULVWw"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '296' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110775,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110775},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/a4ba73bffa4f0fb3a310be1aa8e61a02","kty":"RSA-HSM","n":"oweF62mrmYnmI9zrASybr9XenytoUeb235kWq09XThQgUhJpTtigpgrKQfwIwtFyg_IxKtLc7T3GL_vrMyDT642ALB_AMjl0jaUXQX4GyT_C1D0wCUbPrxeesBH55lCLo4D_eJIHhTd3bjQAbPz1eX47hKpTVfnzYgvjiG6q3QtZTdm5_4KH_NN9Irzv1x2Jh8nh82L9Y4e5CirrxDAdXqgDJ8sXPKz-eBNKLxvsusdYMVXJ6eyhNX1PpfjNnieLvzMMG1jiZqgGx_gBl9IMo3T-6OcmGbT3M57zehbrNpg_NrEH0MaaOz01Bi4SYDQRhEogSDPsM8YBOWrhgS0F_w"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '281' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616110777,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110777},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/34bcba7842a54788396291001ee03233","kty":"RSA-HSM","n":"hgYiXDq1l3m4fhXOHk_He7_keRxVBeNCZeSfhy_bL5ej7oiwzrZyR3WusD5c_k7W-v4JHXZ4nLaR-H9ovJfUcZVRPgwUZWRJ-jQp5DwPWhRU1dp_ZhEX6Ho8j2uzaZ_eW0D_WqiJ5O8S-a6jhQyPVGTeN7Uw8l31Dpo3qFt-nYCnEV9T-9lhVlPKxa_DJzmhY9NvB9Nv3jThVHI8_MtWnd54Z1hnfQNcur-yjwqG7WVfitX0NQ6eWd3X96qN11iDwFAmNYdjOnhaE73tmbEOYy3ilADFywd9aLFwJa77NW265841rkEyH_NVt2gdfln-g7FnxUMYmIHAub_fzFaETQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '316' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/versions?maxresults=6&api-version=7.2-preview + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/versions?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVFhQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz","value":[{"attributes":{"created":1616110763,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110763},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/9d51a15728844672296d91a6a4f95cae"},{"attributes":{"created":1616110765,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110765},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/a97b6ef52bba0acc3bcd267d472423b8"},{"attributes":{"created":1616110768,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110768},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/491c992cfdaf40a5a45cc6f6cb1fbc78"},{"attributes":{"created":1616110770,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110770},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/17c2c2c4dcf64052b1671cb6792e9387"},{"attributes":{"created":1616110773,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110773},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/b07267fb73034e3cb03ac8e10b2d81f7"},{"attributes":{"created":1616110775,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110775},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/a4ba73bffa4f0fb3a310be1aa8e61a02"}]}' + headers: + cache-control: + - no-cache + content-length: + - '1844' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '101' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/versions?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVFhQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz + response: + body: + string: '{"value":[{"attributes":{"created":1616110777,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110777},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c/34bcba7842a54788396291001ee03233"}]}' + headers: + cache-control: + - no-cache + content-length: + - '282' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '33' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions_vault.yaml similarity index 56% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions_vault.yaml index b39e0ab41018..376fc890ac3d 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_list_versions_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:19 GMT + - Thu, 18 Mar 2021 23:39:40 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/b32ea29a0c874706b8503deac45e209c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"w-MWYX7So_TlfRiyCgaWJi3EWVJoXrgrof23GKBBWo6zCKvMx7FtgrmdQAp83zYxVWOiwoZ1kU4xRfgFUo1J6qNtAKnt45HQ2zynxgdScS_X9fYYOlWeecEd26o8_iy-EVCqawws0GjgkJ_N5Eee-0h_vNgFk0gvQ8iNTYz4DA0V8X4IRAIlZ3eeFeh922yvZwxzEqSSvzZkwVpzb1eI-eQHIAr6YIzCTdA1qcvfYJYm0K9RKQ3Ly0AW6TkroL-s2ef_wdrVGC6WudmW81n46xxL9jUynNVn5yzgwUxrJZNk0Xoxjfckueln3eO6_QxRD1Wz7jtb6QVwc4FE_8LcXQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579040,"updated":1612579040,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/a932645ef79f4ee2a93fc569d69127d0","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yZEQ15bXEYfkmnl6txkEDLzcHHzgo93r0VxhA7XhpFTYAYppcdyUrJqeadR7lDPCnFtD5rOL_Fj3cNY-iD11Lwj1Sb365Y-LpDLvhnMWBHLQbyPlIgAMIrMcI_bEYzaMTU6lnHihYNFjyzCaAv3MAguBEQ0jJ02xlNiQq3fvVECTls4je3QLaq34JrPNNKHRbcYDsXgjTCEWGUhtH43d-JQapOFyghKzIdj6Z4Uv_hbEK3weQT5M9Oqb3kfSth-Om_EeneQlEGigM_y49R48kRyIz7XhLJ3Giq5VMlr665JkfEyNYV6u1NwaWmRFfMD5lr7JPMPfR9N3Hf8l32MB6Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110781,"updated":1616110781,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:20 GMT + - Thu, 18 Mar 2021 23:39:41 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -113,12 +113,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/4f231a861d794126815d7063f0614a84","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sPuldRyldE8oRzlraMl43OY14soG5nzQ5gFQVCHVbvHWRZO55-0oBz2oma3-8CQN2QnTp4gF0743rcPmznewiR9dBm-bu_vG-ve1wdSdzAwuI3cGhixAUGQY9OjKrP3faubl_4RYCDjEbDCXW3up1YkSDdyMUSdqxlenjp9Xky9mUr-H50uglFbL4G1O9YYCp5Ejkzpagxu58kLoAgei4FfLZZgpMw5zhQ_XcptWqpU9kmqIvi0djFA4A9kkIeYoNyWneHlDSwBf16FxeT4IibNzM8eMNvk8tHaGQ929xhoFK7FqHM1fPTfmxOuFp99OCl0efRgNzRDVwjoA0TtqEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579040,"updated":1612579040,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/2535777a71674291bec48df05c2a5fea","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6TpuGYZ_vNHL1I6ZbA1xVuGYixR6ZmfJvAnhtcHyUAGDOIDyiCr4ds67WzbXCdEpLbCalawtj3BRZ7PmNQ4t4CHWwij-e2zuzf2ET_0tGlUy77kztdF_s3Qhs7cDXS7UkA9_p4ZmwsdQZ8aeElMvIcVsi66aDSLAJM3Ze4I9AvBluigY3sUgVhvHpYw_yTkTkSPRSBHMvbYsv3KuY8rqriFxBOAyg8Ux03mNYqN2znvzzleD556VVrV9lwIVBIm78LlpIf3bS7-pCxbZfiIHX70j2p__IFjnw7JM2lOvhy8irQHqsVeIV7Z9Ozy89v32U9SjvqySrdC4HqGZBDSQiQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110784,"updated":1616110784,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -127,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:20 GMT + - Thu, 18 Mar 2021 23:39:43 GMT expires: - '-1' pragma: @@ -137,11 +137,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -161,12 +161,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/84fddc56bdc54c2fbc9ac0f2bb1045cb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"safgoyLNKUQzeKIlDVBh4oG6MLuA0sJIR9e6HqzbSVNQUAh9H2xFFqQOEan52yoBMuJqU6ucOhHGZEQs8U4MF9fXyr9jF1941wUqSl_xl6XrVk7xp9YK7I3aM6uhnMeEYotUad0HDu094rMCVsfbGEBArWn2yJxocg4GmH1pCNTfAETmmilgzkS7XfInH2pOGhyat8dNHG41214nC-3oIlfxP8wi1Z_wkqeJesqRzHM7gg6T6xFmmX37IGx0xAYXub9NOJKu0AgxbMyJ9uXDLVza485MwRfpOSeLDEo-B3jQQ0hYqVlbAmZy2Tw0ZZaV72OUrRDpmu0bsu9DYecG8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579040,"updated":1612579040,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/0a4cefb86fa0475399e1862d95b63bc2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0EbMz2D-ggvJPvM7tJmF2Xh1WSbqkF1BwbGYF7kdxvv0j1PQcdue7aeFyseu8iS8EtvfmEO0_ONg9wrv8XyJNjqnKBifGBJQwm16pDQJnl3O55JC1NNYwVCjSlGsucH_VpJFmxRpJkYuqFI_QD1TY7UN_0ZVOB0zN8UR9_ZuRCp2boDKvlzbOjvVSrll8bq7oc1cM_rWHUcS0lHHdmhzaZm-uHPMZUjt74IEYXDGkoJWtjjZ2jmu9VzAKw7lGGUGNi5aBnYjyWLfJEJIig2jnz7OQzJ0uzqRx3Ejcqn0h_fArC8P3Y_I9h1HkmdCH11Zf32OwO743Rncc-o64D_ljQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110786,"updated":1616110786,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:20 GMT + - Thu, 18 Mar 2021 23:39:45 GMT expires: - '-1' pragma: @@ -185,11 +185,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -209,12 +209,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/6d7b0ff8ed6e4d2283fc4bfd6437844b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qvtEOVIol35Z9FeKoHDNv2KVQBhAAweVDR1PIhWqlOyCVU9BRxoSgUvcV3IK8eF6IZrgzFdIxkSvPnCd3Hex5RUrfDYdvMe-OVqUnRL_kTpb_XmvvAnJxXA6vdcC8QneYHQtPIlJwFXXrUPqeoItBhl9zP_kuPpL83FlQV93OLc1FS6kzhBkHN7AEVz4dMztMVdUtKAy2SM4jNHxHQlmhMeibXnzuzKbvq0LEJNVcys7Z_KC_DzaR--eDtrzwNeKCFiwRBPZ3AHrmrGH_z3dotKb2L8qDQhxz44g8LuXNIpOQmhddRoTy5yu8cCGeoDDgujGuHb-mOMvNhAY9_8CUQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579041,"updated":1612579041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/ad8f8aa85bbd49a7b4445529613cf7a2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"16_9g1Muwtj3ZfNYjQe8xNO-mJ-QSvDruuFPXnjh5zcZK26j2mDEL-ojLsB3F2HjQoY0tZmTNIFlbqChand3kEif54CnIt9a3IaKdz9SWsttyXCWOD7SFY8yn5hV0B5sKLIoR33RfUmDsfsz2TtR7mMJaiT87QLCeEtExWk1mLt2KL5YEYV3g3hOj63m-h8lKZtWrIyDKRYEYNxkPjqg8xgF2iAPxdriijZn_aJFguVUC8yYzHGZuVpu7nyBfyVceqGHHI2sHGTOpDa9ufnkIEzb2wzDUMCn-TTHAqQ_Z790T5mYBvPRIaC0CqEAOwcb05xKTXdLPLpiPnYAha4HfQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110788,"updated":1616110788,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -223,7 +223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:20 GMT + - Thu, 18 Mar 2021 23:39:48 GMT expires: - '-1' pragma: @@ -233,11 +233,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -257,12 +257,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/2f9638b5889d47a6890fd18935977b34","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vdsNHA_L83gMsxHFEiMiB4FMRWjHgpaSKk3jiEDlPJ_P9NkfziC4mZ0UL3TwKNKz_R5b39vmtHWYWd5sTq6A_CMpP6ePtmR1HRHg8z2lommnXGw6XOmErs_creF4OY5mvSboFZ9cwmqb6a9u4WHvRNUbCJFt2nE3bv8eGzR9S9Sb9sn26wVtvQzFdhnV2IiIAORZlYXBFFPw_LGzlEV3CAm1QsheP8IYiVdew0YZnMw4XJvwaqfIAkPHo5NGMVuJj6A-J02PqPpUWd1flEkfLg3AN-J0UAgDwBf7KuBc9Mpe-yylJU6h5pTmMJlz1a0l3UVKnlOm1blKFvNmONK_8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579041,"updated":1612579041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/9fded1eacc6e40928074b1522c886377","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sISXwzAOBugXzDOaSz7j7YiGPixjKc7exr9ZyC1KjbteigIUpNN5Ana2KYl_9SRGQi4vKs1O1MXGyFgNwmr66tICML34OkjDwQ095MjX6ISSMxIMy4USZ44PuELMoMQfinY6gC6D4Oq8aFg7F-D3geKuw-lm9EPWS67e9_liVi9TqKsuzF_y9jkk9X-QJfRr0pxsrArKks3yU9o4sagsD0j01dsVUiYl3kfJ07jdobdy66TssEX1dcju1aM2rzEbKlyU7owhRNvLK06F6mrlzNweIIsRKSiJNw-Qfuy9_6ZPjwj-DG4AFY7XEV-tXQosPh7IuNAJT-nP7XRQGU5L1Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616110791,"updated":1616110791,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -271,7 +271,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:21 GMT + - Thu, 18 Mar 2021 23:39:51 GMT expires: - '-1' pragma: @@ -281,11 +281,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -305,12 +305,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/fc9146efa8e341a1afd3a8385e5039c0","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qfqv-9sHWlNJM911mAYj_L82PX9R3zWcVlR4jgs2bU6va9tH3Qy-u_nQ77D-7UmklpjlrMzD-VTxebFY86AP84LqrkKvO8sEQfSZaGNpHfurxpKXLY1ySAbzi2F43kuwVsyftI0bgzRc5MoV9LD4KwekqZpL5vp51UDdUqGUTwU8WdZy6CLnkMs7NepgiGbmxzAgKUv2G-DYQZ79SbxNOMBEfDN7eu7QvfJQPaU9gR5-6hQG6iQCYU0MZElTazAeot2J0oVq7iMezeY91_k92GGj5aOwQ05X-Z_x9weFY-M6dT2cxsTYSaTPfltNYu16tMCY5ZV5sIBt-IDBSCEZbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579041,"updated":1612579041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/52b2700931af4863a56afd4d2c39cc96","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"stjK6eWiaWUmSfZJXb7D1LqefDa_v0yUoh_XWQNlfGE19RAjA3ErOSXA33fAAW3Vh8NVA2MT3me79vsKNiARGz8j9YG3ecwTfWx64mseMKym_Ej9JtsiGUqeczD1nnT_ax614tOwV97KdttdSwezGW7xT2fYsQMu8BaBUeq5_dSUra_-vSrzkhwKvzA6a0z1kZead-jAWtIJLC0vnouMDoEyv1Sfg7MiFO01enad_uix0qJaD0JGJk25l2TSVJKPXjxi5tnn0HSrMD_RiW7e-RksIluijMzjuhd4IkaGl2jlgU59mEL8epMf0E5pQouCB2rSxqFQ2jkkQ2L1I652BQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110793,"updated":1616110793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -319,7 +319,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:21 GMT + - Thu, 18 Mar 2021 23:39:53 GMT expires: - '-1' pragma: @@ -329,11 +329,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -353,12 +353,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/2b6686f814d1486e92b7e1953f92854a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zhjU07WL4Ymq3iS0LzeWbqmip6bRPXoIUusM8jJMwsCEXK7DTtIUb3CTNVFE9FFYwKXN8X8-B6on5Apyf0SAwTaXZczIi9EEnz35B0NnsaVlSPQ8dSpMvrLzkWuohCuRdA6KECk3hbobvEy93STzRRord9FTGiqpvnJg0XmJcdz2EgCyZnG107AvK-p9Siwmo2u5qc_SCY5eIOjdCLhmr61CYaM-1DvrXa-B6HNn8sqwjXoQbxasCl0Rhn15Tiv1rE5BevksJDXzGA25lqgOWSvGgxBOp_ehvPN82G_0j6MO5FFgxTLBqgU6bQlUvt1iuzrSiMRgd7TBJFCcrQwVyQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579042,"updated":1612579042,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/c573fefd9b664d568116c2095a95c0fe","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uJaAmBco1KlXj3gXohhHwBHfR1E9wP9wW1pQdWHfHJr6vgUAu1FFyXP8WWLc1SMy_ryDwbIPM7Buo50afv9jkpuntHNfi0LP7s179m9ZcjcEKfQTNt-mmmK3qprabxZRYBYzCHOGPe5U7ZAswIkY56_W0v3A2VU3Zf7K4pYBh9MjaZKZv4AmF-OdrXz2IGKrgCo0AeWGNsnuNOtcRpGM8DbqUJ46AATbbDfDV6n8CBk8ieEnXMpYYumZcrqpjKS6jR7xuAI6TFGarZabTMVVai11TS9JT4atPuRJ9jJhD1JwuZ9TdpXOvdKEj32FtrWZ4Bi7LFHL8y5iCbjBKqg6wQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616110795,"updated":1616110795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -367,7 +367,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:22 GMT + - Thu, 18 Mar 2021 23:39:55 GMT expires: - '-1' pragma: @@ -377,11 +377,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -397,12 +397,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/versions?api-version=7.2-preview&maxresults=6 + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/versions?maxresults=6&api-version=7.2-preview response: body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/2b6686f814d1486e92b7e1953f92854a","attributes":{"enabled":true,"created":1612579042,"updated":1612579042,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/2f9638b5889d47a6890fd18935977b34","attributes":{"enabled":true,"created":1612579041,"updated":1612579041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/4f231a861d794126815d7063f0614a84","attributes":{"enabled":true,"created":1612579040,"updated":1612579040,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/6d7b0ff8ed6e4d2283fc4bfd6437844b","attributes":{"enabled":true,"created":1612579041,"updated":1612579041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/84fddc56bdc54c2fbc9ac0f2bb1045cb","attributes":{"enabled":true,"created":1612579040,"updated":1612579040,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/b32ea29a0c874706b8503deac45e209c","attributes":{"enabled":true,"created":1612579040,"updated":1612579040,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys/livekvtesttestKeyf5fa0e28/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1VZMVJrRXdSVEk0TDBJNU5qZEVPRFF6TVVaQ01EUXdSVUZCUVVVMVJURkVSRFEzUVRaRk5Ea3lJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/0a4cefb86fa0475399e1862d95b63bc2","attributes":{"enabled":true,"created":1616110786,"updated":1616110786,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/2535777a71674291bec48df05c2a5fea","attributes":{"enabled":true,"created":1616110784,"updated":1616110784,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/52b2700931af4863a56afd4d2c39cc96","attributes":{"enabled":true,"created":1616110793,"updated":1616110793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/9fded1eacc6e40928074b1522c886377","attributes":{"enabled":true,"created":1616110791,"updated":1616110791,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/a932645ef79f4ee2a93fc569d69127d0","attributes":{"enabled":true,"created":1616110781,"updated":1616110781,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/ad8f8aa85bbd49a7b4445529613cf7a2","attributes":{"enabled":true,"created":1616110788,"updated":1616110788,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys/livekvtesttestKey53b010b3/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1RVelFqQXhNRUl6TDBNMU56TkdSVVpFT1VJMk5qUkVOVFk0TVRFMlF6SXdPVFZCT1RWRE1FWkZJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' headers: cache-control: - no-cache @@ -411,7 +411,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:22 GMT + - Thu, 18 Mar 2021 23:39:55 GMT expires: - '-1' pragma: @@ -421,11 +421,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -441,12 +441,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1VZMVJrRXdSVEk0TDBJNU5qZEVPRFF6TVVaQ01EUXdSVUZCUVVVMVJURkVSRFEzUVRaRk5Ea3lJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1RVelFqQXhNRUl6TDBNMU56TkdSVVpFT1VJMk5qUkVOVFk0TVRFMlF6SXdPVFZCT1RWRE1FWkZJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 response: body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28/fc9146efa8e341a1afd3a8385e5039c0","attributes":{"enabled":true,"created":1612579041,"updated":1612579041,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3/c573fefd9b664d568116c2095a95c0fe","attributes":{"enabled":true,"created":1616110795,"updated":1616110795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' headers: cache-control: - no-cache @@ -455,7 +455,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:22 GMT + - Thu, 18 Mar 2021 23:39:55 GMT expires: - '-1' pragma: @@ -465,11 +465,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging.yaml deleted file mode 100644 index b813a7bab04c..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging.yaml +++ /dev/null @@ -1,63 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [azsdk-python-keyvault-keys/4.0.0b5 Python/3.6.6 (Windows-10-10.0.18362-SP0)] - method: POST - uri: https://vault458ad70cc7a7570b7b.vault.azure.net/keys/rsa-key-name/create?api-version=7.0 - 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, 23 Oct 2019 21:10:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - 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-aspnet-version: [4.0.30319] - x-content-type-options: [nosniff] - x-ms-keyvault-network-info: [addr=131.107.160.72;act_addr_fam=InterNetwork;] - x-ms-keyvault-region: [westus] - x-ms-keyvault-service-version: [1.1.0.879] - x-powered-by: [ASP.NET] - status: {code: 401, message: Unauthorized} -- request: - body: '{"kty": "RSA", "key_size": 2048}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['32'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [azsdk-python-keyvault-keys/4.0.0b5 Python/3.6.6 (Windows-10-10.0.18362-SP0)] - method: POST - uri: https://vault458ad70cc7a7570b7b.vault.azure.net/keys/rsa-key-name/create?api-version=7.0 - response: - body: {string: '{"key":{"kid":"https://vault458ad70cc7a7570b7b.vault.azure.net/keys/rsa-key-name/9aeac0a9c2b745d1add0edf5fece3b9a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"hntt8ixuQp1fc5FmNPyY0y3TOhIevRE3Oj-RW4nnZJKEku8hLSpOPsbO7sbpPL3eBM_ivaJkgFMR3VJlyXAk3hwTebxuXAHp3A6riCKYKMbpWiywBMMYy8Qo5rh5GEYPFylaMIHAh0Bgn0t7rwSRGB_vXU1dQsjQZElOrG25hPUnz_tkotg2SDA1N0QLpKcU5Ok3m8NC1cCdfrOwJF6FJaOHp3_rLXmhWXE9fzaRHw8S4gxFvYLYksg0deFNHhdTlqlDLCFSPZXHo4pOcUWLrA-GHXbt3BBuzygbGFmKQn27EAGNVm4HvYPwWUdjVHzhmwGIWW4p_18aPrQ79GkuPw","e":"AQAB"},"attributes":{"enabled":true,"created":1571865015,"updated":1571865015,"recoveryLevel":"Purgeable"}}'} - headers: - cache-control: [no-cache] - content-length: ['658'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 23 Oct 2019 21:10:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000;includeSubDomains] - x-aspnet-version: [4.0.30319] - x-content-type-options: [nosniff] - x-ms-keyvault-network-info: [addr=131.107.160.72;act_addr_fam=InterNetwork;] - x-ms-keyvault-region: [westus] - x-ms-keyvault-service-version: [1.1.0.879] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled_mhsm.yaml new file mode 100644 index 000000000000..39b8a6cbaf4c --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled_mhsm.yaml @@ -0,0 +1,89 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name72141126/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key_size": 2048, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name72141126/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111203,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111203},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name72141126/bdd8feb0e10103e88e54e4277f59edc9","kty":"RSA-HSM","n":"s3vsNNSNNJF8vUmS-87ufX_4GGv-rovpr7-1QZEFVN9ykSEFVMcHhFVYFz9vh6cO0QpMJOzKadiAR6ugG3OlWwBU-QuGLi0EB4PJarHTZgZ6KIS58Dduyk-K4deKwSD_0cWPgMbQxE2HkbloU3M6mJ4zRrxqmZpjvqMIcp477V7xjHmVpHZhvffu92zmUnv3_644zvgMeMhXs2jZ3WrjM6hUef7zSM2yDL1mjqFG-mgcqwFhw41SCWfXQETk5qA1yapG4UeyKAYWAPqrBZJs0JaVblPzlRiZMuPcr0P48pFdDKM8xyf_sO4UzP4tqtMlPiDvFWzJRwJv7VWln0TPtw"}}' + headers: + cache-control: + - no-cache + content-length: + - '729' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '241' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled_vault.yaml similarity index 63% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled_vault.yaml index 3e2e7f69f433..1b1470374288 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_disabled_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name20a00f12/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name83c3119d/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:23 GMT + - Thu, 18 Mar 2021 23:46:46 GMT expires: - '-1' pragma: @@ -41,18 +41,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"kty": "RSA", "key_size": 2048}' + body: '{"key_size": 2048, "kty": "RSA"}' headers: Accept: - application/json @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name20a00f12/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name83c3119d/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name20a00f12/b52739afd64f4f93bc6597f2ac8260a9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"40wJ8Q93AybsxMxUA9EgNoJIS9cJuclRlGm_2qqHBaoaXpNhk8kTGIT1BNopAmyxakt07iKWSsf8ZWSev5KIy8mAzKKG3w4sexwHPYmyjLnuJxchGNxTeen6ASAeTNi6JI65m9jjSph1qptNijm9zxRVF-Fmj3VG4jdSq-Ju9tjTk3KPGQ4CTr7IdS8flgGjNkIciarwo5YazSOlcieHVMtdvHP-wW4Gte7bg1n6eNm4hc35fsGsWNUhQIBWJ1X6qygXuMO3pkagIaGPWM99vH7ZKEKWoixT96uwFn5kxh09JEsql9O9eqSaJU9oZbAaaYYC2FSgWWNTaT8G38P6ZQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579044,"updated":1612579044,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name83c3119d/193d39e698ce4cd0a452ef07a7553ddc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uusn25cTf_kWKVmB640gL3S0zyN8D8FP8yyChH5jf7MI_kskRojoedV-20g6C-lHea8KAFteE3ERB1SEhIc0u7uVmKiQJm7q1n6OLsghbmVXqEQmfSZgn8U6bOP1TpaKc54pViS9YrVoljnxu_ZmPHSZUaey2GSnqYodLRyH3mBrVQHdubDTvdyrovsDkhSe847_JhPKQfEqLeP0M5HU06QbkS9Qs_xybLvREpZZ_jZOCM4S8yOdDHB65McPvSmD4Hf1DkAG8-G6d0stIBh60Tz9w7ImsdoxoPubS1N9gcw73Y0sNFxYS5cOJECwDWPt13IsOmcXaI4c8V7L_5AkcQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111206,"updated":1616111206,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:24 GMT + - Thu, 18 Mar 2021 23:46:46 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled_mhsm.yaml new file mode 100644 index 000000000000..234c35ac305e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled_mhsm.yaml @@ -0,0 +1,89 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name60bf10b9/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '0' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key_size": 2048, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name60bf10b9/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111209,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111209},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name60bf10b9/76405598204d0f2815354378fd3ad820","kty":"RSA-HSM","n":"njfYdelVKriZIhwf9C714o_l4d9c4Cs2ibQu8aR_rrjKHAZyWipYsLRgjg_KiAAPjy0u5k5bjlN2P4PBT4rcMDquDGZ9f1_azQ8CEZ2wGM6yuby2Xt_boNliHxqKhvQyu9O3k9c1vxFfrFxAR-_8GizAD35GaSF5ymkcaHcjwcoJrJN5pyFRfmlRNRUaJWL57G9CdvNcToqVV_Wo1o1jKBUNmKGNDY-OFtrtoCUwkSuDp1SV9ha9MclIMHo4y8T5UC9Uqbb10jds-AYpEOnNCVmFsLvyjD1XEghH4550ZGJFKZjIVhn_ffg_6Rg4GDegqUnUIAbpHPgLjHRVwZsatQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '729' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '218' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled_vault.yaml similarity index 63% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled_vault.yaml index f66f5e87b005..ea681fe4f77f 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_logging_enabled_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name116c0ea5/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name72011130/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:25 GMT + - Thu, 18 Mar 2021 23:46:51 GMT expires: - '-1' pragma: @@ -41,18 +41,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"kty": "RSA", "key_size": 2048}' + body: '{"key_size": 2048, "kty": "RSA"}' headers: Accept: - application/json @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name116c0ea5/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name72011130/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name116c0ea5/57cbc7b3579d440e93bf6a239ab78d86","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"q1tuxUlclf7sT7T5AOneL60aIPbWRFojVqBemuiO-PcaW7p7gF3zSlouBbMr9YdBPRFwg47AdEkwAU3kOgehZ-zS60yaUhGuBUZV8D3N7_Sw0eYWUTxDoOWOuP8ILANcN6xustSeuqzPpY0JXrzdy_iy-ozK1oqIhFVNucX8AGynPUdAKhARccuWdTmyd2TkGlm1uu65FJV6OpTpnkdoFGaedMt3iSErXt3AMfbnOhZ7HPODjoQEEENtK_FKTLlDi-Pxd3vQUZh44jqIuVx8IV3tO-jjVrYWLQMSVeYNnU5ow8eDKf6Wnj8mSoxa1xit3zds8IVKfowk5xRdBPtYoQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579046,"updated":1612579046,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name72011130/e454f4f7a7a94f2bb3dfa46d86b8786c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vvZriU5oh5G2yBzYBzCagMevND35C7G0UhtT1DUkGTdmhk6QPlazecD-ts6ZnLsp06N2XqczYocyS24BLyK86KnkO3-ZstzKjjVHiM5cA7QbOS-cRAmJkVK2UjqLMe1DI3lrGgLNDllwq1dAWoUhFtXZIo3Y7GRhNMF9KL0WXU3eA6T04fX3xih-nm4Po6gIZ7vyn-msL0fhydcmyL58Bn2_FoPwmCqmTnPUQ89OrZqZukVkoQTEazrV9TaiPuh3Bk7XjBHP_w_vP-WW1vn17kphb_AlCySVI0I_nAFTsaEXn7T72wAvIXhtBGb1O9xqoYl7beF9uBM2spTod5Y3YQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111213,"updated":1616111213,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:37:26 GMT + - Thu, 18 Mar 2021 23:46:52 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge.yaml deleted file mode 100644 index 529cf45f6b87..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge.yaml +++ /dev/null @@ -1,2211 +0,0 @@ -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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey091110ab7/create?api-version=7.2-preview - 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: - - Sat, 06 Feb 2021 02:37:26 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey091110ab7/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey091110ab7/1152b7311d7e4bc2a21728c9be391509","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yoMD7MTHhHSSUtoZiOHRNynsSJUs4AACGpmgSV5xwcZ5HY1goykad4CgIq8U7B1oCUvPa7izG9dobnNK8bHdFj4tjq6ZOKoibg3VTUm-GsEUyG4re380a3wR6CcXSXH3jTe8vidNn2-zcyNGNU59qfV4HzlLlCwA2j7lEBouAMesPoWjen_uaGf-0EEN3Q14X_hEHZjI6ZiLce9xpFRGktZLgG-6FzvX-NR5MOkZTjvVHc1DJ6CtyKdU__hKydlcEjI4a6NG5LXsc7CD-82bobPdd0TQQr0jG6MblmHZzacoryv2Vw7xPZHedZMkbe8m9w5L6tVTQ-tqlc3N_YTW0Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey191110ab7/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey191110ab7/10c08436657d4692b059317d1083927f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vcQJW_c1SGcwZWTX00YPfvjd59XRQ210CNQP_M4nj6CeM3Dfn-WIb0GFGp-KZl70F3cmlwBGUPp5Ut7oJrvOBZSMLBKA7Q-KcXwWCqrviArMdO2ssWUD7VqEV1BtSaIKlRSLLnV0bafQcr7qGmff1w5T5HTJGwdwXlc3cjpA1x8FLUxVtKcpKwVV5hluLahE6k0xatvIbtPjcw4g6UQZjwmqzP_bgJXQ7sBecfuTGLBKnv7d0fQHQAIGT9RTZN0CkWbIHIf-Vv7OmmVDAAZGG4U6W8XEdO7VKBJy0Lp_Nl-TaoUqu950BgjWHyeO8MWR_70CCrwgKf2rSgV3hAQOqQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey291110ab7/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey291110ab7/fd1a38fd9a204595bcb3fe99491165bd","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1lLIijPa54MHC7tgBP53B31BMLuf58awAdqo3ooQAeoJRBiWvEL1kFzTIR6XZRplJAyqLAlwjtiBry6S6cXFOWIRK11JsUYX7TtjMmS1NCLCgGpqVzFAG1yn5f2onk4onKNiSQb0FyQwB5TPh8RMqlDW9BnM8LNyUw2xGudSjXrMevq8cEkE-MJPEj0pTQEHVY0sSUoQKGwiL9LiK3XOUZpdN2YQP8fC6D31zJAFVuCjwJiAM2V037DczU0SIdTG6g_Wdz2VcjzvCgDklkfyk52TwOUmbtw9aE67gFr2cZDpL0vr6ARgpwhfJ6fFj3VoUlN5FBNTW-McITgfXbymhQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:28 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey391110ab7/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey391110ab7/e26443a9fdb04ee6aabf55840848efbc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tXjDX9W8zbylA1T340YMGwIPewkgaRkJk2djmBAZVLzwy1BcdIF89DUg1KjVRHA8zkXYvjoNnpj2RpNdez5Z2-r49SSg2XNaN7S_l2ox01eMcnQUgiiqFghavD97C-Q3lVwo74a-SfUVbbhTZm9ucq1S1p4mh8qc4ZLtWaLbbPOfk3BIPajM1T0Zb4rYK0wAcxMHkbIAX_fVHbgjdAXnIcYAhVa8DDj4Vl9nipSO7HEwcalxea2fvnqh4BI70IX0MovpO2GA_hG3sTv7haycoaeSCf0HBw5LvTtfkuhe35Npt4vWzNIPeZxw1PObADxpoj7BLE0XRFiEFdmIDIkGcQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:28 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey491110ab7/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey491110ab7/8c142efd0b3045e4bc7fa8e288e34cf9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wEW1HA907z_So0W6U1lTaOtx0EFlL1QeNIVpJGRdzv-3huYfu2AqJyMPRHr5WLuPAfnoQD14WhlIN2x_8SkgpgHZsSy2josfAQhhXM-Cp1ywrJUZEDHMce4xXRyN41PdXk_q2KaHHOZnDnvlSkuqT7NAA3qB7usB6joEJPG-hAXaOP8MNha2Iq2TFZf867abgJ6VTIbTzexHP9UBJG0-y-GYPXnO8Zyxd-x98ITJf2XRA2fGsy6qkNchlqg-2E377gYnCRxvgHWIX8H7gtAzinE-wM8ckBQFEcWhH19YLIge_5Dt4rppR9704gcqax2AXkeZUj12aFfqY9OYIogSYQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:28 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey591110ab7/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey591110ab7/d0441611cb2a4bdd8934146bdbeb5376","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zGLn_25gaSMfzqqVCKL0TWIZjpdtyuwwG0LTFMfskDM90ZMIz6OZJrrsYjj0LKmgF7jaU4xB192dqty06maOEQWYrENL1q7eTYUc2qE_EFrB9OdYJpuBlqUqKVxTAWFFniSFjjDDDENZ7Gev8DJ_n_b7CsiPuVuyrtoe8SVTF_GAPEVvO9ppLnFiXb_MsZjT-Q-jI1v6ogQPbpdF2vqbnQnEz40uqDDid7wKKEhedIVKZRPKdEAOSpTOj-22gCxPFd8Bp_THTK_iQXWnpKbkkumI5Br6DWJL6UauP_KIwRi2wMFZd8yQ2WJwfSCxHqOT_daDCZLW_24nUehsusSGUQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:29 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey691110ab7/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey691110ab7/ac5c95da8e8e4bb7a2bded0b1f360305","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xCDwvhJcADs_0JO1LbkhIn3wIo1FuJCybRd6vfTLeJdmG7i634LaLmWWpjHxUTehtcyKN1TqCA2l2M4Zst3fgsMv2p6RxJyhw1doWhyvGUg1J4DWu9BbQS1StfQ2T44yhgoAdOuVoN6PezOWEzTgMXmOY10_LoE3Wyv0C78-dMxHwut1WI0XvSEC4dnemP24nh_2pLG6V1ymzBylvMJHItLfIfHsHfu84MWsaPYyB1Bi3OEUrNyshAVvoFiZoZ7J31qHimGJ1ELh3455JxZVV2YcaqE23t7kSGi7qY6uRiCI85uOSYxlNphrQTfGx66Z5D9KDrGzptA2RuxJV6ZMWQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579050,"updated":1612579050,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:29 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey091110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey091110ab7","deletedDate":1612579050,"scheduledPurgeDate":1620355050,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey091110ab7/1152b7311d7e4bc2a21728c9be391509","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yoMD7MTHhHSSUtoZiOHRNynsSJUs4AACGpmgSV5xwcZ5HY1goykad4CgIq8U7B1oCUvPa7izG9dobnNK8bHdFj4tjq6ZOKoibg3VTUm-GsEUyG4re380a3wR6CcXSXH3jTe8vidNn2-zcyNGNU59qfV4HzlLlCwA2j7lEBouAMesPoWjen_uaGf-0EEN3Q14X_hEHZjI6ZiLce9xpFRGktZLgG-6FzvX-NR5MOkZTjvVHc1DJ6CtyKdU__hKydlcEjI4a6NG5LXsc7CD-82bobPdd0TQQr0jG6MblmHZzacoryv2Vw7xPZHedZMkbe8m9w5L6tVTQ-tqlc3N_YTW0Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:29 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey091110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey091110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:29 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey091110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey091110ab7","deletedDate":1612579050,"scheduledPurgeDate":1620355050,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey091110ab7/1152b7311d7e4bc2a21728c9be391509","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yoMD7MTHhHSSUtoZiOHRNynsSJUs4AACGpmgSV5xwcZ5HY1goykad4CgIq8U7B1oCUvPa7izG9dobnNK8bHdFj4tjq6ZOKoibg3VTUm-GsEUyG4re380a3wR6CcXSXH3jTe8vidNn2-zcyNGNU59qfV4HzlLlCwA2j7lEBouAMesPoWjen_uaGf-0EEN3Q14X_hEHZjI6ZiLce9xpFRGktZLgG-6FzvX-NR5MOkZTjvVHc1DJ6CtyKdU__hKydlcEjI4a6NG5LXsc7CD-82bobPdd0TQQr0jG6MblmHZzacoryv2Vw7xPZHedZMkbe8m9w5L6tVTQ-tqlc3N_YTW0Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:32 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey191110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey191110ab7","deletedDate":1612579053,"scheduledPurgeDate":1620355053,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey191110ab7/10c08436657d4692b059317d1083927f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vcQJW_c1SGcwZWTX00YPfvjd59XRQ210CNQP_M4nj6CeM3Dfn-WIb0GFGp-KZl70F3cmlwBGUPp5Ut7oJrvOBZSMLBKA7Q-KcXwWCqrviArMdO2ssWUD7VqEV1BtSaIKlRSLLnV0bafQcr7qGmff1w5T5HTJGwdwXlc3cjpA1x8FLUxVtKcpKwVV5hluLahE6k0xatvIbtPjcw4g6UQZjwmqzP_bgJXQ7sBecfuTGLBKnv7d0fQHQAIGT9RTZN0CkWbIHIf-Vv7OmmVDAAZGG4U6W8XEdO7VKBJy0Lp_Nl-TaoUqu950BgjWHyeO8MWR_70CCrwgKf2rSgV3hAQOqQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:33 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey191110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey191110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:33 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey191110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey191110ab7","deletedDate":1612579053,"scheduledPurgeDate":1620355053,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey191110ab7/10c08436657d4692b059317d1083927f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vcQJW_c1SGcwZWTX00YPfvjd59XRQ210CNQP_M4nj6CeM3Dfn-WIb0GFGp-KZl70F3cmlwBGUPp5Ut7oJrvOBZSMLBKA7Q-KcXwWCqrviArMdO2ssWUD7VqEV1BtSaIKlRSLLnV0bafQcr7qGmff1w5T5HTJGwdwXlc3cjpA1x8FLUxVtKcpKwVV5hluLahE6k0xatvIbtPjcw4g6UQZjwmqzP_bgJXQ7sBecfuTGLBKnv7d0fQHQAIGT9RTZN0CkWbIHIf-Vv7OmmVDAAZGG4U6W8XEdO7VKBJy0Lp_Nl-TaoUqu950BgjWHyeO8MWR_70CCrwgKf2rSgV3hAQOqQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey291110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey291110ab7","deletedDate":1612579055,"scheduledPurgeDate":1620355055,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey291110ab7/fd1a38fd9a204595bcb3fe99491165bd","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1lLIijPa54MHC7tgBP53B31BMLuf58awAdqo3ooQAeoJRBiWvEL1kFzTIR6XZRplJAyqLAlwjtiBry6S6cXFOWIRK11JsUYX7TtjMmS1NCLCgGpqVzFAG1yn5f2onk4onKNiSQb0FyQwB5TPh8RMqlDW9BnM8LNyUw2xGudSjXrMevq8cEkE-MJPEj0pTQEHVY0sSUoQKGwiL9LiK3XOUZpdN2YQP8fC6D31zJAFVuCjwJiAM2V037DczU0SIdTG6g_Wdz2VcjzvCgDklkfyk52TwOUmbtw9aE67gFr2cZDpL0vr6ARgpwhfJ6fFj3VoUlN5FBNTW-McITgfXbymhQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey291110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey291110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey291110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey291110ab7","deletedDate":1612579055,"scheduledPurgeDate":1620355055,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey291110ab7/fd1a38fd9a204595bcb3fe99491165bd","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1lLIijPa54MHC7tgBP53B31BMLuf58awAdqo3ooQAeoJRBiWvEL1kFzTIR6XZRplJAyqLAlwjtiBry6S6cXFOWIRK11JsUYX7TtjMmS1NCLCgGpqVzFAG1yn5f2onk4onKNiSQb0FyQwB5TPh8RMqlDW9BnM8LNyUw2xGudSjXrMevq8cEkE-MJPEj0pTQEHVY0sSUoQKGwiL9LiK3XOUZpdN2YQP8fC6D31zJAFVuCjwJiAM2V037DczU0SIdTG6g_Wdz2VcjzvCgDklkfyk52TwOUmbtw9aE67gFr2cZDpL0vr6ARgpwhfJ6fFj3VoUlN5FBNTW-McITgfXbymhQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:38 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey391110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey391110ab7","deletedDate":1612579058,"scheduledPurgeDate":1620355058,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey391110ab7/e26443a9fdb04ee6aabf55840848efbc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tXjDX9W8zbylA1T340YMGwIPewkgaRkJk2djmBAZVLzwy1BcdIF89DUg1KjVRHA8zkXYvjoNnpj2RpNdez5Z2-r49SSg2XNaN7S_l2ox01eMcnQUgiiqFghavD97C-Q3lVwo74a-SfUVbbhTZm9ucq1S1p4mh8qc4ZLtWaLbbPOfk3BIPajM1T0Zb4rYK0wAcxMHkbIAX_fVHbgjdAXnIcYAhVa8DDj4Vl9nipSO7HEwcalxea2fvnqh4BI70IX0MovpO2GA_hG3sTv7haycoaeSCf0HBw5LvTtfkuhe35Npt4vWzNIPeZxw1PObADxpoj7BLE0XRFiEFdmIDIkGcQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:38 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey391110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey391110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:38 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey391110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey391110ab7","deletedDate":1612579058,"scheduledPurgeDate":1620355058,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey391110ab7/e26443a9fdb04ee6aabf55840848efbc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tXjDX9W8zbylA1T340YMGwIPewkgaRkJk2djmBAZVLzwy1BcdIF89DUg1KjVRHA8zkXYvjoNnpj2RpNdez5Z2-r49SSg2XNaN7S_l2ox01eMcnQUgiiqFghavD97C-Q3lVwo74a-SfUVbbhTZm9ucq1S1p4mh8qc4ZLtWaLbbPOfk3BIPajM1T0Zb4rYK0wAcxMHkbIAX_fVHbgjdAXnIcYAhVa8DDj4Vl9nipSO7HEwcalxea2fvnqh4BI70IX0MovpO2GA_hG3sTv7haycoaeSCf0HBw5LvTtfkuhe35Npt4vWzNIPeZxw1PObADxpoj7BLE0XRFiEFdmIDIkGcQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey491110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey491110ab7","deletedDate":1612579061,"scheduledPurgeDate":1620355061,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey491110ab7/8c142efd0b3045e4bc7fa8e288e34cf9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wEW1HA907z_So0W6U1lTaOtx0EFlL1QeNIVpJGRdzv-3huYfu2AqJyMPRHr5WLuPAfnoQD14WhlIN2x_8SkgpgHZsSy2josfAQhhXM-Cp1ywrJUZEDHMce4xXRyN41PdXk_q2KaHHOZnDnvlSkuqT7NAA3qB7usB6joEJPG-hAXaOP8MNha2Iq2TFZf867abgJ6VTIbTzexHP9UBJG0-y-GYPXnO8Zyxd-x98ITJf2XRA2fGsy6qkNchlqg-2E377gYnCRxvgHWIX8H7gtAzinE-wM8ckBQFEcWhH19YLIge_5Dt4rppR9704gcqax2AXkeZUj12aFfqY9OYIogSYQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey491110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey491110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey491110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey491110ab7","deletedDate":1612579061,"scheduledPurgeDate":1620355061,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey491110ab7/8c142efd0b3045e4bc7fa8e288e34cf9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wEW1HA907z_So0W6U1lTaOtx0EFlL1QeNIVpJGRdzv-3huYfu2AqJyMPRHr5WLuPAfnoQD14WhlIN2x_8SkgpgHZsSy2josfAQhhXM-Cp1ywrJUZEDHMce4xXRyN41PdXk_q2KaHHOZnDnvlSkuqT7NAA3qB7usB6joEJPG-hAXaOP8MNha2Iq2TFZf867abgJ6VTIbTzexHP9UBJG0-y-GYPXnO8Zyxd-x98ITJf2XRA2fGsy6qkNchlqg-2E377gYnCRxvgHWIX8H7gtAzinE-wM8ckBQFEcWhH19YLIge_5Dt4rppR9704gcqax2AXkeZUj12aFfqY9OYIogSYQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey591110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey591110ab7","deletedDate":1612579063,"scheduledPurgeDate":1620355063,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey591110ab7/d0441611cb2a4bdd8934146bdbeb5376","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zGLn_25gaSMfzqqVCKL0TWIZjpdtyuwwG0LTFMfskDM90ZMIz6OZJrrsYjj0LKmgF7jaU4xB192dqty06maOEQWYrENL1q7eTYUc2qE_EFrB9OdYJpuBlqUqKVxTAWFFniSFjjDDDENZ7Gev8DJ_n_b7CsiPuVuyrtoe8SVTF_GAPEVvO9ppLnFiXb_MsZjT-Q-jI1v6ogQPbpdF2vqbnQnEz40uqDDid7wKKEhedIVKZRPKdEAOSpTOj-22gCxPFd8Bp_THTK_iQXWnpKbkkumI5Br6DWJL6UauP_KIwRi2wMFZd8yQ2WJwfSCxHqOT_daDCZLW_24nUehsusSGUQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey591110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey591110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey591110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey591110ab7","deletedDate":1612579063,"scheduledPurgeDate":1620355063,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey591110ab7/d0441611cb2a4bdd8934146bdbeb5376","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zGLn_25gaSMfzqqVCKL0TWIZjpdtyuwwG0LTFMfskDM90ZMIz6OZJrrsYjj0LKmgF7jaU4xB192dqty06maOEQWYrENL1q7eTYUc2qE_EFrB9OdYJpuBlqUqKVxTAWFFniSFjjDDDENZ7Gev8DJ_n_b7CsiPuVuyrtoe8SVTF_GAPEVvO9ppLnFiXb_MsZjT-Q-jI1v6ogQPbpdF2vqbnQnEz40uqDDid7wKKEhedIVKZRPKdEAOSpTOj-22gCxPFd8Bp_THTK_iQXWnpKbkkumI5Br6DWJL6UauP_KIwRi2wMFZd8yQ2WJwfSCxHqOT_daDCZLW_24nUehsusSGUQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey691110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey691110ab7","deletedDate":1612579066,"scheduledPurgeDate":1620355066,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey691110ab7/ac5c95da8e8e4bb7a2bded0b1f360305","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xCDwvhJcADs_0JO1LbkhIn3wIo1FuJCybRd6vfTLeJdmG7i634LaLmWWpjHxUTehtcyKN1TqCA2l2M4Zst3fgsMv2p6RxJyhw1doWhyvGUg1J4DWu9BbQS1StfQ2T44yhgoAdOuVoN6PezOWEzTgMXmOY10_LoE3Wyv0C78-dMxHwut1WI0XvSEC4dnemP24nh_2pLG6V1ymzBylvMJHItLfIfHsHfu84MWsaPYyB1Bi3OEUrNyshAVvoFiZoZ7J31qHimGJ1ELh3455JxZVV2YcaqE23t7kSGi7qY6uRiCI85uOSYxlNphrQTfGx66Z5D9KDrGzptA2RuxJV6ZMWQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579050,"updated":1612579050,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey691110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey691110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey691110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey691110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:49 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey691110ab7?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey691110ab7","deletedDate":1612579066,"scheduledPurgeDate":1620355066,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey691110ab7/ac5c95da8e8e4bb7a2bded0b1f360305","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xCDwvhJcADs_0JO1LbkhIn3wIo1FuJCybRd6vfTLeJdmG7i634LaLmWWpjHxUTehtcyKN1TqCA2l2M4Zst3fgsMv2p6RxJyhw1doWhyvGUg1J4DWu9BbQS1StfQ2T44yhgoAdOuVoN6PezOWEzTgMXmOY10_LoE3Wyv0C78-dMxHwut1WI0XvSEC4dnemP24nh_2pLG6V1ymzBylvMJHItLfIfHsHfu84MWsaPYyB1Bi3OEUrNyshAVvoFiZoZ7J31qHimGJ1ELh3455JxZVV2YcaqE23t7kSGi7qY6uRiCI85uOSYxlNphrQTfGx66Z5D9KDrGzptA2RuxJV6ZMWQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579050,"updated":1612579050,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d","attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey091110ab7","deletedDate":1612579050,"scheduledPurgeDate":1620355050,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey091110ab7","attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey191110ab7","deletedDate":1612579053,"scheduledPurgeDate":1620355053,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey191110ab7","attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey291110ab7","deletedDate":1612579055,"scheduledPurgeDate":1620355055,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey291110ab7","attributes":{"enabled":true,"created":1612579048,"updated":1612579048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNa0l6TlRFd1FrWTRMekEwUXpGRE5qTkdNakl3TVRRd05EUkNORGRGUVVORE5qSTRSVUkwTlRZMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: - - no-cache - content-length: - - '2882' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNa0l6TlRFd1FrWTRMekEwUXpGRE5qTkdNakl3TVRRd05EUkNORGRGUVVORE5qSTRSVUkwTlRZMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey391110ab7","deletedDate":1612579058,"scheduledPurgeDate":1620355058,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey391110ab7","attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey491110ab7","deletedDate":1612579061,"scheduledPurgeDate":1620355061,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey491110ab7","attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey591110ab7","deletedDate":1612579063,"scheduledPurgeDate":1620355063,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey591110ab7","attributes":{"enabled":true,"created":1612579049,"updated":1612579049,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey691110ab7","deletedDate":1612579066,"scheduledPurgeDate":1620355066,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey691110ab7","attributes":{"enabled":true,"created":1612579050,"updated":1612579050,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5rSTBSRVF3UXpCQklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: - - no-cache - content-length: - - '3112' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5rSTBSRVF3UXpCQklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '28' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey091110ab7?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Sat, 06 Feb 2021 02:37:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey191110ab7?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Sat, 06 Feb 2021 02:37:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey291110ab7?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Sat, 06 Feb 2021 02:37:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey391110ab7?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Sat, 06 Feb 2021 02:37:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey491110ab7?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Sat, 06 Feb 2021 02:37:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey591110ab7?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Sat, 06 Feb 2021 02:37:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey691110ab7?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Sat, 06 Feb 2021 02:37:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey091110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey091110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey191110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey191110ab7"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey291110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey291110ab7 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: - - no-cache - content-length: - - '310' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey391110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey391110ab7 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: - - no-cache - content-length: - - '310' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey491110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey491110ab7 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: - - no-cache - content-length: - - '310' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey591110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey591110ab7 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: - - no-cache - content-length: - - '310' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey691110ab7?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey691110ab7 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: - - no-cache - content-length: - - '310' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d","attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORE13UXprd1JrRXhMekF5UmpBME5EUXdSa0UwTWpReVFqVkJSRUpCT1VNNU5rUkdSakUwUlVSRUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: - - no-cache - content-length: - - '2530' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:55 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORE13UXprd1JrRXhMekF5UmpBME5EUXdSa0UwTWpReVFqVkJSRUpCT1VNNU5rUkdSakUwUlVSRUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '731' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:55 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge_mhsm.yaml new file mode 100644 index 000000000000..686b3baa040f --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge_mhsm.yaml @@ -0,0 +1,1634 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ccbe0ccb/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ccbe0ccb/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111804,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111804},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ccbe0ccb/46c91dfd6207456c15d04b02e6f70f8c","kty":"RSA-HSM","n":"rLK6xQYx4KEq3z-39aHqBwoi8O44B1ziLTP9_w4fRs430VC2c1vTkyoF4juHgNpHClN7LZl_ZaokJCawJEmXggWzZ9jUJDX7DY_Nj_w_ClsXnfZ65n1tA0PxEWdvqeUTrVPJYjbn-vpouy6BNMuk59qAnwpvZczmBMV9wPLuuh8XbcDXYryolDvk3BNPEV_u2uNKw_Ni2TCPxocT3sEwqqHE8kT7qSZu86exIQDYKcHr2oxf5OBRZCiXx4OIXxvvoMXMi6TyZKD5d7Xtc5EWMwina5w8da9-X9n6ivArI7bPrUmviTWI9aoSEu9BlnOD3wi6jbtr8VGp9hTwNSRCMw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '213' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ccbe0ccb/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111807,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111807},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ccbe0ccb/08c35ea0232d413d2b66d73a0077444c","kty":"RSA-HSM","n":"jYxJ21jjF-6jlfyXEfQOwx2AY-SiVmDC2SoSy2l8NXtF89lBVpu1Ps_mVIEU9hzEccyqrV9yu8Czu0oQAlS7zWH7_IyatOjpiPpjDKDuYC3A_afCuWg0g87HJ1xzA7bn2hU5ZVgmTa9LUPiPxglKRHb0POAwfTwzQwhI5Sd09mVLlPGrixya9KCl7qoQqgOiMis2G3e5bNao8kj90KQ4BbhU-qPOrkTkbXz9UwVGj2qt2NztQ1T0Ojf0eSagbTpFz95EVl9WaQqsBjPY7akolQPNBfXZ_uvVgHA55zrIsI-M2a-Fk9qfqG2f0zPdVzS_VoT0ZeW9vYzD3dgBgNhIhw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '224' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ccbe0ccb/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111809,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111809},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ccbe0ccb/b05c3a52d2384e6e8e8297b3ae153b85","kty":"RSA-HSM","n":"keqJGuumP3otzumEkSnWjuexudETDotvk-yYdS7BvC4fMBLgVZmugETMPiAV5DnINNwl9TyJUeTcGu3pVugwHL9eljl0uxB0HWH0WQjHc4bhlgztmkL4OR5SPG4M5Dp3A6Hq7pPRSAIgUK9LvIcHIAkbqZ4UkaOEoVTfJehRt66ABm0h3hqrhjtXY0nlPWsgitwgIlnFUFb743mqToZCO3ZtuF1y9aTgCvL8cKZ_jn2IX7eN5IIsr9_JHX1ny5SfcoLuDWVg5q6yn0DTmv2fuyyQrxbK4rKt7jBmZak0lcZqaltmVl_pOdLrn_tGh_VZKM05pzoS8me8qv_UqODxMw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '210' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ccbe0ccb/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111811,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111811},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ccbe0ccb/448aae6ee19d06d63e38bfe587333e4b","kty":"RSA-HSM","n":"ieTm4h35d61Ch6RV4RiTP1v9AoE1YA2ftN2Y2Bi7R1ySANXaTKqJWrD4M_aWm-L72WYlPS7Rr4AFM6syMmpAYLWgS4_inWt7Fe8ncr_iNCSjpZYGk7EXv791QeykOu4l4OwMh7wQP1V6XmRlcv763mUc9O6zWJvQiwk8pbvbN3b4f1neMgiFfrAJjPO6QJFl4Zh-eeyB0VBGj-gFgxxX-pzZ3T00d5DDWQPm0kRabX9BKDsSyIF-wiaaaA2hZu6uSeQRrhis25kD0LOglq9u0G-Y6bItpa25NL2hrc2XBTyFnR55gGC6a1CZqmPv8VRtZ7vqSk-5ptEIGOKBsUZzTQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '219' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ccbe0ccb/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111814,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111814},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ccbe0ccb/9b30577004e60fbfaeaee0a967cdc2b4","kty":"RSA-HSM","n":"9dVVZ6rPv97A0cmeTMLo9-wBCXzcyPXHszjYKTqGFVsvyu4FRDZS5pj73_Yl0BRGUTQ8rtPZKgfKHYmvX10C_ECjASnJwtdISUFAfeSdU1s9qhJpITd_UqJVrXP7WvdFm5GVkP1XR5UuZPK3g5EJQxW11s_Bv8fQW3HHnLJkBf8xS2J9Mn6HAq8txHZjmS1d2nrMjeb60dtBcyuW_NgzQljfKu3P38nfw_fZ-k2DyVgSGOD_9nU2PPeW_sOQSx2TQSK-V2MA42e1PLYQ00BeJ-XuiS6fyJhdm4UNMvU2L5_WyrGgvdf8pNDThoYlJjt5O3ujlxC4pqXm3Ckj6W5ZWw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '212' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ccbe0ccb/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111816,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111816},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ccbe0ccb/45226fdc0c9a4ecb3c4c2b2cdafe354c","kty":"RSA-HSM","n":"ixkTn_lCcooxkA6IB9W5gNNoPt_3RYvugo7buEAFu9ZWlVWr_vKBDFfORyeDYTcZ-mjBf_fYt3gOvp22MwdJU3e_ZtjdII2HfYXFTEKII-mQX_-OkWCotvvqD975E4cfZRYUvtXJRgVwF9cKA5ehK7tVsR4Dorf07zcZ9VzzyqgBgmaHvj33x1CcCqXyklqNZAR0tRBBIkLV3yUL3S04cg557_py0hlc6MXhMrO7smi4rKhSum7DOTdDR_dlrP1ZHjlnBxNYpG6nguWLhPxfer32dP27_Q_o-Ikl7ubV4yHgNqecTNlf8R_frBi6fhcVbVLT5LJYAUPohyryPKqH7w"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '203' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ccbe0ccb/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111818,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111818},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ccbe0ccb/f6df23825dc042de16b430a3a018de19","kty":"RSA-HSM","n":"ktpaKh5JNsV0lYnJtqKh9dIqul_SvT4QmJtHFpx0KFsu7jxsnkE39vsgqvPHIGMlggnCdB0M0cwj39XuyhI6CEozSGeuYQVC0AYvNJrONc7O87haqwo9NWGtZXSUXQtAObfZm-_DHJ3vaF8l_X2GkBhFVmcvbzUdGHfdgniM0tpAKlmGc1b_rZLimTRWpeIbKVSd6JB7a-bR1JK7oNDNcUwnbq221LPs3-0iJs-fkFb9Xu3ZTf58WlWsylxMkxiVr8M0zoIRlwYuSDb-Zql0Y_VlQObWt3r_YxjSoR_2FsGSP6TrDKtvewNe7e_mpn9c9vZFgozMRIRVK4wX17q5Mw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '265' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111804,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111804},"deletedDate":1616111819,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ccbe0ccb/46c91dfd6207456c15d04b02e6f70f8c","kty":"RSA-HSM","n":"rLK6xQYx4KEq3z-39aHqBwoi8O44B1ziLTP9_w4fRs430VC2c1vTkyoF4juHgNpHClN7LZl_ZaokJCawJEmXggWzZ9jUJDX7DY_Nj_w_ClsXnfZ65n1tA0PxEWdvqeUTrVPJYjbn-vpouy6BNMuk59qAnwpvZczmBMV9wPLuuh8XbcDXYryolDvk3BNPEV_u2uNKw_Ni2TCPxocT3sEwqqHE8kT7qSZu86exIQDYKcHr2oxf5OBRZCiXx4OIXxvvoMXMi6TyZKD5d7Xtc5EWMwina5w8da9-X9n6ivArI7bPrUmviTWI9aoSEu9BlnOD3wi6jbtr8VGp9hTwNSRCMw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ccbe0ccb","scheduledPurgeDate":1623887819}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '150' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111804,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111804},"deletedDate":1616111819,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ccbe0ccb/46c91dfd6207456c15d04b02e6f70f8c","kty":"RSA-HSM","n":"rLK6xQYx4KEq3z-39aHqBwoi8O44B1ziLTP9_w4fRs430VC2c1vTkyoF4juHgNpHClN7LZl_ZaokJCawJEmXggWzZ9jUJDX7DY_Nj_w_ClsXnfZ65n1tA0PxEWdvqeUTrVPJYjbn-vpouy6BNMuk59qAnwpvZczmBMV9wPLuuh8XbcDXYryolDvk3BNPEV_u2uNKw_Ni2TCPxocT3sEwqqHE8kT7qSZu86exIQDYKcHr2oxf5OBRZCiXx4OIXxvvoMXMi6TyZKD5d7Xtc5EWMwina5w8da9-X9n6ivArI7bPrUmviTWI9aoSEu9BlnOD3wi6jbtr8VGp9hTwNSRCMw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ccbe0ccb","scheduledPurgeDate":1623887819}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '34' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111807,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111807},"deletedDate":1616111819,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ccbe0ccb/08c35ea0232d413d2b66d73a0077444c","kty":"RSA-HSM","n":"jYxJ21jjF-6jlfyXEfQOwx2AY-SiVmDC2SoSy2l8NXtF89lBVpu1Ps_mVIEU9hzEccyqrV9yu8Czu0oQAlS7zWH7_IyatOjpiPpjDKDuYC3A_afCuWg0g87HJ1xzA7bn2hU5ZVgmTa9LUPiPxglKRHb0POAwfTwzQwhI5Sd09mVLlPGrixya9KCl7qoQqgOiMis2G3e5bNao8kj90KQ4BbhU-qPOrkTkbXz9UwVGj2qt2NztQ1T0Ojf0eSagbTpFz95EVl9WaQqsBjPY7akolQPNBfXZ_uvVgHA55zrIsI-M2a-Fk9qfqG2f0zPdVzS_VoT0ZeW9vYzD3dgBgNhIhw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ccbe0ccb","scheduledPurgeDate":1623887819}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '128' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111807,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111807},"deletedDate":1616111819,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ccbe0ccb/08c35ea0232d413d2b66d73a0077444c","kty":"RSA-HSM","n":"jYxJ21jjF-6jlfyXEfQOwx2AY-SiVmDC2SoSy2l8NXtF89lBVpu1Ps_mVIEU9hzEccyqrV9yu8Czu0oQAlS7zWH7_IyatOjpiPpjDKDuYC3A_afCuWg0g87HJ1xzA7bn2hU5ZVgmTa9LUPiPxglKRHb0POAwfTwzQwhI5Sd09mVLlPGrixya9KCl7qoQqgOiMis2G3e5bNao8kj90KQ4BbhU-qPOrkTkbXz9UwVGj2qt2NztQ1T0Ojf0eSagbTpFz95EVl9WaQqsBjPY7akolQPNBfXZ_uvVgHA55zrIsI-M2a-Fk9qfqG2f0zPdVzS_VoT0ZeW9vYzD3dgBgNhIhw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ccbe0ccb","scheduledPurgeDate":1623887819}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '50' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111809,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111809},"deletedDate":1616111820,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ccbe0ccb/b05c3a52d2384e6e8e8297b3ae153b85","kty":"RSA-HSM","n":"keqJGuumP3otzumEkSnWjuexudETDotvk-yYdS7BvC4fMBLgVZmugETMPiAV5DnINNwl9TyJUeTcGu3pVugwHL9eljl0uxB0HWH0WQjHc4bhlgztmkL4OR5SPG4M5Dp3A6Hq7pPRSAIgUK9LvIcHIAkbqZ4UkaOEoVTfJehRt66ABm0h3hqrhjtXY0nlPWsgitwgIlnFUFb743mqToZCO3ZtuF1y9aTgCvL8cKZ_jn2IX7eN5IIsr9_JHX1ny5SfcoLuDWVg5q6yn0DTmv2fuyyQrxbK4rKt7jBmZak0lcZqaltmVl_pOdLrn_tGh_VZKM05pzoS8me8qv_UqODxMw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ccbe0ccb","scheduledPurgeDate":1623887820}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '135' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111809,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111809},"deletedDate":1616111819,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ccbe0ccb/b05c3a52d2384e6e8e8297b3ae153b85","kty":"RSA-HSM","n":"keqJGuumP3otzumEkSnWjuexudETDotvk-yYdS7BvC4fMBLgVZmugETMPiAV5DnINNwl9TyJUeTcGu3pVugwHL9eljl0uxB0HWH0WQjHc4bhlgztmkL4OR5SPG4M5Dp3A6Hq7pPRSAIgUK9LvIcHIAkbqZ4UkaOEoVTfJehRt66ABm0h3hqrhjtXY0nlPWsgitwgIlnFUFb743mqToZCO3ZtuF1y9aTgCvL8cKZ_jn2IX7eN5IIsr9_JHX1ny5SfcoLuDWVg5q6yn0DTmv2fuyyQrxbK4rKt7jBmZak0lcZqaltmVl_pOdLrn_tGh_VZKM05pzoS8me8qv_UqODxMw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ccbe0ccb","scheduledPurgeDate":1623887819}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '35' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111811,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111811},"deletedDate":1616111820,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ccbe0ccb/448aae6ee19d06d63e38bfe587333e4b","kty":"RSA-HSM","n":"ieTm4h35d61Ch6RV4RiTP1v9AoE1YA2ftN2Y2Bi7R1ySANXaTKqJWrD4M_aWm-L72WYlPS7Rr4AFM6syMmpAYLWgS4_inWt7Fe8ncr_iNCSjpZYGk7EXv791QeykOu4l4OwMh7wQP1V6XmRlcv763mUc9O6zWJvQiwk8pbvbN3b4f1neMgiFfrAJjPO6QJFl4Zh-eeyB0VBGj-gFgxxX-pzZ3T00d5DDWQPm0kRabX9BKDsSyIF-wiaaaA2hZu6uSeQRrhis25kD0LOglq9u0G-Y6bItpa25NL2hrc2XBTyFnR55gGC6a1CZqmPv8VRtZ7vqSk-5ptEIGOKBsUZzTQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ccbe0ccb","scheduledPurgeDate":1623887820}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '153' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111811,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111811},"deletedDate":1616111820,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ccbe0ccb/448aae6ee19d06d63e38bfe587333e4b","kty":"RSA-HSM","n":"ieTm4h35d61Ch6RV4RiTP1v9AoE1YA2ftN2Y2Bi7R1ySANXaTKqJWrD4M_aWm-L72WYlPS7Rr4AFM6syMmpAYLWgS4_inWt7Fe8ncr_iNCSjpZYGk7EXv791QeykOu4l4OwMh7wQP1V6XmRlcv763mUc9O6zWJvQiwk8pbvbN3b4f1neMgiFfrAJjPO6QJFl4Zh-eeyB0VBGj-gFgxxX-pzZ3T00d5DDWQPm0kRabX9BKDsSyIF-wiaaaA2hZu6uSeQRrhis25kD0LOglq9u0G-Y6bItpa25NL2hrc2XBTyFnR55gGC6a1CZqmPv8VRtZ7vqSk-5ptEIGOKBsUZzTQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ccbe0ccb","scheduledPurgeDate":1623887820}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '31' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111814,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111814},"deletedDate":1616111820,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ccbe0ccb/9b30577004e60fbfaeaee0a967cdc2b4","kty":"RSA-HSM","n":"9dVVZ6rPv97A0cmeTMLo9-wBCXzcyPXHszjYKTqGFVsvyu4FRDZS5pj73_Yl0BRGUTQ8rtPZKgfKHYmvX10C_ECjASnJwtdISUFAfeSdU1s9qhJpITd_UqJVrXP7WvdFm5GVkP1XR5UuZPK3g5EJQxW11s_Bv8fQW3HHnLJkBf8xS2J9Mn6HAq8txHZjmS1d2nrMjeb60dtBcyuW_NgzQljfKu3P38nfw_fZ-k2DyVgSGOD_9nU2PPeW_sOQSx2TQSK-V2MA42e1PLYQ00BeJ-XuiS6fyJhdm4UNMvU2L5_WyrGgvdf8pNDThoYlJjt5O3ujlxC4pqXm3Ckj6W5ZWw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ccbe0ccb","scheduledPurgeDate":1623887820}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '168' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111814,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111814},"deletedDate":1616111820,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ccbe0ccb/9b30577004e60fbfaeaee0a967cdc2b4","kty":"RSA-HSM","n":"9dVVZ6rPv97A0cmeTMLo9-wBCXzcyPXHszjYKTqGFVsvyu4FRDZS5pj73_Yl0BRGUTQ8rtPZKgfKHYmvX10C_ECjASnJwtdISUFAfeSdU1s9qhJpITd_UqJVrXP7WvdFm5GVkP1XR5UuZPK3g5EJQxW11s_Bv8fQW3HHnLJkBf8xS2J9Mn6HAq8txHZjmS1d2nrMjeb60dtBcyuW_NgzQljfKu3P38nfw_fZ-k2DyVgSGOD_9nU2PPeW_sOQSx2TQSK-V2MA42e1PLYQ00BeJ-XuiS6fyJhdm4UNMvU2L5_WyrGgvdf8pNDThoYlJjt5O3ujlxC4pqXm3Ckj6W5ZWw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ccbe0ccb","scheduledPurgeDate":1623887820}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '35' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111816,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111816},"deletedDate":1616111821,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ccbe0ccb/45226fdc0c9a4ecb3c4c2b2cdafe354c","kty":"RSA-HSM","n":"ixkTn_lCcooxkA6IB9W5gNNoPt_3RYvugo7buEAFu9ZWlVWr_vKBDFfORyeDYTcZ-mjBf_fYt3gOvp22MwdJU3e_ZtjdII2HfYXFTEKII-mQX_-OkWCotvvqD975E4cfZRYUvtXJRgVwF9cKA5ehK7tVsR4Dorf07zcZ9VzzyqgBgmaHvj33x1CcCqXyklqNZAR0tRBBIkLV3yUL3S04cg557_py0hlc6MXhMrO7smi4rKhSum7DOTdDR_dlrP1ZHjlnBxNYpG6nguWLhPxfer32dP27_Q_o-Ikl7ubV4yHgNqecTNlf8R_frBi6fhcVbVLT5LJYAUPohyryPKqH7w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ccbe0ccb","scheduledPurgeDate":1623887821}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '178' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111816,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111816},"deletedDate":1616111821,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ccbe0ccb/45226fdc0c9a4ecb3c4c2b2cdafe354c","kty":"RSA-HSM","n":"ixkTn_lCcooxkA6IB9W5gNNoPt_3RYvugo7buEAFu9ZWlVWr_vKBDFfORyeDYTcZ-mjBf_fYt3gOvp22MwdJU3e_ZtjdII2HfYXFTEKII-mQX_-OkWCotvvqD975E4cfZRYUvtXJRgVwF9cKA5ehK7tVsR4Dorf07zcZ9VzzyqgBgmaHvj33x1CcCqXyklqNZAR0tRBBIkLV3yUL3S04cg557_py0hlc6MXhMrO7smi4rKhSum7DOTdDR_dlrP1ZHjlnBxNYpG6nguWLhPxfer32dP27_Q_o-Ikl7ubV4yHgNqecTNlf8R_frBi6fhcVbVLT5LJYAUPohyryPKqH7w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ccbe0ccb","scheduledPurgeDate":1623887821}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '47' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111818,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111818},"deletedDate":1616111821,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ccbe0ccb/f6df23825dc042de16b430a3a018de19","kty":"RSA-HSM","n":"ktpaKh5JNsV0lYnJtqKh9dIqul_SvT4QmJtHFpx0KFsu7jxsnkE39vsgqvPHIGMlggnCdB0M0cwj39XuyhI6CEozSGeuYQVC0AYvNJrONc7O87haqwo9NWGtZXSUXQtAObfZm-_DHJ3vaF8l_X2GkBhFVmcvbzUdGHfdgniM0tpAKlmGc1b_rZLimTRWpeIbKVSd6JB7a-bR1JK7oNDNcUwnbq221LPs3-0iJs-fkFb9Xu3ZTf58WlWsylxMkxiVr8M0zoIRlwYuSDb-Zql0Y_VlQObWt3r_YxjSoR_2FsGSP6TrDKtvewNe7e_mpn9c9vZFgozMRIRVK4wX17q5Mw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ccbe0ccb","scheduledPurgeDate":1623887821}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '302' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111818,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111818},"deletedDate":1616111821,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ccbe0ccb/f6df23825dc042de16b430a3a018de19","kty":"RSA-HSM","n":"ktpaKh5JNsV0lYnJtqKh9dIqul_SvT4QmJtHFpx0KFsu7jxsnkE39vsgqvPHIGMlggnCdB0M0cwj39XuyhI6CEozSGeuYQVC0AYvNJrONc7O87haqwo9NWGtZXSUXQtAObfZm-_DHJ3vaF8l_X2GkBhFVmcvbzUdGHfdgniM0tpAKlmGc1b_rZLimTRWpeIbKVSd6JB7a-bR1JK7oNDNcUwnbq221LPs3-0iJs-fkFb9Xu3ZTf58WlWsylxMkxiVr8M0zoIRlwYuSDb-Zql0Y_VlQObWt3r_YxjSoR_2FsGSP6TrDKtvewNe7e_mpn9c9vZFgozMRIRVK4wX17q5Mw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ccbe0ccb","scheduledPurgeDate":1623887821}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '35' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/deletedkeys?maxresults=25&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJCQUFBQUFBQUFBQT09I1JUOjEjVFJDOjEwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw","value":[{"attributes":{"created":1616110888,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110888},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110891,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110891},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1850811b5","scheduledPurgeDate":1623886903},{"attributes":{"created":1616110893,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110893},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110895,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110895},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110898,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110898},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110900,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110900},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110902,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110902},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6850811b5","scheduledPurgeDate":1623886903},{"attributes":{"created":1616111804,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111804},"deletedDate":1616111819,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ccbe0ccb","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ccbe0ccb","scheduledPurgeDate":1623887819},{"attributes":{"created":1616111807,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111807},"deletedDate":1616111819,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ccbe0ccb","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ccbe0ccb","scheduledPurgeDate":1623887819},{"attributes":{"created":1616111809,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111809},"deletedDate":1616111819,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ccbe0ccb","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ccbe0ccb","scheduledPurgeDate":1623887819}]}' + headers: + cache-control: + - no-cache + content-length: + - '4063' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '37' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?maxresults=25&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJCQUFBQUFBQUFBQT09I1JUOjEjVFJDOjEwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw + response: + body: + string: '{"value":[{"attributes":{"created":1616111811,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111811},"deletedDate":1616111820,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ccbe0ccb","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ccbe0ccb","scheduledPurgeDate":1623887820},{"attributes":{"created":1616111814,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111814},"deletedDate":1616111820,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ccbe0ccb","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ccbe0ccb","scheduledPurgeDate":1623887820},{"attributes":{"created":1616111816,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111816},"deletedDate":1616111821,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ccbe0ccb","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ccbe0ccb","scheduledPurgeDate":1623887821},{"attributes":{"created":1616111818,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111818},"deletedDate":1616111821,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ccbe0ccb","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ccbe0ccb","scheduledPurgeDate":1623887821}]}' + headers: + cache-control: + - no-cache + content-length: + - '1559' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '36' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ccbe0ccb?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '123' + status: + code: 204 + message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ccbe0ccb?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '104' + status: + code: 204 + message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ccbe0ccb?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '110' + status: + code: 204 + message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ccbe0ccb?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '115' + status: + code: 204 + message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ccbe0ccb?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '109' + status: + code: 204 + message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ccbe0ccb?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '111' + status: + code: 204 + message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ccbe0ccb?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '112' + status: + code: 204 + message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ccbe0ccb + (Activity ID: a357dfa6-8845-11eb-82c0-000d3a7dc10e)"}}' + headers: + cache-control: + - no-cache + content-length: + - '191' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: + - '27' + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ccbe0ccb + (Activity ID: a36baf72-8845-11eb-82c0-000d3a7dc10e)"}}' + headers: + cache-control: + - no-cache + content-length: + - '191' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: + - '28' + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ccbe0ccb + (Activity ID: a3809c3e-8845-11eb-82c0-000d3a7dc10e)"}}' + headers: + cache-control: + - no-cache + content-length: + - '191' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: + - '31' + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ccbe0ccb + (Activity ID: a3958ffe-8845-11eb-82c0-000d3a7dc10e)"}}' + headers: + cache-control: + - no-cache + content-length: + - '191' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: + - '72' + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ccbe0ccb + (Activity ID: a3b12fb6-8845-11eb-82c0-000d3a7dc10e)"}}' + headers: + cache-control: + - no-cache + content-length: + - '191' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: + - '30' + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ccbe0ccb + (Activity ID: a3c66232-8845-11eb-82c0-000d3a7dc10e)"}}' + headers: + cache-control: + - no-cache + content-length: + - '191' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: + - '42' + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ccbe0ccb?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ccbe0ccb + (Activity ID: a3dd60ea-8845-11eb-82c0-000d3a7dc10e)"}}' + headers: + cache-control: + - no-cache + content-length: + - '191' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: + - '32' + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"attributes":{"created":1616110888,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110888},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110891,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110891},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1850811b5","scheduledPurgeDate":1623886903},{"attributes":{"created":1616110893,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110893},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110895,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110895},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110898,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110898},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110900,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110900},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110902,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110902},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6850811b5","scheduledPurgeDate":1623886903}]}' + headers: + cache-control: + - no-cache + content-length: + - '2720' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '34' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge_vault.yaml new file mode 100644 index 000000000000..57198b570320 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_purge_vault.yaml @@ -0,0 +1,3910 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0da120d42/create?api-version=7.2-preview + 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: + - Thu, 18 Mar 2021 23:57:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0da120d42/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0da120d42/2887beb2406743ffa2fa683d4ebd2ac8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wR9T04I4mChtWhde3Ys58Gx42OKfXQpIesMEqGn7w3deZ353DdpekOrphWCXHSKr0OGOvSUFct3wZpEcHS7FEnLgph2AasRLegO7jI7rqN7zGpAwzvz8Emi5BTs_w3qMO7vhZpzlSWg4fxnAmF_O83hnDyWinJEAyiW9QFpqRxl50Hv3imyP9ZaV57ydAqdzVkq0VcINq8Rv-h0Du0kgWmVcXM0iltD-iU6wPRk8cVTglnNDXZ7DaxG_IidIL4Tst5JKXVfay7mwxemUkilc3xvxUiSoUU_Du_SVHpjKXV0jLqoLBGSMwBY-i_zBXzDbgwwXNELvH6wFiRuSTkFBiQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111828,"updated":1616111828,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1da120d42/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1da120d42/f363ea6fc2084577b2687e28f8d23b6a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zGSirletaRqpi94jhcMmgr7Szjohg0tEC_IfqwA5220DiyGAQUdYoyrpsfS3IjTfZAxgy4aQHky7cEAhPDOYLO82uUIbdAAJrcOF5AKtKaGufKi90Ba2SsN4XxavpEifD3foT7l2cW70xkF3gACqIKyGBKGhAKzd-i3g53_tGLV0SIQWGEqzWYQUqu7EGMYVUJOCfDQivpBXJu3oHQJ3DWsvuLI_TPOedhNsYLsyyqTv4gJbGVDZoP-PyiXJMcZVHBnUn1tdvUvS6hUQgRKijp8wn45MZORNOfOV1dzLe6Xizqk5--s213dpeKVrLOc2pzwwyYWlPOW0fRWKFNCijQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111830,"updated":1616111830,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2da120d42/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2da120d42/225964f710e644dbaafe11f8bebb980f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1SC1qmSht61hFRyecbdIBsJyJPNkCTtzO_glNtlZatMRofFV_gfU-3CznxtnoedySFdkD6Ia7peJ9KbwTJn49R8gaC7oYuuAjevW3QTmwyo75SCUOJYrqXrc6_bchf5X-5NDA8RkAyoTAs5jwt7rG7UHN9vvI7bWoCAWG2IjETzLZPqJRaywszVs4Ut4N36eoGMtAQTxigvK4VfdX0FlWy9noya3qf3WL7-djNOicnO3MfsQuBDAnXTNeOXUS1DBF95AJfK5zCP7iTSn-SkFalvC5QCLD_iR9WBaGkI0WwioQwfJgQM8hTO6ZZsPSJp9gKwSNECbjQX8OGdYU7f_5Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616111833,"updated":1616111833,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3da120d42/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3da120d42/07d5b04401e94dd58b84f18f70cbd5c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v_ZS3ddYIwfyIpm2Wa7b6Fxbtt80UrKN3nVgFwt7YbJrbVlB6V827znI11pa4_I1nB3X387fWNm_y9wOtnlneLg__cwaM9il3auCuAYHbxCvE9V3QxmG5LHdFTgRWevMYeG46w1zLouYZh321WXZImS90gf8noGrPuW1IhSVA-ZRWTzepFKNEBQY9bBpG_U0P-qPphIae-4qh6Ta9bkToaHm27U0yyu3kviPX2cSaeGWfYhKonFUYR1_m7l8NGlObondUaXjLzVnVz3Wh_RVj_gi8w3kLSVEM2QQLQYN4jT3TWrhV0QnnEy3W6DA2QsrmkiNBiYZZVfCmhNWuGRvxQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111835,"updated":1616111835,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4da120d42/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4da120d42/54ef9fa08c5f44aa981c39d6e80ed845","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x0FFIaR2Ar-mKB7PXZ-L25YrF8DbD64U_uwFwdJA0kvdZhIOp6GAtK29mjr0Dd9iRQnRUtka9eq8QwAjGXvQpGRsL4szqm49wKMQ-Uh2pJaQFLrdWhzpsgRnjV2e381STZ1ML0u6OjfdVMYI7LS14-qXSCnFZOC9vzzV6f64n793RKE0Dp1FjEeSgBtqAyR86swcABICSWED-4T9AKLXUsAjPpO3xK-uxFPn4n4Ptk-05qEdYPMwZlKbjIbCriJL-Rw6LFRV5RzbXTmAQ4YoLPsPn9mYXApA5FgJycWC2Vl3ZozSUPsgADkkVTMPRzE-9gsU12yVvFSZkxiBgV3QBQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111838,"updated":1616111838,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5da120d42/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5da120d42/45b3a8f04ad34151bcadb0f4383c0eff","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"08e-D3Lu1MApHrkAHblnWHcLQ9jfpG4VCT7XGMuUB9yk9CxJS4Ro2Z8XX4J58M3UHbXvTPF38DP4HdBjc8gE94MpsfNnHcNxERqbMnaKUab8I8R5J_qbgNUQYBRZWDQYj1g72DH2sNUdKQIPfB0pa24_cptV7UFRBjJNiv3sD8LjmHei6rDyY_nfvTa94lTXeBWBpW6BZtAaQB_UCAOv_7wXw3hvyDGzGStJ3tUc8PIkBH926YgQWZ6vETOXUcISLLJX1gSJUowzp5W-c8xlAhwjnQX9ZXEA4H6Gu7NWjTadTeiXspxettZKxsgWqxqjAYxFB0LC4d8q29LOUobTVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111840,"updated":1616111840,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6da120d42/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6da120d42/cfb39ed040e44f06b123f649d2dee58a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xc23Mi6nV0imXYwWk8WmMiHKa9WKW0gRcMOy_O5cMWI-z441RaLpQTHXO5mshQTfD3EVR158-dYyJ973WLp501GDdo0tZtxN6HQcnZfjI9aEr2pYWVspNKnV-bDIh-TYA5wD_BlrQJyIEqa8vVl5yKXgDWv68CoHPhxoyJUZiUSfUpgypdGRE7i90dpReKa78IX-v0q_aFWpvCnGbasenHuzGd9MXn5NX_HUJKlhKBbP2KRrpeOq3JlY6qeOO9SLrneCxKq0Ou28-8LcoB1islqPb5yXVcUmpPKiB5TZF7Ene1mZIC8NuTirJQbH9ghHzR5VigRY2Ux7j4NCDdtyGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111843,"updated":1616111843,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42","deletedDate":1616111843,"scheduledPurgeDate":1623887843,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0da120d42/2887beb2406743ffa2fa683d4ebd2ac8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wR9T04I4mChtWhde3Ys58Gx42OKfXQpIesMEqGn7w3deZ353DdpekOrphWCXHSKr0OGOvSUFct3wZpEcHS7FEnLgph2AasRLegO7jI7rqN7zGpAwzvz8Emi5BTs_w3qMO7vhZpzlSWg4fxnAmF_O83hnDyWinJEAyiW9QFpqRxl50Hv3imyP9ZaV57ydAqdzVkq0VcINq8Rv-h0Du0kgWmVcXM0iltD-iU6wPRk8cVTglnNDXZ7DaxG_IidIL4Tst5JKXVfay7mwxemUkilc3xvxUiSoUU_Du_SVHpjKXV0jLqoLBGSMwBY-i_zBXzDbgwwXNELvH6wFiRuSTkFBiQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111828,"updated":1616111828,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:27 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42","deletedDate":1616111843,"scheduledPurgeDate":1623887843,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0da120d42/2887beb2406743ffa2fa683d4ebd2ac8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wR9T04I4mChtWhde3Ys58Gx42OKfXQpIesMEqGn7w3deZ353DdpekOrphWCXHSKr0OGOvSUFct3wZpEcHS7FEnLgph2AasRLegO7jI7rqN7zGpAwzvz8Emi5BTs_w3qMO7vhZpzlSWg4fxnAmF_O83hnDyWinJEAyiW9QFpqRxl50Hv3imyP9ZaV57ydAqdzVkq0VcINq8Rv-h0Du0kgWmVcXM0iltD-iU6wPRk8cVTglnNDXZ7DaxG_IidIL4Tst5JKXVfay7mwxemUkilc3xvxUiSoUU_Du_SVHpjKXV0jLqoLBGSMwBY-i_zBXzDbgwwXNELvH6wFiRuSTkFBiQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111828,"updated":1616111828,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42","deletedDate":1616111861,"scheduledPurgeDate":1623887861,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1da120d42/f363ea6fc2084577b2687e28f8d23b6a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zGSirletaRqpi94jhcMmgr7Szjohg0tEC_IfqwA5220DiyGAQUdYoyrpsfS3IjTfZAxgy4aQHky7cEAhPDOYLO82uUIbdAAJrcOF5AKtKaGufKi90Ba2SsN4XxavpEifD3foT7l2cW70xkF3gACqIKyGBKGhAKzd-i3g53_tGLV0SIQWGEqzWYQUqu7EGMYVUJOCfDQivpBXJu3oHQJ3DWsvuLI_TPOedhNsYLsyyqTv4gJbGVDZoP-PyiXJMcZVHBnUn1tdvUvS6hUQgRKijp8wn45MZORNOfOV1dzLe6Xizqk5--s213dpeKVrLOc2pzwwyYWlPOW0fRWKFNCijQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111830,"updated":1616111830,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:46 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:57: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42","deletedDate":1616111861,"scheduledPurgeDate":1623887861,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1da120d42/f363ea6fc2084577b2687e28f8d23b6a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zGSirletaRqpi94jhcMmgr7Szjohg0tEC_IfqwA5220DiyGAQUdYoyrpsfS3IjTfZAxgy4aQHky7cEAhPDOYLO82uUIbdAAJrcOF5AKtKaGufKi90Ba2SsN4XxavpEifD3foT7l2cW70xkF3gACqIKyGBKGhAKzd-i3g53_tGLV0SIQWGEqzWYQUqu7EGMYVUJOCfDQivpBXJu3oHQJ3DWsvuLI_TPOedhNsYLsyyqTv4gJbGVDZoP-PyiXJMcZVHBnUn1tdvUvS6hUQgRKijp8wn45MZORNOfOV1dzLe6Xizqk5--s213dpeKVrLOc2pzwwyYWlPOW0fRWKFNCijQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111830,"updated":1616111830,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42","deletedDate":1616111880,"scheduledPurgeDate":1623887880,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2da120d42/225964f710e644dbaafe11f8bebb980f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1SC1qmSht61hFRyecbdIBsJyJPNkCTtzO_glNtlZatMRofFV_gfU-3CznxtnoedySFdkD6Ia7peJ9KbwTJn49R8gaC7oYuuAjevW3QTmwyo75SCUOJYrqXrc6_bchf5X-5NDA8RkAyoTAs5jwt7rG7UHN9vvI7bWoCAWG2IjETzLZPqJRaywszVs4Ut4N36eoGMtAQTxigvK4VfdX0FlWy9noya3qf3WL7-djNOicnO3MfsQuBDAnXTNeOXUS1DBF95AJfK5zCP7iTSn-SkFalvC5QCLD_iR9WBaGkI0WwioQwfJgQM8hTO6ZZsPSJp9gKwSNECbjQX8OGdYU7f_5Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616111833,"updated":1616111833,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42","deletedDate":1616111880,"scheduledPurgeDate":1623887880,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2da120d42/225964f710e644dbaafe11f8bebb980f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1SC1qmSht61hFRyecbdIBsJyJPNkCTtzO_glNtlZatMRofFV_gfU-3CznxtnoedySFdkD6Ia7peJ9KbwTJn49R8gaC7oYuuAjevW3QTmwyo75SCUOJYrqXrc6_bchf5X-5NDA8RkAyoTAs5jwt7rG7UHN9vvI7bWoCAWG2IjETzLZPqJRaywszVs4Ut4N36eoGMtAQTxigvK4VfdX0FlWy9noya3qf3WL7-djNOicnO3MfsQuBDAnXTNeOXUS1DBF95AJfK5zCP7iTSn-SkFalvC5QCLD_iR9WBaGkI0WwioQwfJgQM8hTO6ZZsPSJp9gKwSNECbjQX8OGdYU7f_5Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616111833,"updated":1616111833,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:21 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42","deletedDate":1616111902,"scheduledPurgeDate":1623887902,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3da120d42/07d5b04401e94dd58b84f18f70cbd5c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v_ZS3ddYIwfyIpm2Wa7b6Fxbtt80UrKN3nVgFwt7YbJrbVlB6V827znI11pa4_I1nB3X387fWNm_y9wOtnlneLg__cwaM9il3auCuAYHbxCvE9V3QxmG5LHdFTgRWevMYeG46w1zLouYZh321WXZImS90gf8noGrPuW1IhSVA-ZRWTzepFKNEBQY9bBpG_U0P-qPphIae-4qh6Ta9bkToaHm27U0yyu3kviPX2cSaeGWfYhKonFUYR1_m7l8NGlObondUaXjLzVnVz3Wh_RVj_gi8w3kLSVEM2QQLQYN4jT3TWrhV0QnnEy3W6DA2QsrmkiNBiYZZVfCmhNWuGRvxQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111835,"updated":1616111835,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:24 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42","deletedDate":1616111902,"scheduledPurgeDate":1623887902,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3da120d42/07d5b04401e94dd58b84f18f70cbd5c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v_ZS3ddYIwfyIpm2Wa7b6Fxbtt80UrKN3nVgFwt7YbJrbVlB6V827znI11pa4_I1nB3X387fWNm_y9wOtnlneLg__cwaM9il3auCuAYHbxCvE9V3QxmG5LHdFTgRWevMYeG46w1zLouYZh321WXZImS90gf8noGrPuW1IhSVA-ZRWTzepFKNEBQY9bBpG_U0P-qPphIae-4qh6Ta9bkToaHm27U0yyu3kviPX2cSaeGWfYhKonFUYR1_m7l8NGlObondUaXjLzVnVz3Wh_RVj_gi8w3kLSVEM2QQLQYN4jT3TWrhV0QnnEy3W6DA2QsrmkiNBiYZZVfCmhNWuGRvxQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111835,"updated":1616111835,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42","deletedDate":1616111911,"scheduledPurgeDate":1623887911,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4da120d42/54ef9fa08c5f44aa981c39d6e80ed845","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x0FFIaR2Ar-mKB7PXZ-L25YrF8DbD64U_uwFwdJA0kvdZhIOp6GAtK29mjr0Dd9iRQnRUtka9eq8QwAjGXvQpGRsL4szqm49wKMQ-Uh2pJaQFLrdWhzpsgRnjV2e381STZ1ML0u6OjfdVMYI7LS14-qXSCnFZOC9vzzV6f64n793RKE0Dp1FjEeSgBtqAyR86swcABICSWED-4T9AKLXUsAjPpO3xK-uxFPn4n4Ptk-05qEdYPMwZlKbjIbCriJL-Rw6LFRV5RzbXTmAQ4YoLPsPn9mYXApA5FgJycWC2Vl3ZozSUPsgADkkVTMPRzE-9gsU12yVvFSZkxiBgV3QBQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111838,"updated":1616111838,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42","deletedDate":1616111911,"scheduledPurgeDate":1623887911,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4da120d42/54ef9fa08c5f44aa981c39d6e80ed845","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x0FFIaR2Ar-mKB7PXZ-L25YrF8DbD64U_uwFwdJA0kvdZhIOp6GAtK29mjr0Dd9iRQnRUtka9eq8QwAjGXvQpGRsL4szqm49wKMQ-Uh2pJaQFLrdWhzpsgRnjV2e381STZ1ML0u6OjfdVMYI7LS14-qXSCnFZOC9vzzV6f64n793RKE0Dp1FjEeSgBtqAyR86swcABICSWED-4T9AKLXUsAjPpO3xK-uxFPn4n4Ptk-05qEdYPMwZlKbjIbCriJL-Rw6LFRV5RzbXTmAQ4YoLPsPn9mYXApA5FgJycWC2Vl3ZozSUPsgADkkVTMPRzE-9gsU12yVvFSZkxiBgV3QBQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111838,"updated":1616111838,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42","deletedDate":1616111922,"scheduledPurgeDate":1623887922,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5da120d42/45b3a8f04ad34151bcadb0f4383c0eff","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"08e-D3Lu1MApHrkAHblnWHcLQ9jfpG4VCT7XGMuUB9yk9CxJS4Ro2Z8XX4J58M3UHbXvTPF38DP4HdBjc8gE94MpsfNnHcNxERqbMnaKUab8I8R5J_qbgNUQYBRZWDQYj1g72DH2sNUdKQIPfB0pa24_cptV7UFRBjJNiv3sD8LjmHei6rDyY_nfvTa94lTXeBWBpW6BZtAaQB_UCAOv_7wXw3hvyDGzGStJ3tUc8PIkBH926YgQWZ6vETOXUcISLLJX1gSJUowzp5W-c8xlAhwjnQX9ZXEA4H6Gu7NWjTadTeiXspxettZKxsgWqxqjAYxFB0LC4d8q29LOUobTVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111840,"updated":1616111840,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:46 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42","deletedDate":1616111922,"scheduledPurgeDate":1623887922,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5da120d42/45b3a8f04ad34151bcadb0f4383c0eff","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"08e-D3Lu1MApHrkAHblnWHcLQ9jfpG4VCT7XGMuUB9yk9CxJS4Ro2Z8XX4J58M3UHbXvTPF38DP4HdBjc8gE94MpsfNnHcNxERqbMnaKUab8I8R5J_qbgNUQYBRZWDQYj1g72DH2sNUdKQIPfB0pa24_cptV7UFRBjJNiv3sD8LjmHei6rDyY_nfvTa94lTXeBWBpW6BZtAaQB_UCAOv_7wXw3hvyDGzGStJ3tUc8PIkBH926YgQWZ6vETOXUcISLLJX1gSJUowzp5W-c8xlAhwjnQX9ZXEA4H6Gu7NWjTadTeiXspxettZKxsgWqxqjAYxFB0LC4d8q29LOUobTVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111840,"updated":1616111840,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42","deletedDate":1616111933,"scheduledPurgeDate":1623887933,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6da120d42/cfb39ed040e44f06b123f649d2dee58a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xc23Mi6nV0imXYwWk8WmMiHKa9WKW0gRcMOy_O5cMWI-z441RaLpQTHXO5mshQTfD3EVR158-dYyJ973WLp501GDdo0tZtxN6HQcnZfjI9aEr2pYWVspNKnV-bDIh-TYA5wD_BlrQJyIEqa8vVl5yKXgDWv68CoHPhxoyJUZiUSfUpgypdGRE7i90dpReKa78IX-v0q_aFWpvCnGbasenHuzGd9MXn5NX_HUJKlhKBbP2KRrpeOq3JlY6qeOO9SLrneCxKq0Ou28-8LcoB1islqPb5yXVcUmpPKiB5TZF7Ene1mZIC8NuTirJQbH9ghHzR5VigRY2Ux7j4NCDdtyGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111843,"updated":1616111843,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58:57 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:58: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42","deletedDate":1616111933,"scheduledPurgeDate":1623887933,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6da120d42/cfb39ed040e44f06b123f649d2dee58a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xc23Mi6nV0imXYwWk8WmMiHKa9WKW0gRcMOy_O5cMWI-z441RaLpQTHXO5mshQTfD3EVR158-dYyJ973WLp501GDdo0tZtxN6HQcnZfjI9aEr2pYWVspNKnV-bDIh-TYA5wD_BlrQJyIEqa8vVl5yKXgDWv68CoHPhxoyJUZiUSfUpgypdGRE7i90dpReKa78IX-v0q_aFWpvCnGbasenHuzGd9MXn5NX_HUJKlhKBbP2KRrpeOq3JlY6qeOO9SLrneCxKq0Ou28-8LcoB1islqPb5yXVcUmpPKiB5TZF7Ene1mZIC8NuTirJQbH9ghHzR5VigRY2Ux7j4NCDdtyGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111843,"updated":1616111843,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c","deletedDate":1616110936,"scheduledPurgeDate":1623886936,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey09746122c","attributes":{"enabled":true,"created":1616110909,"updated":1616110909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42","deletedDate":1616111843,"scheduledPurgeDate":1623887843,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0da120d42","attributes":{"enabled":true,"created":1616111828,"updated":1616111828,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c","deletedDate":1616110998,"scheduledPurgeDate":1623886998,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey19746122c","attributes":{"enabled":true,"created":1616110911,"updated":1616110911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42","deletedDate":1616111861,"scheduledPurgeDate":1623887861,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1da120d42","attributes":{"enabled":true,"created":1616111830,"updated":1616111830,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c","deletedDate":1616110961,"scheduledPurgeDate":1623886961,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey29746122c","attributes":{"enabled":true,"created":1616110913,"updated":1616110913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42","deletedDate":1616111880,"scheduledPurgeDate":1623887880,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2da120d42","attributes":{"enabled":true,"created":1616111833,"updated":1616111833,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNek5GTnpCRk9ETXZSamN6UkRCQk1VVkdPVGhDTkRnNFFVSXpNREl4UWtWRU9URTNRakl4TlVVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '2463' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNek5GTnpCRk9ETXZSamN6UkRCQk1VVkdPVGhDTkRnNFFVSXpNREl4UWtWRU9URTNRakl4TlVVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c","deletedDate":1616110987,"scheduledPurgeDate":1623886987,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey39746122c","attributes":{"enabled":true,"created":1616110916,"updated":1616110916,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42","deletedDate":1616111902,"scheduledPurgeDate":1623887902,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3da120d42","attributes":{"enabled":true,"created":1616111835,"updated":1616111835,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c","deletedDate":1616110948,"scheduledPurgeDate":1623886948,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey49746122c","attributes":{"enabled":true,"created":1616110918,"updated":1616110918,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42","deletedDate":1616111911,"scheduledPurgeDate":1623887911,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4da120d42","attributes":{"enabled":true,"created":1616111838,"updated":1616111838,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c","deletedDate":1616110974,"scheduledPurgeDate":1623886974,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey59746122c","attributes":{"enabled":true,"created":1616110921,"updated":1616110921,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42","deletedDate":1616111922,"scheduledPurgeDate":1623887922,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5da120d42","attributes":{"enabled":true,"created":1616111840,"updated":1616111840,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '2408' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c","deletedDate":1616110923,"scheduledPurgeDate":1623886923,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey69746122c","attributes":{"enabled":true,"created":1616110923,"updated":1616110923,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42","deletedDate":1616111933,"scheduledPurgeDate":1623887933,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6da120d42","attributes":{"enabled":true,"created":1616111843,"updated":1616111843,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '731' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Thu, 18 Mar 2021 23:59:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Thu, 18 Mar 2021 23:59:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Thu, 18 Mar 2021 23:59:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Thu, 18 Mar 2021 23:59:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Thu, 18 Mar 2021 23:59:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Thu, 18 Mar 2021 23:59:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Thu, 18 Mar 2021 23:59:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6da120d42?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6da120d42"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c","deletedDate":1616110936,"scheduledPurgeDate":1623886936,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey09746122c","attributes":{"enabled":true,"created":1616110909,"updated":1616110909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c","deletedDate":1616110998,"scheduledPurgeDate":1623886998,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey19746122c","attributes":{"enabled":true,"created":1616110911,"updated":1616110911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c","deletedDate":1616110961,"scheduledPurgeDate":1623886961,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey29746122c","attributes":{"enabled":true,"created":1616110913,"updated":1616110913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNek5GTnpCRk9ETXZSamN6UkRCQk1VVkdPVGhDTkRnNFFVSXpNREl4UWtWRU9URTNRakl4TlVVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '1407' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNek5GTnpCRk9ETXZSamN6UkRCQk1VVkdPVGhDTkRnNFFVSXpNREl4UWtWRU9URTNRakl4TlVVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c","deletedDate":1616110987,"scheduledPurgeDate":1623886987,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey39746122c","attributes":{"enabled":true,"created":1616110916,"updated":1616110916,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c","deletedDate":1616110948,"scheduledPurgeDate":1623886948,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey49746122c","attributes":{"enabled":true,"created":1616110918,"updated":1616110918,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c","deletedDate":1616110974,"scheduledPurgeDate":1623886974,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey59746122c","attributes":{"enabled":true,"created":1616110921,"updated":1616110921,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: + - no-cache + content-length: + - '1352' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c","deletedDate":1616110923,"scheduledPurgeDate":1623886923,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey69746122c","attributes":{"enabled":true,"created":1616110923,"updated":1616110923,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '379' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:59:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover.yaml deleted file mode 100644 index a67ab51c3714..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover.yaml +++ /dev/null @@ -1,1915 +0,0 @@ -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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0a7710b8a/create?api-version=7.2-preview - 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: - - Sat, 06 Feb 2021 02:37:56 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0a7710b8a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a7710b8a/b18822cb6b1a4e4b9cf5f8a0468208a7","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rzU4E-UOGSeyz-UkW-WbfFfvynm56xKNeOmqon2areU6E6sgGLYSvfUxG_qf3LYlo8TRsVPwFofq1Zg5McEL-vUov10YcCV9N_8pbl663YAU3fVfsm3sgXueZraFQYgWw-v593bwuPaB0vYY1ZmzQtz1fY9uB8dTRUu9TEpGrmN2LqVKZm3QIxDSUOWU2RzFIGPvG7QXFH48wyNNF2YVrn7dAjVLv8T8IxV7-oIERpgJWk2k8yAaofmn3eFoHFlatmwTRGd4a0XgHjwaVdaxx9mxVdWZ3uSrfmm11M97_fYLD34SnXed8wd3lojmOs_YrXViJ-QX5b7mx-lHKtmbDQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579077,"updated":1612579077,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37:56 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey1a7710b8a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a7710b8a/dd06dbc6918541fb9d52c4af641a89ac","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pgV_DOLOzHF9shxtMvTrr438itQ9gB0GJNeO7aShh-4B_YKgbHAHwMNTYcjJ5AWvH8uECNloOYPO0x_w_XTNVRdzBDEI1F-cpvi-vVFuH-mqDEomr9JMacOSL2WJoYRExw8iGM9hg69NHENsBfxoCY9ory0fbVIeE4UmAnYi2iE9J28YSxRti4OxBXblC2WK2WJ5JAWA9QieqEm249d2VoGfKUfT4amKqEqKn6LR1Xu__RZUvxTPrAZnso5_vx4W3zaMsLv7him74LePZ2M4xNR4lNaq9ZjsNFisqo9E9P2gxFA3X8RJFVWs830d2FZYYgmwi1CLK4JcrPnlN2LRGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey2a7710b8a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a7710b8a/3fbbf425fc3a42ae858d6eb3081c2ad9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3IBCmIREGxZiJKMJDGzOEb4ufrPjePOr5756OF0lvr_6blMhzJPzTigDLStk2OJwz0uWfI7Ax1k0_-Tres-nCU-o2MN9oCiUqvpZdExy3vzEI7-bYSbfPqfYGFxUYeuXUICRkfRtfPhgqGs8b1F0SLqNjPSJpt8jfMOUlmmjTDe74PtLj1yty1iR_2gAK5hfMYXmXkK_MiFecOuPR3qPNYgvhpFKWGY3-Fe9ThHRLLwFk9sGCcA2XNMeineGQ3ep4FwpymEFyxreF2XfBWCmwrNVfd4Gf9ZinqdHJSEnFrBwQscE_DuSAeR343b6vyKk1dpC2fZEYFS8CqvIXPqMsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey3a7710b8a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a7710b8a/2a9fbdb739b04e96ba65a9bdb60257b3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8CAzWRiQ8XMJ2m8flyn5DgvsMsjcS7XK71s0XJtY6dQgPjl0V6aWGTfn8KVTTYiSTbT9Q0O1J_SWBO09Qcng9XQuS57Uok__uYTMpeo-_4Fj9JdXbXNFVtjrv3Ph_NSooVvFwoqcwYtenJs1HYurGGHQ6QGyGojhlK--zwQ3Tl4Nqma6HwGBv5ZUul6DxLXst5ZKDvBNFX94Nl8J3skeMXKJS7nSSPVF0KAC8v4APiWiljVD3kIeDqOQjzypSf9o-jL_Xip62tD5KbU15N-dDlKvehoiWjUYvo1TZHXQ_QVFJz0e6-FNfHxSVQYfqSGHJFRyMluL0O62uPoJ6KETTQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey4a7710b8a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a7710b8a/6e807f402963424ebd40f30856db858b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xZWi_e5HC3Z2F1P4QnroGI91MZHR8Pwf4QMfmaFl44YfR8mSLTcaTWC1_R3mkTY-JvplsA1fCtCvw_EY3oJwPnvyp5pTHBHDh-H3DWeu2fDnsV_2TuDTJEw7o4bZu8vNgJPslK_qSKQeLGexxOAhBPiqgY-dOMknkC9lClwX1D_NoVFknDbukUXH14ETgGKtCSbcZCr4MGOpp5OEL27YEyODvuw7iDbFAKKSYylQs0UYk_xx-fN8uhWuB76TLZ2pCpRb5wsC6xwromsnxur5_GbZWzzZx5kOWkqnF5uvB_q6KHQFZjwZpqRvhstm5QVDJHM5RiNziUQvqzgmFpNxIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey5a7710b8a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a7710b8a/5ad93d83e6f042f5b9f4446a862342b8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4QQViCXlc3kx72iBnrWCH-mCCT5JIcA_ahAwM6d_IP3EievKTSDfVxVTyOUEYLcJPUZmloUrEofgQNa3S0DLe2DDsFSpD-USXkCONWNHDelrVR87ldpR4fLtWwItpL3SkM7Q6STMP3jTetw5wb1mw_G0l1OyKoMHETsxDPFsuRHHLTHHRQPAshu7LImddcD6QUrjPTkcfo3bvEcZSQ0BG9z0Pk5N7PTeA0_9cSWLLeVtPkl9THJSYzpa2uk6IlGY-h79L-qayuiW58SdUfzB3FLmpnLA95E_AfFwvUEHeZrrBZ1a1hHZBKZcOMusPe-p9ujvn6WQVXnSR-gryYuwEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey6a7710b8a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a7710b8a/c456fccad73447d3b8f399f099ea11fd","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yZBAWHqfsDBKYxBiCWz071_9J6hBNonW6t2vu6g5dPtxJQ3q2oMx9qENiojtf0cCmygWzhovprsms1WQ8wWvbIYqXlyMRW-pvqYJuCX4oTLhtclb6wpAjMwQvgfWkmMDTvL7qfA5A1s48NRJFnfiTYl9bH5-JA6I81uheqPkCfjX-TqIfAPOVboqcb0Aw4D5-c5UiUPN1Ks4asrZTwJGM_TbZ01vXuNIFstjrlDcobnUAw7bT1suzpw5OnQijukqm7SANch15309DeJVOYeXrTa2t53CHaFWOsbIwapCBUnYFBeb4CKegKQ1biORmGNrycEOX6KByuyUlhe6HyTzVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:37: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey5a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a7710b8a","deletedDate":1612579080,"scheduledPurgeDate":1620355080,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a7710b8a/5ad93d83e6f042f5b9f4446a862342b8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4QQViCXlc3kx72iBnrWCH-mCCT5JIcA_ahAwM6d_IP3EievKTSDfVxVTyOUEYLcJPUZmloUrEofgQNa3S0DLe2DDsFSpD-USXkCONWNHDelrVR87ldpR4fLtWwItpL3SkM7Q6STMP3jTetw5wb1mw_G0l1OyKoMHETsxDPFsuRHHLTHHRQPAshu7LImddcD6QUrjPTkcfo3bvEcZSQ0BG9z0Pk5N7PTeA0_9cSWLLeVtPkl9THJSYzpa2uk6IlGY-h79L-qayuiW58SdUfzB3FLmpnLA95E_AfFwvUEHeZrrBZ1a1hHZBKZcOMusPe-p9ujvn6WQVXnSR-gryYuwEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:00 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:00 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a7710b8a","deletedDate":1612579080,"scheduledPurgeDate":1620355080,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a7710b8a/5ad93d83e6f042f5b9f4446a862342b8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4QQViCXlc3kx72iBnrWCH-mCCT5JIcA_ahAwM6d_IP3EievKTSDfVxVTyOUEYLcJPUZmloUrEofgQNa3S0DLe2DDsFSpD-USXkCONWNHDelrVR87ldpR4fLtWwItpL3SkM7Q6STMP3jTetw5wb1mw_G0l1OyKoMHETsxDPFsuRHHLTHHRQPAshu7LImddcD6QUrjPTkcfo3bvEcZSQ0BG9z0Pk5N7PTeA0_9cSWLLeVtPkl9THJSYzpa2uk6IlGY-h79L-qayuiW58SdUfzB3FLmpnLA95E_AfFwvUEHeZrrBZ1a1hHZBKZcOMusPe-p9ujvn6WQVXnSR-gryYuwEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:02 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey1a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a7710b8a","deletedDate":1612579082,"scheduledPurgeDate":1620355082,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a7710b8a/dd06dbc6918541fb9d52c4af641a89ac","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pgV_DOLOzHF9shxtMvTrr438itQ9gB0GJNeO7aShh-4B_YKgbHAHwMNTYcjJ5AWvH8uECNloOYPO0x_w_XTNVRdzBDEI1F-cpvi-vVFuH-mqDEomr9JMacOSL2WJoYRExw8iGM9hg69NHENsBfxoCY9ory0fbVIeE4UmAnYi2iE9J28YSxRti4OxBXblC2WK2WJ5JAWA9QieqEm249d2VoGfKUfT4amKqEqKn6LR1Xu__RZUvxTPrAZnso5_vx4W3zaMsLv7him74LePZ2M4xNR4lNaq9ZjsNFisqo9E9P2gxFA3X8RJFVWs830d2FZYYgmwi1CLK4JcrPnlN2LRGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:02 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:02 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:05 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a7710b8a","deletedDate":1612579082,"scheduledPurgeDate":1620355082,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a7710b8a/dd06dbc6918541fb9d52c4af641a89ac","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pgV_DOLOzHF9shxtMvTrr438itQ9gB0GJNeO7aShh-4B_YKgbHAHwMNTYcjJ5AWvH8uECNloOYPO0x_w_XTNVRdzBDEI1F-cpvi-vVFuH-mqDEomr9JMacOSL2WJoYRExw8iGM9hg69NHENsBfxoCY9ory0fbVIeE4UmAnYi2iE9J28YSxRti4OxBXblC2WK2WJ5JAWA9QieqEm249d2VoGfKUfT4amKqEqKn6LR1Xu__RZUvxTPrAZnso5_vx4W3zaMsLv7him74LePZ2M4xNR4lNaq9ZjsNFisqo9E9P2gxFA3X8RJFVWs830d2FZYYgmwi1CLK4JcrPnlN2LRGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:07 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey4a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a7710b8a","deletedDate":1612579087,"scheduledPurgeDate":1620355087,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a7710b8a/6e807f402963424ebd40f30856db858b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xZWi_e5HC3Z2F1P4QnroGI91MZHR8Pwf4QMfmaFl44YfR8mSLTcaTWC1_R3mkTY-JvplsA1fCtCvw_EY3oJwPnvyp5pTHBHDh-H3DWeu2fDnsV_2TuDTJEw7o4bZu8vNgJPslK_qSKQeLGexxOAhBPiqgY-dOMknkC9lClwX1D_NoVFknDbukUXH14ETgGKtCSbcZCr4MGOpp5OEL27YEyODvuw7iDbFAKKSYylQs0UYk_xx-fN8uhWuB76TLZ2pCpRb5wsC6xwromsnxur5_GbZWzzZx5kOWkqnF5uvB_q6KHQFZjwZpqRvhstm5QVDJHM5RiNziUQvqzgmFpNxIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:07 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:07 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:09 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a7710b8a","deletedDate":1612579087,"scheduledPurgeDate":1620355087,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a7710b8a/6e807f402963424ebd40f30856db858b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xZWi_e5HC3Z2F1P4QnroGI91MZHR8Pwf4QMfmaFl44YfR8mSLTcaTWC1_R3mkTY-JvplsA1fCtCvw_EY3oJwPnvyp5pTHBHDh-H3DWeu2fDnsV_2TuDTJEw7o4bZu8vNgJPslK_qSKQeLGexxOAhBPiqgY-dOMknkC9lClwX1D_NoVFknDbukUXH14ETgGKtCSbcZCr4MGOpp5OEL27YEyODvuw7iDbFAKKSYylQs0UYk_xx-fN8uhWuB76TLZ2pCpRb5wsC6xwromsnxur5_GbZWzzZx5kOWkqnF5uvB_q6KHQFZjwZpqRvhstm5QVDJHM5RiNziUQvqzgmFpNxIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:12 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey6a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a7710b8a","deletedDate":1612579092,"scheduledPurgeDate":1620355092,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a7710b8a/c456fccad73447d3b8f399f099ea11fd","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yZBAWHqfsDBKYxBiCWz071_9J6hBNonW6t2vu6g5dPtxJQ3q2oMx9qENiojtf0cCmygWzhovprsms1WQ8wWvbIYqXlyMRW-pvqYJuCX4oTLhtclb6wpAjMwQvgfWkmMDTvL7qfA5A1s48NRJFnfiTYl9bH5-JA6I81uheqPkCfjX-TqIfAPOVboqcb0Aw4D5-c5UiUPN1Ks4asrZTwJGM_TbZ01vXuNIFstjrlDcobnUAw7bT1suzpw5OnQijukqm7SANch15309DeJVOYeXrTa2t53CHaFWOsbIwapCBUnYFBeb4CKegKQ1biORmGNrycEOX6KByuyUlhe6HyTzVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:12 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:12 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a7710b8a","deletedDate":1612579092,"scheduledPurgeDate":1620355092,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a7710b8a/c456fccad73447d3b8f399f099ea11fd","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yZBAWHqfsDBKYxBiCWz071_9J6hBNonW6t2vu6g5dPtxJQ3q2oMx9qENiojtf0cCmygWzhovprsms1WQ8wWvbIYqXlyMRW-pvqYJuCX4oTLhtclb6wpAjMwQvgfWkmMDTvL7qfA5A1s48NRJFnfiTYl9bH5-JA6I81uheqPkCfjX-TqIfAPOVboqcb0Aw4D5-c5UiUPN1Ks4asrZTwJGM_TbZ01vXuNIFstjrlDcobnUAw7bT1suzpw5OnQijukqm7SANch15309DeJVOYeXrTa2t53CHaFWOsbIwapCBUnYFBeb4CKegKQ1biORmGNrycEOX6KByuyUlhe6HyTzVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey2a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a7710b8a","deletedDate":1612579095,"scheduledPurgeDate":1620355095,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a7710b8a/3fbbf425fc3a42ae858d6eb3081c2ad9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3IBCmIREGxZiJKMJDGzOEb4ufrPjePOr5756OF0lvr_6blMhzJPzTigDLStk2OJwz0uWfI7Ax1k0_-Tres-nCU-o2MN9oCiUqvpZdExy3vzEI7-bYSbfPqfYGFxUYeuXUICRkfRtfPhgqGs8b1F0SLqNjPSJpt8jfMOUlmmjTDe74PtLj1yty1iR_2gAK5hfMYXmXkK_MiFecOuPR3qPNYgvhpFKWGY3-Fe9ThHRLLwFk9sGCcA2XNMeineGQ3ep4FwpymEFyxreF2XfBWCmwrNVfd4Gf9ZinqdHJSEnFrBwQscE_DuSAeR343b6vyKk1dpC2fZEYFS8CqvIXPqMsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a7710b8a","deletedDate":1612579095,"scheduledPurgeDate":1620355095,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a7710b8a/3fbbf425fc3a42ae858d6eb3081c2ad9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3IBCmIREGxZiJKMJDGzOEb4ufrPjePOr5756OF0lvr_6blMhzJPzTigDLStk2OJwz0uWfI7Ax1k0_-Tres-nCU-o2MN9oCiUqvpZdExy3vzEI7-bYSbfPqfYGFxUYeuXUICRkfRtfPhgqGs8b1F0SLqNjPSJpt8jfMOUlmmjTDe74PtLj1yty1iR_2gAK5hfMYXmXkK_MiFecOuPR3qPNYgvhpFKWGY3-Fe9ThHRLLwFk9sGCcA2XNMeineGQ3ep4FwpymEFyxreF2XfBWCmwrNVfd4Gf9ZinqdHJSEnFrBwQscE_DuSAeR343b6vyKk1dpC2fZEYFS8CqvIXPqMsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a7710b8a","deletedDate":1612579098,"scheduledPurgeDate":1620355098,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a7710b8a/b18822cb6b1a4e4b9cf5f8a0468208a7","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rzU4E-UOGSeyz-UkW-WbfFfvynm56xKNeOmqon2areU6E6sgGLYSvfUxG_qf3LYlo8TRsVPwFofq1Zg5McEL-vUov10YcCV9N_8pbl663YAU3fVfsm3sgXueZraFQYgWw-v593bwuPaB0vYY1ZmzQtz1fY9uB8dTRUu9TEpGrmN2LqVKZm3QIxDSUOWU2RzFIGPvG7QXFH48wyNNF2YVrn7dAjVLv8T8IxV7-oIERpgJWk2k8yAaofmn3eFoHFlatmwTRGd4a0XgHjwaVdaxx9mxVdWZ3uSrfmm11M97_fYLD34SnXed8wd3lojmOs_YrXViJ-QX5b7mx-lHKtmbDQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579077,"updated":1612579077,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:18 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:18 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:20 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a7710b8a","deletedDate":1612579098,"scheduledPurgeDate":1620355098,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a7710b8a/b18822cb6b1a4e4b9cf5f8a0468208a7","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rzU4E-UOGSeyz-UkW-WbfFfvynm56xKNeOmqon2areU6E6sgGLYSvfUxG_qf3LYlo8TRsVPwFofq1Zg5McEL-vUov10YcCV9N_8pbl663YAU3fVfsm3sgXueZraFQYgWw-v593bwuPaB0vYY1ZmzQtz1fY9uB8dTRUu9TEpGrmN2LqVKZm3QIxDSUOWU2RzFIGPvG7QXFH48wyNNF2YVrn7dAjVLv8T8IxV7-oIERpgJWk2k8yAaofmn3eFoHFlatmwTRGd4a0XgHjwaVdaxx9mxVdWZ3uSrfmm11M97_fYLD34SnXed8wd3lojmOs_YrXViJ-QX5b7mx-lHKtmbDQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579077,"updated":1612579077,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:22 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey3a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a7710b8a","deletedDate":1612579103,"scheduledPurgeDate":1620355103,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a7710b8a/2a9fbdb739b04e96ba65a9bdb60257b3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8CAzWRiQ8XMJ2m8flyn5DgvsMsjcS7XK71s0XJtY6dQgPjl0V6aWGTfn8KVTTYiSTbT9Q0O1J_SWBO09Qcng9XQuS57Uok__uYTMpeo-_4Fj9JdXbXNFVtjrv3Ph_NSooVvFwoqcwYtenJs1HYurGGHQ6QGyGojhlK--zwQ3Tl4Nqma6HwGBv5ZUul6DxLXst5ZKDvBNFX94Nl8J3skeMXKJS7nSSPVF0KAC8v4APiWiljVD3kIeDqOQjzypSf9o-jL_Xip62tD5KbU15N-dDlKvehoiWjUYvo1TZHXQ_QVFJz0e6-FNfHxSVQYfqSGHJFRyMluL0O62uPoJ6KETTQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:22 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a7710b8a?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3a7710b8a"}}' - headers: - cache-control: - - no-cache - content-length: - - '90' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:22 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a7710b8a?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a7710b8a","deletedDate":1612579103,"scheduledPurgeDate":1620355103,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a7710b8a/2a9fbdb739b04e96ba65a9bdb60257b3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8CAzWRiQ8XMJ2m8flyn5DgvsMsjcS7XK71s0XJtY6dQgPjl0V6aWGTfn8KVTTYiSTbT9Q0O1J_SWBO09Qcng9XQuS57Uok__uYTMpeo-_4Fj9JdXbXNFVtjrv3Ph_NSooVvFwoqcwYtenJs1HYurGGHQ6QGyGojhlK--zwQ3Tl4Nqma6HwGBv5ZUul6DxLXst5ZKDvBNFX94Nl8J3skeMXKJS7nSSPVF0KAC8v4APiWiljVD3kIeDqOQjzypSf9o-jL_Xip62tD5KbU15N-dDlKvehoiWjUYvo1TZHXQ_QVFJz0e6-FNfHxSVQYfqSGHJFRyMluL0O62uPoJ6KETTQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '834' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d","attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a7710b8a","deletedDate":1612579098,"scheduledPurgeDate":1620355098,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a7710b8a","attributes":{"enabled":true,"created":1612579077,"updated":1612579077,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a7710b8a","deletedDate":1612579082,"scheduledPurgeDate":1620355082,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a7710b8a","attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a7710b8a","deletedDate":1612579095,"scheduledPurgeDate":1620355095,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a7710b8a","attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNa0l6TlRFd1FrWTRMekEwUXpGRE5qTkdNakl3TVRRd05EUkNORGRGUVVORE5qSTRSVUkwTlRZMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: - - no-cache - content-length: - - '2882' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:26 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNa0l6TlRFd1FrWTRMekEwUXpGRE5qTkdNakl3TVRRd05EUkNORGRGUVVORE5qSTRSVUkwTlRZMUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a7710b8a","deletedDate":1612579103,"scheduledPurgeDate":1620355103,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a7710b8a","attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a7710b8a","deletedDate":1612579087,"scheduledPurgeDate":1620355087,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a7710b8a","attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a7710b8a","deletedDate":1612579080,"scheduledPurgeDate":1620355080,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a7710b8a","attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a7710b8a","deletedDate":1612579092,"scheduledPurgeDate":1620355092,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a7710b8a","attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5rSTBSRVF3UXpCQklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: - - no-cache - content-length: - - '3112' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:26 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5rSTBSRVF3UXpCQklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '28' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:26 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a7710b8a/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a7710b8a/5ad93d83e6f042f5b9f4446a862342b8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4QQViCXlc3kx72iBnrWCH-mCCT5JIcA_ahAwM6d_IP3EievKTSDfVxVTyOUEYLcJPUZmloUrEofgQNa3S0DLe2DDsFSpD-USXkCONWNHDelrVR87ldpR4fLtWwItpL3SkM7Q6STMP3jTetw5wb1mw_G0l1OyKoMHETsxDPFsuRHHLTHHRQPAshu7LImddcD6QUrjPTkcfo3bvEcZSQ0BG9z0Pk5N7PTeA0_9cSWLLeVtPkl9THJSYzpa2uk6IlGY-h79L-qayuiW58SdUfzB3FLmpnLA95E_AfFwvUEHeZrrBZ1a1hHZBKZcOMusPe-p9ujvn6WQVXnSR-gryYuwEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a7710b8a/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a7710b8a/dd06dbc6918541fb9d52c4af641a89ac","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pgV_DOLOzHF9shxtMvTrr438itQ9gB0GJNeO7aShh-4B_YKgbHAHwMNTYcjJ5AWvH8uECNloOYPO0x_w_XTNVRdzBDEI1F-cpvi-vVFuH-mqDEomr9JMacOSL2WJoYRExw8iGM9hg69NHENsBfxoCY9ory0fbVIeE4UmAnYi2iE9J28YSxRti4OxBXblC2WK2WJ5JAWA9QieqEm249d2VoGfKUfT4amKqEqKn6LR1Xu__RZUvxTPrAZnso5_vx4W3zaMsLv7him74LePZ2M4xNR4lNaq9ZjsNFisqo9E9P2gxFA3X8RJFVWs830d2FZYYgmwi1CLK4JcrPnlN2LRGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a7710b8a/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a7710b8a/6e807f402963424ebd40f30856db858b","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xZWi_e5HC3Z2F1P4QnroGI91MZHR8Pwf4QMfmaFl44YfR8mSLTcaTWC1_R3mkTY-JvplsA1fCtCvw_EY3oJwPnvyp5pTHBHDh-H3DWeu2fDnsV_2TuDTJEw7o4bZu8vNgJPslK_qSKQeLGexxOAhBPiqgY-dOMknkC9lClwX1D_NoVFknDbukUXH14ETgGKtCSbcZCr4MGOpp5OEL27YEyODvuw7iDbFAKKSYylQs0UYk_xx-fN8uhWuB76TLZ2pCpRb5wsC6xwromsnxur5_GbZWzzZx5kOWkqnF5uvB_q6KHQFZjwZpqRvhstm5QVDJHM5RiNziUQvqzgmFpNxIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a7710b8a/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a7710b8a/c456fccad73447d3b8f399f099ea11fd","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yZBAWHqfsDBKYxBiCWz071_9J6hBNonW6t2vu6g5dPtxJQ3q2oMx9qENiojtf0cCmygWzhovprsms1WQ8wWvbIYqXlyMRW-pvqYJuCX4oTLhtclb6wpAjMwQvgfWkmMDTvL7qfA5A1s48NRJFnfiTYl9bH5-JA6I81uheqPkCfjX-TqIfAPOVboqcb0Aw4D5-c5UiUPN1Ks4asrZTwJGM_TbZ01vXuNIFstjrlDcobnUAw7bT1suzpw5OnQijukqm7SANch15309DeJVOYeXrTa2t53CHaFWOsbIwapCBUnYFBeb4CKegKQ1biORmGNrycEOX6KByuyUlhe6HyTzVQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a7710b8a/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a7710b8a/3fbbf425fc3a42ae858d6eb3081c2ad9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3IBCmIREGxZiJKMJDGzOEb4ufrPjePOr5756OF0lvr_6blMhzJPzTigDLStk2OJwz0uWfI7Ax1k0_-Tres-nCU-o2MN9oCiUqvpZdExy3vzEI7-bYSbfPqfYGFxUYeuXUICRkfRtfPhgqGs8b1F0SLqNjPSJpt8jfMOUlmmjTDe74PtLj1yty1iR_2gAK5hfMYXmXkK_MiFecOuPR3qPNYgvhpFKWGY3-Fe9ThHRLLwFk9sGCcA2XNMeineGQ3ep4FwpymEFyxreF2XfBWCmwrNVfd4Gf9ZinqdHJSEnFrBwQscE_DuSAeR343b6vyKk1dpC2fZEYFS8CqvIXPqMsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:28 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a7710b8a/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a7710b8a/b18822cb6b1a4e4b9cf5f8a0468208a7","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rzU4E-UOGSeyz-UkW-WbfFfvynm56xKNeOmqon2areU6E6sgGLYSvfUxG_qf3LYlo8TRsVPwFofq1Zg5McEL-vUov10YcCV9N_8pbl663YAU3fVfsm3sgXueZraFQYgWw-v593bwuPaB0vYY1ZmzQtz1fY9uB8dTRUu9TEpGrmN2LqVKZm3QIxDSUOWU2RzFIGPvG7QXFH48wyNNF2YVrn7dAjVLv8T8IxV7-oIERpgJWk2k8yAaofmn3eFoHFlatmwTRGd4a0XgHjwaVdaxx9mxVdWZ3uSrfmm11M97_fYLD34SnXed8wd3lojmOs_YrXViJ-QX5b7mx-lHKtmbDQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579077,"updated":1612579077,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:28 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.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 - Content-Length: - - '0' - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a7710b8a/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a7710b8a/2a9fbdb739b04e96ba65a9bdb60257b3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8CAzWRiQ8XMJ2m8flyn5DgvsMsjcS7XK71s0XJtY6dQgPjl0V6aWGTfn8KVTTYiSTbT9Q0O1J_SWBO09Qcng9XQuS57Uok__uYTMpeo-_4Fj9JdXbXNFVtjrv3Ph_NSooVvFwoqcwYtenJs1HYurGGHQ6QGyGojhlK--zwQ3Tl4Nqma6HwGBv5ZUul6DxLXst5ZKDvBNFX94Nl8J3skeMXKJS7nSSPVF0KAC8v4APiWiljVD3kIeDqOQjzypSf9o-jL_Xip62tD5KbU15N-dDlKvehoiWjUYvo1TZHXQ_QVFJz0e6-FNfHxSVQYfqSGHJFRyMluL0O62uPoJ6KETTQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:38:28 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover_mhsm.yaml new file mode 100644 index 000000000000..59c2b4ebf0b8 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover_mhsm.yaml @@ -0,0 +1,1319 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e73d0d9e/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '0' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e73d0d9e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111274,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111274},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e73d0d9e/296bad83292548861c5656e6c72b10d7","kty":"RSA-HSM","n":"s6RHesOTIHM8uNu81uMulGsgB_pTNHydCOIS-swBESfqxdt90_yRQ72uy-NRW0FHrtvzdforBlnYCfyr82x7fbjq8oFFXUgETOnduaelJ5dNbQB_eNdjv39AEFITApGbp-j_Nd2-uLIzBq1Mu4L41-zrwG_eoI-Kts11_Quoh95MMAEGln-TfPwjVsq52K02I5l5fA-kbNQRxeOSrkURo4P1ed5tSjCqPZQMdOPdYNUrfyiYEsQBc9oDoCvRJCfKA9p-CMPTAWuBGColwdhmOGME7OQSA9HMLnotejCxxYsUwpm4055Pb2uFfZE3_UOfg9DI1Gq3tO73ELWu9bkRsQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '229' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e73d0d9e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111276,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111276},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e73d0d9e/d0dc873c5f770e722e98fa7dfbc7a287","kty":"RSA-HSM","n":"hwxDSR6AgUwConJeY9vc_-sBSzHTb3Dm_iOMv2BVCfAkINnY4TWtuC7ZJ2T4qlSO4db30cXtCKRVmFm0AV2yUfdhd5aTa-q6ZSYQg6HKD8a_1nEVzk5SnuKeSlEYNXnqDFDozFIyvMdHVuoypeN-V86IacFj4P-MkkJVQQ9JJ1EX3nxMadrwVZyijSLsyX6dnbFy5Zd9U3sCz31hjlMlWu5IIZFYJ5oLnbL0L_liFLCoYKhKY3LZ0SaI8UMkh77t7WjLWjET5TeV8hACGTK9UEkjKzxIm5AJLEtn6tiCdSHdrJAm0EqZejLabus3TFawnPZSGmNzyCQuqqtzm58Nqw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '224' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e73d0d9e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111278,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111278},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e73d0d9e/b5acaf7031940576227c18a51cd14874","kty":"RSA-HSM","n":"iM_YcBI2ki6c2Z5bsYyd342ZqK0ddMy8vUw6lE691SvBcL6phUnrM7ma85YOj7VjfIMMW5jjokHFjnLRYaYRAqjiKvkKwhtMpwdX7Nl4XacQEKFYx5FUCXQCKwk-R7Mnz3-JzW2-yyApp8EDM5iIv8EVIBfMuwJb4oo84W09c8f8H_5wSZsVdnqrRKU3aOKLhzEMJlD2xKm4XYjacPuRvwbv_15G0rTvdbr0u44rD_89cE1SjHpAB3d1WRPPT0Sc05JS1da-UwqY2IzcdaY6jn3cO61vuSJi35jllSwSG6bBUv02qeypv8q7mz2esGL3aib68-iUrINj_dK3E5Rpjw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '235' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e73d0d9e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111281,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111281},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e73d0d9e/7107f3b60c4446772e029db699058889","kty":"RSA-HSM","n":"sxVYf0YbX5Dq_SGWcbT6CQ3jtjTSrfJYDGM_OYHDuspluXBmbY-OfFNRQeC7Z1L9cy9ioPIEvCnIn21u4hj1P8XtQgfEVsWxQ7PzY5HraRgFz-TycnFkQabENipCXvubVXI6XbIlOQ-TNKeV8Bh0LrqIz7O9ZXKJOHsq_aP6YNqjQ2v8lDBDpr8-vjmL5EEIAWI-oBIRsz_7OtItGHwxHNYOXZ3NmiUAflm-Ldveaj09ZQcdYBEFT7HH4c0nbSlhWT7NwPQNy8SINIBMM3S8KCp6a7cH0tJG-l_t50WFSH6CbZaVcHucnHALmlP9_tHVQQKxHTcTZ4ORWkjbVWi0EQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '208' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e73d0d9e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111283,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111283},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e73d0d9e/7e23b3d65d7044768ddf58e0d0f33fb2","kty":"RSA-HSM","n":"mJmtNOaM-3PvvaAqPnqLH1gFuVr5O2nqgbT3D3OAHOyKRF84YRfiEmR_U55PriDNDB5q3MskFBlRaD-tVju_4JBYTTISmgAWuuQupiobxddLqyL5-5VXv07b2MqAzaVRkpE6h6M_9Q_B52bZcUEBdHk9i_HbNTeCa1TrxqiRC1r5VdJdY03KyJ_B43p02mEviKHRac-I9DdCs4taNwJGKz8_JzI4GGBXOqxJBRaQ_A_xkSC57B4UWJbO4OP3x8u0n-9V566IPlk2kqo1dZGzDS-dluGNbSGNFnd8f2NtepeEeYgj4hizN4mwVN9f9va53DsSXa-Y4DWgNbsFz58gaQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '211' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e73d0d9e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111285,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111285},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e73d0d9e/9dec2659277a01b736c56cc74c16240e","kty":"RSA-HSM","n":"kyOxNPX3udhn3uoIRlHz-hWyhlekwC8Dh2ykCjKq388UzDGaNYRVUEVJQ0n0ryjB-rvP55gzeaoahArlB1jFKXrmbwesG4MkCkKqItdssA-xPOxW4uZiroH6QjT7acvmgE7AH-n-esj4lW8GzruYcxbZMx85JYhOklwGvijJFYBpELi5zY6PgytPY_RAFFdcGhJh3vYpqSvs5Y1b4Htiw3NrgWDAFydVCqbP7pvfmrkxKrg05NJiIzivfUIzEbIH1314CMNc0suSEUdMTRlKBOYbLxcqfCh0AdQ0ypFqCFUZHKmSeSS3P92ftulVjg5LbWt5OUpR-MyeJmZIHY81LQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '207' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e73d0d9e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111288,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111288},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e73d0d9e/4a2f446e616e03a484e9a68735828ed0","kty":"RSA-HSM","n":"rN23mHds6hS0PGibV89DILkalpq5CbT7VuduBmiYXqH4oUS0esgc5jpAIrKiFz4UkpuKoW7FJ9kuADe31hS17XUADcowrsLhc6M1DTalMuC7strSjZ0q2UYvRgIUN8RhTzR6soNBTiMXy-YzO2pF8YLx-I6063QCgwJIBlbzCfBbKI4OI9PDK32yENqL9GxfOfRdJvBH-Qt4SUbgzYRNXLPfXVuSj6K3zlrM3UeB5bYKos7StajGx3jn7fq9aXY-3pDMyb5sjv4pdyWl84Mr-G6Uc6-XiRFSAGN1ki_SF2XurEksh9A2cvldS4DDMserrG_BrNmkqOcRCdSnC3nMvQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '210' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111288,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111288},"deletedDate":1616111288,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e73d0d9e/4a2f446e616e03a484e9a68735828ed0","kty":"RSA-HSM","n":"rN23mHds6hS0PGibV89DILkalpq5CbT7VuduBmiYXqH4oUS0esgc5jpAIrKiFz4UkpuKoW7FJ9kuADe31hS17XUADcowrsLhc6M1DTalMuC7strSjZ0q2UYvRgIUN8RhTzR6soNBTiMXy-YzO2pF8YLx-I6063QCgwJIBlbzCfBbKI4OI9PDK32yENqL9GxfOfRdJvBH-Qt4SUbgzYRNXLPfXVuSj6K3zlrM3UeB5bYKos7StajGx3jn7fq9aXY-3pDMyb5sjv4pdyWl84Mr-G6Uc6-XiRFSAGN1ki_SF2XurEksh9A2cvldS4DDMserrG_BrNmkqOcRCdSnC3nMvQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6e73d0d9e","scheduledPurgeDate":1623887288}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '152' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111288,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111288},"deletedDate":1616111288,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e73d0d9e/4a2f446e616e03a484e9a68735828ed0","kty":"RSA-HSM","n":"rN23mHds6hS0PGibV89DILkalpq5CbT7VuduBmiYXqH4oUS0esgc5jpAIrKiFz4UkpuKoW7FJ9kuADe31hS17XUADcowrsLhc6M1DTalMuC7strSjZ0q2UYvRgIUN8RhTzR6soNBTiMXy-YzO2pF8YLx-I6063QCgwJIBlbzCfBbKI4OI9PDK32yENqL9GxfOfRdJvBH-Qt4SUbgzYRNXLPfXVuSj6K3zlrM3UeB5bYKos7StajGx3jn7fq9aXY-3pDMyb5sjv4pdyWl84Mr-G6Uc6-XiRFSAGN1ki_SF2XurEksh9A2cvldS4DDMserrG_BrNmkqOcRCdSnC3nMvQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6e73d0d9e","scheduledPurgeDate":1623887288}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '41' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111283,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111283},"deletedDate":1616111289,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e73d0d9e/7e23b3d65d7044768ddf58e0d0f33fb2","kty":"RSA-HSM","n":"mJmtNOaM-3PvvaAqPnqLH1gFuVr5O2nqgbT3D3OAHOyKRF84YRfiEmR_U55PriDNDB5q3MskFBlRaD-tVju_4JBYTTISmgAWuuQupiobxddLqyL5-5VXv07b2MqAzaVRkpE6h6M_9Q_B52bZcUEBdHk9i_HbNTeCa1TrxqiRC1r5VdJdY03KyJ_B43p02mEviKHRac-I9DdCs4taNwJGKz8_JzI4GGBXOqxJBRaQ_A_xkSC57B4UWJbO4OP3x8u0n-9V566IPlk2kqo1dZGzDS-dluGNbSGNFnd8f2NtepeEeYgj4hizN4mwVN9f9va53DsSXa-Y4DWgNbsFz58gaQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4e73d0d9e","scheduledPurgeDate":1623887289}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '137' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111283,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111283},"deletedDate":1616111289,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e73d0d9e/7e23b3d65d7044768ddf58e0d0f33fb2","kty":"RSA-HSM","n":"mJmtNOaM-3PvvaAqPnqLH1gFuVr5O2nqgbT3D3OAHOyKRF84YRfiEmR_U55PriDNDB5q3MskFBlRaD-tVju_4JBYTTISmgAWuuQupiobxddLqyL5-5VXv07b2MqAzaVRkpE6h6M_9Q_B52bZcUEBdHk9i_HbNTeCa1TrxqiRC1r5VdJdY03KyJ_B43p02mEviKHRac-I9DdCs4taNwJGKz8_JzI4GGBXOqxJBRaQ_A_xkSC57B4UWJbO4OP3x8u0n-9V566IPlk2kqo1dZGzDS-dluGNbSGNFnd8f2NtepeEeYgj4hizN4mwVN9f9va53DsSXa-Y4DWgNbsFz58gaQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4e73d0d9e","scheduledPurgeDate":1623887289}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '36' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111276,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111276},"deletedDate":1616111289,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e73d0d9e/d0dc873c5f770e722e98fa7dfbc7a287","kty":"RSA-HSM","n":"hwxDSR6AgUwConJeY9vc_-sBSzHTb3Dm_iOMv2BVCfAkINnY4TWtuC7ZJ2T4qlSO4db30cXtCKRVmFm0AV2yUfdhd5aTa-q6ZSYQg6HKD8a_1nEVzk5SnuKeSlEYNXnqDFDozFIyvMdHVuoypeN-V86IacFj4P-MkkJVQQ9JJ1EX3nxMadrwVZyijSLsyX6dnbFy5Zd9U3sCz31hjlMlWu5IIZFYJ5oLnbL0L_liFLCoYKhKY3LZ0SaI8UMkh77t7WjLWjET5TeV8hACGTK9UEkjKzxIm5AJLEtn6tiCdSHdrJAm0EqZejLabus3TFawnPZSGmNzyCQuqqtzm58Nqw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1e73d0d9e","scheduledPurgeDate":1623887289}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '149' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111276,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111276},"deletedDate":1616111289,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e73d0d9e/d0dc873c5f770e722e98fa7dfbc7a287","kty":"RSA-HSM","n":"hwxDSR6AgUwConJeY9vc_-sBSzHTb3Dm_iOMv2BVCfAkINnY4TWtuC7ZJ2T4qlSO4db30cXtCKRVmFm0AV2yUfdhd5aTa-q6ZSYQg6HKD8a_1nEVzk5SnuKeSlEYNXnqDFDozFIyvMdHVuoypeN-V86IacFj4P-MkkJVQQ9JJ1EX3nxMadrwVZyijSLsyX6dnbFy5Zd9U3sCz31hjlMlWu5IIZFYJ5oLnbL0L_liFLCoYKhKY3LZ0SaI8UMkh77t7WjLWjET5TeV8hACGTK9UEkjKzxIm5AJLEtn6tiCdSHdrJAm0EqZejLabus3TFawnPZSGmNzyCQuqqtzm58Nqw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1e73d0d9e","scheduledPurgeDate":1623887289}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '34' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111285,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111285},"deletedDate":1616111289,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e73d0d9e/9dec2659277a01b736c56cc74c16240e","kty":"RSA-HSM","n":"kyOxNPX3udhn3uoIRlHz-hWyhlekwC8Dh2ykCjKq388UzDGaNYRVUEVJQ0n0ryjB-rvP55gzeaoahArlB1jFKXrmbwesG4MkCkKqItdssA-xPOxW4uZiroH6QjT7acvmgE7AH-n-esj4lW8GzruYcxbZMx85JYhOklwGvijJFYBpELi5zY6PgytPY_RAFFdcGhJh3vYpqSvs5Y1b4Htiw3NrgWDAFydVCqbP7pvfmrkxKrg05NJiIzivfUIzEbIH1314CMNc0suSEUdMTRlKBOYbLxcqfCh0AdQ0ypFqCFUZHKmSeSS3P92ftulVjg5LbWt5OUpR-MyeJmZIHY81LQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5e73d0d9e","scheduledPurgeDate":1623887289}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '147' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111285,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111285},"deletedDate":1616111289,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e73d0d9e/9dec2659277a01b736c56cc74c16240e","kty":"RSA-HSM","n":"kyOxNPX3udhn3uoIRlHz-hWyhlekwC8Dh2ykCjKq388UzDGaNYRVUEVJQ0n0ryjB-rvP55gzeaoahArlB1jFKXrmbwesG4MkCkKqItdssA-xPOxW4uZiroH6QjT7acvmgE7AH-n-esj4lW8GzruYcxbZMx85JYhOklwGvijJFYBpELi5zY6PgytPY_RAFFdcGhJh3vYpqSvs5Y1b4Htiw3NrgWDAFydVCqbP7pvfmrkxKrg05NJiIzivfUIzEbIH1314CMNc0suSEUdMTRlKBOYbLxcqfCh0AdQ0ypFqCFUZHKmSeSS3P92ftulVjg5LbWt5OUpR-MyeJmZIHY81LQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5e73d0d9e","scheduledPurgeDate":1623887289}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '32' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111274,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111274},"deletedDate":1616111290,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e73d0d9e/296bad83292548861c5656e6c72b10d7","kty":"RSA-HSM","n":"s6RHesOTIHM8uNu81uMulGsgB_pTNHydCOIS-swBESfqxdt90_yRQ72uy-NRW0FHrtvzdforBlnYCfyr82x7fbjq8oFFXUgETOnduaelJ5dNbQB_eNdjv39AEFITApGbp-j_Nd2-uLIzBq1Mu4L41-zrwG_eoI-Kts11_Quoh95MMAEGln-TfPwjVsq52K02I5l5fA-kbNQRxeOSrkURo4P1ed5tSjCqPZQMdOPdYNUrfyiYEsQBc9oDoCvRJCfKA9p-CMPTAWuBGColwdhmOGME7OQSA9HMLnotejCxxYsUwpm4055Pb2uFfZE3_UOfg9DI1Gq3tO73ELWu9bkRsQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0e73d0d9e","scheduledPurgeDate":1623887290}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '151' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111274,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111274},"deletedDate":1616111290,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e73d0d9e/296bad83292548861c5656e6c72b10d7","kty":"RSA-HSM","n":"s6RHesOTIHM8uNu81uMulGsgB_pTNHydCOIS-swBESfqxdt90_yRQ72uy-NRW0FHrtvzdforBlnYCfyr82x7fbjq8oFFXUgETOnduaelJ5dNbQB_eNdjv39AEFITApGbp-j_Nd2-uLIzBq1Mu4L41-zrwG_eoI-Kts11_Quoh95MMAEGln-TfPwjVsq52K02I5l5fA-kbNQRxeOSrkURo4P1ed5tSjCqPZQMdOPdYNUrfyiYEsQBc9oDoCvRJCfKA9p-CMPTAWuBGColwdhmOGME7OQSA9HMLnotejCxxYsUwpm4055Pb2uFfZE3_UOfg9DI1Gq3tO73ELWu9bkRsQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0e73d0d9e","scheduledPurgeDate":1623887290}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '29' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111278,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111278},"deletedDate":1616111290,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e73d0d9e/b5acaf7031940576227c18a51cd14874","kty":"RSA-HSM","n":"iM_YcBI2ki6c2Z5bsYyd342ZqK0ddMy8vUw6lE691SvBcL6phUnrM7ma85YOj7VjfIMMW5jjokHFjnLRYaYRAqjiKvkKwhtMpwdX7Nl4XacQEKFYx5FUCXQCKwk-R7Mnz3-JzW2-yyApp8EDM5iIv8EVIBfMuwJb4oo84W09c8f8H_5wSZsVdnqrRKU3aOKLhzEMJlD2xKm4XYjacPuRvwbv_15G0rTvdbr0u44rD_89cE1SjHpAB3d1WRPPT0Sc05JS1da-UwqY2IzcdaY6jn3cO61vuSJi35jllSwSG6bBUv02qeypv8q7mz2esGL3aib68-iUrINj_dK3E5Rpjw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2e73d0d9e","scheduledPurgeDate":1623887290}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '149' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111278,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111278},"deletedDate":1616111290,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e73d0d9e/b5acaf7031940576227c18a51cd14874","kty":"RSA-HSM","n":"iM_YcBI2ki6c2Z5bsYyd342ZqK0ddMy8vUw6lE691SvBcL6phUnrM7ma85YOj7VjfIMMW5jjokHFjnLRYaYRAqjiKvkKwhtMpwdX7Nl4XacQEKFYx5FUCXQCKwk-R7Mnz3-JzW2-yyApp8EDM5iIv8EVIBfMuwJb4oo84W09c8f8H_5wSZsVdnqrRKU3aOKLhzEMJlD2xKm4XYjacPuRvwbv_15G0rTvdbr0u44rD_89cE1SjHpAB3d1WRPPT0Sc05JS1da-UwqY2IzcdaY6jn3cO61vuSJi35jllSwSG6bBUv02qeypv8q7mz2esGL3aib68-iUrINj_dK3E5Rpjw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2e73d0d9e","scheduledPurgeDate":1623887290}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '31' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111281,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111281},"deletedDate":1616111291,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e73d0d9e/7107f3b60c4446772e029db699058889","kty":"RSA-HSM","n":"sxVYf0YbX5Dq_SGWcbT6CQ3jtjTSrfJYDGM_OYHDuspluXBmbY-OfFNRQeC7Z1L9cy9ioPIEvCnIn21u4hj1P8XtQgfEVsWxQ7PzY5HraRgFz-TycnFkQabENipCXvubVXI6XbIlOQ-TNKeV8Bh0LrqIz7O9ZXKJOHsq_aP6YNqjQ2v8lDBDpr8-vjmL5EEIAWI-oBIRsz_7OtItGHwxHNYOXZ3NmiUAflm-Ldveaj09ZQcdYBEFT7HH4c0nbSlhWT7NwPQNy8SINIBMM3S8KCp6a7cH0tJG-l_t50WFSH6CbZaVcHucnHALmlP9_tHVQQKxHTcTZ4ORWkjbVWi0EQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3e73d0d9e","scheduledPurgeDate":1623887291}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '151' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3e73d0d9e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111281,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111281},"deletedDate":1616111291,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e73d0d9e/7107f3b60c4446772e029db699058889","kty":"RSA-HSM","n":"sxVYf0YbX5Dq_SGWcbT6CQ3jtjTSrfJYDGM_OYHDuspluXBmbY-OfFNRQeC7Z1L9cy9ioPIEvCnIn21u4hj1P8XtQgfEVsWxQ7PzY5HraRgFz-TycnFkQabENipCXvubVXI6XbIlOQ-TNKeV8Bh0LrqIz7O9ZXKJOHsq_aP6YNqjQ2v8lDBDpr8-vjmL5EEIAWI-oBIRsz_7OtItGHwxHNYOXZ3NmiUAflm-Ldveaj09ZQcdYBEFT7HH4c0nbSlhWT7NwPQNy8SINIBMM3S8KCp6a7cH0tJG-l_t50WFSH6CbZaVcHucnHALmlP9_tHVQQKxHTcTZ4ORWkjbVWi0EQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3e73d0d9e","scheduledPurgeDate":1623887291}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '33' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/deletedkeys?maxresults=25&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVF6QUFBQUFBQUFBQT09I1JUOjEjVFJDOjEwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw","value":[{"attributes":{"created":1616110888,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110888},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110891,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110891},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1850811b5","scheduledPurgeDate":1623886903},{"attributes":{"created":1616110893,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110893},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110895,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110895},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110898,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110898},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110900,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110900},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110902,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110902},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6850811b5","scheduledPurgeDate":1623886903},{"attributes":{"created":1616111274,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111274},"deletedDate":1616111290,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e73d0d9e","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0e73d0d9e","scheduledPurgeDate":1623887290},{"attributes":{"created":1616111276,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111276},"deletedDate":1616111289,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e73d0d9e","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1e73d0d9e","scheduledPurgeDate":1623887289},{"attributes":{"created":1616111278,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111278},"deletedDate":1616111290,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e73d0d9e","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2e73d0d9e","scheduledPurgeDate":1623887290}]}' + headers: + cache-control: + - no-cache + content-length: + - '4063' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '42' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?maxresults=25&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVF6QUFBQUFBQUFBQT09I1JUOjEjVFJDOjEwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw + response: + body: + string: '{"value":[{"attributes":{"created":1616111281,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111281},"deletedDate":1616111291,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e73d0d9e","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3e73d0d9e","scheduledPurgeDate":1623887291},{"attributes":{"created":1616111283,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111283},"deletedDate":1616111289,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e73d0d9e","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4e73d0d9e","scheduledPurgeDate":1623887289},{"attributes":{"created":1616111285,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111285},"deletedDate":1616111289,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e73d0d9e","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5e73d0d9e","scheduledPurgeDate":1623887289},{"attributes":{"created":1616111288,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111288},"deletedDate":1616111288,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e73d0d9e","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6e73d0d9e","scheduledPurgeDate":1623887288}]}' + headers: + cache-control: + - no-cache + content-length: + - '1559' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '33' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6e73d0d9e/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111288,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111288},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e73d0d9e/4a2f446e616e03a484e9a68735828ed0","kty":"RSA-HSM","n":"rN23mHds6hS0PGibV89DILkalpq5CbT7VuduBmiYXqH4oUS0esgc5jpAIrKiFz4UkpuKoW7FJ9kuADe31hS17XUADcowrsLhc6M1DTalMuC7strSjZ0q2UYvRgIUN8RhTzR6soNBTiMXy-YzO2pF8YLx-I6063QCgwJIBlbzCfBbKI4OI9PDK32yENqL9GxfOfRdJvBH-Qt4SUbgzYRNXLPfXVuSj6K3zlrM3UeB5bYKos7StajGx3jn7fq9aXY-3pDMyb5sjv4pdyWl84Mr-G6Uc6-XiRFSAGN1ki_SF2XurEksh9A2cvldS4DDMserrG_BrNmkqOcRCdSnC3nMvQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '131' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4e73d0d9e/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111283,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111283},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e73d0d9e/7e23b3d65d7044768ddf58e0d0f33fb2","kty":"RSA-HSM","n":"mJmtNOaM-3PvvaAqPnqLH1gFuVr5O2nqgbT3D3OAHOyKRF84YRfiEmR_U55PriDNDB5q3MskFBlRaD-tVju_4JBYTTISmgAWuuQupiobxddLqyL5-5VXv07b2MqAzaVRkpE6h6M_9Q_B52bZcUEBdHk9i_HbNTeCa1TrxqiRC1r5VdJdY03KyJ_B43p02mEviKHRac-I9DdCs4taNwJGKz8_JzI4GGBXOqxJBRaQ_A_xkSC57B4UWJbO4OP3x8u0n-9V566IPlk2kqo1dZGzDS-dluGNbSGNFnd8f2NtepeEeYgj4hizN4mwVN9f9va53DsSXa-Y4DWgNbsFz58gaQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '123' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1e73d0d9e/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111276,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111276},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e73d0d9e/d0dc873c5f770e722e98fa7dfbc7a287","kty":"RSA-HSM","n":"hwxDSR6AgUwConJeY9vc_-sBSzHTb3Dm_iOMv2BVCfAkINnY4TWtuC7ZJ2T4qlSO4db30cXtCKRVmFm0AV2yUfdhd5aTa-q6ZSYQg6HKD8a_1nEVzk5SnuKeSlEYNXnqDFDozFIyvMdHVuoypeN-V86IacFj4P-MkkJVQQ9JJ1EX3nxMadrwVZyijSLsyX6dnbFy5Zd9U3sCz31hjlMlWu5IIZFYJ5oLnbL0L_liFLCoYKhKY3LZ0SaI8UMkh77t7WjLWjET5TeV8hACGTK9UEkjKzxIm5AJLEtn6tiCdSHdrJAm0EqZejLabus3TFawnPZSGmNzyCQuqqtzm58Nqw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '160' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5e73d0d9e/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111285,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111285},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e73d0d9e/9dec2659277a01b736c56cc74c16240e","kty":"RSA-HSM","n":"kyOxNPX3udhn3uoIRlHz-hWyhlekwC8Dh2ykCjKq388UzDGaNYRVUEVJQ0n0ryjB-rvP55gzeaoahArlB1jFKXrmbwesG4MkCkKqItdssA-xPOxW4uZiroH6QjT7acvmgE7AH-n-esj4lW8GzruYcxbZMx85JYhOklwGvijJFYBpELi5zY6PgytPY_RAFFdcGhJh3vYpqSvs5Y1b4Htiw3NrgWDAFydVCqbP7pvfmrkxKrg05NJiIzivfUIzEbIH1314CMNc0suSEUdMTRlKBOYbLxcqfCh0AdQ0ypFqCFUZHKmSeSS3P92ftulVjg5LbWt5OUpR-MyeJmZIHY81LQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '127' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0e73d0d9e/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111274,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111274},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e73d0d9e/296bad83292548861c5656e6c72b10d7","kty":"RSA-HSM","n":"s6RHesOTIHM8uNu81uMulGsgB_pTNHydCOIS-swBESfqxdt90_yRQ72uy-NRW0FHrtvzdforBlnYCfyr82x7fbjq8oFFXUgETOnduaelJ5dNbQB_eNdjv39AEFITApGbp-j_Nd2-uLIzBq1Mu4L41-zrwG_eoI-Kts11_Quoh95MMAEGln-TfPwjVsq52K02I5l5fA-kbNQRxeOSrkURo4P1ed5tSjCqPZQMdOPdYNUrfyiYEsQBc9oDoCvRJCfKA9p-CMPTAWuBGColwdhmOGME7OQSA9HMLnotejCxxYsUwpm4055Pb2uFfZE3_UOfg9DI1Gq3tO73ELWu9bkRsQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '129' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2e73d0d9e/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111278,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111278},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e73d0d9e/b5acaf7031940576227c18a51cd14874","kty":"RSA-HSM","n":"iM_YcBI2ki6c2Z5bsYyd342ZqK0ddMy8vUw6lE691SvBcL6phUnrM7ma85YOj7VjfIMMW5jjokHFjnLRYaYRAqjiKvkKwhtMpwdX7Nl4XacQEKFYx5FUCXQCKwk-R7Mnz3-JzW2-yyApp8EDM5iIv8EVIBfMuwJb4oo84W09c8f8H_5wSZsVdnqrRKU3aOKLhzEMJlD2xKm4XYjacPuRvwbv_15G0rTvdbr0u44rD_89cE1SjHpAB3d1WRPPT0Sc05JS1da-UwqY2IzcdaY6jn3cO61vuSJi35jllSwSG6bBUv02qeypv8q7mz2esGL3aib68-iUrINj_dK3E5Rpjw"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '128' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3e73d0d9e/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616111281,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111281},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e73d0d9e/7107f3b60c4446772e029db699058889","kty":"RSA-HSM","n":"sxVYf0YbX5Dq_SGWcbT6CQ3jtjTSrfJYDGM_OYHDuspluXBmbY-OfFNRQeC7Z1L9cy9ioPIEvCnIn21u4hj1P8XtQgfEVsWxQ7PzY5HraRgFz-TycnFkQabENipCXvubVXI6XbIlOQ-TNKeV8Bh0LrqIz7O9ZXKJOHsq_aP6YNqjQ2v8lDBDpr8-vjmL5EEIAWI-oBIRsz_7OtItGHwxHNYOXZ3NmiUAflm-Ldveaj09ZQcdYBEFT7HH4c0nbSlhWT7NwPQNy8SINIBMM3S8KCp6a7cH0tJG-l_t50WFSH6CbZaVcHucnHALmlP9_tHVQQKxHTcTZ4ORWkjbVWi0EQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '126' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover_vault.yaml new file mode 100644 index 000000000000..b32692f0e3c0 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_key_client.test_recover_vault.yaml @@ -0,0 +1,3102 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f5640e15/create?api-version=7.2-preview + 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: + - Thu, 18 Mar 2021 23:48:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f5640e15/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f5640e15/2f6614cb483541ba93e66d57547fe41e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2StToL-E-4-5YEWK7fgeN_g1NwHbKGNYsJabSzGUqdgE9ZrfJwReyrChOcxkylG9z5iStcQYT33cFXvEd9FhqzhgWE_cfmgi7aU6c0R5y8bZzrCArUzULgfDOIDa0xCReO2ib_LgW2v7ktKcGueEa0K23IDy538_5SS7q25qqF43BWS5BhAcdMrUSiqefc61jHyTyaWLfRw-CkK4aWd9vR7fWgaftYNVvvzUQWha_XZ-k2I9cC_j0hJlRVrFN8ecUGcPfghMUc0b0HR-KQOKOag06ZJ9W5bHA4qIP3X3EGG9NMW0gGUcLB0DOVwKV-KqpMjanvQS8JPeUZgPcojjzQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111296,"updated":1616111296,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f5640e15/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f5640e15/4acf30af15734b249c51d684e1e35212","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4ngdNz25DCsFwMZN29jr1l9iB8I5pcRwqrEiql4N_yYOrha3GTb649cn7HxpEYA47v_kBCiBv4QocUBGpF4AQvCfBmEvnmdoUUHkq9SHJofrXfSHWPEvIMBeUImxJ4PGjQBNUvZCITC47-M9rmmI6qHxtP7isJ5Z8sLYJ9LJs6wbrtNWDQ8VprnNeuDD0cECWmu_L5GD0RB9wXMIKBl1-J8mnJ9vR52-hcy1JhMnTXNINoVcRkLmgHGndii-tpZ_5JkYBeJ35_PUv9M3hdc-JpQzoP0MLXixtXBTvqEUF3XIa_XIN6QVsgrSmuVlqFdD8xueBABa7WntKS1XHtu-rQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111298,"updated":1616111298,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f5640e15/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f5640e15/f1785a2e336449548d0a87968e7c2def","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"lP-pXTq7x5ZwUg5Onyeh0qxcl0p_VJERDaVtyJWuaSY-NQL4jwJKePyCfQES8766CwcH10Yxd7ZkMc2cah4nME16xMPpWw7QFSer5bZFdluL-DDkH0RWmZ0UuwshFTpvhp11C06ectw7EFyLI7mWsvVmIwYOIBhiVcWYo8z9wPzv2yxOfZSaVkTYzdEBfWeaug-kUi-P1mZKQzi26mEE7Bn_5PZ9IcSiZ3ajEjZ4glL7N5ZshWrxPp4NgMJJOfas4i98eteXwegTq3RB0fgUiFsnTY1Baxy7q6EvJmv3gtCxVLzDG10_PX7cGIhr4-vC3G50LPXMai5elxi0dLZGvQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111301,"updated":1616111301,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f5640e15/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f5640e15/5a21be01ad1748a592dc5acc70b15196","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"84Wt3K3dBzw4yDfrUWciO6QiBO2YhxI7_4AdegSGItff1aTXhN9tqBQHG9MlLJhiGNxX6717ZYCdt4DIW5KzTwQb2kX9aqldhR9JsB74LpbZ7juMGDlEBBoSZpqhmFgdEoexs7N0Q3vQl1xqLZwUSRs3Z7oat7muf2t5Blmopgk5i82UaR05g5OpBLE6lxLoR9KEy_hL_xjmAkVhsStZ4Fi2E9KOw2v0NG3EeUUZofWB36_gqT59QF0cPfnpV7Hirjy_bcH3u5yHuaWc8QqBPSQiEYDN2JYpz3SOlIB8F-Zs_4Gm4z95Z0FhfaQ-USsxIfvhyoaheYBO63uyqAQWuQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111303,"updated":1616111303,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f5640e15/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f5640e15/cce7414b8da44e04b7f4322536292937","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uCWHm3_csGNbVGgV1FLPB_rBUQNwtUBh7nBuYkQN0EYMZhsTHUoKsXmXHXoDJJnXdGH8TFkfOSwMnzmek1zLEJ9dQXcrJSL1DsPc3jqDFGzViiNW5QaU8x6GdxSJH761yZTpsjukvdSo9hkPrnrAT_ThwTPvv4nLBYjnFm9hGeJiYaT5ZjzVfARAxI6Bf8RH1_jBO5gf0T9DyXboTU5ZK86jGVlv0xudiPU858hJTGmvRUbvmyPZGEJ-XTSNFRF1JINQSAkKbf63pJuSKhjrazpS4BQRo9PNZ_90Bc9VoOhtzss8eTI9a59rP43Bie6oEPYvETRCjmOHbftoErGMMQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111305,"updated":1616111305,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f5640e15/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f5640e15/6fda03e0c52f4f3e8bfc20c81f5826fb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wROUqfRiId1QUMktSRlWXOMTjggkjEUJDdia2UsdIo65gJyHwdZrScwm8UHhuopgtO9odoAezAOk8IINhe5HLqSs46PE5hscuMiXUJXeqIu1FdT39fh8x1fVdsUSQuSb8c5JKEbfBtVsMgMxyPyEOkU05FsDNXuOMH_8YbwzGGKB-aH1zMbPGc7NxMETG_d9pZhCxYOuei8VavMC1Y_WZ-4MZdxtccARpxDFDxu5fB3gO7m8gUCKoXfB7Kyhj3UDe1QeOvBLtI2oPTW4tXc7Fc04peaCbHYmD6lswOgv-wwRWiNSImB2UTy6u2AOfXvBwYeaBDFKBxlja9u7M4WEwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111308,"updated":1616111308,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:27 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f5640e15/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f5640e15/ef820c8c36ef4df59e845681336defbb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pLay62KAo-jLCnCjOQrAB6uf1Hbi8qUCa8L2SFB6voXkvJCadVe5Ok37XYS9BGMQaY4S7NoC2KYY2L_R2MGuK4xER3I5VWnbtGt75ozfQ_EXmXLKKFCTwUYfXfjdvGzexQjOFW4YTeUSaS18307fGwvJRp7O6Vyk82NFMJm-tQuhKs_ps-wdoPalsMkAk-SipfrJG-ScbRfHU5E3r8TeBVFIxN4u0Jai6TKsZHq8Ore45Ivjn9TCbDEidFUdgix_C6JmDISPXK_QC5Cs4iD24DUIwv4uy8Z6GKDO7y-CsnnuRRY5pS0KaHGGu8sLl8-wC62YJJrFEN_vfBt_6Z3s7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616111310,"updated":1616111310,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15","deletedDate":1616111310,"scheduledPurgeDate":1623887310,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f5640e15/2f6614cb483541ba93e66d57547fe41e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2StToL-E-4-5YEWK7fgeN_g1NwHbKGNYsJabSzGUqdgE9ZrfJwReyrChOcxkylG9z5iStcQYT33cFXvEd9FhqzhgWE_cfmgi7aU6c0R5y8bZzrCArUzULgfDOIDa0xCReO2ib_LgW2v7ktKcGueEa0K23IDy538_5SS7q25qqF43BWS5BhAcdMrUSiqefc61jHyTyaWLfRw-CkK4aWd9vR7fWgaftYNVvvzUQWha_XZ-k2I9cC_j0hJlRVrFN8ecUGcPfghMUc0b0HR-KQOKOag06ZJ9W5bHA4qIP3X3EGG9NMW0gGUcLB0DOVwKV-KqpMjanvQS8JPeUZgPcojjzQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111296,"updated":1616111296,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15","deletedDate":1616111310,"scheduledPurgeDate":1623887310,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f5640e15/2f6614cb483541ba93e66d57547fe41e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2StToL-E-4-5YEWK7fgeN_g1NwHbKGNYsJabSzGUqdgE9ZrfJwReyrChOcxkylG9z5iStcQYT33cFXvEd9FhqzhgWE_cfmgi7aU6c0R5y8bZzrCArUzULgfDOIDa0xCReO2ib_LgW2v7ktKcGueEa0K23IDy538_5SS7q25qqF43BWS5BhAcdMrUSiqefc61jHyTyaWLfRw-CkK4aWd9vR7fWgaftYNVvvzUQWha_XZ-k2I9cC_j0hJlRVrFN8ecUGcPfghMUc0b0HR-KQOKOag06ZJ9W5bHA4qIP3X3EGG9NMW0gGUcLB0DOVwKV-KqpMjanvQS8JPeUZgPcojjzQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111296,"updated":1616111296,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15","deletedDate":1616111321,"scheduledPurgeDate":1623887321,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f5640e15/ef820c8c36ef4df59e845681336defbb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pLay62KAo-jLCnCjOQrAB6uf1Hbi8qUCa8L2SFB6voXkvJCadVe5Ok37XYS9BGMQaY4S7NoC2KYY2L_R2MGuK4xER3I5VWnbtGt75ozfQ_EXmXLKKFCTwUYfXfjdvGzexQjOFW4YTeUSaS18307fGwvJRp7O6Vyk82NFMJm-tQuhKs_ps-wdoPalsMkAk-SipfrJG-ScbRfHU5E3r8TeBVFIxN4u0Jai6TKsZHq8Ore45Ivjn9TCbDEidFUdgix_C6JmDISPXK_QC5Cs4iD24DUIwv4uy8Z6GKDO7y-CsnnuRRY5pS0KaHGGu8sLl8-wC62YJJrFEN_vfBt_6Z3s7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616111310,"updated":1616111310,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:52 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15","deletedDate":1616111321,"scheduledPurgeDate":1623887321,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f5640e15/ef820c8c36ef4df59e845681336defbb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pLay62KAo-jLCnCjOQrAB6uf1Hbi8qUCa8L2SFB6voXkvJCadVe5Ok37XYS9BGMQaY4S7NoC2KYY2L_R2MGuK4xER3I5VWnbtGt75ozfQ_EXmXLKKFCTwUYfXfjdvGzexQjOFW4YTeUSaS18307fGwvJRp7O6Vyk82NFMJm-tQuhKs_ps-wdoPalsMkAk-SipfrJG-ScbRfHU5E3r8TeBVFIxN4u0Jai6TKsZHq8Ore45Ivjn9TCbDEidFUdgix_C6JmDISPXK_QC5Cs4iD24DUIwv4uy8Z6GKDO7y-CsnnuRRY5pS0KaHGGu8sLl8-wC62YJJrFEN_vfBt_6Z3s7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616111310,"updated":1616111310,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15","deletedDate":1616111334,"scheduledPurgeDate":1623887334,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f5640e15/5a21be01ad1748a592dc5acc70b15196","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"84Wt3K3dBzw4yDfrUWciO6QiBO2YhxI7_4AdegSGItff1aTXhN9tqBQHG9MlLJhiGNxX6717ZYCdt4DIW5KzTwQb2kX9aqldhR9JsB74LpbZ7juMGDlEBBoSZpqhmFgdEoexs7N0Q3vQl1xqLZwUSRs3Z7oat7muf2t5Blmopgk5i82UaR05g5OpBLE6lxLoR9KEy_hL_xjmAkVhsStZ4Fi2E9KOw2v0NG3EeUUZofWB36_gqT59QF0cPfnpV7Hirjy_bcH3u5yHuaWc8QqBPSQiEYDN2JYpz3SOlIB8F-Zs_4Gm4z95Z0FhfaQ-USsxIfvhyoaheYBO63uyqAQWuQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111303,"updated":1616111303,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48:56 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:48: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15","deletedDate":1616111334,"scheduledPurgeDate":1623887334,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f5640e15/5a21be01ad1748a592dc5acc70b15196","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"84Wt3K3dBzw4yDfrUWciO6QiBO2YhxI7_4AdegSGItff1aTXhN9tqBQHG9MlLJhiGNxX6717ZYCdt4DIW5KzTwQb2kX9aqldhR9JsB74LpbZ7juMGDlEBBoSZpqhmFgdEoexs7N0Q3vQl1xqLZwUSRs3Z7oat7muf2t5Blmopgk5i82UaR05g5OpBLE6lxLoR9KEy_hL_xjmAkVhsStZ4Fi2E9KOw2v0NG3EeUUZofWB36_gqT59QF0cPfnpV7Hirjy_bcH3u5yHuaWc8QqBPSQiEYDN2JYpz3SOlIB8F-Zs_4Gm4z95Z0FhfaQ-USsxIfvhyoaheYBO63uyqAQWuQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111303,"updated":1616111303,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15","deletedDate":1616111345,"scheduledPurgeDate":1623887345,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f5640e15/f1785a2e336449548d0a87968e7c2def","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"lP-pXTq7x5ZwUg5Onyeh0qxcl0p_VJERDaVtyJWuaSY-NQL4jwJKePyCfQES8766CwcH10Yxd7ZkMc2cah4nME16xMPpWw7QFSer5bZFdluL-DDkH0RWmZ0UuwshFTpvhp11C06ectw7EFyLI7mWsvVmIwYOIBhiVcWYo8z9wPzv2yxOfZSaVkTYzdEBfWeaug-kUi-P1mZKQzi26mEE7Bn_5PZ9IcSiZ3ajEjZ4glL7N5ZshWrxPp4NgMJJOfas4i98eteXwegTq3RB0fgUiFsnTY1Baxy7q6EvJmv3gtCxVLzDG10_PX7cGIhr4-vC3G50LPXMai5elxi0dLZGvQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111301,"updated":1616111301,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15","deletedDate":1616111345,"scheduledPurgeDate":1623887345,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f5640e15/f1785a2e336449548d0a87968e7c2def","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"lP-pXTq7x5ZwUg5Onyeh0qxcl0p_VJERDaVtyJWuaSY-NQL4jwJKePyCfQES8766CwcH10Yxd7ZkMc2cah4nME16xMPpWw7QFSer5bZFdluL-DDkH0RWmZ0UuwshFTpvhp11C06ectw7EFyLI7mWsvVmIwYOIBhiVcWYo8z9wPzv2yxOfZSaVkTYzdEBfWeaug-kUi-P1mZKQzi26mEE7Bn_5PZ9IcSiZ3ajEjZ4glL7N5ZshWrxPp4NgMJJOfas4i98eteXwegTq3RB0fgUiFsnTY1Baxy7q6EvJmv3gtCxVLzDG10_PX7cGIhr4-vC3G50LPXMai5elxi0dLZGvQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111301,"updated":1616111301,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15","deletedDate":1616111359,"scheduledPurgeDate":1623887359,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f5640e15/6fda03e0c52f4f3e8bfc20c81f5826fb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wROUqfRiId1QUMktSRlWXOMTjggkjEUJDdia2UsdIo65gJyHwdZrScwm8UHhuopgtO9odoAezAOk8IINhe5HLqSs46PE5hscuMiXUJXeqIu1FdT39fh8x1fVdsUSQuSb8c5JKEbfBtVsMgMxyPyEOkU05FsDNXuOMH_8YbwzGGKB-aH1zMbPGc7NxMETG_d9pZhCxYOuei8VavMC1Y_WZ-4MZdxtccARpxDFDxu5fB3gO7m8gUCKoXfB7Kyhj3UDe1QeOvBLtI2oPTW4tXc7Fc04peaCbHYmD6lswOgv-wwRWiNSImB2UTy6u2AOfXvBwYeaBDFKBxlja9u7M4WEwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111308,"updated":1616111308,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:27 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15","deletedDate":1616111359,"scheduledPurgeDate":1623887359,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f5640e15/6fda03e0c52f4f3e8bfc20c81f5826fb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wROUqfRiId1QUMktSRlWXOMTjggkjEUJDdia2UsdIo65gJyHwdZrScwm8UHhuopgtO9odoAezAOk8IINhe5HLqSs46PE5hscuMiXUJXeqIu1FdT39fh8x1fVdsUSQuSb8c5JKEbfBtVsMgMxyPyEOkU05FsDNXuOMH_8YbwzGGKB-aH1zMbPGc7NxMETG_d9pZhCxYOuei8VavMC1Y_WZ-4MZdxtccARpxDFDxu5fB3gO7m8gUCKoXfB7Kyhj3UDe1QeOvBLtI2oPTW4tXc7Fc04peaCbHYmD6lswOgv-wwRWiNSImB2UTy6u2AOfXvBwYeaBDFKBxlja9u7M4WEwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111308,"updated":1616111308,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15","deletedDate":1616111370,"scheduledPurgeDate":1623887370,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f5640e15/4acf30af15734b249c51d684e1e35212","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4ngdNz25DCsFwMZN29jr1l9iB8I5pcRwqrEiql4N_yYOrha3GTb649cn7HxpEYA47v_kBCiBv4QocUBGpF4AQvCfBmEvnmdoUUHkq9SHJofrXfSHWPEvIMBeUImxJ4PGjQBNUvZCITC47-M9rmmI6qHxtP7isJ5Z8sLYJ9LJs6wbrtNWDQ8VprnNeuDD0cECWmu_L5GD0RB9wXMIKBl1-J8mnJ9vR52-hcy1JhMnTXNINoVcRkLmgHGndii-tpZ_5JkYBeJ35_PUv9M3hdc-JpQzoP0MLXixtXBTvqEUF3XIa_XIN6QVsgrSmuVlqFdD8xueBABa7WntKS1XHtu-rQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111298,"updated":1616111298,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:31 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15","deletedDate":1616111370,"scheduledPurgeDate":1623887370,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f5640e15/4acf30af15734b249c51d684e1e35212","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4ngdNz25DCsFwMZN29jr1l9iB8I5pcRwqrEiql4N_yYOrha3GTb649cn7HxpEYA47v_kBCiBv4QocUBGpF4AQvCfBmEvnmdoUUHkq9SHJofrXfSHWPEvIMBeUImxJ4PGjQBNUvZCITC47-M9rmmI6qHxtP7isJ5Z8sLYJ9LJs6wbrtNWDQ8VprnNeuDD0cECWmu_L5GD0RB9wXMIKBl1-J8mnJ9vR52-hcy1JhMnTXNINoVcRkLmgHGndii-tpZ_5JkYBeJ35_PUv9M3hdc-JpQzoP0MLXixtXBTvqEUF3XIa_XIN6QVsgrSmuVlqFdD8xueBABa7WntKS1XHtu-rQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111298,"updated":1616111298,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15","deletedDate":1616111381,"scheduledPurgeDate":1623887381,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f5640e15/cce7414b8da44e04b7f4322536292937","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uCWHm3_csGNbVGgV1FLPB_rBUQNwtUBh7nBuYkQN0EYMZhsTHUoKsXmXHXoDJJnXdGH8TFkfOSwMnzmek1zLEJ9dQXcrJSL1DsPc3jqDFGzViiNW5QaU8x6GdxSJH761yZTpsjukvdSo9hkPrnrAT_ThwTPvv4nLBYjnFm9hGeJiYaT5ZjzVfARAxI6Bf8RH1_jBO5gf0T9DyXboTU5ZK86jGVlv0xudiPU858hJTGmvRUbvmyPZGEJ-XTSNFRF1JINQSAkKbf63pJuSKhjrazpS4BQRo9PNZ_90Bc9VoOhtzss8eTI9a59rP43Bie6oEPYvETRCjmOHbftoErGMMQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111305,"updated":1616111305,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:49 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f5640e15"}}' + headers: + cache-control: + - no-cache + content-length: + - '90' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15","deletedDate":1616111381,"scheduledPurgeDate":1623887381,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f5640e15/cce7414b8da44e04b7f4322536292937","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uCWHm3_csGNbVGgV1FLPB_rBUQNwtUBh7nBuYkQN0EYMZhsTHUoKsXmXHXoDJJnXdGH8TFkfOSwMnzmek1zLEJ9dQXcrJSL1DsPc3jqDFGzViiNW5QaU8x6GdxSJH761yZTpsjukvdSo9hkPrnrAT_ThwTPvv4nLBYjnFm9hGeJiYaT5ZjzVfARAxI6Bf8RH1_jBO5gf0T9DyXboTU5ZK86jGVlv0xudiPU858hJTGmvRUbvmyPZGEJ-XTSNFRF1JINQSAkKbf63pJuSKhjrazpS4BQRo9PNZ_90Bc9VoOhtzss8eTI9a59rP43Bie6oEPYvETRCjmOHbftoErGMMQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111305,"updated":1616111305,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c","deletedDate":1616110936,"scheduledPurgeDate":1623886936,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey09746122c","attributes":{"enabled":true,"created":1616110909,"updated":1616110909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15","deletedDate":1616111310,"scheduledPurgeDate":1623887310,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f5640e15","attributes":{"enabled":true,"created":1616111296,"updated":1616111296,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c","deletedDate":1616110998,"scheduledPurgeDate":1623886998,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey19746122c","attributes":{"enabled":true,"created":1616110911,"updated":1616110911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15","deletedDate":1616111370,"scheduledPurgeDate":1623887370,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f5640e15","attributes":{"enabled":true,"created":1616111298,"updated":1616111298,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c","deletedDate":1616110961,"scheduledPurgeDate":1623886961,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey29746122c","attributes":{"enabled":true,"created":1616110913,"updated":1616110913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15","deletedDate":1616111345,"scheduledPurgeDate":1623887345,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f5640e15","attributes":{"enabled":true,"created":1616111301,"updated":1616111301,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c","deletedDate":1616110987,"scheduledPurgeDate":1623886987,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey39746122c","attributes":{"enabled":true,"created":1616110916,"updated":1616110916,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15","deletedDate":1616111334,"scheduledPurgeDate":1623887334,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f5640e15","attributes":{"enabled":true,"created":1616111303,"updated":1616111303,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORE5GTnpCRk9ETXZSVVl4TURORU9FUTJOVFJHTkVVME5VRkZSVGM0TmtSRVFqSkNNVFJDTTBFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: + - no-cache + content-length: + - '3167' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORE5GTnpCRk9ETXZSVVl4TURORU9FUTJOVFJHTkVVME5VRkZSVGM0TmtSRVFqSkNNVFJDTTBFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c","deletedDate":1616110948,"scheduledPurgeDate":1623886948,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey49746122c","attributes":{"enabled":true,"created":1616110918,"updated":1616110918,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15","deletedDate":1616111381,"scheduledPurgeDate":1623887381,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f5640e15","attributes":{"enabled":true,"created":1616111305,"updated":1616111305,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c","deletedDate":1616110974,"scheduledPurgeDate":1623886974,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey59746122c","attributes":{"enabled":true,"created":1616110921,"updated":1616110921,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15","deletedDate":1616111359,"scheduledPurgeDate":1623887359,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f5640e15","attributes":{"enabled":true,"created":1616111308,"updated":1616111308,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c","deletedDate":1616110923,"scheduledPurgeDate":1623886923,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey69746122c","attributes":{"enabled":true,"created":1616110923,"updated":1616110923,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15","deletedDate":1616111321,"scheduledPurgeDate":1623887321,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f5640e15","attributes":{"enabled":true,"created":1616111310,"updated":1616111310,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '2139' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f5640e15/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f5640e15/2f6614cb483541ba93e66d57547fe41e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2StToL-E-4-5YEWK7fgeN_g1NwHbKGNYsJabSzGUqdgE9ZrfJwReyrChOcxkylG9z5iStcQYT33cFXvEd9FhqzhgWE_cfmgi7aU6c0R5y8bZzrCArUzULgfDOIDa0xCReO2ib_LgW2v7ktKcGueEa0K23IDy538_5SS7q25qqF43BWS5BhAcdMrUSiqefc61jHyTyaWLfRw-CkK4aWd9vR7fWgaftYNVvvzUQWha_XZ-k2I9cC_j0hJlRVrFN8ecUGcPfghMUc0b0HR-KQOKOag06ZJ9W5bHA4qIP3X3EGG9NMW0gGUcLB0DOVwKV-KqpMjanvQS8JPeUZgPcojjzQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111296,"updated":1616111296,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f5640e15/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f5640e15/ef820c8c36ef4df59e845681336defbb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pLay62KAo-jLCnCjOQrAB6uf1Hbi8qUCa8L2SFB6voXkvJCadVe5Ok37XYS9BGMQaY4S7NoC2KYY2L_R2MGuK4xER3I5VWnbtGt75ozfQ_EXmXLKKFCTwUYfXfjdvGzexQjOFW4YTeUSaS18307fGwvJRp7O6Vyk82NFMJm-tQuhKs_ps-wdoPalsMkAk-SipfrJG-ScbRfHU5E3r8TeBVFIxN4u0Jai6TKsZHq8Ore45Ivjn9TCbDEidFUdgix_C6JmDISPXK_QC5Cs4iD24DUIwv4uy8Z6GKDO7y-CsnnuRRY5pS0KaHGGu8sLl8-wC62YJJrFEN_vfBt_6Z3s7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616111310,"updated":1616111310,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f5640e15/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f5640e15/5a21be01ad1748a592dc5acc70b15196","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"84Wt3K3dBzw4yDfrUWciO6QiBO2YhxI7_4AdegSGItff1aTXhN9tqBQHG9MlLJhiGNxX6717ZYCdt4DIW5KzTwQb2kX9aqldhR9JsB74LpbZ7juMGDlEBBoSZpqhmFgdEoexs7N0Q3vQl1xqLZwUSRs3Z7oat7muf2t5Blmopgk5i82UaR05g5OpBLE6lxLoR9KEy_hL_xjmAkVhsStZ4Fi2E9KOw2v0NG3EeUUZofWB36_gqT59QF0cPfnpV7Hirjy_bcH3u5yHuaWc8QqBPSQiEYDN2JYpz3SOlIB8F-Zs_4Gm4z95Z0FhfaQ-USsxIfvhyoaheYBO63uyqAQWuQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111303,"updated":1616111303,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f5640e15/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f5640e15/f1785a2e336449548d0a87968e7c2def","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"lP-pXTq7x5ZwUg5Onyeh0qxcl0p_VJERDaVtyJWuaSY-NQL4jwJKePyCfQES8766CwcH10Yxd7ZkMc2cah4nME16xMPpWw7QFSer5bZFdluL-DDkH0RWmZ0UuwshFTpvhp11C06ectw7EFyLI7mWsvVmIwYOIBhiVcWYo8z9wPzv2yxOfZSaVkTYzdEBfWeaug-kUi-P1mZKQzi26mEE7Bn_5PZ9IcSiZ3ajEjZ4glL7N5ZshWrxPp4NgMJJOfas4i98eteXwegTq3RB0fgUiFsnTY1Baxy7q6EvJmv3gtCxVLzDG10_PX7cGIhr4-vC3G50LPXMai5elxi0dLZGvQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111301,"updated":1616111301,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f5640e15/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f5640e15/6fda03e0c52f4f3e8bfc20c81f5826fb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wROUqfRiId1QUMktSRlWXOMTjggkjEUJDdia2UsdIo65gJyHwdZrScwm8UHhuopgtO9odoAezAOk8IINhe5HLqSs46PE5hscuMiXUJXeqIu1FdT39fh8x1fVdsUSQuSb8c5JKEbfBtVsMgMxyPyEOkU05FsDNXuOMH_8YbwzGGKB-aH1zMbPGc7NxMETG_d9pZhCxYOuei8VavMC1Y_WZ-4MZdxtccARpxDFDxu5fB3gO7m8gUCKoXfB7Kyhj3UDe1QeOvBLtI2oPTW4tXc7Fc04peaCbHYmD6lswOgv-wwRWiNSImB2UTy6u2AOfXvBwYeaBDFKBxlja9u7M4WEwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111308,"updated":1616111308,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f5640e15/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f5640e15/4acf30af15734b249c51d684e1e35212","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4ngdNz25DCsFwMZN29jr1l9iB8I5pcRwqrEiql4N_yYOrha3GTb649cn7HxpEYA47v_kBCiBv4QocUBGpF4AQvCfBmEvnmdoUUHkq9SHJofrXfSHWPEvIMBeUImxJ4PGjQBNUvZCITC47-M9rmmI6qHxtP7isJ5Z8sLYJ9LJs6wbrtNWDQ8VprnNeuDD0cECWmu_L5GD0RB9wXMIKBl1-J8mnJ9vR52-hcy1JhMnTXNINoVcRkLmgHGndii-tpZ_5JkYBeJ35_PUv9M3hdc-JpQzoP0MLXixtXBTvqEUF3XIa_XIN6QVsgrSmuVlqFdD8xueBABa7WntKS1XHtu-rQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111298,"updated":1616111298,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.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 + Content-Length: + - '0' + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f5640e15/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f5640e15/cce7414b8da44e04b7f4322536292937","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uCWHm3_csGNbVGgV1FLPB_rBUQNwtUBh7nBuYkQN0EYMZhsTHUoKsXmXHXoDJJnXdGH8TFkfOSwMnzmek1zLEJ9dQXcrJSL1DsPc3jqDFGzViiNW5QaU8x6GdxSJH761yZTpsjukvdSo9hkPrnrAT_ThwTPvv4nLBYjnFm9hGeJiYaT5ZjzVfARAxI6Bf8RH1_jBO5gf0T9DyXboTU5ZK86jGVlv0xudiPU858hJTGmvRUbvmyPZGEJ-XTSNFRF1JINQSAkKbf63pJuSKhjrazpS4BQRo9PNZ_90Bc9VoOhtzss8eTI9a59rP43Bie6oEPYvETRCjmOHbftoErGMMQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616111305,"updated":1616111305,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 18 Mar 2021 23:49:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py index a83aa5d17870..2a6eadf9489a 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py @@ -8,12 +8,16 @@ import time import logging import json +import os from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.pipeline.policies import SansIOHTTPPolicy from azure.keyvault.keys import JsonWebKey, KeyClient, KeyCurveName from azure.keyvault.keys._shared import HttpChallengeCache from devtools_testutils import PowerShellPreparer +from six.moves.urllib_parse import urlparse +from parameterized import parameterized, param +import pytest from _shared.test_case import KeyVaultTestCase @@ -23,6 +27,10 @@ azure_keyvault_url="https://vaultname.vault.azure.net" ) +def suffixed_test_name(testcase_func, param_num, param): + suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" + return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) + # used for logging tests class MockHandler(logging.Handler): def __init__(self): @@ -34,6 +42,19 @@ def emit(self, record): class KeyClientTests(KeyVaultTestCase): + def setUp(self, *args, **kwargs): + self.managed_hsm_url = None + playback_url = "https://managedhsmname.managedhsm.azure.net" + if self.is_live: + self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") + if self.managed_hsm_url: + real = urlparse(self.managed_hsm_url) + playback = urlparse(playback_url) + self.scrubber.register_name_pair(real.netloc, playback.netloc) + else: + self.managed_hsm_url = playback_url + super(KeyClientTests, self).setUp(*args, **kwargs) + def tearDown(self): HttpChallengeCache.clear() assert len(HttpChallengeCache._cache) == 0 @@ -43,6 +64,11 @@ def create_client(self, vault_uri, **kwargs): credential = self.get_credential(KeyClient) return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) + def _should_skip_test(self, is_hsm): + if self.is_live and is_hsm: + return self.managed_hsm_url is None # skip live HSM tests if there's no HSM endpoint + return False + def _assert_key_attributes_equal(self, k1, k2): self.assertEqual(k1.name, k2.name) self.assertEqual(k1.vault_url, k2.vault_url) @@ -93,7 +119,9 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertTrue(kid.index(prefix) == 0, "Key Id should start with '{}', but value is '{}'".format(prefix, kid)) self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") - self.assertEqual(key_ops, key.key_ops, "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops)) + self.assertEqual( + key_ops.sort(), key.key_ops.sort(), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) + ) self.assertTrue( key_attributes.properties.created_on and key_attributes.properties.updated_on, "Missing required date attributes.", @@ -107,17 +135,17 @@ def _update_key_properties(self, client, key): self.assertEqual(tags, key_bundle.properties.tags) self.assertEqual(key.id, key_bundle.id) self.assertNotEqual(key.properties.updated_on, key_bundle.properties.updated_on) - self.assertEqual(key_ops, key_bundle.key_operations) + self.assertEqual(key_ops.sort(), key_bundle.key_operations.sort()) return key_bundle - def _import_test_key(self, client, name): + def _import_test_key(self, client, name, hardware_protected=False): def _to_bytes(hex): if len(hex) % 2: hex = "0{}".format(hex) return codecs.decode(hex, "hex_codec") key = JsonWebKey( - kty="RSA", + kty="RSA-HSM" if hardware_protected else "RSA", key_ops=["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], n=_to_bytes( "00a0914d00234ac683b21b4c15d5bed887bdc959c2e57af54ae734e8f00720d775d275e455207e3784ceeb60a50a4655dd72a7a94d271e8ee8f7959a669ca6e775bf0e23badae991b4529d978528b4bd90521d32dd2656796ba82b6bbfc7668c8f5eeb5053747fd199319d29a8440d08f4412d527ff9311eda71825920b47b1c46b11ab3e91d7316407e89c7f340f7b85a34042ce51743b27d4718403d34c7b438af6181be05e4d11eb985d38253d7fe9bf53fc2f1b002d22d2d793fa79a504b6ab42d0492804d7071d727a06cf3a8893aa542b1503f832b296371b6707d4dc6e372f8fe67d8ded1c908fde45ce03bc086a71487fa75e43aa0e0679aa0d20efe35" @@ -146,8 +174,14 @@ def _to_bytes(hex): self._validate_rsa_key_bundle(imported_key, client.vault_url, name, key.kty, key.key_ops) return imported_key + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_key_crud_operations(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -159,17 +193,19 @@ def test_key_crud_operations(self, azure_keyvault_url, **kwargs): assert tags == ec_key.properties.tags # create ec with curve ec_key_curve_name = self.get_resource_name("crud-P-256-ec-key") - self._create_ec_key(client, key_name=ec_key_curve_name, curve="P-256") + self._create_ec_key(client, key_name=ec_key_curve_name, curve="P-256", hardware_protected=is_hsm) # import key import_test_key_name = self.get_resource_name("import-test-key") - self._import_test_key(client, import_test_key_name) + self._import_test_key(client, import_test_key_name, hardware_protected=is_hsm) # create rsa key rsa_key_name = self.get_resource_name("crud-rsa-key") tags = {"purpose": "unit test", "test name ": "CreateRSAKeyTest"} key_ops = ["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"] - rsa_key = self._create_rsa_key(client, key_name=rsa_key_name, key_operations=key_ops, size=2048, tags=tags) + rsa_key = self._create_rsa_key( + client, key_name=rsa_key_name, key_operations=key_ops, size=2048, tags=tags, hardware_protected=is_hsm + ) assert tags == rsa_key.properties.tags # get the created key with version @@ -203,15 +239,21 @@ def test_key_crud_operations(self, azure_keyvault_url, **kwargs): self.assertIsNotNone(deleted_key) self.assertEqual(rsa_key.id, deleted_key.id) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_backup_restore(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) key_name = self.get_resource_name("keybak") # create key - created_bundle = self._create_rsa_key(client, key_name) + created_bundle = self._create_rsa_key(client, key_name, hardware_protected=is_hsm) # backup key key_backup = client.backup_key(created_bundle.name) @@ -228,8 +270,14 @@ def test_backup_restore(self, azure_keyvault_url, **kwargs): restored_key = self._poll_until_no_exception(restore_function, ResourceExistsError) self._assert_key_attributes_equal(created_bundle.properties, restored_key.properties) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_key_list(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -239,7 +287,7 @@ def test_key_list(self, azure_keyvault_url, **kwargs): # create many keys for x in range(max_keys): key_name = self.get_resource_name("key{}".format(x)) - key = self._create_rsa_key(client, key_name) + key = self._create_rsa_key(client, key_name, hardware_protected=is_hsm) expected[key.name] = key # list keys @@ -250,8 +298,14 @@ def test_key_list(self, azure_keyvault_url, **kwargs): del expected[key.name] self.assertEqual(len(expected), 0) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_list_versions(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -262,7 +316,7 @@ def test_list_versions(self, azure_keyvault_url, **kwargs): # create many key versions for _ in range(max_keys): - key = self._create_rsa_key(client, key_name) + key = self._create_rsa_key(client, key_name, hardware_protected=is_hsm) expected[key.id] = key result = client.list_properties_of_key_versions(key_name, max_page_size=max_keys - 1) @@ -275,8 +329,14 @@ def test_list_versions(self, azure_keyvault_url, **kwargs): self._assert_key_attributes_equal(expected_key.properties, key) self.assertEqual(0, len(expected)) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -285,7 +345,7 @@ def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): # create keys for i in range(self.list_test_size): key_name = self.get_resource_name("key{}".format(i)) - expected[key_name] = self._create_rsa_key(client, key_name) + expected[key_name] = self._create_rsa_key(client, key_name, hardware_protected=is_hsm) # delete them for key_name in expected.keys(): @@ -304,8 +364,14 @@ def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): self._assert_key_attributes_equal(expected[key.name].properties, key.properties) del expected[key.name] + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_recover(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -313,7 +379,7 @@ def test_recover(self, azure_keyvault_url, **kwargs): keys = {} for i in range(self.list_test_size): key_name = self.get_resource_name("key{}".format(i)) - keys[key_name] = self._create_rsa_key(client, key_name) + keys[key_name] = self._create_rsa_key(client, key_name, hardware_protected=is_hsm) # delete them for key_name in keys.keys(): @@ -329,15 +395,21 @@ def test_recover(self, azure_keyvault_url, **kwargs): expected_key = keys[key_name] self._assert_key_attributes_equal(expected_key.properties, recovered_key.properties) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_purge(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) # create keys key_names = [self.get_resource_name("key{}".format(i)) for i in range(self.list_test_size)] for name in key_names: - self._create_rsa_key(client, name) + self._create_rsa_key(client, name, hardware_protected=is_hsm) # delete them for key_name in key_names: @@ -359,8 +431,14 @@ def test_purge(self, azure_keyvault_url, **kwargs): deleted = [s.name for s in client.list_deleted_keys()] self.assertTrue(not any(s in deleted for s in key_names)) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_logging_enabled(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url, logging_enable=True) mock_handler = MockHandler() @@ -369,13 +447,14 @@ def test_logging_enabled(self, azure_keyvault_url, **kwargs): logger.setLevel(logging.DEBUG) rsa_key_name = self.get_resource_name("rsa-key-name") - self._create_rsa_key(client, rsa_key_name, size=2048) + self._create_rsa_key(client, rsa_key_name, size=2048, hardware_protected=is_hsm) for message in mock_handler.messages: if message.levelname == "DEBUG" and message.funcName == "on_request": try: body = json.loads(message.message) - if body["kty"] == "RSA": + expected_kty = "RSA-HSM" if is_hsm else "RSA" + if body["kty"] == expected_kty: return except (ValueError, KeyError): # this means the message is not JSON or has no kty property @@ -383,8 +462,14 @@ def test_logging_enabled(self, azure_keyvault_url, **kwargs): assert False, "Expected request body wasn't logged" + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_logging_disabled(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url, logging_enable=False) mock_handler = MockHandler() @@ -393,13 +478,14 @@ def test_logging_disabled(self, azure_keyvault_url, **kwargs): logger.setLevel(logging.DEBUG) rsa_key_name = self.get_resource_name("rsa-key-name") - self._create_rsa_key(client, rsa_key_name, size=2048) + self._create_rsa_key(client, rsa_key_name, size=2048, hardware_protected=is_hsm) for message in mock_handler.messages: if message.levelname == "DEBUG" and message.funcName == "on_request": try: body = json.loads(message.message) - assert body["kty"] != "RSA", "Client request body was logged" + expected_kty = "RSA-HSM" if is_hsm else "RSA" + assert body["kty"] != expected_kty, "Client request body was logged" except (ValueError, KeyError): # this means the message is not JSON or has no kty property pass From 50615b1122133e289a40e4d21d6b0195d5c59222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Fri, 19 Mar 2021 13:08:00 -0700 Subject: [PATCH 02/12] Parameterize test_keys_async.py --- .../test_keys_async.test_backup_restore.yaml | 287 -- ...t_keys_async.test_backup_restore_mhsm.yaml | 204 + ..._keys_async.test_backup_restore_vault.yaml | 639 +++ ...t_keys_async.test_key_crud_operations.yaml | 395 -- ...s_async.test_key_crud_operations_mhsm.yaml | 345 ++ ..._async.test_key_crud_operations_vault.yaml | 656 +++ .../test_keys_async.test_key_list.yaml | 474 -- .../test_keys_async.test_key_list_mhsm.yaml | 447 ++ .../test_keys_async.test_key_list_vault.yaml | 531 ++ ...t_keys_async.test_key_wrap_and_unwrap.yaml | 255 - ...est_keys_async.test_list_deleted_keys.yaml | 1230 ----- ...eys_async.test_list_deleted_keys_mhsm.yaml | 691 +++ ...ys_async.test_list_deleted_keys_vault.yaml | 2183 +++++++++ .../test_keys_async.test_list_versions.yaml | 327 -- ...st_keys_async.test_list_versions_mhsm.yaml | 334 ++ ...t_keys_async.test_list_versions_vault.yaml | 356 ++ ...keys_async.test_logging_disabled_mhsm.yaml | 64 + ...ys_async.test_logging_disabled_vault.yaml} | 32 +- ..._keys_async.test_logging_enabled_mhsm.yaml | 64 + ...eys_async.test_logging_enabled_vault.yaml} | 32 +- .../test_keys_async.test_purge.yaml | 1438 ------ .../test_keys_async.test_purge_mhsm.yaml | 1070 ++++ .../test_keys_async.test_purge_vault.yaml | 2576 ++++++++++ .../test_keys_async.test_recover.yaml | 1711 ------- .../test_keys_async.test_recover_mhsm.yaml | 1216 +++++ .../test_keys_async.test_recover_vault.yaml | 4322 +++++++++++++++++ .../tests/test_crypto_client.py | 25 + .../tests/test_keys_async.py | 128 +- 28 files changed, 15862 insertions(+), 6170 deletions(-) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_wrap_and_unwrap.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions_vault.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_keys_async.test_logging_disabled.yaml => test_keys_async.test_logging_disabled_vault.yaml} (53%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_keys_async.test_logging_enabled.yaml => test_keys_async.test_logging_enabled_vault.yaml} (53%) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover_vault.yaml diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore.yaml deleted file mode 100644 index fad6ac7cd4a9..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore.yaml +++ /dev/null @@ -1,287 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:38:41 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeybak4e00e7f/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f/1b082d579cb0440299bc0a2065622927","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4wckTDLO_GlStpG4u877ugvohbK2aKUWHdGhapnIjba9giPVvr-jSNch7HMdzfhAFv1erEczQQbzaTLjVzj0SCpTJVnWWDg_m7FAOUzdijxWbJHLOt7OYo8y3sNSM2kVfaKmTh0MitTWXK8K7-WgDhpVBzGjeJCyZnLQvGJAB7Cx4wean0n78qZ7moXUGHJNXQnfdp_UWkBXfghnSyw8sOYBwQGk_ufP4Ts61XLfJtx5cS2AnFOdkYsMtT_Z5JNMnYb-odSL8kDZnMthrvdzsSJ6FhP6P-6p7VrDR37iN4siryKyEA0ZqQ-VOPXNZJegqRzZLxbFhcJaRwisheaMkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579121,"updated":1612579121,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '691' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:41 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeybak4e00e7f/create?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f/backup?api-version=7.2-preview - response: - body: - string: '{"value":"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUppTTJJd1pqZ3dZeTB5Wkdaa0xUUmlPVGt0T0RVeE1TMWpZVGRrTTJKbFlURTVNMkVpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuU1hGdXZRSnRVVnN5dUlSV3BKTGdwVWM3Y0NHNjhKNVVGQXhVS3VTM25tZUsyY25wa2lNVE9wSzRUVzlPdDkzQ2VnZlFkZE03RkJxSU9aVjdIbjBNdHpBZFpnZGl6QVVBRElibFNWZFNfU3I2d3B5VDNFV1VUV2VGZEF3MC1MbDI3bXh3OTdEZ3pBMTZ1eFdfX2JqamZKZ2syakxXY01Fa0FYaDhMb29NS0I1V3JGaVlqV1FfVFAxLWJTekRHb1VfbWpYRGd6RERNUUd3VG5vc1JRdFJFNS1Tel9RR0ZZbHZ6TGlqdFc5NzZGRE1PQnN6ZVdhQ2g5LWIwOFdzbF9XMUgwSFMwOV9fMVJTS0loZDgxRHVMdW9VcFhCb2dJOUtuWVQtNElzUXZFcTZBaENCRVlOdlpoRmZBdC11QWVhdHp3MDVkb2hxT29HV2swVVM0UFlIc3RRLk9GaDFHR3ZpNXUxOExRZnZxOHM5LUEuSE5haDZZY2dCOFliTDRsWW9WeFBzMnlqazdaU1NpQTctdXE5ZHJua1hqb0FZSEVlNC1MOE5uWENJMFlJWXJ3OGJtMGZ5N0ozV1dxVnlJVEJjS0o0MFd2Z2lIYnUteGI3dGZ1NVFqYVdQai1hS0Q1bzE5MklF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UVlrTnE2WDVVcHZ2VExQTFZ5WE4tVG1oMmNoVHEyNzljWDN1TkpCU3pGUTVHeXY5UnNIdUJvaGJlX3A1aC1LZjB3UmpCelFKUU5IdW5vV3oydjFhQVFGdHFJeHZUTl84X2hxWEFRZENWN2xrbENEdEZDSndHSnlHaDh2U21OMDVDOS51YnhLSlpIOGFBOVFtOGJjcnM0VEpMdmJOSFF1d0tlTjdlRHhxeVJNa21R"}' - headers: - cache-control: no-cache - content-length: '11608' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeybak4e00e7f/backup?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak4e00e7f","deletedDate":1612579122,"scheduledPurgeDate":1620355122,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f/1b082d579cb0440299bc0a2065622927","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4wckTDLO_GlStpG4u877ugvohbK2aKUWHdGhapnIjba9giPVvr-jSNch7HMdzfhAFv1erEczQQbzaTLjVzj0SCpTJVnWWDg_m7FAOUzdijxWbJHLOt7OYo8y3sNSM2kVfaKmTh0MitTWXK8K7-WgDhpVBzGjeJCyZnLQvGJAB7Cx4wean0n78qZ7moXUGHJNXQnfdp_UWkBXfghnSyw8sOYBwQGk_ufP4Ts61XLfJtx5cS2AnFOdkYsMtT_Z5JNMnYb-odSL8kDZnMthrvdzsSJ6FhP6P-6p7VrDR37iN4siryKyEA0ZqQ-VOPXNZJegqRzZLxbFhcJaRwisheaMkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579121,"updated":1612579121,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '836' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeybak4e00e7f?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak4e00e7f?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak4e00e7f"}}' - headers: - cache-control: no-cache - content-length: '91' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak4e00e7f?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak4e00e7f?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak4e00e7f","deletedDate":1612579122,"scheduledPurgeDate":1620355122,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f/1b082d579cb0440299bc0a2065622927","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4wckTDLO_GlStpG4u877ugvohbK2aKUWHdGhapnIjba9giPVvr-jSNch7HMdzfhAFv1erEczQQbzaTLjVzj0SCpTJVnWWDg_m7FAOUzdijxWbJHLOt7OYo8y3sNSM2kVfaKmTh0MitTWXK8K7-WgDhpVBzGjeJCyZnLQvGJAB7Cx4wean0n78qZ7moXUGHJNXQnfdp_UWkBXfghnSyw8sOYBwQGk_ufP4Ts61XLfJtx5cS2AnFOdkYsMtT_Z5JNMnYb-odSL8kDZnMthrvdzsSJ6FhP6P-6p7VrDR37iN4siryKyEA0ZqQ-VOPXNZJegqRzZLxbFhcJaRwisheaMkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579121,"updated":1612579121,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '836' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak4e00e7f?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak4e00e7f?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: no-cache - date: Sat, 06 Feb 2021 02:38:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak4e00e7f?api-version=7.2-preview -- request: - body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUppTTJJd1pqZ3dZeTB5Wkdaa0xUUmlPVGt0T0RVeE1TMWpZVGRrTTJKbFlURTVNMkVpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuU1hGdXZRSnRVVnN5dUlSV3BKTGdwVWM3Y0NHNjhKNVVGQXhVS3VTM25tZUsyY25wa2lNVE9wSzRUVzlPdDkzQ2VnZlFkZE03RkJxSU9aVjdIbjBNdHpBZFpnZGl6QVVBRElibFNWZFNfU3I2d3B5VDNFV1VUV2VGZEF3MC1MbDI3bXh3OTdEZ3pBMTZ1eFdfX2JqamZKZ2syakxXY01Fa0FYaDhMb29NS0I1V3JGaVlqV1FfVFAxLWJTekRHb1VfbWpYRGd6RERNUUd3VG5vc1JRdFJFNS1Tel9RR0ZZbHZ6TGlqdFc5NzZGRE1PQnN6ZVdhQ2g5LWIwOFdzbF9XMUgwSFMwOV9fMVJTS0loZDgxRHVMdW9VcFhCb2dJOUtuWVQtNElzUXZFcTZBaENCRVlOdlpoRmZBd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YUdTSHZVMTJ5U3ROUC1kZXVYbEo2T0ZEZ3pWVXhvXzIwckZUYTZ0anlQTGFNQlkxVEhiRlpHSWp3eFZxZ083anA5VXdyOXo0bFlUN05SQjRNZjQ1dGxnVXNpeVJjZ0c3bTFKNEZMUUR5TEl4VDI1OUdBVU5RNERNWEYxclNVb1NJTTJwWG1taWhYREhsa2NhN2RJMnBlVjlzTUg1MGhmVDMzS2xKYUpDUVlrTnE2WDVVcHZ2VExQTFZ5WE4tVG1oMmNoVHEyNzljWDN1TkpCU3pGUTVHeXY5UnNIdUJvaGJlX3A1aC1LZjB3UmpCelFKUU5IdW5vV3oydjFhQVFGdHFJeHZUTl84X2hxWEFRZENWN2xrbENEdEZDSndHSnlHaDh2U21OMDVDOS51YnhLSlpIOGFBOVFtOGJjcnM0VEpMdmJOSFF1d0tlTjdlRHhxeVJNa21R"}' - headers: - Accept: - - application/json - Content-Length: - - '11609' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"Conflict","message":"There was a conflict restoring - the key ''https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f/1b082d579cb0440299bc0a2065622927''. - This can happen if either: a second key with the same name was created after - the first key was deleted; thus trying to restore a key whose name is already - in use. To fix this, rename the second key to something else so that the restore - works. The second probable cause of this exception is when multiple operations - are performed in parallel against the key. To avoid this error, perform operations - against a key in a sequential manner."}}' - headers: - cache-control: no-cache - content-length: '618' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 409 - message: Conflict - url: https://mcpatinotest.vault.azure.net/keys/restore?api-version=7.2-preview -- request: - body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUppTTJJd1pqZ3dZeTB5Wkdaa0xUUmlPVGt0T0RVeE1TMWpZVGRrTTJKbFlURTVNMkVpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuU1hGdXZRSnRVVnN5dUlSV3BKTGdwVWM3Y0NHNjhKNVVGQXhVS3VTM25tZUsyY25wa2lNVE9wSzRUVzlPdDkzQ2VnZlFkZE03RkJxSU9aVjdIbjBNdHpBZFpnZGl6QVVBRElibFNWZFNfU3I2d3B5VDNFV1VUV2VGZEF3MC1MbDI3bXh3OTdEZ3pBMTZ1eFdfX2JqamZKZ2syakxXY01Fa0FYaDhMb29NS0I1V3JGaVlqV1FfVFAxLWJTekRHb1VfbWpYRGd6RERNUUd3VG5vc1JRdFJFNS1Tel9RR0ZZbHZ6TGlqdFc5NzZGRE1PQnN6ZVdhQ2g5LWIwOFdzbF9XMUgwSFMwOV9fMVJTS0loZDgxRHVMdW9VcFhCb2dJOUtuWVQtNElzUXZFcTZBaENCRVlOdlpoRmZBdC11QWVhdHp3MDVkb2hxT29HV2swVVM0UFlIc3RRLk9GaDFHR3ZpNXUxOExRZnZxOHM5LUEuSE5haDZZY2dCOFliTDRsWW9WeFBzMnlqazdaU1NpQTctdXE5ZHJua1hqb0FZSEVlNC1MOE5uWENJMFlJWXJ3OGJtMGZ5N0ozV1dxVnlJVEJjS0o0MFd2Z2lIYnUteGI3dGZ1NVFqYVdQai1hS0Q1bzE5MklFUW9tdXg2cUNzYjFEZGN5Sjh2aXE4UEJkMjBodUlOTFQtNjF6Z0Y3RFZEWTE3VDVOT1VLcEViT2RXT01iTzFNay1ucWJtcDc1Q19iSEtycThRTEJWRUdxLWl6Y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eHZUTl84X2hxWEFRZENWN2xrbENEdEZDSndHSnlHaDh2U21OMDVDOS51YnhLSlpIOGFBOVFtOGJjcnM0VEpMdmJOSFF1d0tlTjdlRHhxeVJNa21R"}' - headers: - Accept: - - application/json - Content-Length: - - '11609' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f/1b082d579cb0440299bc0a2065622927","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4wckTDLO_GlStpG4u877ugvohbK2aKUWHdGhapnIjba9giPVvr-jSNch7HMdzfhAFv1erEczQQbzaTLjVzj0SCpTJVnWWDg_m7FAOUzdijxWbJHLOt7OYo8y3sNSM2kVfaKmTh0MitTWXK8K7-WgDhpVBzGjeJCyZnLQvGJAB7Cx4wean0n78qZ7moXUGHJNXQnfdp_UWkBXfghnSyw8sOYBwQGk_ufP4Ts61XLfJtx5cS2AnFOdkYsMtT_Z5JNMnYb-odSL8kDZnMthrvdzsSJ6FhP6P-6p7VrDR37iN4siryKyEA0ZqQ-VOPXNZJegqRzZLxbFhcJaRwisheaMkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579121,"updated":1612579121,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '691' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:48 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/restore?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore_mhsm.yaml new file mode 100644 index 000000000000..aa200be982b1 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore_mhsm.yaml @@ -0,0 +1,204 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak53751093/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeybak53751093/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak53751093/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184056,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184056},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak53751093/137209357977416a0e6f06e5f420a14e","kty":"RSA-HSM","n":"n_eT76FxZrfVOXLwahYCvqRwEErbP15_sqQHof9kb4AkAFG4ggSEHvhtzvxEVf9bWYZBlRY9CJrl2YBVHDg3V0C0UzS-A34DRKCtZnOrlGDKVR52r9HID7xkRzH4dQt76a7LP0fk--XwRcAWyYC_YxtxhBm8sYswg-0qSuArZ1lB2lvmj3N_Idrry2f15KPYJyoPvuGDeEmfvh8dOOBnPQQRKRx_Mh0QyOIqhkFDMJe2yxWvDFTISGnRIfz1rCRCVjem7AEpUGk8Gj2mYEWwrBPIgj5AaGbF-A7NtDOorJCr6yPUPsFe0MsakWPwQZSy9ApSsdoIfd4gs-Nt3bPayw"}}' + headers: + cache-control: no-cache + content-length: '723' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '2041' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeybak53751093/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak53751093/backup?api-version=7.2-preview + response: + body: + string: '{"value":"ZXlKaGJHY2lPaUprYVhJaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJaXdpYTJsa0lqb2lZbUZqYTNWd0xYQnliM1JsWTNScGIyNHRhMlY1SW4wLi5BNnFMRm11M1gxRWFjNV9oUkxZOENnLnRUZVJvYzVkamxuVEtkQ1RDZ0tmYXpfdlVOSzhlcVVtOHNsbWtmdzlndGpaOTFBelJzWDktTFQ3Nkg5RUttZmNENnhnTWNXeDFTUXpSRFY2NUlsdFpybzFuSkRGNzNfQlRGWn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uLWdDYW55b0pxSW9lVWdnbTVGa0psd3o5VFpYTWp1Q3hnQVpvRVk0akVEbUNTLUZHVlVuQ05YR1Z6S3dCUVBBTGpLTDVobHJyUURDdm94WXpvUjV6enhHcjEybThPazBROWFqS1ZpWVpZV0pBa0RBeS1fQUxPbnBVMTB6R2xkU3JtTFFJeUw0Q0JEYUFVT3hydnowellrQVJQeWIxVm9yTW45UWZfU2s4OHdRS3k3bFJmQm85dzBSbjBuMGJVTEZwVkZ4RnpoVDF2aTJSNDd2ZWxEZ0thRDJtNnR5c2ZpdlF0ODZBT2VjYXg1ai1pTXRMMGJ0OGwyUVhmNXJyYnVqNXk3UWJGQTRYdW1XUzVONHZxTWphQU8wSHdDNFNBZVF0WFk0RzZHb2dhUno2Rm16UWUzZm1SbjVUWlhZZ2ZoRXU0cHRZQjN1WnB4c0RxZjhFdUExRm8yaVdXdVJRUm9OQThLTUs4bjBTWndmWGwxVkNkaFNHYWhuN0QtSXRvZkhGYzhSVEdKQk4zWVQwdUI1M0syVDJ2N00xZDRhS2VfUFYySDFaV1lGdkpGUEpkTzlPbFNXdDNtNExPTWd6dXhqWVduZDM3UTJTSVVtclZ1emE2QmZNVWp2Rnh4NzRzcnZEdG90OU84WlVsUEF0QVBsN1NjdG5BX1J3LmFjNU1BSmJ0Sk1NdVM2OWdkNEZuSlh2WDRoOVJqZURnUm5fTnUxQjFDcUU"}' + headers: + cache-control: no-cache + content-length: '22095' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '95' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeybak53751093/backup?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak53751093?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184056,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184056},"deletedDate":1616184057,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak53751093/137209357977416a0e6f06e5f420a14e","kty":"RSA-HSM","n":"n_eT76FxZrfVOXLwahYCvqRwEErbP15_sqQHof9kb4AkAFG4ggSEHvhtzvxEVf9bWYZBlRY9CJrl2YBVHDg3V0C0UzS-A34DRKCtZnOrlGDKVR52r9HID7xkRzH4dQt76a7LP0fk--XwRcAWyYC_YxtxhBm8sYswg-0qSuArZ1lB2lvmj3N_Idrry2f15KPYJyoPvuGDeEmfvh8dOOBnPQQRKRx_Mh0QyOIqhkFDMJe2yxWvDFTISGnRIfz1rCRCVjem7AEpUGk8Gj2mYEWwrBPIgj5AaGbF-A7NtDOorJCr6yPUPsFe0MsakWPwQZSy9ApSsdoIfd4gs-Nt3bPayw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkeybak53751093","scheduledPurgeDate":1623960057}' + headers: + cache-control: no-cache + content-length: '877' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '78' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeybak53751093?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkeybak53751093?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184056,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184056},"deletedDate":1616184057,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak53751093/137209357977416a0e6f06e5f420a14e","kty":"RSA-HSM","n":"n_eT76FxZrfVOXLwahYCvqRwEErbP15_sqQHof9kb4AkAFG4ggSEHvhtzvxEVf9bWYZBlRY9CJrl2YBVHDg3V0C0UzS-A34DRKCtZnOrlGDKVR52r9HID7xkRzH4dQt76a7LP0fk--XwRcAWyYC_YxtxhBm8sYswg-0qSuArZ1lB2lvmj3N_Idrry2f15KPYJyoPvuGDeEmfvh8dOOBnPQQRKRx_Mh0QyOIqhkFDMJe2yxWvDFTISGnRIfz1rCRCVjem7AEpUGk8Gj2mYEWwrBPIgj5AaGbF-A7NtDOorJCr6yPUPsFe0MsakWPwQZSy9ApSsdoIfd4gs-Nt3bPayw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkeybak53751093","scheduledPurgeDate":1623960057}' + headers: + cache-control: no-cache + content-length: '877' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '28' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkeybak53751093?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkeybak53751093?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '112' + status: + code: 204 + message: '' + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkeybak53751093?api-version=7.2-preview +- request: + body: '{"value": "ZXlKaGJHY2lPaUprYVhJaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJaXdpYTJsa0lqb2lZbUZqYTNWd0xYQnliM1JsWTNScGIyNHRhMlY1SW4wLi5BNnFMRm11M1gxRWFjNV9oUkxZOENnLnRUZVJvYzVkamxuVEtkQ1RDZ0tmYXpfdlVOSzhlcVVtOHNsbWtmdzlndGpaOTFBelJzWDktTFQ3Nkg5RUttZmNENnhnTWNXeDFTUXpSRFY2NUlsdFpybzFuSkRGNzNfQlRGWnNIRnZIQU9jdzFwR1lZdXp0WFlfUTVLaFFoaS1Pa18yMlVUNmtfNUhjeDFvQTU3c3YtajNpZWxNenJXRUhtQzN3dnNJczYxUklOSVlLTjYzRnd3bkNvUlZaTjJzLWx6bWF5Uy1keXpDLUMzYjZHSGRJTERpLXkwRkVUamtjLURleXlTaFJyQ2dHSVFyb205TUllc0k2NjlaX2JSMzRGazhwNnVhSVhjTU1vSUlrVWlpVHpnUG9BVzdxVFZadHRUM0pBY0EyeGVManptSm0tTVlnMHIyZFFJVWFDMnVOSnFrOGh0Rk9MTEhCbk9qdk4yaTRfX3ZwNkJBWDhIdXhRM0VtRjJwM205bnlQZWdNUzZZMkwyamN0U0Fid2tHNVBsdXpwZ3NVcEtxaEZRUHl1N2ZZVXZEcm1BNV94SnZhLTVMdGFtT1M0Wm5ZZThpWTFxZ3pXYlM5UFpRNHV4ZXZRbHFUS3ktWDVFUXp2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ndmWGwxVkNkaFNHYWhuN0QtSXRvZkhGYzhSVEdKQk4zWVQwdUI1M0syVDJ2N00xZDRhS2VfUFYySDFaV1lGdkpGUEpkTzlPbFNXdDNtNExPTWd6dXhqWVduZDM3UTJTSVVtclZ1emE2QmZNVWp2Rnh4NzRzcnZEdG90OU84WlVsUEF0QVBsN1NjdG5BX1J3LmFjNU1BSmJ0Sk1NdVM2OWdkNEZuSlh2WDRoOVJqZURnUm5fTnUxQjFDcUU"}' + headers: + Accept: + - application/json + Content-Length: + - '22096' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184056,"enabled":true,"exportable":true,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184056},"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak53751093/137209357977416a0e6f06e5f420a14e","kty":"RSA-HSM","n":"n_eT76FxZrfVOXLwahYCvqRwEErbP15_sqQHof9kb4AkAFG4ggSEHvhtzvxEVf9bWYZBlRY9CJrl2YBVHDg3V0C0UzS-A34DRKCtZnOrlGDKVR52r9HID7xkRzH4dQt76a7LP0fk--XwRcAWyYC_YxtxhBm8sYswg-0qSuArZ1lB2lvmj3N_Idrry2f15KPYJyoPvuGDeEmfvh8dOOBnPQQRKRx_Mh0QyOIqhkFDMJe2yxWvDFTISGnRIfz1rCRCVjem7AEpUGk8Gj2mYEWwrBPIgj5AaGbF-A7NtDOorJCr6yPUPsFe0MsakWPwQZSy9ApSsdoIfd4gs-Nt3bPayw"}}' + headers: + cache-control: no-cache + content-length: '722' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '164' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/restore?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore_vault.yaml new file mode 100644 index 000000000000..cd57dcded046 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_backup_restore_vault.yaml @@ -0,0 +1,639 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 19:59:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeybak6491110a/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/5db4323e068448a5a6fce76c98557d61","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sqZoTtO4P0PAgvn86BykeTlr9zuOOmEZBEMcu5-NxKI0ucYFYQPUTAsKFacS6QHiJnXo2wYmoyBJFKHEQUoizbTnLYVjxwQmmrUQh5QuQoNDUhrZoKxPXLfTXRhuSvFGFyXMAhrpCcrEUqqVqBE0MU7Uxq2R6BhjDDdF0G9cWPVRF2LwX_R43ceuNGvdPQ4-oprkEs5pvCcvAt3_twYkoeoOyxCzh2oCM_BwrceKkXQpqxj299hIrDu5-6zHITe97ruyyUESfx7NCLkVhYcz9_l34uKJSEzfh16mSfXLIaGieArhikYgLah2zT4rpHKoWfDdHtnHXwgVUlMOzsR_VQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616183942,"updated":1616183942,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '692' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeybak6491110a/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/backup?api-version=7.2-preview + response: + body: + string: '{"value":"JkF6dXJlS2V5Vm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eXFBNzhXdThhOHNONjN2aGhMd2ZpZkZUcGdSNDJWU19qcFZMOFRWcWZsTTFqTXJSXzFuUVllZ1NNX2hMQ25Hd05uVklSX1RIZDE4dmpCMWZwSDZfNk5lWUNxSGd1cUo1bkswOVd6SUV2alFkLWg1VHp2dEdRQ0lVVE9yQWI5VEpxTEVyYVAwZjJEUkZ6T193U3FxVTl1NlU2dUhadFJvTTdiSklPOU5qdE9fTkxFS3BwMENpcHBXRFktdTY1UHhjU3hpSURzNUVpeFdUYXViY19pSE1pQ1d0eExsSllTVURuSW5kcVJ2UmNqcHVXb05TQTlkeUZIV3FhMmxkTm1QRlRhNjV5R3lMdVpKU010SGMxUnNwZEJkSmNJWmdZdVFUU2UzRnVCeDBQTDZRZHpxeUVFdFNWcTVmVUEtVjdWTFlKTzdPT25PYVNKMUxmVnJRR1U5T2IyVkFITXljR3Jpei1mcDNDclJOekRvM2tWMjlzbXZEQktoc3VPRnMxQUxsMjRiS01TUkRRRmlsQm5DU0Z2UXBuQjc5WnN1c2JDaVJpUHZmbzlZQUdidEd2Z1VnNEJzZDBxQWNuTm85ZGN3eDlIQjdHSm91dy1RMjF1c1U0aURDOUlrRnpKbkFiajdpOWszc0MzNGZRTE5YOG85TEVocFJkdldVOWpvZjBSRzZOQ08wN1RjeVhWTUd3Zy5ldDY4cHVpb3IzNFVsaHFIWEp2bmdwXzV5dWVSZ21FcEQ4NW1pZmRXY3Bn"}' + headers: + cache-control: no-cache + content-length: '10272' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeybak6491110a/backup?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a","deletedDate":1616183943,"scheduledPurgeDate":1623959943,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/5db4323e068448a5a6fce76c98557d61","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sqZoTtO4P0PAgvn86BykeTlr9zuOOmEZBEMcu5-NxKI0ucYFYQPUTAsKFacS6QHiJnXo2wYmoyBJFKHEQUoizbTnLYVjxwQmmrUQh5QuQoNDUhrZoKxPXLfTXRhuSvFGFyXMAhrpCcrEUqqVqBE0MU7Uxq2R6BhjDDdF0G9cWPVRF2LwX_R43ceuNGvdPQ4-oprkEs5pvCcvAt3_twYkoeoOyxCzh2oCM_BwrceKkXQpqxj299hIrDu5-6zHITe97ruyyUESfx7NCLkVhYcz9_l34uKJSEzfh16mSfXLIaGieArhikYgLah2zT4rpHKoWfDdHtnHXwgVUlMOzsR_VQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616183942,"updated":1616183942,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '838' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak6491110a"}}' + headers: + cache-control: no-cache + content-length: '92' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak6491110a"}}' + headers: + cache-control: no-cache + content-length: '92' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak6491110a"}}' + headers: + cache-control: no-cache + content-length: '92' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak6491110a"}}' + headers: + cache-control: no-cache + content-length: '92' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak6491110a"}}' + headers: + cache-control: no-cache + content-length: '92' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak6491110a"}}' + headers: + cache-control: no-cache + content-length: '92' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak6491110a"}}' + headers: + cache-control: no-cache + content-length: '92' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak6491110a"}}' + headers: + cache-control: no-cache + content-length: '92' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkeybak6491110a"}}' + headers: + cache-control: no-cache + content-length: '92' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a","deletedDate":1616183943,"scheduledPurgeDate":1623959943,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/5db4323e068448a5a6fce76c98557d61","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sqZoTtO4P0PAgvn86BykeTlr9zuOOmEZBEMcu5-NxKI0ucYFYQPUTAsKFacS6QHiJnXo2wYmoyBJFKHEQUoizbTnLYVjxwQmmrUQh5QuQoNDUhrZoKxPXLfTXRhuSvFGFyXMAhrpCcrEUqqVqBE0MU7Uxq2R6BhjDDdF0G9cWPVRF2LwX_R43ceuNGvdPQ4-oprkEs5pvCcvAt3_twYkoeoOyxCzh2oCM_BwrceKkXQpqxj299hIrDu5-6zHITe97ruyyUESfx7NCLkVhYcz9_l34uKJSEzfh16mSfXLIaGieArhikYgLah2zT4rpHKoWfDdHtnHXwgVUlMOzsR_VQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616183942,"updated":1616183942,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '838' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + date: Fri, 19 Mar 2021 19:59:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkeybak6491110a?api-version=7.2-preview +- request: + body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaTRqZVRXdEEwLWFEWEJNUGh0OU1yRmItX1UxcjRjVXA5eGxfWjd4dmNEN1pXR2ZnWnhlcVBka0JYRE4xYUtCbGxNMl85TG5CTVAtWHVNVTBPM3F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HVXb05TQTlkeUZIV3FhMmxkTm1QRlRhNjV5R3lMdVpKU010SGMxUnNwZEJkSmNJWmdZdVFUU2UzRnVCeDBQTDZRZHpxeUVFdFNWcTVmVUEtVjdWTFlKTzdPT25PYVNKMUxmVnJRR1U5T2IyVkFITXljR3Jpei1mcDNDclJOekRvM2tWMjlzbXZEQktoc3VPRnMxQUxsMjRiS01TUkRRRmlsQm5DU0Z2UXBuQjc5WnN1c2JDaVJpUHZmbzlZQUdidEd2Z1VnNEJzZDBxQWNuTm85ZGN3eDlIQjdHSm91dy1RMjF1c1U0aURDOUlrRnpKbkFiajdpOWszc0MzNGZRTE5YOG85TEVocFJkdldVOWpvZjBSRzZOQ08wN1RjeVhWTUd3Zy5ldDY4cHVpb3IzNFVsaHFIWEp2bmdwXzV5dWVSZ21FcEQ4NW1pZmRXY3Bn"}' + headers: + Accept: + - application/json + Content-Length: + - '10273' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the key ''https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/5db4323e068448a5a6fce76c98557d61''. + This can happen if either: a second key with the same name was created after + the first key was deleted; thus trying to restore a key whose name is already + in use. To fix this, rename the second key to something else so that the restore + works. The second probable cause of this exception is when multiple operations + are performed in parallel against the key. To avoid this error, perform operations + against a key in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '619' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/keys/restore?api-version=7.2-preview +- request: + body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaTRqZVRXdEEwLWFEWEJNUGh0OU1yRmItX1UxcjRjVXA5eGxfWjd4dmNEN1pXR2ZnWnhlcVBka0JYRE4xYUtCbGxNMl85TG5CTVAtWHVNVTBPM3FJbXowWnVDT3daQlZkaHY3T014Vjk0bks1VWVsUFkzYTRjc2kzRVhSeHU5OWJwVlpWVHRvWDNoUGlSS3E2NXRXT0d6RnpEcFVtYU1LYWFvdE9DcmhudndmMkViVVdneFh2Z2xBVU1saTJMRzVCZ0xrWTZSR0ljUVdwU243Z3R1RElJZDY0MDV1SU9DbG1XVkZZYmtMWUtFMDVoMmhyaGdVOFduU0wxTWtwNDljQlJadXNyM3dZS2hTNk9SWk5kM2wwN2pHaEtnVDlkVWZnVF9qZWN5TklmcGdNWlVuSDI2UWwyRDVNbVJ0bld4YkZ0dS1DYnpFODhmbjFiS1huUTdqRWt3LkhncDAxRzdtRGhxalVfWkZwODlZeXcuTFNtclNmRHBBdDNSWXRMdXg4dDlqekZBZFhJMi1vcXZYVkk5T2JEQnh2cm9xNENkMk1PSVpGbUhjYnp2b1R4bTFUM2RUWnpwUE81Tks0V21BR09hSTA1cGdicmprbjg3bzliTmVKYk00WkE3TTI0aDBIUG5UemxDQXJtV2dFYXFvVXBSQnVOR1RfQUkzMjVTS0FLSWxVTmtLQnJoN1AwM0V3cmstOVgtemlZaGZkR3FrdURiTmgxcFc4cTVkVS1vbjZlaklJY0Y3OTZCZ2NyQjNJRFJBSzNXSm9GdFRlb1pLNGNE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4TTAwcEtOZWVlektLd0h1ckZkYXBIT2Q4X0sySzRtbE5vSUZPQVlueFZINjNVeEYwMWxva252emdRQl9NeXFBNzhXdThhOHNONjN2aGhMd2ZpZkZUcGdSNDJWU19qcFZMOFRWcWZsTTFqTXJSXzFuUVllZ1NNX2hMQ25Hd05uVklSX1RIZDE4dmpCMWZwSDZfNk5lWUNxSGd1cUo1bkswOVd6SUV2alFkLWg1VHp2dEdRQ0lVVE9yQWI5VEpxTEVyYVAwZjJEUkZ6T193U3FxVTl1NlU2dUhadFJvTTdiSklPOU5qdE9fTkxFS3BwMENpcHBXRFktdTY1UHhjU3hpSURzNUVpeFdUYXViY19pSE1pQ1d0eExsSllTVURuSW5kcVJ2UmNqcHVXb05TQTlkeUZIV3FhMmxkTm1QRlRhNjV5R3lMdVpKU010SGMxUnNwZEJkSmNJWmdZdVFUU2UzRnVCeDBQTDZRZHpxeUVFdFNWcTVmVUEtVjdWTFlKTzdPT25PYVNKMUxmVnJRR1U5T2IyVkFITXljR3Jpei1mcDNDclJOekRvM2tWMjlzbXZEQktoc3VPRnMxQUxsMjRiS01TUkRRRmlsQm5DU0Z2UXBuQjc5WnN1c2JDaVJpUHZmbzlZQUdidEd2Z1VnNEJzZDBxQWNuTm85ZGN3eDlIQjdHSm91dy1RMjF1c1U0aURDOUlrRnpKbkFiajdpOWszc0MzNGZRTE5YOG85TEVocFJkdldVOWpvZjBSRzZOQ08wN1RjeVhWTUd3Zy5ldDY4cHVpb3IzNFVsaHFIWEp2bmdwXzV5dWVSZ21FcEQ4NW1pZmRXY3Bn"}' + headers: + Accept: + - application/json + Content-Length: + - '10273' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the key ''https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/5db4323e068448a5a6fce76c98557d61''. + This can happen if either: a second key with the same name was created after + the first key was deleted; thus trying to restore a key whose name is already + in use. To fix this, rename the second key to something else so that the restore + works. The second probable cause of this exception is when multiple operations + are performed in parallel against the key. To avoid this error, perform operations + against a key in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '619' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/keys/restore?api-version=7.2-preview +- request: + body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaTRqZVRXdEEwLWFEWEJNUGh0OU1yRmItX1UxcjRjVXA5eGxfWjd4dmNEN1pXR2ZnWnhlcVBka0JYRE4xYUtCbGxNMl85TG5CTVAtWHVNVTBPM3FJbXowWnVDT3daQlZkaHY3T014Vjk0bks1VWVsUFkzYTRjc2kzRVhSeHU5OWJwVlpWVHRvWDNoUGlSS3E2NXRXT0d6RnpEcFVtYU1LYWFvdE9DcmhudndmMkViVVdneFh2Z2xBVU1saTJMRzVCZ0xrWTZSR0ljUVdwU243Z3R1RElJZDY0MDV1SU9DbG1XVkZZYmtMWUtFMDVoMmhyaGdVOFduU0wxTWtwNDljQlJadXNyM3dZS2hTNk9SWk5kM2wwN2pHaEtnVDlkVWZnVF9qZWN5TklmcGdNWl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QjdHSm91dy1RMjF1c1U0aURDOUlrRnpKbkFiajdpOWszc0MzNGZRTE5YOG85TEVocFJkdldVOWpvZjBSRzZOQ08wN1RjeVhWTUd3Zy5ldDY4cHVpb3IzNFVsaHFIWEp2bmdwXzV5dWVSZ21FcEQ4NW1pZmRXY3Bn"}' + headers: + Accept: + - application/json + Content-Length: + - '10273' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the key ''https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/5db4323e068448a5a6fce76c98557d61''. + This can happen if either: a second key with the same name was created after + the first key was deleted; thus trying to restore a key whose name is already + in use. To fix this, rename the second key to something else so that the restore + works. The second probable cause of this exception is when multiple operations + are performed in parallel against the key. To avoid this error, perform operations + against a key in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '619' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/keys/restore?api-version=7.2-preview +- request: + body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaTRqZVRXdEEwLW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vTTdiSklPOU5qdE9fTkxFS3BwMENpcHBXRFktdTY1UHhjU3hpSURzNUVpeFdUYXViY19pSE1pQ1d0eExsSllTVURuSW5kcVJ2UmNqcHVXb05TQTlkeUZIV3FhMmxkTm1QRlRhNjV5R3lMdVpKU010SGMxUnNwZEJkSmNJWmdZdVFUU2UzRnVCeDBQTDZRZHpxeUVFdFNWcTVmVUEtVjdWTFlKTzdPT25PYVNKMUxmVnJRR1U5T2IyVkFITXljR3Jpei1mcDNDclJOekRvM2tWMjlzbXZEQktoc3VPRnMxQUxsMjRiS01TUkRRRmlsQm5DU0Z2UXBuQjc5WnN1c2JDaVJpUHZmbzlZQUdidEd2Z1VnNEJzZDBxQWNuTm85ZGN3eDlIQjdHSm91dy1RMjF1c1U0aURDOUlrRnpKbkFiajdpOWszc0MzNGZRTE5YOG85TEVocFJkdldVOWpvZjBSRzZOQ08wN1RjeVhWTUd3Zy5ldDY4cHVpb3IzNFVsaHFIWEp2bmdwXzV5dWVSZ21FcEQ4NW1pZmRXY3Bn"}' + headers: + Accept: + - application/json + Content-Length: + - '10273' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"Conflict","message":"There was a conflict restoring + the key ''https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/5db4323e068448a5a6fce76c98557d61''. + This can happen if either: a second key with the same name was created after + the first key was deleted; thus trying to restore a key whose name is already + in use. To fix this, rename the second key to something else so that the restore + works. The second probable cause of this exception is when multiple operations + are performed in parallel against the key. To avoid this error, perform operations + against a key in a sequential manner."}}' + headers: + cache-control: no-cache + content-length: '619' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 409 + message: Conflict + url: https://mcpatinotest.vault.azure.net/keys/restore?api-version=7.2-preview +- request: + body: '{"value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuaTRqZVRXdEEwLWFEWEJNUGh0OU1yRmItX1UxcjRjVXA5eGxfWjd4dmNEN1pXR2ZnWnhlcVBka0JYRE4xYUtCbGxNMl85TG5CTVAtWHVNVTBPM3FJbXowWnVDT3daQlZkaHY3T014Vjk0bks1VWVsUFkzYTRjc2kzRVhSeHU5OWJwVlpWVHRvWDNoUGlSS3E2NXRXT0d6RnpEcFVtYU1LYWFvdE9DcmhudndmMkViVVdneFh2Z2xBVU1saTJMRzVCZ0xrWTZSR0ljUVdwU243Z3R1RElJZDY0MDV1SU9DbG1XVkZZYmtMWUtFMDVoMmhyaGdVOFduU0wxTWtwNDljQlJadXNyM3dZS2hTNk9SWk5kM2wwN2pHaEtnVDlkVWZnVF9qZWN5TklmcGdNWlVuSDI2UWwyRDVNbVJ0bld4YkZ0dS1DYnpFODhmbjFiS1huUTdqRWt3LkhncDAxRzdtRGhxalVfWkZwODlZeXcuTFNtclNmRHBBdDNSWXRMdXg4dDlqekZBZFhJMi1vcXZYVkk5T2JEQnh2cm9xNENkMk1PSVpGbUhjYnp2b1R4bTFUM2RUWnpwUE81Tks0V21BR09hSTA1cGdicmprbjg3bzliTmVKYk00WkE3TTI0aDBIUG5UemxDQXJtV2dFYXFvVXBSQnVOR1RfQUkzMjVTS0FLSWxVTmtLQnJ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VzFsZzdLRlN6QWhJb2R5M2VkbGxrTGxnNVV5VG1GTWNTRWp6VERocTNyU3VNelBNVEJpR3VGUkV5aEwwUDlnRFR0WnY3TDVpMll4TTAwcEtOZWVlektLd0h1ckZkYXBIT2Q4X0sySzRtbE5vSUZPQVlueFZINjNVeEYwMWxva252emdRQl9NeXFBNzhXdThhOHNONjN2aGhMd2ZpZkZUcGdSNDJWU19qcFZMOFRWcWZsTTFqTXJSXzFuUVllZ1NNX2hMQ25Hd05uVklSX1RIZDE4dmpCMWZwSDZfNk5lWUNxSGd1cUo1bkswOVd6SUV2alFkLWg1VHp2dEdRQ0lVVE9yQWI5VEpxTEVyYVAwZjJEUkZ6T193U3FxVTl1NlU2dUhadFJvTTdiSklPOU5qdE9fTkxFS3BwMENpcHBXRFktdTY1UHhjU3hpSURzNUVpeFdUYXViY19pSE1pQ1d0eExsSllTVURuSW5kcVJ2UmNqcHVXb05TQTlkeUZIV3FhMmxkTm1QRlRhNjV5R3lMdVpKU010SGMxUnNwZEJkSmNJWmdZdVFUU2UzRnVCeDBQTDZRZHpxeUVFdFNWcTVmVUEtVjdWTFlKTzdPT25PYVNKMUxmVnJRR1U5T2IyVkFITXljR3Jpei1mcDNDclJOekRvM2tWMjlzbXZEQktoc3VPRnMxQUxsMjRiS01TUkRRRmlsQm5DU0Z2UXBuQjc5WnN1c2JDaVJpUHZmbzlZQUdidEd2Z1VnNEJzZDBxQWNuTm85ZGN3eDlIQjdHSm91dy1RMjF1c1U0aURDOUlrRnpKbkFiajdpOWszc0MzNGZRTE5YOG85TEVocFJkdldVOWpvZjBSRzZOQ08wN1RjeVhWTUd3Zy5ldDY4cHVpb3IzNFVsaHFIWEp2bmdwXzV5dWVSZ21FcEQ4NW1pZmRXY3Bn"}' + headers: + Accept: + - application/json + Content-Length: + - '10273' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/restore?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a/5db4323e068448a5a6fce76c98557d61","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sqZoTtO4P0PAgvn86BykeTlr9zuOOmEZBEMcu5-NxKI0ucYFYQPUTAsKFacS6QHiJnXo2wYmoyBJFKHEQUoizbTnLYVjxwQmmrUQh5QuQoNDUhrZoKxPXLfTXRhuSvFGFyXMAhrpCcrEUqqVqBE0MU7Uxq2R6BhjDDdF0G9cWPVRF2LwX_R43ceuNGvdPQ4-oprkEs5pvCcvAt3_twYkoeoOyxCzh2oCM_BwrceKkXQpqxj299hIrDu5-6zHITe97ruyyUESfx7NCLkVhYcz9_l34uKJSEzfh16mSfXLIaGieArhikYgLah2zT4rpHKoWfDdHtnHXwgVUlMOzsR_VQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616183942,"updated":1616183942,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '692' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:59:35 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/restore?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations.yaml deleted file mode 100644 index af4ebcf6f939..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations.yaml +++ /dev/null @@ -1,395 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-key5416109f/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:38:49 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-ec-key5416109f/create?api-version=7.2-preview -- request: - body: '{"attributes": {"enabled": true}, "kty": "EC-HSM", "tags": {"purpose": - "unit test", "test name": "CreateECKeyTest"}}' - headers: - Accept: - - application/json - Content-Length: - - '116' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-key5416109f/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-key5416109f/1f9e3a11d85e489893d722668a2c2760","kty":"EC-HSM","key_ops":["sign","verify"],"crv":"P-256","x":"fN5dF0XThOmecWcFmkhnxXnJg07_KYl3zZ4EE1hWZlo","y":"lXuJFfO9uyCnLQdqeZ6NWHNZvMLe2OTbRuEnjVBwuGQ"},"attributes":{"enabled":true,"created":1612579130,"updated":1612579130,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit - test","test name":"CreateECKeyTest"}}' - headers: - cache-control: no-cache - content-length: '473' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-ec-key5416109f/create?api-version=7.2-preview -- request: - body: '{"crv": "P-256", "kty": "EC"}' - headers: - Accept: - - application/json - Content-Length: - - '29' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-key5416109f/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-key5416109f/e252a0e3edef43148caddf7082220db5","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"07ydmEDlxaoavZVbmMELvC2SEGteii4hgIeBM2zeWlI","y":"5HnJLxyoYTWrrJNkS0pEbuoZ8lz1uglyC0I2vHQk18Y"},"attributes":{"enabled":true,"created":1612579132,"updated":1612579132,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '414' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-P-256-ec-key5416109f/create?api-version=7.2-preview -- request: - body: '{"key": {"dq": "AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0wYawzUJzoyuXBH0zS6D9BqCZPeF543AmWB27iPf38Q9Z8Rjr6oBgMSnGDV_mm8nDVQkeaDyE4cOZh-5UKvKShTKKQVwunmDNH", - "qi": "AJ_nrkLpK8BPzVeARkvSHQyKwMWZ-a8CD95qsKfn0dOZAvXY-2xhQYTEwbED-0bpTNEKbIpA-ZkaHygmnzJkNbbFAnb9pkkzU8ZQqDP3JNgMfVIroWx58Oth9nJza2j7i-MkPRCUPEq3Ao0J52z7WJIiLji8TTVYW_NaiM1oxzsH", - "n": "AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU", - "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], - "e": "AQAB", "d": "Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ", - "p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz", - "kty": "RSA", "q": "AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3", - "dp": "AMmhWb5yZcu6vJr8xJZ-t0_likxJRUMZAtEULaWZt2DgODj4y9JrZDJP6mvckzhQP0WXk2NuWbU2HR5pUeCN2wieG1B76VKoH76vfnaJDqT1NuJVBcP2SLHog3ffwZtMME5zjfygchG3kihqOSpwTQ9ETAqAJTkRC38fEhwAz_Cp"}}' - headers: - Accept: - - application/json - Content-Length: - - '1724' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestimport-test-key5416109f?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestimport-test-key5416109f/8cdb2c3dbae54be19240ca156658b730","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612579132,"updated":1612579132,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '702' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestimport-test-key5416109f?api-version=7.2-preview -- request: - body: '{"key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], - "kty": "RSA", "tags": {"test name ": "CreateRSAKeyTest", "purpose": "unit test"}, - "key_size": 2048}' - headers: - Accept: - - application/json - Content-Length: - - '177' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/3ac51c32cadf4dc7bfe1a0509837015e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1DBf-kfKZX2Kn-fghR8bKb8M48mnckefXTGXMUyIc_KC4MvDXwFovFev6Qw28dK8wxuG9sRq9dEUlWPTj_K0fCVJZb-G2AD09sqv2Y_s4r4-mvFNTbjmpdoZ7ijxAOh-nF6kBuRhafwlUdoRdOY_56GLRr2lj4krGCFIxCsKGSNHJgRWIKwFhXl8uoUfC4yKqm31hVFv_EqSlsLPDoC2yo5VUQ-omHAIrILkrqrkPZ1BVZeOv8CJ7fs816D1Gk5FN_MaVsGPpklsYOx9ZOxmPulLQ1z1TX9QTvUzXsnwk32zoUSJ2hrKYxnxIxlCgGj3kiPEFfUPy-QYpIpbUizblQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579133,"updated":1612579133,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test - name ":"CreateRSAKeyTest","purpose":"unit test"}}' - headers: - cache-control: no-cache - content-length: '761' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/create?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/3ac51c32cadf4dc7bfe1a0509837015e?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/3ac51c32cadf4dc7bfe1a0509837015e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1DBf-kfKZX2Kn-fghR8bKb8M48mnckefXTGXMUyIc_KC4MvDXwFovFev6Qw28dK8wxuG9sRq9dEUlWPTj_K0fCVJZb-G2AD09sqv2Y_s4r4-mvFNTbjmpdoZ7ijxAOh-nF6kBuRhafwlUdoRdOY_56GLRr2lj4krGCFIxCsKGSNHJgRWIKwFhXl8uoUfC4yKqm31hVFv_EqSlsLPDoC2yo5VUQ-omHAIrILkrqrkPZ1BVZeOv8CJ7fs816D1Gk5FN_MaVsGPpklsYOx9ZOxmPulLQ1z1TX9QTvUzXsnwk32zoUSJ2hrKYxnxIxlCgGj3kiPEFfUPy-QYpIpbUizblQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579133,"updated":1612579133,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test - name ":"CreateRSAKeyTest","purpose":"unit test"}}' - headers: - cache-control: no-cache - content-length: '761' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/3ac51c32cadf4dc7bfe1a0509837015e?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/3ac51c32cadf4dc7bfe1a0509837015e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1DBf-kfKZX2Kn-fghR8bKb8M48mnckefXTGXMUyIc_KC4MvDXwFovFev6Qw28dK8wxuG9sRq9dEUlWPTj_K0fCVJZb-G2AD09sqv2Y_s4r4-mvFNTbjmpdoZ7ijxAOh-nF6kBuRhafwlUdoRdOY_56GLRr2lj4krGCFIxCsKGSNHJgRWIKwFhXl8uoUfC4yKqm31hVFv_EqSlsLPDoC2yo5VUQ-omHAIrILkrqrkPZ1BVZeOv8CJ7fs816D1Gk5FN_MaVsGPpklsYOx9ZOxmPulLQ1z1TX9QTvUzXsnwk32zoUSJ2hrKYxnxIxlCgGj3kiPEFfUPy-QYpIpbUizblQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579133,"updated":1612579133,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test - name ":"CreateRSAKeyTest","purpose":"unit test"}}' - headers: - cache-control: no-cache - content-length: '761' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/?api-version=7.2-preview -- request: - body: '{"attributes": {"exp": 2524723200}, "tags": {"foo": "updated tag"}}' - headers: - Accept: - - application/json - Content-Length: - - '67' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/3ac51c32cadf4dc7bfe1a0509837015e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1DBf-kfKZX2Kn-fghR8bKb8M48mnckefXTGXMUyIc_KC4MvDXwFovFev6Qw28dK8wxuG9sRq9dEUlWPTj_K0fCVJZb-G2AD09sqv2Y_s4r4-mvFNTbjmpdoZ7ijxAOh-nF6kBuRhafwlUdoRdOY_56GLRr2lj4krGCFIxCsKGSNHJgRWIKwFhXl8uoUfC4yKqm31hVFv_EqSlsLPDoC2yo5VUQ-omHAIrILkrqrkPZ1BVZeOv8CJ7fs816D1Gk5FN_MaVsGPpklsYOx9ZOxmPulLQ1z1TX9QTvUzXsnwk32zoUSJ2hrKYxnxIxlCgGj3kiPEFfUPy-QYpIpbUizblQ","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1612579133,"updated":1612579134,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: no-cache - content-length: '744' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f","deletedDate":1612579135,"scheduledPurgeDate":1620355135,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/3ac51c32cadf4dc7bfe1a0509837015e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1DBf-kfKZX2Kn-fghR8bKb8M48mnckefXTGXMUyIc_KC4MvDXwFovFev6Qw28dK8wxuG9sRq9dEUlWPTj_K0fCVJZb-G2AD09sqv2Y_s4r4-mvFNTbjmpdoZ7ijxAOh-nF6kBuRhafwlUdoRdOY_56GLRr2lj4krGCFIxCsKGSNHJgRWIKwFhXl8uoUfC4yKqm31hVFv_EqSlsLPDoC2yo5VUQ-omHAIrILkrqrkPZ1BVZeOv8CJ7fs816D1Gk5FN_MaVsGPpklsYOx9ZOxmPulLQ1z1TX9QTvUzXsnwk32zoUSJ2hrKYxnxIxlCgGj3kiPEFfUPy-QYpIpbUizblQ","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1612579133,"updated":1612579134,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: no-cache - content-length: '896' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:55 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-key5416109f"}}' - headers: - cache-control: no-cache - content-length: '98' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:55 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f","deletedDate":1612579135,"scheduledPurgeDate":1620355135,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/3ac51c32cadf4dc7bfe1a0509837015e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1DBf-kfKZX2Kn-fghR8bKb8M48mnckefXTGXMUyIc_KC4MvDXwFovFev6Qw28dK8wxuG9sRq9dEUlWPTj_K0fCVJZb-G2AD09sqv2Y_s4r4-mvFNTbjmpdoZ7ijxAOh-nF6kBuRhafwlUdoRdOY_56GLRr2lj4krGCFIxCsKGSNHJgRWIKwFhXl8uoUfC4yKqm31hVFv_EqSlsLPDoC2yo5VUQ-omHAIrILkrqrkPZ1BVZeOv8CJ7fs816D1Gk5FN_MaVsGPpklsYOx9ZOxmPulLQ1z1TX9QTvUzXsnwk32zoUSJ2hrKYxnxIxlCgGj3kiPEFfUPy-QYpIpbUizblQ","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1612579133,"updated":1612579134,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: no-cache - content-length: '896' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:57 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f","deletedDate":1612579135,"scheduledPurgeDate":1620355135,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f/3ac51c32cadf4dc7bfe1a0509837015e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1DBf-kfKZX2Kn-fghR8bKb8M48mnckefXTGXMUyIc_KC4MvDXwFovFev6Qw28dK8wxuG9sRq9dEUlWPTj_K0fCVJZb-G2AD09sqv2Y_s4r4-mvFNTbjmpdoZ7ijxAOh-nF6kBuRhafwlUdoRdOY_56GLRr2lj4krGCFIxCsKGSNHJgRWIKwFhXl8uoUfC4yKqm31hVFv_EqSlsLPDoC2yo5VUQ-omHAIrILkrqrkPZ1BVZeOv8CJ7fs816D1Gk5FN_MaVsGPpklsYOx9ZOxmPulLQ1z1TX9QTvUzXsnwk32zoUSJ2hrKYxnxIxlCgGj3kiPEFfUPy-QYpIpbUizblQ","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1612579133,"updated":1612579134,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}}' - headers: - cache-control: no-cache - content-length: '896' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38:57 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations_mhsm.yaml new file mode 100644 index 000000000000..6700fe63575e --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations_mhsm.yaml @@ -0,0 +1,345 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-ec-keyad4b12b3/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestcrud-ec-keyad4b12b3/create?api-version=7.2-preview +- request: + body: '{"kty": "EC-HSM", "tags": {"purpose": "unit test", "test name": "CreateECKeyTest"}, + "attributes": {"enabled": true}}' + headers: + Accept: + - application/json + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-ec-keyad4b12b3/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180936,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180936},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-ec-keyad4b12b3/c20c1b9faa30061484829b3e33801f51","kty":"EC-HSM","x":"XZmmaOVzk4YGjLAZlsVlWFbCgWcVl56n8mAcm5b-QnM","y":"eetP7nbI15xQgCkDamlgE-dYZRDe66ZmpJvOn_ztU0A"},"tags":{"purpose":"unit + test","test name":"CreateECKeyTest"}}' + headers: + cache-control: no-cache + content-length: '500' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '283' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestcrud-ec-keyad4b12b3/create?api-version=7.2-preview +- request: + body: '{"kty": "EC-HSM", "crv": "P-256"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-P-256-ec-keyad4b12b3/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180939,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180939},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-P-256-ec-keyad4b12b3/7181185d3dc404fc37ac1ef6c5511b34","kty":"EC-HSM","x":"mCmoKAKoyxtioFTYQzcsIPCAJrQeayBMebIIZ8VVrLM","y":"l2ZSd7PFXxWaef3bfOutn5hOYulotDzex9x_6PKIgGk"}}' + headers: + cache-control: no-cache + content-length: '445' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '262' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestcrud-P-256-ec-keyad4b12b3/create?api-version=7.2-preview +- request: + body: '{"key": {"dq": "AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0wYawzUJzoyuXBH0zS6D9BqCZPeF543AmWB27iPf38Q9Z8Rjr6oBgMSnGDV_mm8nDVQkeaDyE4cOZh-5UKvKShTKKQVwunmDNH", + "dp": "AMmhWb5yZcu6vJr8xJZ-t0_likxJRUMZAtEULaWZt2DgODj4y9JrZDJP6mvckzhQP0WXk2NuWbU2HR5pUeCN2wieG1B76VKoH76vfnaJDqT1NuJVBcP2SLHog3ffwZtMME5zjfygchG3kihqOSpwTQ9ETAqAJTkRC38fEhwAz_Cp", + "p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz",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58Oth9nJza2j7i-MkPRCUPEq3Ao0J52z7WJIiLji8TTVYW_NaiM1oxzsH"}}' + headers: + Accept: + - application/json + Content-Length: + - '1728' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestimport-test-keyad4b12b3?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180939,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180939},"key":{"e":"AQAB","key_ops":["decrypt","encrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestimport-test-keyad4b12b3/61a4d0548e46449693b9508f1b02f1b3","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: no-cache + content-length: '732' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '300' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestimport-test-keyad4b12b3?api-version=7.2-preview +- request: + body: '{"key_size": 2048, "kty": "RSA-HSM", "tags": {"purpose": "unit test", "test + name ": "CreateRSAKeyTest"}, "key_ops": ["encrypt", "decrypt", "sign", "verify", + "wrapKey", "unwrapKey"]}' + headers: + Accept: + - application/json + Content-Length: + - '181' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180942,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180942},"key":{"e":"AQAB","key_ops":["sign","verify","decrypt","encrypt","unwrapKey","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/f7fb5c1f6aa6043f056e01e5ee819794","kty":"RSA-HSM","n":"iXmQBqVi_wMRD9w0g-QT9WtmOdqMJjQY3qfkxm9BsJ3d5zjWwVq59wMD6T9-yXPbQLCny552glo3EZezAveCq1eVu-NIZp6glo1jaCn3DKn0AfYlSi-cRCGaogbGxhGy5_2jtjK_j6Fk2Y_R2BPvhWjFJWZR9tukoXQVR3Ggo5p3fNt1GpB0JWz9XuvsbJDmLNPMhVs0OPu2DrxfB08QuBCi1w7xZDb7CWD00aVESb6vdse-MtReCXhZ2E4nL8g2duRRo9silsuTHlKz2AMNe4IbK7FNKKCywesYu3PshdUT9icXl4QhPIT7Q2vU5OXkVoL2uqf_9OEq5F9e5PXjlQ"},"tags":{"purpose":"unit + test","test name ":"CreateRSAKeyTest"}}' + headers: + cache-control: no-cache + content-length: '792' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '258' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/f7fb5c1f6aa6043f056e01e5ee819794?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180942,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180942},"key":{"e":"AQAB","key_ops":["unwrapKey","encrypt","decrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/f7fb5c1f6aa6043f056e01e5ee819794","kty":"RSA-HSM","n":"iXmQBqVi_wMRD9w0g-QT9WtmOdqMJjQY3qfkxm9BsJ3d5zjWwVq59wMD6T9-yXPbQLCny552glo3EZezAveCq1eVu-NIZp6glo1jaCn3DKn0AfYlSi-cRCGaogbGxhGy5_2jtjK_j6Fk2Y_R2BPvhWjFJWZR9tukoXQVR3Ggo5p3fNt1GpB0JWz9XuvsbJDmLNPMhVs0OPu2DrxfB08QuBCi1w7xZDb7CWD00aVESb6vdse-MtReCXhZ2E4nL8g2duRRo9silsuTHlKz2AMNe4IbK7FNKKCywesYu3PshdUT9icXl4QhPIT7Q2vU5OXkVoL2uqf_9OEq5F9e5PXjlQ"},"tags":{"purpose":"unit + test","test name ":"CreateRSAKeyTest"}}' + headers: + cache-control: no-cache + content-length: '792' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '177' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/f7fb5c1f6aa6043f056e01e5ee819794?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180942,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180942},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/f7fb5c1f6aa6043f056e01e5ee819794","kty":"RSA-HSM","n":"iXmQBqVi_wMRD9w0g-QT9WtmOdqMJjQY3qfkxm9BsJ3d5zjWwVq59wMD6T9-yXPbQLCny552glo3EZezAveCq1eVu-NIZp6glo1jaCn3DKn0AfYlSi-cRCGaogbGxhGy5_2jtjK_j6Fk2Y_R2BPvhWjFJWZR9tukoXQVR3Ggo5p3fNt1GpB0JWz9XuvsbJDmLNPMhVs0OPu2DrxfB08QuBCi1w7xZDb7CWD00aVESb6vdse-MtReCXhZ2E4nL8g2duRRo9silsuTHlKz2AMNe4IbK7FNKKCywesYu3PshdUT9icXl4QhPIT7Q2vU5OXkVoL2uqf_9OEq5F9e5PXjlQ"},"tags":{"purpose":"unit + test","test name ":"CreateRSAKeyTest"}}' + headers: + cache-control: no-cache + content-length: '792' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '0' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/?api-version=7.2-preview +- request: + body: '{"attributes": {"exp": 2524723200}, "tags": {"foo": "updated tag"}}' + headers: + Accept: + - application/json + Content-Length: + - '67' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180942,"enabled":true,"exp":2524723200,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180943},"key":{"e":"AQAB","key_ops":["unwrapKey","encrypt","decrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/f7fb5c1f6aa6043f056e01e5ee819794","kty":"RSA-HSM","n":"iXmQBqVi_wMRD9w0g-QT9WtmOdqMJjQY3qfkxm9BsJ3d5zjWwVq59wMD6T9-yXPbQLCny552glo3EZezAveCq1eVu-NIZp6glo1jaCn3DKn0AfYlSi-cRCGaogbGxhGy5_2jtjK_j6Fk2Y_R2BPvhWjFJWZR9tukoXQVR3Ggo5p3fNt1GpB0JWz9XuvsbJDmLNPMhVs0OPu2DrxfB08QuBCi1w7xZDb7CWD00aVESb6vdse-MtReCXhZ2E4nL8g2duRRo9silsuTHlKz2AMNe4IbK7FNKKCywesYu3PshdUT9icXl4QhPIT7Q2vU5OXkVoL2uqf_9OEq5F9e5PXjlQ"},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '775' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '76' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180942,"enabled":true,"exp":2524723200,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180943},"deletedDate":1616180943,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/f7fb5c1f6aa6043f056e01e5ee819794","kty":"RSA-HSM","n":"iXmQBqVi_wMRD9w0g-QT9WtmOdqMJjQY3qfkxm9BsJ3d5zjWwVq59wMD6T9-yXPbQLCny552glo3EZezAveCq1eVu-NIZp6glo1jaCn3DKn0AfYlSi-cRCGaogbGxhGy5_2jtjK_j6Fk2Y_R2BPvhWjFJWZR9tukoXQVR3Ggo5p3fNt1GpB0JWz9XuvsbJDmLNPMhVs0OPu2DrxfB08QuBCi1w7xZDb7CWD00aVESb6vdse-MtReCXhZ2E4nL8g2duRRo9silsuTHlKz2AMNe4IbK7FNKKCywesYu3PshdUT9icXl4QhPIT7Q2vU5OXkVoL2uqf_9OEq5F9e5PXjlQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyad4b12b3","scheduledPurgeDate":1623956943,"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '935' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '117' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyad4b12b3?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180942,"enabled":true,"exp":2524723200,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180943},"deletedDate":1616180943,"key":{"e":"AQAB","key_ops":["wrapKey","unwrapKey","encrypt","decrypt","verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/f7fb5c1f6aa6043f056e01e5ee819794","kty":"RSA-HSM","n":"iXmQBqVi_wMRD9w0g-QT9WtmOdqMJjQY3qfkxm9BsJ3d5zjWwVq59wMD6T9-yXPbQLCny552glo3EZezAveCq1eVu-NIZp6glo1jaCn3DKn0AfYlSi-cRCGaogbGxhGy5_2jtjK_j6Fk2Y_R2BPvhWjFJWZR9tukoXQVR3Ggo5p3fNt1GpB0JWz9XuvsbJDmLNPMhVs0OPu2DrxfB08QuBCi1w7xZDb7CWD00aVESb6vdse-MtReCXhZ2E4nL8g2duRRo9silsuTHlKz2AMNe4IbK7FNKKCywesYu3PshdUT9icXl4QhPIT7Q2vU5OXkVoL2uqf_9OEq5F9e5PXjlQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyad4b12b3","scheduledPurgeDate":1623956943,"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '935' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '32' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyad4b12b3?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyad4b12b3?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180942,"enabled":true,"exp":2524723200,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180943},"deletedDate":1616180943,"key":{"e":"AQAB","key_ops":["wrapKey","unwrapKey","encrypt","decrypt","verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3/f7fb5c1f6aa6043f056e01e5ee819794","kty":"RSA-HSM","n":"iXmQBqVi_wMRD9w0g-QT9WtmOdqMJjQY3qfkxm9BsJ3d5zjWwVq59wMD6T9-yXPbQLCny552glo3EZezAveCq1eVu-NIZp6glo1jaCn3DKn0AfYlSi-cRCGaogbGxhGy5_2jtjK_j6Fk2Y_R2BPvhWjFJWZR9tukoXQVR3Ggo5p3fNt1GpB0JWz9XuvsbJDmLNPMhVs0OPu2DrxfB08QuBCi1w7xZDb7CWD00aVESb6vdse-MtReCXhZ2E4nL8g2duRRo9silsuTHlKz2AMNe4IbK7FNKKCywesYu3PshdUT9icXl4QhPIT7Q2vU5OXkVoL2uqf_9OEq5F9e5PXjlQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyad4b12b3","scheduledPurgeDate":1623956943,"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '935' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '31' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyad4b12b3?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations_vault.yaml new file mode 100644 index 000000000000..5bd8768e8fc1 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_crud_operations_vault.yaml @@ -0,0 +1,656 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-keyc087132a/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 19:09:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-ec-keyc087132a/create?api-version=7.2-preview +- request: + body: '{"kty": "EC-HSM", "tags": {"purpose": "unit test", "test name": "CreateECKeyTest"}, + "attributes": {"enabled": true}}' + headers: + Accept: + - application/json + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-keyc087132a/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-keyc087132a/4b5072c49be745188ffc22dd8c7d1c2a","kty":"EC-HSM","key_ops":["sign","verify"],"crv":"P-256","x":"H8fkfmxsRwVP75KxFy7vUxmbr7MDJZR8gDy32xmYtPQ","y":"aBaop_pQ5WC6fZUwfM3R0zQRjP2Ui4zb4EElEXMN-yM"},"attributes":{"enabled":true,"created":1616180947,"updated":1616180947,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit + test","test name":"CreateECKeyTest"}}' + headers: + cache-control: no-cache + content-length: '473' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-ec-keyc087132a/create?api-version=7.2-preview +- request: + body: '{"kty": "EC", "crv": "P-256"}' + headers: + Accept: + - application/json + Content-Length: + - '29' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-keyc087132a/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-keyc087132a/c5785d2301a04767a50d2e101805b909","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"P3kuXq6zdHA0RyDH8vVxuTqMfzs1jkhKQCM90IjjClY","y":"OCesREQAp5MtzLQlKk-cig4WMYpW6ETPS8FCT4PEjlU"},"attributes":{"enabled":true,"created":1616180951,"updated":1616180951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '414' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-P-256-ec-keyc087132a/create?api-version=7.2-preview +- request: + body: '{"key": {"dq": "AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0wYawzUJzoyuXBH0zS6D9BqCZPeF543AmWB27iPf38Q9Z8Rjr6oBgMSnGDV_mm8nDVQkeaDyE4cOZh-5UKvKShTKKQVwunmDNH", + "dp": "AMmhWb5yZcu6vJr8xJZ-t0_likxJRUMZAtEULaWZt2DgODj4y9JrZDJP6mvckzhQP0WXk2NuWbU2HR5pUeCN2wieG1B76VKoH76vfnaJDqT1NuJVBcP2SLHog3ffwZtMME5zjfygchG3kihqOSpwTQ9ETAqAJTkRC38fEhwAz_Cp", + "p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz", + "n": "AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU", + "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], + "d": "Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ", + "kty": "RSA", "q": "AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3", + "e": "AQAB", "qi": "AJ_nrkLpK8BPzVeARkvSHQyKwMWZ-a8CD95qsKfn0dOZAvXY-2xhQYTEwbED-0bpTNEKbIpA-ZkaHygmnzJkNbbFAnb9pkkzU8ZQqDP3JNgMfVIroWx58Oth9nJza2j7i-MkPRCUPEq3Ao0J52z7WJIiLji8TTVYW_NaiM1oxzsH"}}' + headers: + Accept: + - application/json + Content-Length: + - '1724' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://vaultname.vault.azure.net/keys/livekvtestimport-test-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestimport-test-keyc087132a/8dc232e2588f445ab35a6ca465ed0349","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616180951,"updated":1616180951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '701' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestimport-test-keyc087132a?api-version=7.2-preview +- request: + body: '{"key_size": 2048, "kty": "RSA", "tags": {"purpose": "unit test", "test + name ": "CreateRSAKeyTest"}, "key_ops": ["encrypt", "decrypt", "sign", "verify", + "wrapKey", "unwrapKey"]}' + headers: + Accept: + - application/json + Content-Length: + - '177' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/71b5770e572e4958abe8696b08f4bc5c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vGvZW2Gy_lwSCM7xJs3TjUwi37cinJ9WZyFKR896lZgRtCRlIBtJFA3-LCf5IZdNUd5BXy1I-iPzqwQiom2TZGZtkUUf8O4V22bc_8G1bFZQ4mBl_SGB1Fa3ya96DPha39QtnXbx3Ubh4XlUsLfPUzfJ7zArHRYtU_GhSawBxXh7zr7XbB27wF1eHnrI47ozkulV3L__dPIt4hrR4UqKXz5RjUqqMwEnQ65ziHC1t4IvGyPVwrQxUl-dTIvzi8_Img3hPGAUgWHqe4Ly4UfNt-gAd8rPt1gFpRmr2DhG--sgicwuLqv_et7c2-v5ZrhEZenzvc0f_bYEe3UTZH5A8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616180953,"updated":1616180953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit + test","test name ":"CreateRSAKeyTest"}}' + headers: + cache-control: no-cache + content-length: '761' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/71b5770e572e4958abe8696b08f4bc5c?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/71b5770e572e4958abe8696b08f4bc5c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vGvZW2Gy_lwSCM7xJs3TjUwi37cinJ9WZyFKR896lZgRtCRlIBtJFA3-LCf5IZdNUd5BXy1I-iPzqwQiom2TZGZtkUUf8O4V22bc_8G1bFZQ4mBl_SGB1Fa3ya96DPha39QtnXbx3Ubh4XlUsLfPUzfJ7zArHRYtU_GhSawBxXh7zr7XbB27wF1eHnrI47ozkulV3L__dPIt4hrR4UqKXz5RjUqqMwEnQ65ziHC1t4IvGyPVwrQxUl-dTIvzi8_Img3hPGAUgWHqe4Ly4UfNt-gAd8rPt1gFpRmr2DhG--sgicwuLqv_et7c2-v5ZrhEZenzvc0f_bYEe3UTZH5A8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616180953,"updated":1616180953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit + test","test name ":"CreateRSAKeyTest"}}' + headers: + cache-control: no-cache + content-length: '761' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/71b5770e572e4958abe8696b08f4bc5c?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/71b5770e572e4958abe8696b08f4bc5c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vGvZW2Gy_lwSCM7xJs3TjUwi37cinJ9WZyFKR896lZgRtCRlIBtJFA3-LCf5IZdNUd5BXy1I-iPzqwQiom2TZGZtkUUf8O4V22bc_8G1bFZQ4mBl_SGB1Fa3ya96DPha39QtnXbx3Ubh4XlUsLfPUzfJ7zArHRYtU_GhSawBxXh7zr7XbB27wF1eHnrI47ozkulV3L__dPIt4hrR4UqKXz5RjUqqMwEnQ65ziHC1t4IvGyPVwrQxUl-dTIvzi8_Img3hPGAUgWHqe4Ly4UfNt-gAd8rPt1gFpRmr2DhG--sgicwuLqv_et7c2-v5ZrhEZenzvc0f_bYEe3UTZH5A8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616180953,"updated":1616180953,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit + test","test name ":"CreateRSAKeyTest"}}' + headers: + cache-control: no-cache + content-length: '761' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/?api-version=7.2-preview +- request: + body: '{"attributes": {"exp": 2524723200}, "tags": {"foo": "updated tag"}}' + headers: + Accept: + - application/json + Content-Length: + - '67' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/71b5770e572e4958abe8696b08f4bc5c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vGvZW2Gy_lwSCM7xJs3TjUwi37cinJ9WZyFKR896lZgRtCRlIBtJFA3-LCf5IZdNUd5BXy1I-iPzqwQiom2TZGZtkUUf8O4V22bc_8G1bFZQ4mBl_SGB1Fa3ya96DPha39QtnXbx3Ubh4XlUsLfPUzfJ7zArHRYtU_GhSawBxXh7zr7XbB27wF1eHnrI47ozkulV3L__dPIt4hrR4UqKXz5RjUqqMwEnQ65ziHC1t4IvGyPVwrQxUl-dTIvzi8_Img3hPGAUgWHqe4Ly4UfNt-gAd8rPt1gFpRmr2DhG--sgicwuLqv_et7c2-v5ZrhEZenzvc0f_bYEe3UTZH5A8Q","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1616180953,"updated":1616180955,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '744' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a","deletedDate":1616180955,"scheduledPurgeDate":1623956955,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/71b5770e572e4958abe8696b08f4bc5c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vGvZW2Gy_lwSCM7xJs3TjUwi37cinJ9WZyFKR896lZgRtCRlIBtJFA3-LCf5IZdNUd5BXy1I-iPzqwQiom2TZGZtkUUf8O4V22bc_8G1bFZQ4mBl_SGB1Fa3ya96DPha39QtnXbx3Ubh4XlUsLfPUzfJ7zArHRYtU_GhSawBxXh7zr7XbB27wF1eHnrI47ozkulV3L__dPIt4hrR4UqKXz5RjUqqMwEnQ65ziHC1t4IvGyPVwrQxUl-dTIvzi8_Img3hPGAUgWHqe4Ly4UfNt-gAd8rPt1gFpRmr2DhG--sgicwuLqv_et7c2-v5ZrhEZenzvc0f_bYEe3UTZH5A8Q","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1616180953,"updated":1616180955,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '896' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:21 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:27 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestcrud-rsa-keyc087132a"}}' + headers: + cache-control: no-cache + content-length: '98' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a","deletedDate":1616180955,"scheduledPurgeDate":1623956955,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/71b5770e572e4958abe8696b08f4bc5c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vGvZW2Gy_lwSCM7xJs3TjUwi37cinJ9WZyFKR896lZgRtCRlIBtJFA3-LCf5IZdNUd5BXy1I-iPzqwQiom2TZGZtkUUf8O4V22bc_8G1bFZQ4mBl_SGB1Fa3ya96DPha39QtnXbx3Ubh4XlUsLfPUzfJ7zArHRYtU_GhSawBxXh7zr7XbB27wF1eHnrI47ozkulV3L__dPIt4hrR4UqKXz5RjUqqMwEnQ65ziHC1t4IvGyPVwrQxUl-dTIvzi8_Img3hPGAUgWHqe4Ly4UfNt-gAd8rPt1gFpRmr2DhG--sgicwuLqv_et7c2-v5ZrhEZenzvc0f_bYEe3UTZH5A8Q","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1616180953,"updated":1616180955,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '896' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:37 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a","deletedDate":1616180955,"scheduledPurgeDate":1623956955,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a/71b5770e572e4958abe8696b08f4bc5c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vGvZW2Gy_lwSCM7xJs3TjUwi37cinJ9WZyFKR896lZgRtCRlIBtJFA3-LCf5IZdNUd5BXy1I-iPzqwQiom2TZGZtkUUf8O4V22bc_8G1bFZQ4mBl_SGB1Fa3ya96DPha39QtnXbx3Ubh4XlUsLfPUzfJ7zArHRYtU_GhSawBxXh7zr7XbB27wF1eHnrI47ozkulV3L__dPIt4hrR4UqKXz5RjUqqMwEnQ65ziHC1t4IvGyPVwrQxUl-dTIvzi8_Img3hPGAUgWHqe4Ly4UfNt-gAd8rPt1gFpRmr2DhG--sgicwuLqv_et7c2-v5ZrhEZenzvc0f_bYEe3UTZH5A8Q","e":"AQAB"},"attributes":{"enabled":true,"exp":2524723200,"created":1616180953,"updated":1616180955,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}}' + headers: + cache-control: no-cache + content-length: '896' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09:37 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list.yaml deleted file mode 100644 index c862a6e3d8e5..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list.yaml +++ /dev/null @@ -1,474 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0b4dd0c0a/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:38:58 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0b4dd0c0a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0b4dd0c0a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0b4dd0c0a/89c01c2e33394bbd904c66759788a5c8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1sOj2bNAViauvg9JGfFzhUrjZ5H0Z6zt0OLc5WNOlQvxV3oQMSsHUB-AjhPxMA02vTGPlU50cuMIJBmD95tOJ9nGsQphS4qTGV7nR9vxaBeyze67ZtDq_vGiX_Ya15fkn6h1gWAPKtS7JU3fPinRL6YBZNjCpuC45rR3hGUTClKgl1r3MJG7cLsMJjs9qlYA6LiIK9JEc7f0IlVhfFD00SfjQeKaAXk0MAG0fU24_de750v-OnaxAA9fVQ5uAtSKp_vkRfYo5W5v275Oa-e_iRYwSeSc-fb-mhCgMqDW9FZZ9wiovJZjoeZKSAzqKSnggFNYSC9DqMRnSPoI1jWs9Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579139,"updated":1612579139,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0b4dd0c0a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey1b4dd0c0a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1b4dd0c0a/6c53be0aae694e90a6650a31d9f59ea2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"w1Et_NGyD7a-JP-suoMvY455gx7oOCpKfK85F47UMFLPFqmv1PSgf4An6S_D88CD1oUiWMnq_6tB3_hVr-4bTTiNQ8WNDdP2xOfqEWkjKYUveKgj83xDVTIyrsi0uH48oYRpinHeyN2S7E3COtMxH0hVhTrv4CYdsHtvuW0KOzx-1m9-7Kie-FR53im5p2zzGDo4zLbK9-i1qnSb9pnuAJ33js6WZamV_QAMZV0DcTFptpsy90EE4OeP4HmszOHJtwTL_jHCUr7vt_6IJlJ1luQcdJ7dx6pvWgE7sK3WPW4MP39q1igaMekZvEVDy9MxOrZKQsUao_4dD0wFHEXRpQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579139,"updated":1612579139,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1b4dd0c0a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey2b4dd0c0a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2b4dd0c0a/dd4b121bf4e9423ba74df712ae877793","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xs1PaAqaPkgLog5YZ_N_k59MJoc3gP5on7FZS6q3NxenOeigrS0oH-WH-QKdA6sLGRaKlKz9Su8rVBtW7Ads3khHCvfPNDuBXB3-ydgiy53Wkmo2EzCFYfJPmENrchrsIxrmdMTcxsiOmH5BkhRrma0pVObz4qJIREW0ei-cDK3msDMtkZS8RgBMYLIZtgEVOud592g8WA-Pn1hR9Mne6fYyGkR9MPOodToLTEtZ_sJtlWKcLbm58DffASIq44JU3skAbQH8V2-PC9vPpaXRKJF3UHqtezKEzb4mrz1VVutPwd5WVpU5Ckz8UjBSYPhYwtgWta6CJkMSTIplIS2hUQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579139,"updated":1612579139,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2b4dd0c0a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey3b4dd0c0a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3b4dd0c0a/3478bd6eab9b4cba943981041353c0c1","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ukWqW77s7EpLrVWq4gKrnR6GNRMU4Qfo-8SC-XeCWtXKln9iJQ5SVkWjYM1R4qO8sIVm09MVV9A95cFf_x3Lcqii1jEDXfgdMN5aLk9IS6D-lS9icY2uRe-cv1QjvYq-QMXGZ4QVk2znts3Vj9mh_vADxgw-6BgZX29HKIbtKYokWCsMFeuwU43gh602IVKQeEaPcajc43tEAwmwrO6Hie0hb33R_NJWuIWpcyI43QMxiROidU3uibXrN6u8biYzu844fjQH_1JzVJTpSEQBRZ4c7OMAnUVMbXNOJSrR6OvMeHKUDLf3IfN5UyrGfDrj6Yl2h-pu_EnkhsmTOaK-DQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579140,"updated":1612579140,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:38: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3b4dd0c0a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey4b4dd0c0a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4b4dd0c0a/7e91763a4a0a46bebe6355babd88531c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"57IRZNwnqpL2Eprude7vir7AQ695d3Pf0UKKNKjY5dSaB82xcM2a3XqLGszej3ju7Vxkb5VutFlbyJAvetNNY555hT-kQ4OWkyzpSOzAgt3MyGxNWN9ZQrF3MkuHWrhLkGaR3ft9lbV2r46fPJ0Jjt17NlbVhBbXL__Es-rEJNbbRFf2RJiubJtVuKCpj0Bxb3frBa6lhmTSq8tWKL4t-vjE4ySWAwsfXYW097RjCF863X_aB9apdWXsujlKxNKksfxGRg4aqHVFo9cXgiH5UyOoP_2Ab5ebcVC5GKtcqxCIk1T8A3SN0Mx0P7LJO46f1ngKrTUPLzb90aqn2WMvhQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579140,"updated":1612579140,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:00 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4b4dd0c0a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey5b4dd0c0a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5b4dd0c0a/1d9f0c26c4dc4147bb94cb9be815d968","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oSk7npJX9miiwpFXcroQV3XMBNTawdT6tO-sSmatTrMkWZ0mde2D-UAZnwyVIbsysxisYMUh0biwV0CkN_0IoctzPoYOZZAkwlT6koc7pL9ExIKLmK29xCKD6t6Tg2sKecpaVb-VqeXHcuL1tzPfJEv_YMhDlqj3eAv1wGiSv2ETS7BMVJzry6cNQAMLYGgeGw4WhxWJgs2QPFVrhzgkDASFXFibdgfPuDf0cwoKMHgaCjPhOHfcajlWPM95u-t3gUSAd4EWo70-_CBepcRAvu-WEIeOqmup_8B22mMotNeG5MhkzvBCZpHz5C5S_O13-roekC_T7FwBgTgZoHCKIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579140,"updated":1612579140,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:00 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5b4dd0c0a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey6b4dd0c0a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6b4dd0c0a/7537baef41574f5cb87926555dcba721","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"13gD5oKKFL9nnapWcb3PHTIp37Bk78eeXA4uhpSW22NK-V_oy-S3Tu53mbFmYQaNvhsWL_3Jg3TAhG8E5XBIiuKG0KkE-GLZ9Am6ggG-Q9169uD5G3dl8VSh-xvXm1emsyZBNg2J_YPXIFV1JdVt_8CJXbjmt7_cCqnN_mArupBz6luGb0qGT4u0mpvrekFd5HgKGP-JjqneAqs7Od3k9q-MCLjVmXr784BVJ1p1iwH3dqzDvw-HuO3tCeWfwx3qM0ISTIC7M41N55XBz0WqQNMylh7lroTgFSIWAU1gHBEqtqaHxt_VCHW0d0F-nPOPVSED72AF0XOAd__CEK5mDQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579141,"updated":1612579141,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:00 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6b4dd0c0a/create?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys?maxresults=6&api-version=7.2-preview - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-key51c4108d","attributes":{"enabled":true,"created":1612578993,"updated":1612578993,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"test - name":"CreateECKeyTest","purpose":"unit test"}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-key5416109f","attributes":{"enabled":true,"created":1612579130,"updated":1612579130,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit - test","test name":"CreateECKeyTest"}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-key51c4108d","attributes":{"enabled":true,"created":1612578995,"updated":1612578995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-key5416109f","attributes":{"enabled":true,"created":1612579132,"updated":1612579132,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMjAhTURBd01EUTFJV3RsZVM5TVNWWkZTMVpVUlZOVVExSlpVRlJQTFZSRlUxUXRSVTVEVWxsUVZDMUxSVmsxTmpJNE1UWXlOU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1329' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys?maxresults=6&api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMjAhTURBd01EUTFJV3RsZVM5TVNWWkZTMVpVUlZOVVExSlpVRlJQTFZSRlUxUXRSVTVEVWxsUVZDMUxSVmsxTmpJNE1UWXlOU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestimport-test-key51c4108d","attributes":{"enabled":true,"created":1612578995,"updated":1612578995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestimport-test-key5416109f","attributes":{"enabled":true,"created":1612579132,"updated":1612579132,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a7710b8a","attributes":{"enabled":true,"created":1612579077,"updated":1612579077,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0b3510bf8","attributes":{"enabled":true,"created":1612579002,"updated":1612579002,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0b4dd0c0a","attributes":{"enabled":true,"created":1612579139,"updated":1612579139,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1URXhNRFF4TkVOR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1364' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMjAhTURBd01EUTFJV3RsZVM5TVNWWkZTMVpVUlZOVVExSlpVRlJQTFZSRlUxUXRSVTVEVWxsUVZDMUxSVmsxTmpJNE1UWXlOU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1URXhNRFF4TkVOR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a7710b8a","attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1b3510bf8","attributes":{"enabled":true,"created":1612579002,"updated":1612579002,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1b4dd0c0a","attributes":{"enabled":true,"created":1612579139,"updated":1612579139,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a7710b8a","attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1rRTRSVUl3UWpsRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1134' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1URXhNRFF4TkVOR0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1rRTRSVUl3UWpsRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2b3510bf8","attributes":{"enabled":true,"created":1612579003,"updated":1612579003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2b4dd0c0a","attributes":{"enabled":true,"created":1612579139,"updated":1612579139,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a7710b8a","attributes":{"enabled":true,"created":1612579078,"updated":1612579078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3b3510bf8","attributes":{"enabled":true,"created":1612579003,"updated":1612579003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3b4dd0c0a","attributes":{"enabled":true,"created":1612579140,"updated":1612579140,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5ETXdRemt3UmtFeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1342' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:02 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1rRTRSVUl3UWpsRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5ETXdRemt3UmtFeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a7710b8a","attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4b3510bf8","attributes":{"enabled":true,"created":1612579003,"updated":1612579003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4b4dd0c0a","attributes":{"enabled":true,"created":1612579140,"updated":1612579140,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a7710b8a","attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5VRTRSVUl3UWpsRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1134' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:02 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5ETXdRemt3UmtFeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5VRTRSVUl3UWpsRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5b3510bf8","attributes":{"enabled":true,"created":1612579004,"updated":1612579004,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5b4dd0c0a","attributes":{"enabled":true,"created":1612579140,"updated":1612579140,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a7710b8a","attributes":{"enabled":true,"created":1612579079,"updated":1612579079,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6b3510bf8","attributes":{"enabled":true,"created":1612579004,"updated":1612579004,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6b4dd0c0a","attributes":{"enabled":true,"created":1612579141,"updated":1612579141,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk9UVkROakV5TWpNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1337' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:02 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5VRTRSVUl3UWpsRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk9UVkROakV5TWpNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak2e80e6d","attributes":{"enabled":true,"created":1612578984,"updated":1612578984,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak4e00e7f","attributes":{"enabled":true,"created":1612579121,"updated":1612579121,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name116c0ea5","attributes":{"enabled":true,"created":1612579046,"updated":1612579046,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name20a00f12","attributes":{"enabled":true,"created":1612579044,"updated":1612579044,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf5fa0e28","attributes":{"enabled":true,"created":1612579042,"updated":1612579042,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/test-rsa","attributes":{"enabled":true,"created":1612558238,"updated":1612558238,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '1282' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk9UVkROakV5TWpNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=6 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list_mhsm.yaml new file mode 100644 index 000000000000..20ab3a1895a6 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list_mhsm.yaml @@ -0,0 +1,447 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0f7290e1e/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0f7290e1e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0f7290e1e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180980,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180980},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0f7290e1e/c2da260513e747620c2b08331148e616","kty":"RSA-HSM","n":"uyxobd6tyeu8LtnU8uKU6KqPBQM5ZZf9U9s80vGRoqfeLkihLsCeMiJ7ptKM1j4KFnIk_MZidJQPyc89Wozz1ccid_SViFmRUxk6efE7AypbNWJltxDforINLvCAiySYJwkm34_wJbtPtmM9COw_mqnB0J-x6O39PAPW66chR_fRRK7k_F8Ec2WUwSFnbqhQcajHYKa4m8d-w5RTHQcD4YVVCAz3gJNBjHjXyd579-BneDTmUUUWcith5Y4S23_85B5kSLRLDqPSRR6G7q5lUcAD6NXJhUA62GcSMU9A-6CNObAAD19cR1abqbuhyAbxZqui8PhvxAu7Dc-1A8uzVw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '254' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0f7290e1e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1f7290e1e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180982,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180982},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1f7290e1e/7b8e70726fdd472225a2f9b36f0bf3b1","kty":"RSA-HSM","n":"i853xWPz-Oeyqwe6h3fQL52NH-JD6al8hAigIo4Xxa9VsaJpj1QbnaEAgcq8E89NNx3tKv0uSsV8CCaDJE2SVKsNCgPpxV5j4FZh0fzGf2qEgasgUlhkOk6ssRl1o-eiKl7PQsbYe56hYHwwQ0QVsOq_yRlDKKc3D2jWLdVmOP__g67pGR0Qns-U2e61OqzpWgE10dnBOVhyUFxFuX3gG4vGuhKcY0-EuSgyyl_Qq480_TzzuCpUQvHG1h3cQMlTRtrH4HFloolfzYm6TIUi7lxFULPNXgjzj45mv8jKoeV6qxBh-slAfVAmr9zf-wyd9LXLa8LrEz1g_Asg2F0wSQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '250' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey1f7290e1e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2f7290e1e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180985,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180985},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2f7290e1e/3fb0b5606a150682b7df2f4640a22062","kty":"RSA-HSM","n":"pw45fn1BRxdbGi6tEVJx8Bk1w04p9ZZnwmQ20COm2qrWAMbC3AFVrypm1O427MfTNRTNpZ9sIWtzrOaTRkWbN5Q9BGPqnYryDbrCHxCyGHhZ3cRWSy-ZOpY8_9ASls1dkN_ZBYtYbKTibt7IF0Ca6uKUHJJL5yJMCHJlXbSax_plvfZjD_f1s2Tau8TIEl0VAhIihC38CIl9w1giB0xH5hKLnM63INWSRd19_0EJ7MsLEQciyTaT6IpyATajUZX25b2jBWAtkXd98kaaMgy1S0QeA6imHq5hkSGWXess8izIiv56uInAyqKBwEVgGWceyAhygKjr0UTSYEoi3Ebdvw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '217' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey2f7290e1e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3f7290e1e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180987,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180987},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3f7290e1e/32e052948aa346431d4d79c7d447305a","kty":"RSA-HSM","n":"jQ8FRwEQbgC-E3HZjnrLArdzyJm_-8hOQoOdWTVfgaTaLa0CpwmHqwU2O9nWICnWeZznlOhGe9AiaQFRCWGNFBtHcKVyi42JHkinnNitvuIG-A0npiW45rT1xpR_oJ8LF4N0zPWF7FZJwYmGcKkKFBd2_8Ug7eox85SLKUC6HX89JuvfrmsnxCxu5An8GNfM9v8SFam0Dl0XBIFVOt0CpaZ_0fGcLWFa0m4rGnNd-UewmFhSyGDVdNzBPPMKOJQkSN3URL0Q8hxH6nMKrtkTnOQWKSqnC2x37qrtNvGlN9K3Jtf5qsqjyhFv4gEh7mu1ae_U28szDXKl8G_WcI6hdw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '225' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey3f7290e1e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4f7290e1e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180989,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180989},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4f7290e1e/4f5f24ba8c4c494208dc68b1c2bbc743","kty":"RSA-HSM","n":"q-glFbfIFVeDtCyezyBuXaLkhqKIkvb86NwkKOZzDG9T1D-ZND7FearsPsUBRqESvsxxTOzjkOVObTncJVYZJlov7WLzHumLaHaULddIstchRTY5gZZofCy7YqK9e2D5NyEcIUWdYNwtEx8vfIFvON1rc87LWBOJKoLm1YwKo17aFyjvn23hnA5NSKtOVQRn3VC9V9_hJ-DOl6su3Ttn3G6lecs-0cAhQJ2HXSv0zCJw12T20S-2BKI78DIN6cbmks0s4m7SMyau9QXCpa0J9j2dGzkP5EvX0BCi8gp9P8wiWWK6Y2mg7a_CxUEAz1T7s2viFHvWksJwm7kPp3_fLQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '232' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey4f7290e1e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5f7290e1e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180992,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180992},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5f7290e1e/9e303539271743b7833de20f6ecad97e","kty":"RSA-HSM","n":"ikXqR2_IEdOonEAATqwPjRm33N9zuDhiYAYCgpL73P36HR1jr1T5i0xNsNjFYewNn1KlAB10YuPccPvhb1WouJ-oTcVWX7WaQOIA41_xFLDm6_HuMtNv9xg-eEBBcxOWOFUhuwFLJKTVNR0b-5uAP12UqYqcaPb2Zw1mr_cMe96WuWVbiAw6FkGEqWbdC8omiifnJhEz4aZDNaJNVjBtujBZGiFCD9QMHPFM0ap1rBSgY0AXljZ66fZ_LRtYTLYvjMNm424E2Onmq72zCstICB7ii5ikeX7S2DXUQXxbTsLRmjyoBvukVkRp5sQAjw4-ryGWzvwLOzQD27p815258Q"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '249' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey5f7290e1e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6f7290e1e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616180994,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180994},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6f7290e1e/425752a7e5af4c853f24c9b58888f07d","kty":"RSA-HSM","n":"sKI5L50U9yLysqdjjxKHRBjzzj5WSK86oK1ngZ7mHu62i61cW2sUtWoh-ujwtPAQ9YQd79k-Ia9-3THG8JEzZco1c8kW8CDUIJXkcKarSxUayNzHaMh1QV7hemdtTZWH6PDRLovPG3ewjn9X9b0gXNramX8qd0wuGG89byriBHpUHzpkDVhyhW6GLHKsIdf5towCChcIMBzz6ahPRdeCGRpKSWN0x9flRQ9kyZF5VqI6VcYHMY6U-MIOpuwCCz9ubHse4dk-GhufQzhybdT4C2O9R7JFvSy_cpN4d17PdqJOlR98RjK9UeStpM_vpnN79cRexmRijsCSFKhFZlPbfQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '284' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey6f7290e1e/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys?api-version=7.2-preview&maxresults=6 + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVFSQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz","value":[{"attributes":{"created":1616110679,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110679},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0f5430e0c"},{"attributes":{"created":1616110681,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110681},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1f5430e0c"},{"attributes":{"created":1616110683,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110683},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2f5430e0c"},{"attributes":{"created":1616110686,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110686},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3f5430e0c"},{"attributes":{"created":1616110688,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110688},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4f5430e0c"},{"attributes":{"created":1616110690,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110690},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5f5430e0c"}]}' + headers: + cache-control: no-cache + content-length: '1593' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '41' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys?api-version=7.2-preview&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVFSQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVF4QUFBQUFBQUFBQT09I1JUOjIjVFJDOjEyI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw","value":[{"attributes":{"created":1616110693,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110693},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6f5430e0c"},{"attributes":{"created":1616110777,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110777},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey42eb103c"},{"attributes":{"created":1616111203,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111203},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name72141126"},{"attributes":{"created":1616111209,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111209},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name60bf10b9"},{"attributes":{"created":1616111274,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111274},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e73d0d9e"},{"attributes":{"created":1616111276,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111276},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e73d0d9e"}]}' + headers: + cache-control: no-cache + content-length: '1614' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '51' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVFSQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVF4QUFBQUFBQUFBQT09I1JUOjIjVFJDOjEyI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJMQUFBQUFBQUFBQT09I1JUOjMjVFJDOjE4I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw","value":[{"attributes":{"created":1616111278,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111278},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e73d0d9e"},{"attributes":{"created":1616111281,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111281},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e73d0d9e"},{"attributes":{"created":1616111283,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111283},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e73d0d9e"},{"attributes":{"created":1616111285,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111285},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e73d0d9e"},{"attributes":{"created":1616111288,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616111288},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e73d0d9e"},{"attributes":{"created":1616112118,"enabled":true,"exportable":true,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616112118},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak51231081"}]}' + headers: + cache-control: no-cache + content-length: '1596' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '50' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVF4QUFBQUFBQUFBQT09I1JUOjIjVFJDOjEyI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJMQUFBQUFBQUFBQT09I1JUOjMjVFJDOjE4I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJsQUFBQUFBQUFBQT09I1JUOjQjVFJDOjI0I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw","value":[{"attributes":{"created":1616179992,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616179992},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name748a1138"},{"attributes":{"created":1616179999,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616179999},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name632310cb"},{"attributes":{"created":1616180355,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180355},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0"},{"attributes":{"created":1616180358,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180358},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0"},{"attributes":{"created":1616180360,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180360},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0"},{"attributes":{"created":1616180362,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180362},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0"}]}' + headers: + cache-control: no-cache + content-length: '1611' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '38' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJMQUFBQUFBQUFBQT09I1JUOjMjVFJDOjE4I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJsQUFBQUFBQUFBQT09I1JUOjQjVFJDOjI0I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNGQUFBQUFBQUFBQT09I1JUOjUjVFJDOjMwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw","value":[{"attributes":{"created":1616180365,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180365},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0"},{"attributes":{"created":1616180367,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180367},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0"},{"attributes":{"created":1616180369,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180369},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0"},{"attributes":{"created":1616180787,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180787},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e"},{"attributes":{"created":1616180889,"enabled":true,"exportable":true,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180889},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeybak53751093"},{"attributes":{"created":1616180936,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180936},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-ec-keyad4b12b3","tags":{"purpose":"unit + test","test name":"CreateECKeyTest"}}]}' + headers: + cache-control: no-cache + content-length: '1667' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '37' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJsQUFBQUFBQUFBQT09I1JUOjQjVFJDOjI0I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNGQUFBQUFBQUFBQT09I1JUOjUjVFJDOjMwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNUQUFBQUFBQUFBQT09I1JUOjYjVFJDOjM2I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw","value":[{"attributes":{"created":1616180939,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180939},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-P-256-ec-keyad4b12b3"},{"attributes":{"created":1616180939,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180939},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestimport-test-keyad4b12b3"},{"attributes":{"created":1616180980,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180980},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0f7290e1e"},{"attributes":{"created":1616180982,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180982},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1f7290e1e"},{"attributes":{"created":1616180985,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180985},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2f7290e1e"},{"attributes":{"created":1616180987,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180987},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3f7290e1e"}]}' + headers: + cache-control: no-cache + content-length: '1619' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '37' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNGQUFBQUFBQUFBQT09I1JUOjUjVFJDOjMwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNUQUFBQUFBQUFBQT09I1JUOjYjVFJDOjM2I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw + response: + body: + string: '{"value":[{"attributes":{"created":1616180989,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180989},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4f7290e1e"},{"attributes":{"created":1616180992,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180992},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5f7290e1e"},{"attributes":{"created":1616180994,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180994},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6f7290e1e"}]}' + headers: + cache-control: no-cache + content-length: '716' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '36' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNUQUFBQUFBQUFBQT09I1JUOjYjVFJDOjM2I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list_vault.yaml new file mode 100644 index 000000000000..3a1194195013 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_list_vault.yaml @@ -0,0 +1,531 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey05df0e95/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 19:09:58 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey05df0e95/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey05df0e95/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey05df0e95/73cd1b3af585471780363779925806d8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vhTQgUUIaXzhNgMDSHBUOfRxbPaEO8Uea7Raz49oUNJqSx1a_ACeC-2yAZNpiQTDvhPvDRwzltC8xfhzKelQlrpF0pIDjq0GfzLyyFiYTVIdor0_nE5tYdBo4FLCzeCBBMLfmDyHsMvpcXaAIvJ209ijI1mmpwzd8qNqYsqBJhEzqPYF9Yl_MfG4VmrHuu4XoG7vJtjjO7BaIsUOf8WKxJpybEQvFaw8zbR-_4qW9qEBIxUJ-SMup52dMOEjqTNrEEMC5QUTjadx_HuyVHodZGEjAcKb3l4WPZvxpmeGGa0oN3PDD9rg5yx2meASr3et-3VtvFCZM5RLxrD9m2jWRQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616180998,"updated":1616180998,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '689' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:09: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey05df0e95/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey15df0e95/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey15df0e95/06151ae301d444f596bf323fdb4ec90a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"143D5QTkLo_3W1AiUAdwc_fgOMrgOv8zxKnNYo9kAMfP23vUcA-t-c-mVnLG92fA55wTDMF29gnhRkTFMvznQBf8_6eQPf5Mn72L2ASvHZ2rVXLuyx8mESQI1UMr-21P_yVSxtKWjJF315jsVcC9WB9vUi2pLjwv_P2IvGKR78fDDB5FdTl5R3UMjkzKzo8bcxDlnw_iI3pwdMjyvEDdr-QP5q14KZBTw4S5uedT_PW5Qb77wjEzGEnS2iSRKhraERRFdEs4-3pUwHOLKN36zLepjsWs7NAM69H1ab-0ecfwHGxql2EKsJ-yGEV6yhVmtjq7J6hjopF35vm2CRu99Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181001,"updated":1616181001,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '689' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey15df0e95/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey25df0e95/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey25df0e95/68b6ef5f7c4d4ebfb7fa865756d8b129","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sWk5s4fAHmCM0Hybe0_M3nchuTcWDMOFHGrcjK10D6fIMYHcGlbi5EslrSie1C_dLN3Q5a3N-c_6_ps--ofDDgFIa_f8UreaplD3byG0t0g88jsaXXP2hP_r4oK1O-6lESdD4HwoZJRUhT5XYrOwn9nHkBpUxnqTmhMTfpCQaxbgO-1fY9YpLzQWFbT4rg0qP-35wiBNGyf0X1rKbYZC6FMVSk3jdFj_H0v1AF8tghZ8jZ49ZReK6nBzAaKnHIluAGYfiBN29UCVze2jmpAbfte96X11pKeHL4I_g2YYdInZ6Ehikd7zv7FwN1NemiyUjuLJCWWPqUMGUi1AvZsA0Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181003,"updated":1616181003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '689' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey25df0e95/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey35df0e95/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey35df0e95/d048ac4403574821a7e6c68119bd52f4","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rxV4I0tNeRi9Jo6BXO7UiM9LM4xC_3nQ8WWvleSmrrSlb-tp_ry5HRg1_WiSuQIif5f18GbLic7R4Z-mT5EiCbJU1JyqD3m9_DCyXKzrsxrzmvxYQDw2K6qtHwaT6o6HzFYClHmuO2dIevIVBZLru69918Fl7wSGthAspgFXQDR7iTHEuGwZQFtE8ztYfOKoZa9VD-4EyZuGeiKcl5-ikQpB_Hnl8F4DpTIAiKOwkEfroVBpsfXeKyQ_X1DTZMgmGohsJs8ZnQu3-QgOPwrQ44YSGI72nOvEoraVVxKErOfJTQxi-xPFuO5BwFjtlop7cGwPuOV9FYP4mETNMfvmOQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181005,"updated":1616181005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '689' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey35df0e95/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey45df0e95/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey45df0e95/302a1f058dc347d4972524a308c372d0","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uwMZ4iXkp-XuG51-uHH-mZa_Va1kM511Oh-ma__ZpuXNj7I6vGULz1I7IwHjwQ6y9iG7DexpVLQr-cD_EjYxfQHCyZLSG52iQg3BS1XsS61PP0EuJ2kcTJv78Se6soqVcjRWSrLUh4n-WpC8dpIK5o7nd8wNyjNlqiDhs7oLAoNo7pc9m1OPTQjKUiPbPE5PWxa-OgaVVrF9viLdGNB4Ypso6B9tcaRCukgMX5uE5-L92k_gS8JZSHFMwt9jFvCxpwMS7M9r3KV9DfroWHu4pClVUE5o6q2CDOx_3lIOISDVHAz6NT81FJCptTbm9vQkEgvB-ct8c1xMp8cA-KFj-Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181008,"updated":1616181008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '689' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey45df0e95/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey55df0e95/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey55df0e95/71e9f7a307ee4ebc902492a8dc6920c3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2TTCGpeGxAyiijCN9SjKuJb3Uwkx2geLH4nn0yOpSi_P5DcOQYerhRkpPpyG69xjE8VbUeR-2Ag-CtEm1fszhT9Wh6AYtbxtDVJ4bERrJmrPMLoE5n8Du-pYyLp3K6iEuf1tsxigf-cAM__ebF0qUe-TW33PHUGJoR6y6pGE_bqn0iCZGTh4TpGc-QD17OcapoMjI810IbJTLlxcNuQCG8CiMetTjlNTpcdGA_CJIevsCKOVPbtP2KDhC0U2v571oJbZip6kWHe6RWwWeuJe-LjBiEoqQ_JF-goQK5PBU8_LfAPGBI7jcRjbE8ZhCJTFMCMM30rxb4iLvjvQHxP5UQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181010,"updated":1616181010,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '689' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey55df0e95/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey65df0e95/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey65df0e95/c64eeacd73b14737b1e76f1c6db031a4","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"59VL-fyVncR-e_jNOC8jxlGE02DMUCnQMfRglbNt4Z6pY_voFLD-AaCpEJU3mO7xSI_zYrDmxvz8ctBD1y0CbWJ6ouFeslygpGzdQDDUk148__dSZpreAIU4w3C0_RULbzmSd0OH8pKmS-T6ThFXbVe6-e5D8MaaLjkYFa3M6JHEL8_m3LebqCmB2ZzyPaV5YFxwrifQOkE0y5PGL67ccYeQK_oUuLUos6l_OMXZ6gZLpfgg9aIFizmLx--iiV2WbLNKSVt-FDPyZGru13g64ZlyCUycCOEklvEeXl7dtp4jfpWQEp4zcUJqaV8dHPT-yBBgszMGNEv7FD1-oC_RpQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181013,"updated":1616181013,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '689' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey65df0e95/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys?api-version=7.2-preview&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-ec-keyc087132a","attributes":{"enabled":true,"created":1616180947,"updated":1616180947,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"purpose":"unit + test","test name":"CreateECKeyTest"}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-P-256-ec-keyc087132a","attributes":{"enabled":true,"created":1616180951,"updated":1616180951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestimport-test-keyc087132a","attributes":{"enabled":true,"created":1616180951,"updated":1616180951,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey03e70e83","attributes":{"enabled":true,"created":1616176302,"updated":1616176302,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey05df0e95","attributes":{"enabled":true,"created":1616180998,"updated":1616180998,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1EazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1432' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys?api-version=7.2-preview&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1EazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f5640e15","attributes":{"enabled":true,"created":1616111296,"updated":1616111296,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27","attributes":{"enabled":true,"created":1616180378,"updated":1616180378,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey13e70e83","attributes":{"enabled":true,"created":1616176304,"updated":1616176304,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey15df0e95","attributes":{"enabled":true,"created":1616181001,"updated":1616181001,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1UazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1132' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1EazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1UazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f5640e15","attributes":{"enabled":true,"created":1616111298,"updated":1616111298,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27","attributes":{"enabled":true,"created":1616180380,"updated":1616180380,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey23e70e83","attributes":{"enabled":true,"created":1616176307,"updated":1616176307,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey25df0e95","attributes":{"enabled":true,"created":1616181003,"updated":1616181003,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1132' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1UazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f5640e15","attributes":{"enabled":true,"created":1616111301,"updated":1616111301,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27","attributes":{"enabled":true,"created":1616180383,"updated":1616180383,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey33e70e83","attributes":{"enabled":true,"created":1616176309,"updated":1616176309,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey35df0e95","attributes":{"enabled":true,"created":1616181005,"updated":1616181005,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16azNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1132' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk1qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16azNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f5640e15","attributes":{"enabled":true,"created":1616111303,"updated":1616111303,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27","attributes":{"enabled":true,"created":1616180385,"updated":1616180385,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey43e70e83","attributes":{"enabled":true,"created":1616176311,"updated":1616176311,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey45df0e95","attributes":{"enabled":true,"created":1616181008,"updated":1616181008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5EazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1132' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16azNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5EazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f5640e15","attributes":{"enabled":true,"created":1616111305,"updated":1616111305,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27","attributes":{"enabled":true,"created":1616180388,"updated":1616180388,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey53e70e83","attributes":{"enabled":true,"created":1616176314,"updated":1616176314,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey55df0e95","attributes":{"enabled":true,"created":1616181010,"updated":1616181010,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5UazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1132' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5EazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5UazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f5640e15","attributes":{"enabled":true,"created":1616111308,"updated":1616111308,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27","attributes":{"enabled":true,"created":1616180390,"updated":1616180390,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey63e70e83","attributes":{"enabled":true,"created":1616176316,"updated":1616176316,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey65df0e95","attributes":{"enabled":true,"created":1616181013,"updated":1616181013,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1132' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5UazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f5640e15","attributes":{"enabled":true,"created":1616111310,"updated":1616111310,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27","attributes":{"enabled":true,"created":1616180393,"updated":1616180393,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak622d10f8","attributes":{"enabled":true,"created":1616112123,"updated":1616112123,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeybak6491110a","attributes":{"enabled":true,"created":1616180893,"updated":1616180893,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETTBJV3RsZVM5TVNWWkZTMVpVUlZOVVVsTkJMVXRGV1MxT1FVMUZOekl3TVRFeE16QWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1150' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5qazNORFl4TWpKRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETTBJV3RsZVM5TVNWWkZTMVpVUlZOVVVsTkJMVXRGV1MxT1FVMUZOekl3TVRFeE16QWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name72011130","attributes":{"enabled":true,"created":1616111213,"updated":1616111213,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name74771142","attributes":{"enabled":true,"created":1616180002,"updated":1616180002,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name83c3119d","attributes":{"enabled":true,"created":1616111206,"updated":1616111206,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name864b11af","attributes":{"enabled":true,"created":1616179995,"updated":1616179995,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey53b010b3","attributes":{"enabled":true,"created":1616110795,"updated":1616110795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5","attributes":{"enabled":true,"created":1616180805,"updated":1616180805,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '1313' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETTBJV3RsZVM5TVNWWkZTMVpVUlZOVVVsTkJMVXRGV1MxT1FVMUZOekl3TVRFeE16QWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=6 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_wrap_and_unwrap.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_wrap_and_unwrap.yaml deleted file mode 100644 index ecbeb5cbe7d7..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_key_wrap_and_unwrap.yaml +++ /dev/null @@ -1,255 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - azsdk-python-keyvault-keys/4.0.0b2 Python/3.5.4 (Windows-10-10.0.18362-SP0) - method: POST - uri: https://vault54211096.vault.azure.net/keys/keywrap54211096/create?api-version=7.0 - response: - body: - string: '' - headers: - cache-control: no-cache - content-length: '0' - date: Mon, 05 Aug 2019 23:32:27 GMT - expires: '-1' - pragma: no-cache - server: Microsoft-IIS/10.0 - 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-aspnet-version: 4.0.30319 - x-content-type-options: nosniff - x-ms-keyvault-network-info: addr=131.107.160.58;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus - x-ms-keyvault-service-version: 1.1.0.872 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - vault54211096.vault.azure.net - - /keys/keywrap54211096/create - - api-version=7.0 - - '' -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - azsdk-python-keyvault-keys/4.0.0b2 Python/3.5.4 (Windows-10-10.0.18362-SP0) - method: POST - uri: https://vault54211096.vault.azure.net/keys/keywrap54211096/create?api-version=7.0 - response: - body: - string: '{"key":{"kid":"https://vault54211096.vault.azure.net/keys/keywrap54211096/c7d66711171447aa9ffcba6326852afe","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ppINMFGXAht4YW1oa8I7ES7eyAaksZvSNOk9BIZDTUpAenQ1Zuz7ex1Db19LQHLPcIV0gJnvz6Kwi9eLuBJSjDdbm5B5uhk39K9--CGWcZF4RGG71Mhp5sxldZnIVbyjnSn3dHBmnautZioAJxgIfF2WbuSZUwZWx8uLVBa8QhFlhsCF-cm22I05Jl75oLjJ8Mq2fk1vPA2bLzveGxx1IH33Lu1qzRkqL1cWBnCd1qYQWVVm19o3toqQYTzwS5JH4KM3ZX6X41Fl_2ttyvVlZS4sIy6dGtcZBo6ttJ3q8MeEb8C-gW31YSQPXRS5pDSm9RJLKDnPuaM1WCLfPaXIQQ","e":"AQAB"},"attributes":{"enabled":true,"created":1565047948,"updated":1565047948,"recoveryLevel":"Purgeable"}}' - headers: - cache-control: no-cache - content-length: '651' - content-type: application/json; charset=utf-8 - date: Mon, 05 Aug 2019 23:32:28 GMT - expires: '-1' - pragma: no-cache - server: Microsoft-IIS/10.0 - strict-transport-security: max-age=31536000;includeSubDomains - x-aspnet-version: 4.0.30319 - x-content-type-options: nosniff - x-ms-keyvault-network-info: addr=131.107.160.58;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus - x-ms-keyvault-service-version: 1.1.0.872 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - vault54211096.vault.azure.net - - /keys/keywrap54211096/create - - api-version=7.0 - - '' -- request: - body: '{"alg": "RSA-OAEP", "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - Accept: - - application/json - Content-Length: - - '299' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - azsdk-python-keyvault-keys/4.0.0b2 Python/3.5.4 (Windows-10-10.0.18362-SP0) - method: POST - uri: https://vault54211096.vault.azure.net/keys/keywrap54211096/wrapkey?api-version=7.0 - response: - body: - string: '{"kid":"https://vault54211096.vault.azure.net/keys/keywrap54211096/c7d66711171447aa9ffcba6326852afe","value":"BnZRiBPGPvFDbdDChbjuFBb1LNfwZwe3voX1DlGDp0szvTaz5Ltbnss6RZtLnTnWLafDeWiavLVVbpOMA09soEBb070CFHavqwjVOTJBzEHgrk8n5-l_JkBNPxkX05Vl8goRy8aeg_9XH2LcVSn2MmjZ06g2MajbVagmIFedUuGhCX801143lqEMEby7kcfnvEM-8Hx8jdsPPnFAfUTgrV4H2LTM57lkdW6A7jRZCfZo_s12eenVWXQCNNvq7QVAQyFNYN1nd4XVrOwllibQhHwCHjewxGiA67mkRjEkAgVnCi3OhLT6j3dinjGEIzKW9tS4qde4aeYebpXjYJgadg"}' - headers: - cache-control: no-cache - content-length: '454' - content-type: application/json; charset=utf-8 - date: Mon, 05 Aug 2019 23:32:28 GMT - expires: '-1' - pragma: no-cache - server: Microsoft-IIS/10.0 - strict-transport-security: max-age=31536000;includeSubDomains - x-aspnet-version: 4.0.30319 - x-content-type-options: nosniff - x-ms-keyvault-network-info: addr=131.107.160.58;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus - x-ms-keyvault-service-version: 1.1.0.872 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - vault54211096.vault.azure.net - - /keys/keywrap54211096//wrapkey - - api-version=7.0 - - '' -- request: - body: '{"alg": "RSA-OAEP", "value": "BnZRiBPGPvFDbdDChbjuFBb1LNfwZwe3voX1DlGDp0szvTaz5Ltbnss6RZtLnTnWLafDeWiavLVVbpOMA09soEBb070CFHavqwjVOTJBzEHgrk8n5-l_JkBNPxkX05Vl8goRy8aeg_9XH2LcVSn2MmjZ06g2MajbVagmIFedUuGhCX801143lqEMEby7kcfnvEM-8Hx8jdsPPnFAfUTgrV4H2LTM57lkdW6A7jRZCfZo_s12eenVWXQCNNvq7QVAQyFNYN1nd4XVrOwllibQhHwCHjewxGiA67mkRjEkAgVnCi3OhLT6j3dinjGEIzKW9tS4qde4aeYebpXjYJgadg"}' - headers: - Accept: - - application/json - Content-Length: - - '374' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - azsdk-python-keyvault-keys/4.0.0b2 Python/3.5.4 (Windows-10-10.0.18362-SP0) - method: POST - uri: https://vault54211096.vault.azure.net/keys/keywrap54211096/unwrapkey?api-version=7.0 - response: - body: - string: '{"kid":"https://vault54211096.vault.azure.net/keys/keywrap54211096/c7d66711171447aa9ffcba6326852afe","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '379' - content-type: application/json; charset=utf-8 - date: Mon, 05 Aug 2019 23:32:28 GMT - expires: '-1' - pragma: no-cache - server: Microsoft-IIS/10.0 - strict-transport-security: max-age=31536000;includeSubDomains - x-aspnet-version: 4.0.30319 - x-content-type-options: nosniff - x-ms-keyvault-network-info: addr=131.107.160.58;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus - x-ms-keyvault-service-version: 1.1.0.872 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - vault54211096.vault.azure.net - - /keys/keywrap54211096//unwrapkey - - api-version=7.0 - - '' -- request: - body: '{"alg": "RSA-OAEP", "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - Accept: - - application/json - Content-Length: - - '299' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - azsdk-python-keyvault-keys/4.0.0b2 Python/3.5.4 (Windows-10-10.0.18362-SP0) - method: POST - uri: https://vault54211096.vault.azure.net/keys/keywrap54211096/c7d66711171447aa9ffcba6326852afe/wrapkey?api-version=7.0 - response: - body: - string: '{"kid":"https://vault54211096.vault.azure.net/keys/keywrap54211096/c7d66711171447aa9ffcba6326852afe","value":"Vr-x0Yi9isNCWMsHvciPyaXyWB-O1WNMHz7si2Hxlf_FVelIuMSLU7PdFWpWWp8qWQOK3XueVg302KUseufdQprtBd7DiJTw_SEHXkNVnXisokubrb5ZNMwOD0FgkjxMi3n1N3PyuRsC1DA6M1gKKfWlEwYnOXKnnvVeSknl4Y9uyY4e3zCZbUdrgdiv_jcI5cix-hQurAE80UQh0dBLVlfe89wmeRGCk5hCUHt0jjvkQQcwykzIE4vF1RC6_-Y1enGkPx_2L5zx9gtcEHVO3itguf5y6LWk2vuCoHqjoFwHeHuErCwmeMBy7OerxGAjiyUkNSPmcLz0BREpN1E7og"}' - headers: - cache-control: no-cache - content-length: '454' - content-type: application/json; charset=utf-8 - date: Mon, 05 Aug 2019 23:32:28 GMT - expires: '-1' - pragma: no-cache - server: Microsoft-IIS/10.0 - strict-transport-security: max-age=31536000;includeSubDomains - x-aspnet-version: 4.0.30319 - x-content-type-options: nosniff - x-ms-keyvault-network-info: addr=131.107.160.58;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus - x-ms-keyvault-service-version: 1.1.0.872 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - vault54211096.vault.azure.net - - /keys/keywrap54211096/c7d66711171447aa9ffcba6326852afe/wrapkey - - api-version=7.0 - - '' -- request: - body: '{"alg": "RSA-OAEP", "value": "Vr-x0Yi9isNCWMsHvciPyaXyWB-O1WNMHz7si2Hxlf_FVelIuMSLU7PdFWpWWp8qWQOK3XueVg302KUseufdQprtBd7DiJTw_SEHXkNVnXisokubrb5ZNMwOD0FgkjxMi3n1N3PyuRsC1DA6M1gKKfWlEwYnOXKnnvVeSknl4Y9uyY4e3zCZbUdrgdiv_jcI5cix-hQurAE80UQh0dBLVlfe89wmeRGCk5hCUHt0jjvkQQcwykzIE4vF1RC6_-Y1enGkPx_2L5zx9gtcEHVO3itguf5y6LWk2vuCoHqjoFwHeHuErCwmeMBy7OerxGAjiyUkNSPmcLz0BREpN1E7og"}' - headers: - Accept: - - application/json - Content-Length: - - '374' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - azsdk-python-keyvault-keys/4.0.0b2 Python/3.5.4 (Windows-10-10.0.18362-SP0) - method: POST - uri: https://vault54211096.vault.azure.net/keys/keywrap54211096/c7d66711171447aa9ffcba6326852afe/unwrapkey?api-version=7.0 - response: - body: - string: '{"kid":"https://vault54211096.vault.azure.net/keys/keywrap54211096/c7d66711171447aa9ffcba6326852afe","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '379' - content-type: application/json; charset=utf-8 - date: Mon, 05 Aug 2019 23:32:28 GMT - expires: '-1' - pragma: no-cache - server: Microsoft-IIS/10.0 - strict-transport-security: max-age=31536000;includeSubDomains - x-aspnet-version: 4.0.30319 - x-content-type-options: nosniff - x-ms-keyvault-network-info: addr=131.107.160.58;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus - x-ms-keyvault-service-version: 1.1.0.872 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: !!python/object/new:yarl.URL - state: !!python/tuple - - !!python/object/new:urllib.parse.SplitResult - - https - - vault54211096.vault.azure.net - - /keys/keywrap54211096/c7d66711171447aa9ffcba6326852afe/unwrapkey - - api-version=7.0 - - '' -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys.yaml deleted file mode 100644 index a10530452d39..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys.yaml +++ /dev/null @@ -1,1230 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey032f70fb3/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:39:04 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey032f70fb3/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey032f70fb3/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey032f70fb3/104ae64c842a471ea0f03a9a639d120a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rfOPyLD4vpB-muSf5pVLnPb0Zk2ae7wi3YHpXaXqV2ZmfzhdX4RAnil41whfREfS7GirmYqQOS6e-QFJ6m_Eb67du-QID3sFpfy5Gfz0A24g8yllGGt-bYJ1xaaS5O9HeTctrzcCC2uUaglReQgeDD-X623K_t1oDQObQTfag9JdIX-EKMMymPb5qNBKnvj8fs7sbOo6_xbaNcqnCAMAG8l4xNiicJpzyJuxo9G4AcJGox7bXvxobQRZNqSTIPQr0ieXfro-b21s_AUoCm7vpZ9FSiO3zVepUVRU-UgW9VIxmCVH79CPVvPih2ucuf2VqWX_2s0jM3AC09v-wo0SIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579144,"updated":1612579144,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:04 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey032f70fb3/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey132f70fb3/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey132f70fb3/263f1a18f8914452b1134d257e358873","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yKW4yoCX0IMBm-BjBv871ZB-vb2M2qj7QWf8TqSWVFDEq3vXqBIGns6g9NWi6Nm5PN4ZJz8bpggU_rPzS6WqvNPhtgy9ujcPD8-k0lZOkDUzFdFtDGd4LBfUNjIodHbTJ3bdTgnRZxBKHEbkcNPhxvqNZeJ8n_4Nr5FXu7oCPee-2_YpwnQVR1spLWyJF9sZkIDV30XnXd8Ac2jfaTnEl0pIqTaMv6kccYKQpLDadfzURun8QYn73i84IC5j063iHsfmFihMV_uhd5ZODwtM3rNFd75lPC_X2wxZl6PDBWDEpBbz5MfZgH0w8rI_2xQUC1Vpb355uM12kpDWnCpJPQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:05 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey132f70fb3/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey232f70fb3/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey232f70fb3/3e47e9672fda47b2af7aaae57bc83130","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uS2XH-r1gSRPgP7Z2Q_c74QLzDRoU3jk8s5dJj-Do3azG2_M-sCCpOnp-g8P88g4M_AKNz4NgI5ARwnKaLwz_dGREoV8D0GUPCxwCHV5cwwERDrJa-EMVf0AqgHdNIUAlrMP2VpHLc7YVqA7POlmJsPyAnaVRoSBTAQIbMBbx6qAHakgihzzl_y_ng2lZofdD5Qn8OcRqLuG129dAdydD7tXCNqlKvYc1XtRHuRz8DzIPvSuLE1Aw0IbvOvDc5pclPhi8gY1eaR20PbbT7uXOrKtPGLk6RuMQSc8_SxTEGzzLzoYxHtqsoS1aYFLTLY7OyKtM_Fd43Ap0oEgtjvBAQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:05 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey232f70fb3/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey332f70fb3/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey332f70fb3/24a7ab5f7f994b38ab2578aba76c6f23","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nYcYIN9OkhI1nDQ6MQB3doSawx24q1raFIqw_C-VMoOOXUEyE21Dg4ma317ABIBn_jhij5TtON5MqhVBrFVCCBoNQgqgVOidow_y8nmY--zCLlNOWfkHZFZKoE33W_vxOu_hhc9C-doRUNxzLHLd1pjodDlO5DGbDFslTybBV4kSGfbzWke24M8wn1HeLpkyYynfqyRXMLdbaYIvOyfVcGiO_VEkRteTKX5YeS3FKybuWzq9ziayvfPqjbAYbBlgXXgnTM7NczdaqrVuFAERByEinuyOlF1Ztfr7izaPseaqJjhZ5vUoylo7GlK-Kk8-J8zVw8wL980q7Vpq0bnYbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:05 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey332f70fb3/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey432f70fb3/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey432f70fb3/dec8187e2a7e4233ae1fa9881a14ce1d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0sbYRaa-mN6pR6jeSh7WRGxKc1QbADqYj0j-bm-Xd4jkkVtRCSl2po_duZMaErIWEzpG7W0GvQEuUdNa1YxORemtFM7qLl51qS7akmavmtw_fbUP2HvijxclidnJf_j4cPrycr9iU3Z4ZZIDbt3LhoM0Br_CJCUMk0ih9Vm9mW5wG3Syx_V6EBIkGbQxqHkMNHUHY1FVSdJwB-l1SqO94DQyNLk4qtaWEz2j4kANJVut2zckQX_lO5EFZVsfA_2g51TkPT1TWB8JOwigNyr78-HTPnWNmjkfM7a0PDBWG7j8a-4auJgdBo3LAsU95sZwV3NqtJxGaDyRxfvjBTdqyQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:06 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey432f70fb3/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey532f70fb3/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey532f70fb3/b1b64761cd114adcb91d1d5b28b98f72","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ysYSERDy-KtqD4NViXwTmizLXKJAqJ1_P9FFzuYe7O5_1JlCU9CrG6glFl3G_-TlbmzfW2jGHKYwok03c0tZaEHSQyJ39LkxrWd-ZaFtIMjLNt3P729mR6zxSbKKvqx7omRLOhcr0CNUJDnJ6NjFPzE4Zv2pYlxqWrUc3Mk_SwPNZIhWSL1uXBIg6w2CIwfUvQiIOn7Btgz8J_lFKmmJY8uX0MsZRT1lMCpHXd7VymB4_T9Z0h3QGduaO5pKqLt735FXN0_2Mkpyw6JfdWHW2c24A0qhj8pFKeP_cbwe1CC17QdXxly0iyBjc2_EInYolQH-5y84kbx71zaQTlX0cQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:06 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey532f70fb3/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey632f70fb3/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey632f70fb3/4f1e0fd08c264616a7315ef6d081bb6f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"w6JE_OW5_37rciIPOv8IL1IkU_UvwWlp6utvENEJymRQhmelxL5ouN57FqvU0KdQbeX4u0u1ElwukHu_BTKrsCO2V5wUTC2hW0TeI4EXSUH9i2V35h67g9KDW33tAEsmFPjjhpGTM7NoFh8Z8sn27Psxl4LTIDbc9IlsGI1m_Zb1eGPGX8YWsdO4rhuVAIiyqXUmpCl3z_f4dW2Pw2nX9GOHx9v_vLdR2DyXrolA7bNmgX0H92QtsdV2KVDldajvMuNw24L7Q3DMzruPu9GObV_o3pj5284176buzfI29VmQ7uV9zpuJcx3f5VdQVAGHdSaZhlCEMyokM1NhUH4OvQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579147,"updated":1612579147,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:06 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey632f70fb3/create?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey232f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey232f70fb3","deletedDate":1612579147,"scheduledPurgeDate":1620355147,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey232f70fb3/3e47e9672fda47b2af7aaae57bc83130","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uS2XH-r1gSRPgP7Z2Q_c74QLzDRoU3jk8s5dJj-Do3azG2_M-sCCpOnp-g8P88g4M_AKNz4NgI5ARwnKaLwz_dGREoV8D0GUPCxwCHV5cwwERDrJa-EMVf0AqgHdNIUAlrMP2VpHLc7YVqA7POlmJsPyAnaVRoSBTAQIbMBbx6qAHakgihzzl_y_ng2lZofdD5Qn8OcRqLuG129dAdydD7tXCNqlKvYc1XtRHuRz8DzIPvSuLE1Aw0IbvOvDc5pclPhi8gY1eaR20PbbT7uXOrKtPGLk6RuMQSc8_SxTEGzzLzoYxHtqsoS1aYFLTLY7OyKtM_Fd43Ap0oEgtjvBAQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:06 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey232f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey232f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey232f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:07 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey232f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey232f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey232f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:09 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey232f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey232f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey232f70fb3","deletedDate":1612579147,"scheduledPurgeDate":1620355147,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey232f70fb3/3e47e9672fda47b2af7aaae57bc83130","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uS2XH-r1gSRPgP7Z2Q_c74QLzDRoU3jk8s5dJj-Do3azG2_M-sCCpOnp-g8P88g4M_AKNz4NgI5ARwnKaLwz_dGREoV8D0GUPCxwCHV5cwwERDrJa-EMVf0AqgHdNIUAlrMP2VpHLc7YVqA7POlmJsPyAnaVRoSBTAQIbMBbx6qAHakgihzzl_y_ng2lZofdD5Qn8OcRqLuG129dAdydD7tXCNqlKvYc1XtRHuRz8DzIPvSuLE1Aw0IbvOvDc5pclPhi8gY1eaR20PbbT7uXOrKtPGLk6RuMQSc8_SxTEGzzLzoYxHtqsoS1aYFLTLY7OyKtM_Fd43Ap0oEgtjvBAQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey232f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey432f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey432f70fb3","deletedDate":1612579152,"scheduledPurgeDate":1620355152,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey432f70fb3/dec8187e2a7e4233ae1fa9881a14ce1d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0sbYRaa-mN6pR6jeSh7WRGxKc1QbADqYj0j-bm-Xd4jkkVtRCSl2po_duZMaErIWEzpG7W0GvQEuUdNa1YxORemtFM7qLl51qS7akmavmtw_fbUP2HvijxclidnJf_j4cPrycr9iU3Z4ZZIDbt3LhoM0Br_CJCUMk0ih9Vm9mW5wG3Syx_V6EBIkGbQxqHkMNHUHY1FVSdJwB-l1SqO94DQyNLk4qtaWEz2j4kANJVut2zckQX_lO5EFZVsfA_2g51TkPT1TWB8JOwigNyr78-HTPnWNmjkfM7a0PDBWG7j8a-4auJgdBo3LAsU95sZwV3NqtJxGaDyRxfvjBTdqyQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey432f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey432f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey432f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey432f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey432f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey432f70fb3","deletedDate":1612579152,"scheduledPurgeDate":1620355152,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey432f70fb3/dec8187e2a7e4233ae1fa9881a14ce1d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0sbYRaa-mN6pR6jeSh7WRGxKc1QbADqYj0j-bm-Xd4jkkVtRCSl2po_duZMaErIWEzpG7W0GvQEuUdNa1YxORemtFM7qLl51qS7akmavmtw_fbUP2HvijxclidnJf_j4cPrycr9iU3Z4ZZIDbt3LhoM0Br_CJCUMk0ih9Vm9mW5wG3Syx_V6EBIkGbQxqHkMNHUHY1FVSdJwB-l1SqO94DQyNLk4qtaWEz2j4kANJVut2zckQX_lO5EFZVsfA_2g51TkPT1TWB8JOwigNyr78-HTPnWNmjkfM7a0PDBWG7j8a-4auJgdBo3LAsU95sZwV3NqtJxGaDyRxfvjBTdqyQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey432f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey532f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey532f70fb3","deletedDate":1612579154,"scheduledPurgeDate":1620355154,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey532f70fb3/b1b64761cd114adcb91d1d5b28b98f72","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ysYSERDy-KtqD4NViXwTmizLXKJAqJ1_P9FFzuYe7O5_1JlCU9CrG6glFl3G_-TlbmzfW2jGHKYwok03c0tZaEHSQyJ39LkxrWd-ZaFtIMjLNt3P729mR6zxSbKKvqx7omRLOhcr0CNUJDnJ6NjFPzE4Zv2pYlxqWrUc3Mk_SwPNZIhWSL1uXBIg6w2CIwfUvQiIOn7Btgz8J_lFKmmJY8uX0MsZRT1lMCpHXd7VymB4_T9Z0h3QGduaO5pKqLt735FXN0_2Mkpyw6JfdWHW2c24A0qhj8pFKeP_cbwe1CC17QdXxly0iyBjc2_EInYolQH-5y84kbx71zaQTlX0cQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey532f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey532f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey532f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey532f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey532f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey532f70fb3","deletedDate":1612579154,"scheduledPurgeDate":1620355154,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey532f70fb3/b1b64761cd114adcb91d1d5b28b98f72","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ysYSERDy-KtqD4NViXwTmizLXKJAqJ1_P9FFzuYe7O5_1JlCU9CrG6glFl3G_-TlbmzfW2jGHKYwok03c0tZaEHSQyJ39LkxrWd-ZaFtIMjLNt3P729mR6zxSbKKvqx7omRLOhcr0CNUJDnJ6NjFPzE4Zv2pYlxqWrUc3Mk_SwPNZIhWSL1uXBIg6w2CIwfUvQiIOn7Btgz8J_lFKmmJY8uX0MsZRT1lMCpHXd7VymB4_T9Z0h3QGduaO5pKqLt735FXN0_2Mkpyw6JfdWHW2c24A0qhj8pFKeP_cbwe1CC17QdXxly0iyBjc2_EInYolQH-5y84kbx71zaQTlX0cQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:16 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey532f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey632f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey632f70fb3","deletedDate":1612579157,"scheduledPurgeDate":1620355157,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey632f70fb3/4f1e0fd08c264616a7315ef6d081bb6f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"w6JE_OW5_37rciIPOv8IL1IkU_UvwWlp6utvENEJymRQhmelxL5ouN57FqvU0KdQbeX4u0u1ElwukHu_BTKrsCO2V5wUTC2hW0TeI4EXSUH9i2V35h67g9KDW33tAEsmFPjjhpGTM7NoFh8Z8sn27Psxl4LTIDbc9IlsGI1m_Zb1eGPGX8YWsdO4rhuVAIiyqXUmpCl3z_f4dW2Pw2nX9GOHx9v_vLdR2DyXrolA7bNmgX0H92QtsdV2KVDldajvMuNw24L7Q3DMzruPu9GObV_o3pj5284176buzfI29VmQ7uV9zpuJcx3f5VdQVAGHdSaZhlCEMyokM1NhUH4OvQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579147,"updated":1612579147,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey632f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey632f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey632f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey632f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey632f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey632f70fb3","deletedDate":1612579157,"scheduledPurgeDate":1620355157,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey632f70fb3/4f1e0fd08c264616a7315ef6d081bb6f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"w6JE_OW5_37rciIPOv8IL1IkU_UvwWlp6utvENEJymRQhmelxL5ouN57FqvU0KdQbeX4u0u1ElwukHu_BTKrsCO2V5wUTC2hW0TeI4EXSUH9i2V35h67g9KDW33tAEsmFPjjhpGTM7NoFh8Z8sn27Psxl4LTIDbc9IlsGI1m_Zb1eGPGX8YWsdO4rhuVAIiyqXUmpCl3z_f4dW2Pw2nX9GOHx9v_vLdR2DyXrolA7bNmgX0H92QtsdV2KVDldajvMuNw24L7Q3DMzruPu9GObV_o3pj5284176buzfI29VmQ7uV9zpuJcx3f5VdQVAGHdSaZhlCEMyokM1NhUH4OvQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579147,"updated":1612579147,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:19 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey632f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey132f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey132f70fb3","deletedDate":1612579160,"scheduledPurgeDate":1620355160,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey132f70fb3/263f1a18f8914452b1134d257e358873","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yKW4yoCX0IMBm-BjBv871ZB-vb2M2qj7QWf8TqSWVFDEq3vXqBIGns6g9NWi6Nm5PN4ZJz8bpggU_rPzS6WqvNPhtgy9ujcPD8-k0lZOkDUzFdFtDGd4LBfUNjIodHbTJ3bdTgnRZxBKHEbkcNPhxvqNZeJ8n_4Nr5FXu7oCPee-2_YpwnQVR1spLWyJF9sZkIDV30XnXd8Ac2jfaTnEl0pIqTaMv6kccYKQpLDadfzURun8QYn73i84IC5j063iHsfmFihMV_uhd5ZODwtM3rNFd75lPC_X2wxZl6PDBWDEpBbz5MfZgH0w8rI_2xQUC1Vpb355uM12kpDWnCpJPQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:19 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey132f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey132f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey132f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:19 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey132f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey132f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey132f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:22 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey132f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey132f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey132f70fb3","deletedDate":1612579160,"scheduledPurgeDate":1620355160,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey132f70fb3/263f1a18f8914452b1134d257e358873","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yKW4yoCX0IMBm-BjBv871ZB-vb2M2qj7QWf8TqSWVFDEq3vXqBIGns6g9NWi6Nm5PN4ZJz8bpggU_rPzS6WqvNPhtgy9ujcPD8-k0lZOkDUzFdFtDGd4LBfUNjIodHbTJ3bdTgnRZxBKHEbkcNPhxvqNZeJ8n_4Nr5FXu7oCPee-2_YpwnQVR1spLWyJF9sZkIDV30XnXd8Ac2jfaTnEl0pIqTaMv6kccYKQpLDadfzURun8QYn73i84IC5j063iHsfmFihMV_uhd5ZODwtM3rNFd75lPC_X2wxZl6PDBWDEpBbz5MfZgH0w8rI_2xQUC1Vpb355uM12kpDWnCpJPQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey132f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey032f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey032f70fb3","deletedDate":1612579164,"scheduledPurgeDate":1620355164,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey032f70fb3/104ae64c842a471ea0f03a9a639d120a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rfOPyLD4vpB-muSf5pVLnPb0Zk2ae7wi3YHpXaXqV2ZmfzhdX4RAnil41whfREfS7GirmYqQOS6e-QFJ6m_Eb67du-QID3sFpfy5Gfz0A24g8yllGGt-bYJ1xaaS5O9HeTctrzcCC2uUaglReQgeDD-X623K_t1oDQObQTfag9JdIX-EKMMymPb5qNBKnvj8fs7sbOo6_xbaNcqnCAMAG8l4xNiicJpzyJuxo9G4AcJGox7bXvxobQRZNqSTIPQr0ieXfro-b21s_AUoCm7vpZ9FSiO3zVepUVRU-UgW9VIxmCVH79CPVvPih2ucuf2VqWX_2s0jM3AC09v-wo0SIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579144,"updated":1612579144,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey032f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey032f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey032f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey032f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey032f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey032f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:26 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey032f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey032f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey032f70fb3","deletedDate":1612579164,"scheduledPurgeDate":1620355164,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey032f70fb3/104ae64c842a471ea0f03a9a639d120a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rfOPyLD4vpB-muSf5pVLnPb0Zk2ae7wi3YHpXaXqV2ZmfzhdX4RAnil41whfREfS7GirmYqQOS6e-QFJ6m_Eb67du-QID3sFpfy5Gfz0A24g8yllGGt-bYJ1xaaS5O9HeTctrzcCC2uUaglReQgeDD-X623K_t1oDQObQTfag9JdIX-EKMMymPb5qNBKnvj8fs7sbOo6_xbaNcqnCAMAG8l4xNiicJpzyJuxo9G4AcJGox7bXvxobQRZNqSTIPQr0ieXfro-b21s_AUoCm7vpZ9FSiO3zVepUVRU-UgW9VIxmCVH79CPVvPih2ucuf2VqWX_2s0jM3AC09v-wo0SIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579144,"updated":1612579144,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:29 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey032f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey332f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey332f70fb3","deletedDate":1612579169,"scheduledPurgeDate":1620355169,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey332f70fb3/24a7ab5f7f994b38ab2578aba76c6f23","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nYcYIN9OkhI1nDQ6MQB3doSawx24q1raFIqw_C-VMoOOXUEyE21Dg4ma317ABIBn_jhij5TtON5MqhVBrFVCCBoNQgqgVOidow_y8nmY--zCLlNOWfkHZFZKoE33W_vxOu_hhc9C-doRUNxzLHLd1pjodDlO5DGbDFslTybBV4kSGfbzWke24M8wn1HeLpkyYynfqyRXMLdbaYIvOyfVcGiO_VEkRteTKX5YeS3FKybuWzq9ziayvfPqjbAYbBlgXXgnTM7NczdaqrVuFAERByEinuyOlF1Ztfr7izaPseaqJjhZ5vUoylo7GlK-Kk8-J8zVw8wL980q7Vpq0bnYbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:29 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey332f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey332f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey332f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:29 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey332f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey332f70fb3?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey332f70fb3"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:31 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey332f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey332f70fb3?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey332f70fb3","deletedDate":1612579169,"scheduledPurgeDate":1620355169,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey332f70fb3/24a7ab5f7f994b38ab2578aba76c6f23","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nYcYIN9OkhI1nDQ6MQB3doSawx24q1raFIqw_C-VMoOOXUEyE21Dg4ma317ABIBn_jhij5TtON5MqhVBrFVCCBoNQgqgVOidow_y8nmY--zCLlNOWfkHZFZKoE33W_vxOu_hhc9C-doRUNxzLHLd1pjodDlO5DGbDFslTybBV4kSGfbzWke24M8wn1HeLpkyYynfqyRXMLdbaYIvOyfVcGiO_VEkRteTKX5YeS3FKybuWzq9ziayvfPqjbAYbBlgXXgnTM7NczdaqrVuFAERByEinuyOlF1Ztfr7izaPseaqJjhZ5vUoylo7GlK-Kk8-J8zVw8wL980q7Vpq0bnYbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey332f70fb3?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d","attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f","deletedDate":1612579135,"scheduledPurgeDate":1620355135,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f","attributes":{"enabled":true,"exp":2524723200,"created":1612579133,"updated":1612579134,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey032f70fb3","deletedDate":1612579164,"scheduledPurgeDate":1620355164,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey032f70fb3","attributes":{"enabled":true,"created":1612579144,"updated":1612579144,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNRUkwUkVRd1F6QkJMekJETURnek16UTBOME0yT1RSRlFUQTRRVGRDUmpVMU56TXhNVFUyUVVNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: no-cache - content-length: '1888' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNRUkwUkVRd1F6QkJMekJETURnek16UTBOME0yT1RSRlFUQTRRVGRDUmpVMU56TXhNVFUyUVVNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey132f70fb3","deletedDate":1612579160,"scheduledPurgeDate":1620355160,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey132f70fb3","attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey232f70fb3","deletedDate":1612579147,"scheduledPurgeDate":1620355147,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey232f70fb3","attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey332f70fb3","deletedDate":1612579169,"scheduledPurgeDate":1620355169,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey332f70fb3","attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16a3hNVEV3UVVJM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: no-cache - content-length: '2408' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNRUkwUkVRd1F6QkJMekJETURnek16UTBOME0yT1RSRlFUQTRRVGRDUmpVMU56TXhNVFUyUVVNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16a3hNVEV3UVVJM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey432f70fb3","deletedDate":1612579152,"scheduledPurgeDate":1620355152,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey432f70fb3","attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey532f70fb3","deletedDate":1612579154,"scheduledPurgeDate":1620355154,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey532f70fb3","attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOVUkwUkVRd1F6QkJMekZFT1VZd1F6STJRelJFUXpReE5EZENRamswUTBJNVFrVTRNVFZFT1RZNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: no-cache - content-length: '1764' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16a3hNVEV3UVVJM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOVUkwUkVRd1F6QkJMekZFT1VZd1F6STJRelJFUXpReE5EZENRamswUTBJNVFrVTRNVFZFT1RZNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey632f70fb3","deletedDate":1612579157,"scheduledPurgeDate":1620355157,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey632f70fb3","attributes":{"enabled":true,"created":1612579147,"updated":1612579147,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '731' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOVUkwUkVRd1F6QkJMekZFT1VZd1F6STJRelJFUXpReE5EZENRamswUTBJNVFrVTRNVFZFT1RZNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d","attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f","deletedDate":1612579135,"scheduledPurgeDate":1620355135,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f","attributes":{"enabled":true,"exp":2524723200,"created":1612579133,"updated":1612579134,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey032f70fb3","deletedDate":1612579164,"scheduledPurgeDate":1620355164,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey032f70fb3","attributes":{"enabled":true,"created":1612579144,"updated":1612579144,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNRUkwUkVRd1F6QkJMekJETURnek16UTBOME0yT1RSRlFUQTRRVGRDUmpVMU56TXhNVFUyUVVNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: no-cache - content-length: '1888' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNRUkwUkVRd1F6QkJMekJETURnek16UTBOME0yT1RSRlFUQTRRVGRDUmpVMU56TXhNVFUyUVVNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey132f70fb3","deletedDate":1612579160,"scheduledPurgeDate":1620355160,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey132f70fb3","attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey232f70fb3","deletedDate":1612579147,"scheduledPurgeDate":1620355147,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey232f70fb3","attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey332f70fb3","deletedDate":1612579169,"scheduledPurgeDate":1620355169,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey332f70fb3","attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16a3hNVEV3UVVJM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: no-cache - content-length: '2408' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNRUkwUkVRd1F6QkJMekJETURnek16UTBOME0yT1RSRlFUQTRRVGRDUmpVMU56TXhNVFUyUVVNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16a3hNVEV3UVVJM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey432f70fb3","deletedDate":1612579152,"scheduledPurgeDate":1620355152,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey432f70fb3","attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey532f70fb3","deletedDate":1612579154,"scheduledPurgeDate":1620355154,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey532f70fb3","attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOVUkwUkVRd1F6QkJMekZFT1VZd1F6STJRelJFUXpReE5EZENRamswUTBJNVFrVTRNVFZFT1RZNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: no-cache - content-length: '1764' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16a3hNVEV3UVVJM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOVUkwUkVRd1F6QkJMekZFT1VZd1F6STJRelJFUXpReE5EZENRamswUTBJNVFrVTRNVFZFT1RZNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey632f70fb3","deletedDate":1612579157,"scheduledPurgeDate":1620355157,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey632f70fb3","attributes":{"enabled":true,"created":1612579147,"updated":1612579147,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '731' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOVUkwUkVRd1F6QkJMekZFT1VZd1F6STJRelJFUXpReE5EZENRamswUTBJNVFrVTRNVFZFT1RZNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys_mhsm.yaml new file mode 100644 index 000000000000..6dbebec8215b --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys_mhsm.yaml @@ -0,0 +1,691 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0879011c7/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0879011c7/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0879011c7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184141,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184141},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0879011c7/344005dc5fe90d8f9dee348981f9e52d","kty":"RSA-HSM","n":"l6-tTFZB7u9Hzto-zZ5BY9aNNhT6LcLLzb-vtA0M5VwLv7kluvK_9aei5mIGv5XatqCnoBhf4h6RngKrM5b8VUdLdxxU0nMSEbYDg5v0_WLXCrj8086H7sHZTmrIYRUKLzs_lvdopeS9QmihB9_bTEMK6BbAwrnx-xV7uFFyBlMoPGdaEXxyGzWyiJ60xwot-gmGld_rsElPq4C9R01q682Cq_zPMngJpQXry_r81NQ-alOsE6TZNJg_LF13RTTv5aEfowsI63UwpffsCIuHRq7104ayJZYLb7nrlXFWHmjWmapB2BZgh3lPYe-R7HYwDbmzffR4uZrDx-3OAC9qqQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '242' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0879011c7/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1879011c7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184144,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184144},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1879011c7/ac2d514ac4050b3f965baf0309499d41","kty":"RSA-HSM","n":"psmtAH4fo1CWrIvtLmUiOYONOPHfkGNkNpCTQPr15_j8CdmUXwlAj_T-i_FG5bgNpN6pXOnyaf4FfSFPxHDpm2H8tlzgOhs2L0zPWap9VoFSZQIe3QVojS_dTz7oxX9xTmocWjAVVnrFpYsv9APPxhbciYhhEvHuiXVvrh5MQZoMT319tZUzWJ3e7lceFaMbQ84ruUsra4OB14WNgMB8sw5ht2GtomYTLHrMkJSsvU3SW89eG5Xqygu8RYuO_T_UbmawG56nkHVfwi1VAdV-rhIcQaW3r9ClCf6ROzFBKsTyJUjmWzvr5-npdZ4S133wbomiqCSF1DLgQRWAsMOtAQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '218' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey1879011c7/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2879011c7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184146,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184146},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2879011c7/c8067472840f02759a8fb37ecdb09b85","kty":"RSA-HSM","n":"javsYWWa3sgPr4b-rv_KH_CGGwHnmPwIVmPJskfitFITGIbyVKufh9gW6HyHisyrCtVPMuMPdzF9eOpZ9AU6VhWSyi5IrAA3-kHs3HjMuSv15co4JruYZQrNVreg08LWvj3ODqLHuWGd_KwTMn5lnviePfPKGrSJ1rZ1mxeUZ-uxTTVRnAgvKnD4JY4nZSfNfbPdeYmQdMLAI-Ozf-TRogQLqikysqMARPgqQpfMxRPUvMFgQw_0tUaaOsmtLQYBpnHF_zgLtE-UaCCKnaeTWmuymLmaYqBz4zFO55KRE1iO9VIttahMoaZYEEmelrmjUa3LLYjvitmqWG-lIm6-0w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '255' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey2879011c7/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3879011c7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184148,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184148},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3879011c7/f60c24e4c3f84fb4043027ba2af606b1","kty":"RSA-HSM","n":"jibIIGDoSL1e0bToyjZ3BUh1_vba0BUOpIMrHcDxr8X8fJw1nFthLfGKFlUdEQHxbEnJw5qMbqSviCswmbkenV7CQD5lVSW50zaKo8D_ePVnl2JcrtOCn_CoN7nxV_wbQueyUs_0PiUG40TqLXX01YrJfxRKk0B7IDuGODgcHil_zqwqW9JCk_91sNf0uabKuncfNZ1rLl1D4RtmWP0M6i2DRuVxWNg8sm69IBqKzKRPjXqxAfV7tEjSlgr9W_GbTCStadpNCVLhdweuFQhb0MdFGVPj-RSZoJMVOey6KJrtB1wZCEufY36wv-874OKjNKO7MpR0zRUh7u-Q-cWr5w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '221' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey3879011c7/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4879011c7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184151,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184151},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4879011c7/1c030e4cd98b4e668e1c9094ec302704","kty":"RSA-HSM","n":"iMuksn4SUptU9aaITc4vkYv9XisCBdZUifJ8DIhEpy2bYXZOJTaxYMqz-pK_B4FfyfMwQvGg563UZ71jq3r8FzoHfzHs6x02dpciMLpF7g6TGCo7RY7b2SSabGvrzWYvSrwmIXovuI_OqIfwTGjpbZpK3gcyxoqOS2a1EUOdUh1dUGt_IB_pgQEhO_hbnjqJFGqRRs2WdsvbiuJAH6902-7uvAyX_k1hwE1AKsJ0jI2yH1neVtdW-BGiZBmi82S9ypjFuChuatiUIdq660QD0Fy7LrRSuOP_dXFzvoGT0eTvzBlewE0rAFjmTWmKchG4uCslRfJzFjOwTLcQNjKt6Q"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '209' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey4879011c7/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5879011c7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184153,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184153},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5879011c7/c602b418716d48071d6e64186d58b187","kty":"RSA-HSM","n":"r6yLb1CT65VK6vsxnSDrtRKGD7k0aePQEtHfOyrZLgNhFqwwm8mdF3rppvOmdPnVIG5vAxpgD_DvdoTsPHVIcXGiqjtUzei6COQsC27HmtAKBvhKh3je0uaY4q0xXe4LSZNWwHYCahH6VjE5QOEuUt2542ftmWlaFwmzIlL3AW9PMwq7OplhxqHYy-gVqXwIlBFfeSD6cMBP3J2GfskLjG5yZjnE8i7n8xghrpFFRwlBBaWDzA4WK6I1AEFxeA3K1LwkPUge9VGtBH-M3TZRZ1vnldqCe0wdB2VGI2TRdQ1tI5l3_iHiMyln7jptIz3aVqrLq_3l-D95_Pc_EQ0t5w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '224' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey5879011c7/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6879011c7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184155,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184155},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6879011c7/623d8eecd88204673833c8baf9723ae4","kty":"RSA-HSM","n":"r7YiGUXY-kfKY4lOpr-71IdhtVy4ycAEC_HOkY_o165uRoubmsPdMolNRGzO-FzZB7YT_XWtc0MJBwbIeJhjXEwmOYFAgIvISCWFYDZWN11cIIrf4Ae7SMOa0K7sBbwsye2esPU_KpfQU8bR8sQTEuX4pUHLXfPUOMYy5Oirw7wSu78-62YtK3JLaQD4tTsc762UWbYOuD1CZI8cODKiAfJLFThtBRNTQu7qRo_eAqhZEZlXZg3ZXBk2a_lXJlH1B_uUASy4e8fQ5OOg1jiaWbZ2Xh5YsOLqwEDGyPSEWXombqdEvIXazNZk5QjPN_d3wkN2z4lteYIWxF09vWcXzw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '229' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey6879011c7/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184155,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184155},"deletedDate":1616184156,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6879011c7/623d8eecd88204673833c8baf9723ae4","kty":"RSA-HSM","n":"r7YiGUXY-kfKY4lOpr-71IdhtVy4ycAEC_HOkY_o165uRoubmsPdMolNRGzO-FzZB7YT_XWtc0MJBwbIeJhjXEwmOYFAgIvISCWFYDZWN11cIIrf4Ae7SMOa0K7sBbwsye2esPU_KpfQU8bR8sQTEuX4pUHLXfPUOMYy5Oirw7wSu78-62YtK3JLaQD4tTsc762UWbYOuD1CZI8cODKiAfJLFThtBRNTQu7qRo_eAqhZEZlXZg3ZXBk2a_lXJlH1B_uUASy4e8fQ5OOg1jiaWbZ2Xh5YsOLqwEDGyPSEWXombqdEvIXazNZk5QjPN_d3wkN2z4lteYIWxF09vWcXzw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6879011c7","scheduledPurgeDate":1623960156}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '146' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey6879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184155,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184155},"deletedDate":1616184156,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6879011c7/623d8eecd88204673833c8baf9723ae4","kty":"RSA-HSM","n":"r7YiGUXY-kfKY4lOpr-71IdhtVy4ycAEC_HOkY_o165uRoubmsPdMolNRGzO-FzZB7YT_XWtc0MJBwbIeJhjXEwmOYFAgIvISCWFYDZWN11cIIrf4Ae7SMOa0K7sBbwsye2esPU_KpfQU8bR8sQTEuX4pUHLXfPUOMYy5Oirw7wSu78-62YtK3JLaQD4tTsc762UWbYOuD1CZI8cODKiAfJLFThtBRNTQu7qRo_eAqhZEZlXZg3ZXBk2a_lXJlH1B_uUASy4e8fQ5OOg1jiaWbZ2Xh5YsOLqwEDGyPSEWXombqdEvIXazNZk5QjPN_d3wkN2z4lteYIWxF09vWcXzw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6879011c7","scheduledPurgeDate":1623960156}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '35' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey6879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184144,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184144},"deletedDate":1616184156,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1879011c7/ac2d514ac4050b3f965baf0309499d41","kty":"RSA-HSM","n":"psmtAH4fo1CWrIvtLmUiOYONOPHfkGNkNpCTQPr15_j8CdmUXwlAj_T-i_FG5bgNpN6pXOnyaf4FfSFPxHDpm2H8tlzgOhs2L0zPWap9VoFSZQIe3QVojS_dTz7oxX9xTmocWjAVVnrFpYsv9APPxhbciYhhEvHuiXVvrh5MQZoMT319tZUzWJ3e7lceFaMbQ84ruUsra4OB14WNgMB8sw5ht2GtomYTLHrMkJSsvU3SW89eG5Xqygu8RYuO_T_UbmawG56nkHVfwi1VAdV-rhIcQaW3r9ClCf6ROzFBKsTyJUjmWzvr5-npdZ4S133wbomiqCSF1DLgQRWAsMOtAQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1879011c7","scheduledPurgeDate":1623960156}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '145' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey1879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184144,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184144},"deletedDate":1616184156,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1879011c7/ac2d514ac4050b3f965baf0309499d41","kty":"RSA-HSM","n":"psmtAH4fo1CWrIvtLmUiOYONOPHfkGNkNpCTQPr15_j8CdmUXwlAj_T-i_FG5bgNpN6pXOnyaf4FfSFPxHDpm2H8tlzgOhs2L0zPWap9VoFSZQIe3QVojS_dTz7oxX9xTmocWjAVVnrFpYsv9APPxhbciYhhEvHuiXVvrh5MQZoMT319tZUzWJ3e7lceFaMbQ84ruUsra4OB14WNgMB8sw5ht2GtomYTLHrMkJSsvU3SW89eG5Xqygu8RYuO_T_UbmawG56nkHVfwi1VAdV-rhIcQaW3r9ClCf6ROzFBKsTyJUjmWzvr5-npdZ4S133wbomiqCSF1DLgQRWAsMOtAQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1879011c7","scheduledPurgeDate":1623960156}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '32' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey1879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184141,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184141},"deletedDate":1616184157,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0879011c7/344005dc5fe90d8f9dee348981f9e52d","kty":"RSA-HSM","n":"l6-tTFZB7u9Hzto-zZ5BY9aNNhT6LcLLzb-vtA0M5VwLv7kluvK_9aei5mIGv5XatqCnoBhf4h6RngKrM5b8VUdLdxxU0nMSEbYDg5v0_WLXCrj8086H7sHZTmrIYRUKLzs_lvdopeS9QmihB9_bTEMK6BbAwrnx-xV7uFFyBlMoPGdaEXxyGzWyiJ60xwot-gmGld_rsElPq4C9R01q682Cq_zPMngJpQXry_r81NQ-alOsE6TZNJg_LF13RTTv5aEfowsI63UwpffsCIuHRq7104ayJZYLb7nrlXFWHmjWmapB2BZgh3lPYe-R7HYwDbmzffR4uZrDx-3OAC9qqQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0879011c7","scheduledPurgeDate":1623960157}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '146' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184141,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184141},"deletedDate":1616184156,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0879011c7/344005dc5fe90d8f9dee348981f9e52d","kty":"RSA-HSM","n":"l6-tTFZB7u9Hzto-zZ5BY9aNNhT6LcLLzb-vtA0M5VwLv7kluvK_9aei5mIGv5XatqCnoBhf4h6RngKrM5b8VUdLdxxU0nMSEbYDg5v0_WLXCrj8086H7sHZTmrIYRUKLzs_lvdopeS9QmihB9_bTEMK6BbAwrnx-xV7uFFyBlMoPGdaEXxyGzWyiJ60xwot-gmGld_rsElPq4C9R01q682Cq_zPMngJpQXry_r81NQ-alOsE6TZNJg_LF13RTTv5aEfowsI63UwpffsCIuHRq7104ayJZYLb7nrlXFWHmjWmapB2BZgh3lPYe-R7HYwDbmzffR4uZrDx-3OAC9qqQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0879011c7","scheduledPurgeDate":1623960156}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '31' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey0879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184148,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184148},"deletedDate":1616184157,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3879011c7/f60c24e4c3f84fb4043027ba2af606b1","kty":"RSA-HSM","n":"jibIIGDoSL1e0bToyjZ3BUh1_vba0BUOpIMrHcDxr8X8fJw1nFthLfGKFlUdEQHxbEnJw5qMbqSviCswmbkenV7CQD5lVSW50zaKo8D_ePVnl2JcrtOCn_CoN7nxV_wbQueyUs_0PiUG40TqLXX01YrJfxRKk0B7IDuGODgcHil_zqwqW9JCk_91sNf0uabKuncfNZ1rLl1D4RtmWP0M6i2DRuVxWNg8sm69IBqKzKRPjXqxAfV7tEjSlgr9W_GbTCStadpNCVLhdweuFQhb0MdFGVPj-RSZoJMVOey6KJrtB1wZCEufY36wv-874OKjNKO7MpR0zRUh7u-Q-cWr5w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3879011c7","scheduledPurgeDate":1623960157}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '148' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey3879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184148,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184148},"deletedDate":1616184157,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3879011c7/f60c24e4c3f84fb4043027ba2af606b1","kty":"RSA-HSM","n":"jibIIGDoSL1e0bToyjZ3BUh1_vba0BUOpIMrHcDxr8X8fJw1nFthLfGKFlUdEQHxbEnJw5qMbqSviCswmbkenV7CQD5lVSW50zaKo8D_ePVnl2JcrtOCn_CoN7nxV_wbQueyUs_0PiUG40TqLXX01YrJfxRKk0B7IDuGODgcHil_zqwqW9JCk_91sNf0uabKuncfNZ1rLl1D4RtmWP0M6i2DRuVxWNg8sm69IBqKzKRPjXqxAfV7tEjSlgr9W_GbTCStadpNCVLhdweuFQhb0MdFGVPj-RSZoJMVOey6KJrtB1wZCEufY36wv-874OKjNKO7MpR0zRUh7u-Q-cWr5w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3879011c7","scheduledPurgeDate":1623960157}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '33' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey3879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184146,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184146},"deletedDate":1616184157,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2879011c7/c8067472840f02759a8fb37ecdb09b85","kty":"RSA-HSM","n":"javsYWWa3sgPr4b-rv_KH_CGGwHnmPwIVmPJskfitFITGIbyVKufh9gW6HyHisyrCtVPMuMPdzF9eOpZ9AU6VhWSyi5IrAA3-kHs3HjMuSv15co4JruYZQrNVreg08LWvj3ODqLHuWGd_KwTMn5lnviePfPKGrSJ1rZ1mxeUZ-uxTTVRnAgvKnD4JY4nZSfNfbPdeYmQdMLAI-Ozf-TRogQLqikysqMARPgqQpfMxRPUvMFgQw_0tUaaOsmtLQYBpnHF_zgLtE-UaCCKnaeTWmuymLmaYqBz4zFO55KRE1iO9VIttahMoaZYEEmelrmjUa3LLYjvitmqWG-lIm6-0w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2879011c7","scheduledPurgeDate":1623960157}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '143' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey2879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184146,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184146},"deletedDate":1616184157,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2879011c7/c8067472840f02759a8fb37ecdb09b85","kty":"RSA-HSM","n":"javsYWWa3sgPr4b-rv_KH_CGGwHnmPwIVmPJskfitFITGIbyVKufh9gW6HyHisyrCtVPMuMPdzF9eOpZ9AU6VhWSyi5IrAA3-kHs3HjMuSv15co4JruYZQrNVreg08LWvj3ODqLHuWGd_KwTMn5lnviePfPKGrSJ1rZ1mxeUZ-uxTTVRnAgvKnD4JY4nZSfNfbPdeYmQdMLAI-Ozf-TRogQLqikysqMARPgqQpfMxRPUvMFgQw_0tUaaOsmtLQYBpnHF_zgLtE-UaCCKnaeTWmuymLmaYqBz4zFO55KRE1iO9VIttahMoaZYEEmelrmjUa3LLYjvitmqWG-lIm6-0w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2879011c7","scheduledPurgeDate":1623960157}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '31' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey2879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184151,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184151},"deletedDate":1616184158,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4879011c7/1c030e4cd98b4e668e1c9094ec302704","kty":"RSA-HSM","n":"iMuksn4SUptU9aaITc4vkYv9XisCBdZUifJ8DIhEpy2bYXZOJTaxYMqz-pK_B4FfyfMwQvGg563UZ71jq3r8FzoHfzHs6x02dpciMLpF7g6TGCo7RY7b2SSabGvrzWYvSrwmIXovuI_OqIfwTGjpbZpK3gcyxoqOS2a1EUOdUh1dUGt_IB_pgQEhO_hbnjqJFGqRRs2WdsvbiuJAH6902-7uvAyX_k1hwE1AKsJ0jI2yH1neVtdW-BGiZBmi82S9ypjFuChuatiUIdq660QD0Fy7LrRSuOP_dXFzvoGT0eTvzBlewE0rAFjmTWmKchG4uCslRfJzFjOwTLcQNjKt6Q"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4879011c7","scheduledPurgeDate":1623960158}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '144' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey4879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184151,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184151},"deletedDate":1616184158,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4879011c7/1c030e4cd98b4e668e1c9094ec302704","kty":"RSA-HSM","n":"iMuksn4SUptU9aaITc4vkYv9XisCBdZUifJ8DIhEpy2bYXZOJTaxYMqz-pK_B4FfyfMwQvGg563UZ71jq3r8FzoHfzHs6x02dpciMLpF7g6TGCo7RY7b2SSabGvrzWYvSrwmIXovuI_OqIfwTGjpbZpK3gcyxoqOS2a1EUOdUh1dUGt_IB_pgQEhO_hbnjqJFGqRRs2WdsvbiuJAH6902-7uvAyX_k1hwE1AKsJ0jI2yH1neVtdW-BGiZBmi82S9ypjFuChuatiUIdq660QD0Fy7LrRSuOP_dXFzvoGT0eTvzBlewE0rAFjmTWmKchG4uCslRfJzFjOwTLcQNjKt6Q"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4879011c7","scheduledPurgeDate":1623960158}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '31' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey4879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184153,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184153},"deletedDate":1616184158,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5879011c7/c602b418716d48071d6e64186d58b187","kty":"RSA-HSM","n":"r6yLb1CT65VK6vsxnSDrtRKGD7k0aePQEtHfOyrZLgNhFqwwm8mdF3rppvOmdPnVIG5vAxpgD_DvdoTsPHVIcXGiqjtUzei6COQsC27HmtAKBvhKh3je0uaY4q0xXe4LSZNWwHYCahH6VjE5QOEuUt2542ftmWlaFwmzIlL3AW9PMwq7OplhxqHYy-gVqXwIlBFfeSD6cMBP3J2GfskLjG5yZjnE8i7n8xghrpFFRwlBBaWDzA4WK6I1AEFxeA3K1LwkPUge9VGtBH-M3TZRZ1vnldqCe0wdB2VGI2TRdQ1tI5l3_iHiMyln7jptIz3aVqrLq_3l-D95_Pc_EQ0t5w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5879011c7","scheduledPurgeDate":1623960158}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '141' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey5879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5879011c7?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616184153,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184153},"deletedDate":1616184158,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5879011c7/c602b418716d48071d6e64186d58b187","kty":"RSA-HSM","n":"r6yLb1CT65VK6vsxnSDrtRKGD7k0aePQEtHfOyrZLgNhFqwwm8mdF3rppvOmdPnVIG5vAxpgD_DvdoTsPHVIcXGiqjtUzei6COQsC27HmtAKBvhKh3je0uaY4q0xXe4LSZNWwHYCahH6VjE5QOEuUt2542ftmWlaFwmzIlL3AW9PMwq7OplhxqHYy-gVqXwIlBFfeSD6cMBP3J2GfskLjG5yZjnE8i7n8xghrpFFRwlBBaWDzA4WK6I1AEFxeA3K1LwkPUge9VGtBH-M3TZRZ1vnldqCe0wdB2VGI2TRdQ1tI5l3_iHiMyln7jptIz3aVqrLq_3l-D95_Pc_EQ0t5w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5879011c7","scheduledPurgeDate":1623960158}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '31' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey5879011c7?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"attributes":{"created":1616184141,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184141},"deletedDate":1616184156,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0879011c7","scheduledPurgeDate":1623960156},{"attributes":{"created":1616184144,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184144},"deletedDate":1616184156,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1879011c7","scheduledPurgeDate":1623960156},{"attributes":{"created":1616184146,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184146},"deletedDate":1616184157,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2879011c7","scheduledPurgeDate":1623960157},{"attributes":{"created":1616184148,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184148},"deletedDate":1616184157,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3879011c7","scheduledPurgeDate":1623960157},{"attributes":{"created":1616184151,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184151},"deletedDate":1616184158,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4879011c7","scheduledPurgeDate":1623960158},{"attributes":{"created":1616184153,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184153},"deletedDate":1616184158,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5879011c7","scheduledPurgeDate":1623960158},{"attributes":{"created":1616184155,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184155},"deletedDate":1616184156,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6879011c7","scheduledPurgeDate":1623960156}]}' + headers: + cache-control: no-cache + content-length: '2720' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '37' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"attributes":{"created":1616184141,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184141},"deletedDate":1616184156,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0879011c7","scheduledPurgeDate":1623960156},{"attributes":{"created":1616184144,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184144},"deletedDate":1616184156,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1879011c7","scheduledPurgeDate":1623960156},{"attributes":{"created":1616184146,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184146},"deletedDate":1616184157,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2879011c7","scheduledPurgeDate":1623960157},{"attributes":{"created":1616184148,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184148},"deletedDate":1616184157,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3879011c7","scheduledPurgeDate":1623960157},{"attributes":{"created":1616184151,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184151},"deletedDate":1616184158,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4879011c7","scheduledPurgeDate":1623960158},{"attributes":{"created":1616184153,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184153},"deletedDate":1616184158,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5879011c7","scheduledPurgeDate":1623960158},{"attributes":{"created":1616184155,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616184155},"deletedDate":1616184156,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6879011c7","scheduledPurgeDate":1623960156}]}' + headers: + cache-control: no-cache + content-length: '2720' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '36' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys_vault.yaml new file mode 100644 index 000000000000..7deb2a0ff13a --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_deleted_keys_vault.yaml @@ -0,0 +1,2183 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey099e0123e/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 20:02:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey099e0123e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey099e0123e/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey099e0123e/cc4404e93d164a22a3520b070123083d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"phgs-e_XtIOd2xGIqN9U6LQ-T_0-VChVvt4Wv7Qig1fIi7aJ_y8joqodmUjIxzEhtiEouyRD3rfRbzuPxje0z06qJr-RdlGdGNwe06DLfh7zR-rDRIPIBNjaKhmpoVObBkorhigaE3u6mOsab7s5rEP4Avfa27PmensbWTlUhngphCsIJwSP4N_XlL7PW4uWbJ45evTXp0CI3cyfNcIqiQBjts1PuBD1NAvydTfSK_Xr_hvqWSv26VW0H1CxqgR8ZIwimk0iCesgSF-RgziGKGgrfe6yytsr-eufyWVTvBvg5Is27chUD1O0T4aSBtJxSD9e12zApeTvJFOuMR3WCQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184161,"updated":1616184161,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey099e0123e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey199e0123e/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey199e0123e/39424c045174477ca41fd7b5532ecc97","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zGCvhckcH-ORRZBaPDMwIhzwps2FQtPF1rg_CyVSTBDAMYxufUMax86KG3CIbz2kHpAbi5QWcDmLaYEJOFwOvPr9Mv5ZjFFm-3levrGGH3w7bs4zaWWuSHTDzqUS180MDiqcF8NXnj9Wiuv-_VNpoBpxxvlUarBOZnDy3ThnxdlrcDDbZ_fj2tGwvfDiTQfSgmvULA5VHhPn0ihKBCPgLh-YMjSXdCHgkeBrrpRIgaYZSR2KqRt3mMz_1382nU9-pv9BZZgTeymlt2rjGX4fNKj_nkZSxNd8ihNHETPi15LS59tecr1RXoWq7pzVVREg9rGGytItcZ7UPsST3n_-zQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184163,"updated":1616184163,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey199e0123e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey299e0123e/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey299e0123e/fab6c9e63962405aa41bed9bb8c1f627","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sjGe4K0HDJp_6U_yv0xVQcSMlE4tZxXoYkKbmg8WvEPb5-xFIXnmv4I365vCpYCGZpv4NItuTz8AOdNPBPIWkO1x_ns-1KFcnsOaS8fQWIlLLnTC8bKpbROE07ulcf8eBhqUN2tmxZuWTqqsRFS--u0EkQN_Ij33yID1-zionJK9VLOIeB69HnyoZDjyZXIjtZsEh0vQFTHMQh6aH6oglYXLI1UH2Uq6DjkbifGD6RJet-4RsXoOqJf072_IUt3Z8UTcWbkMGvyPvTlo0--andedzeJJg-P48CuzRa0B9lEw6pGLOBnjwIxzrDaJk5pPo3yekuNxJDrPO04PalMlgQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184166,"updated":1616184166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey299e0123e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey399e0123e/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey399e0123e/6c945eb68f374d74bc22b13b70efa6f0","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zJdpkrljCt4Q1SfrBI7L_1yCn2NrmHBkjbP7-XwawMlR6a2Y0hrPU33S2bfaKWvZNbaVF9CRsad75cM9qVLq3gDnTPoB0U6z55Jbe8u-CMmlbAz-r016pO0fjtibLyO3j6nFXg_8IppUAH9YdyKpakdGp_IpR3UNouInbBSArXUbgukth9oSI3LBUl85HD-4VCkTd8-IbAMxRhrcnMDtiYtEtw7UXq4zQDiks6QOzSzyYxgYZNG4DNE6gMGIyL7hWZKX5b1i82xMWNI3E9PQJhZevPmQ6O-n2x_oOdh8CaE61UhKjbXp6kkslPkdaM3aYOAvzF9pz-wHmcTtfyF5DQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184168,"updated":1616184168,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey399e0123e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey499e0123e/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey499e0123e/6a41e65ecaf347898b2ccce586f6808f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uanOjA8EqOtoLxenzAPSXnxAb-iJB4l1VcfMgVix_1HDweVnYIPMsoJidexkoWcOFhnPLV7xCVMbO7PD3Xl1Mx08ui700WnDLaNnRYBAdiAd1VDQj0cpELKMZdqNQ4wsU4l5947WsiSF4H1M2ZYOk_IB4HIuO9GDZhICZKM1ohUri3n0yqbudwH9WU8c-G1BTcLCuVj_txQwuBWebqbs8NaJI2ZVHXBRa1nzgsE7nBxoxorRxJd5bOPzaXsyETc_G6Oj2IggsmnP6krpJtY2R0rGQj5hFFM89uS45FpSuKLisHfSvQo4tYWc5v9atDaIbD0GdcED-Khr2ZZzhh6EpQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184170,"updated":1616184170,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey499e0123e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey599e0123e/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey599e0123e/93eee20681554fd98125aa6dafaa2b60","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tJTUnVJRwpACEDluCuyLGuSRa-nJ2piYFir5dEwgsPp2arkhwyqo4fELEm8bzr8lQxM_hnplAikcd_4gEe-QpoS3tQ1IjxkzXDs-yMsAphdS1JzNq2VpEYeWhuM0mBjmhz894l8xjaRPBdws1qTWZqQclOkusb4bAH1_C__xUFMT01wVdqU51ykYn8KmlTyI10qv8Vln4ULqrJ5Ca-4RujiyZBGn6yQI9_EyzTxc0sMcEpqdpcm3Vg-lc6-v26bsgodwZ2jNmrynlvcEJM_tuPZgPuQPk9GX1RgydoVjAdTO-2IyH0D0vBrqbIxfeVg1kYiX2_Pn6rgmCttQUkx5sQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184173,"updated":1616184173,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:52 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey599e0123e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey699e0123e/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey699e0123e/8bd81ad18bf941f5a8608a7d2f2c66d3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sxSxaoufZU8BIycY7vAfnJBshqoJFMXsNbkQBeE6EfpKnALaxdxyqv2f08eOLJfV7hl6gL9cMOy9IdqRwd_28yE8MC8lr2J-sECIbRyVMZBwkkxUy7NWMbiVRlUv9jWYXa7NgeQVQjbnZmDcYH-cAJhEOV4CSo1-dZqi31icyJsC2mp8KW-7Sg37MQ1l3jIMkMO8rl9O6lsglParGFrhrNLq_9ecEuJz9-LV9JF_Vn9qCCiYZSEAqL4wUxS2B4pc70M0fQkMFAUly_z6r3qoNchjA_cBW34zKNPgTJoKlbz-5ryS7ij_H0KeR_05_oWCHHT7NAjrac3Zi42-3vPk5Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616184175,"updated":1616184175,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey699e0123e/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e","deletedDate":1616184175,"scheduledPurgeDate":1623960175,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey399e0123e/6c945eb68f374d74bc22b13b70efa6f0","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zJdpkrljCt4Q1SfrBI7L_1yCn2NrmHBkjbP7-XwawMlR6a2Y0hrPU33S2bfaKWvZNbaVF9CRsad75cM9qVLq3gDnTPoB0U6z55Jbe8u-CMmlbAz-r016pO0fjtibLyO3j6nFXg_8IppUAH9YdyKpakdGp_IpR3UNouInbBSArXUbgukth9oSI3LBUl85HD-4VCkTd8-IbAMxRhrcnMDtiYtEtw7UXq4zQDiks6QOzSzyYxgYZNG4DNE6gMGIyL7hWZKX5b1i82xMWNI3E9PQJhZevPmQ6O-n2x_oOdh8CaE61UhKjbXp6kkslPkdaM3aYOAvzF9pz-wHmcTtfyF5DQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184168,"updated":1616184168,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey399e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey399e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02:56 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey399e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:02: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey399e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey399e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey399e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey399e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey399e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e","deletedDate":1616184175,"scheduledPurgeDate":1623960175,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey399e0123e/6c945eb68f374d74bc22b13b70efa6f0","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zJdpkrljCt4Q1SfrBI7L_1yCn2NrmHBkjbP7-XwawMlR6a2Y0hrPU33S2bfaKWvZNbaVF9CRsad75cM9qVLq3gDnTPoB0U6z55Jbe8u-CMmlbAz-r016pO0fjtibLyO3j6nFXg_8IppUAH9YdyKpakdGp_IpR3UNouInbBSArXUbgukth9oSI3LBUl85HD-4VCkTd8-IbAMxRhrcnMDtiYtEtw7UXq4zQDiks6QOzSzyYxgYZNG4DNE6gMGIyL7hWZKX5b1i82xMWNI3E9PQJhZevPmQ6O-n2x_oOdh8CaE61UhKjbXp6kkslPkdaM3aYOAvzF9pz-wHmcTtfyF5DQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184168,"updated":1616184168,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey399e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey199e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e","deletedDate":1616184192,"scheduledPurgeDate":1623960192,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey199e0123e/39424c045174477ca41fd7b5532ecc97","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zGCvhckcH-ORRZBaPDMwIhzwps2FQtPF1rg_CyVSTBDAMYxufUMax86KG3CIbz2kHpAbi5QWcDmLaYEJOFwOvPr9Mv5ZjFFm-3levrGGH3w7bs4zaWWuSHTDzqUS180MDiqcF8NXnj9Wiuv-_VNpoBpxxvlUarBOZnDy3ThnxdlrcDDbZ_fj2tGwvfDiTQfSgmvULA5VHhPn0ihKBCPgLh-YMjSXdCHgkeBrrpRIgaYZSR2KqRt3mMz_1382nU9-pv9BZZgTeymlt2rjGX4fNKj_nkZSxNd8ihNHETPi15LS59tecr1RXoWq7pzVVREg9rGGytItcZ7UPsST3n_-zQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184163,"updated":1616184163,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey199e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey199e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey199e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey199e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey199e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey199e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey199e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e","deletedDate":1616184192,"scheduledPurgeDate":1623960192,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey199e0123e/39424c045174477ca41fd7b5532ecc97","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zGCvhckcH-ORRZBaPDMwIhzwps2FQtPF1rg_CyVSTBDAMYxufUMax86KG3CIbz2kHpAbi5QWcDmLaYEJOFwOvPr9Mv5ZjFFm-3levrGGH3w7bs4zaWWuSHTDzqUS180MDiqcF8NXnj9Wiuv-_VNpoBpxxvlUarBOZnDy3ThnxdlrcDDbZ_fj2tGwvfDiTQfSgmvULA5VHhPn0ihKBCPgLh-YMjSXdCHgkeBrrpRIgaYZSR2KqRt3mMz_1382nU9-pv9BZZgTeymlt2rjGX4fNKj_nkZSxNd8ihNHETPi15LS59tecr1RXoWq7pzVVREg9rGGytItcZ7UPsST3n_-zQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184163,"updated":1616184163,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey199e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey499e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e","deletedDate":1616184205,"scheduledPurgeDate":1623960205,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey499e0123e/6a41e65ecaf347898b2ccce586f6808f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uanOjA8EqOtoLxenzAPSXnxAb-iJB4l1VcfMgVix_1HDweVnYIPMsoJidexkoWcOFhnPLV7xCVMbO7PD3Xl1Mx08ui700WnDLaNnRYBAdiAd1VDQj0cpELKMZdqNQ4wsU4l5947WsiSF4H1M2ZYOk_IB4HIuO9GDZhICZKM1ohUri3n0yqbudwH9WU8c-G1BTcLCuVj_txQwuBWebqbs8NaJI2ZVHXBRa1nzgsE7nBxoxorRxJd5bOPzaXsyETc_G6Oj2IggsmnP6krpJtY2R0rGQj5hFFM89uS45FpSuKLisHfSvQo4tYWc5v9atDaIbD0GdcED-Khr2ZZzhh6EpQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184170,"updated":1616184170,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey499e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey499e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey499e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:27 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey499e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey499e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey499e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey499e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e","deletedDate":1616184205,"scheduledPurgeDate":1623960205,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey499e0123e/6a41e65ecaf347898b2ccce586f6808f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uanOjA8EqOtoLxenzAPSXnxAb-iJB4l1VcfMgVix_1HDweVnYIPMsoJidexkoWcOFhnPLV7xCVMbO7PD3Xl1Mx08ui700WnDLaNnRYBAdiAd1VDQj0cpELKMZdqNQ4wsU4l5947WsiSF4H1M2ZYOk_IB4HIuO9GDZhICZKM1ohUri3n0yqbudwH9WU8c-G1BTcLCuVj_txQwuBWebqbs8NaJI2ZVHXBRa1nzgsE7nBxoxorRxJd5bOPzaXsyETc_G6Oj2IggsmnP6krpJtY2R0rGQj5hFFM89uS45FpSuKLisHfSvQo4tYWc5v9atDaIbD0GdcED-Khr2ZZzhh6EpQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184170,"updated":1616184170,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey499e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey099e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e","deletedDate":1616184218,"scheduledPurgeDate":1623960218,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey099e0123e/cc4404e93d164a22a3520b070123083d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"phgs-e_XtIOd2xGIqN9U6LQ-T_0-VChVvt4Wv7Qig1fIi7aJ_y8joqodmUjIxzEhtiEouyRD3rfRbzuPxje0z06qJr-RdlGdGNwe06DLfh7zR-rDRIPIBNjaKhmpoVObBkorhigaE3u6mOsab7s5rEP4Avfa27PmensbWTlUhngphCsIJwSP4N_XlL7PW4uWbJ45evTXp0CI3cyfNcIqiQBjts1PuBD1NAvydTfSK_Xr_hvqWSv26VW0H1CxqgR8ZIwimk0iCesgSF-RgziGKGgrfe6yytsr-eufyWVTvBvg5Is27chUD1O0T4aSBtJxSD9e12zApeTvJFOuMR3WCQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184161,"updated":1616184161,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey099e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey099e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey099e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey099e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey099e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey099e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:46 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey099e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e","deletedDate":1616184218,"scheduledPurgeDate":1623960218,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey099e0123e/cc4404e93d164a22a3520b070123083d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"phgs-e_XtIOd2xGIqN9U6LQ-T_0-VChVvt4Wv7Qig1fIi7aJ_y8joqodmUjIxzEhtiEouyRD3rfRbzuPxje0z06qJr-RdlGdGNwe06DLfh7zR-rDRIPIBNjaKhmpoVObBkorhigaE3u6mOsab7s5rEP4Avfa27PmensbWTlUhngphCsIJwSP4N_XlL7PW4uWbJ45evTXp0CI3cyfNcIqiQBjts1PuBD1NAvydTfSK_Xr_hvqWSv26VW0H1CxqgR8ZIwimk0iCesgSF-RgziGKGgrfe6yytsr-eufyWVTvBvg5Is27chUD1O0T4aSBtJxSD9e12zApeTvJFOuMR3WCQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184161,"updated":1616184161,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey099e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e","deletedDate":1616184231,"scheduledPurgeDate":1623960231,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey699e0123e/8bd81ad18bf941f5a8608a7d2f2c66d3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sxSxaoufZU8BIycY7vAfnJBshqoJFMXsNbkQBeE6EfpKnALaxdxyqv2f08eOLJfV7hl6gL9cMOy9IdqRwd_28yE8MC8lr2J-sECIbRyVMZBwkkxUy7NWMbiVRlUv9jWYXa7NgeQVQjbnZmDcYH-cAJhEOV4CSo1-dZqi31icyJsC2mp8KW-7Sg37MQ1l3jIMkMO8rl9O6lsglParGFrhrNLq_9ecEuJz9-LV9JF_Vn9qCCiYZSEAqL4wUxS2B4pc70M0fQkMFAUly_z6r3qoNchjA_cBW34zKNPgTJoKlbz-5ryS7ij_H0KeR_05_oWCHHT7NAjrac3Zi42-3vPk5Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616184175,"updated":1616184175,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03:56 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:03: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey699e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e","deletedDate":1616184231,"scheduledPurgeDate":1623960231,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey699e0123e/8bd81ad18bf941f5a8608a7d2f2c66d3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sxSxaoufZU8BIycY7vAfnJBshqoJFMXsNbkQBeE6EfpKnALaxdxyqv2f08eOLJfV7hl6gL9cMOy9IdqRwd_28yE8MC8lr2J-sECIbRyVMZBwkkxUy7NWMbiVRlUv9jWYXa7NgeQVQjbnZmDcYH-cAJhEOV4CSo1-dZqi31icyJsC2mp8KW-7Sg37MQ1l3jIMkMO8rl9O6lsglParGFrhrNLq_9ecEuJz9-LV9JF_Vn9qCCiYZSEAqL4wUxS2B4pc70M0fQkMFAUly_z6r3qoNchjA_cBW34zKNPgTJoKlbz-5ryS7ij_H0KeR_05_oWCHHT7NAjrac3Zi42-3vPk5Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616184175,"updated":1616184175,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey699e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey599e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e","deletedDate":1616184253,"scheduledPurgeDate":1623960253,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey599e0123e/93eee20681554fd98125aa6dafaa2b60","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tJTUnVJRwpACEDluCuyLGuSRa-nJ2piYFir5dEwgsPp2arkhwyqo4fELEm8bzr8lQxM_hnplAikcd_4gEe-QpoS3tQ1IjxkzXDs-yMsAphdS1JzNq2VpEYeWhuM0mBjmhz894l8xjaRPBdws1qTWZqQclOkusb4bAH1_C__xUFMT01wVdqU51ykYn8KmlTyI10qv8Vln4ULqrJ5Ca-4RujiyZBGn6yQI9_EyzTxc0sMcEpqdpcm3Vg-lc6-v26bsgodwZ2jNmrynlvcEJM_tuPZgPuQPk9GX1RgydoVjAdTO-2IyH0D0vBrqbIxfeVg1kYiX2_Pn6rgmCttQUkx5sQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184173,"updated":1616184173,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey599e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey599e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey599e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey599e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey599e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey599e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey599e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:24 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey599e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e","deletedDate":1616184253,"scheduledPurgeDate":1623960253,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey599e0123e/93eee20681554fd98125aa6dafaa2b60","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tJTUnVJRwpACEDluCuyLGuSRa-nJ2piYFir5dEwgsPp2arkhwyqo4fELEm8bzr8lQxM_hnplAikcd_4gEe-QpoS3tQ1IjxkzXDs-yMsAphdS1JzNq2VpEYeWhuM0mBjmhz894l8xjaRPBdws1qTWZqQclOkusb4bAH1_C__xUFMT01wVdqU51ykYn8KmlTyI10qv8Vln4ULqrJ5Ca-4RujiyZBGn6yQI9_EyzTxc0sMcEpqdpcm3Vg-lc6-v26bsgodwZ2jNmrynlvcEJM_tuPZgPuQPk9GX1RgydoVjAdTO-2IyH0D0vBrqbIxfeVg1kYiX2_Pn6rgmCttQUkx5sQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184173,"updated":1616184173,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey599e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey299e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e","deletedDate":1616184269,"scheduledPurgeDate":1623960269,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey299e0123e/fab6c9e63962405aa41bed9bb8c1f627","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sjGe4K0HDJp_6U_yv0xVQcSMlE4tZxXoYkKbmg8WvEPb5-xFIXnmv4I365vCpYCGZpv4NItuTz8AOdNPBPIWkO1x_ns-1KFcnsOaS8fQWIlLLnTC8bKpbROE07ulcf8eBhqUN2tmxZuWTqqsRFS--u0EkQN_Ij33yID1-zionJK9VLOIeB69HnyoZDjyZXIjtZsEh0vQFTHMQh6aH6oglYXLI1UH2Uq6DjkbifGD6RJet-4RsXoOqJf072_IUt3Z8UTcWbkMGvyPvTlo0--andedzeJJg-P48CuzRa0B9lEw6pGLOBnjwIxzrDaJk5pPo3yekuNxJDrPO04PalMlgQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184166,"updated":1616184166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey299e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey299e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey299e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey299e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey299e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey299e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey299e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:39 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey299e0123e"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e","deletedDate":1616184269,"scheduledPurgeDate":1623960269,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey299e0123e/fab6c9e63962405aa41bed9bb8c1f627","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sjGe4K0HDJp_6U_yv0xVQcSMlE4tZxXoYkKbmg8WvEPb5-xFIXnmv4I365vCpYCGZpv4NItuTz8AOdNPBPIWkO1x_ns-1KFcnsOaS8fQWIlLLnTC8bKpbROE07ulcf8eBhqUN2tmxZuWTqqsRFS--u0EkQN_Ij33yID1-zionJK9VLOIeB69HnyoZDjyZXIjtZsEh0vQFTHMQh6aH6oglYXLI1UH2Uq6DjkbifGD6RJet-4RsXoOqJf072_IUt3Z8UTcWbkMGvyPvTlo0--andedzeJJg-P48CuzRa0B9lEw6pGLOBnjwIxzrDaJk5pPo3yekuNxJDrPO04PalMlgQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616184166,"updated":1616184166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey299e0123e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e","deletedDate":1616184218,"scheduledPurgeDate":1623960218,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey099e0123e","attributes":{"enabled":true,"created":1616184161,"updated":1616184161,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e","deletedDate":1616184192,"scheduledPurgeDate":1623960192,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey199e0123e","attributes":{"enabled":true,"created":1616184163,"updated":1616184163,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e","deletedDate":1616184269,"scheduledPurgeDate":1623960269,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey299e0123e","attributes":{"enabled":true,"created":1616184166,"updated":1616184166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e","deletedDate":1616184175,"scheduledPurgeDate":1623960175,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey399e0123e","attributes":{"enabled":true,"created":1616184168,"updated":1616184168,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e","deletedDate":1616184205,"scheduledPurgeDate":1623960205,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey499e0123e","attributes":{"enabled":true,"created":1616184170,"updated":1616184170,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e","deletedDate":1616184253,"scheduledPurgeDate":1623960253,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey599e0123e","attributes":{"enabled":true,"created":1616184173,"updated":1616184173,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e","deletedDate":1616184231,"scheduledPurgeDate":1623960231,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey699e0123e","attributes":{"enabled":true,"created":1616184175,"updated":1616184175,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '2491' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e","deletedDate":1616184218,"scheduledPurgeDate":1623960218,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey099e0123e","attributes":{"enabled":true,"created":1616184161,"updated":1616184161,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e","deletedDate":1616184192,"scheduledPurgeDate":1623960192,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey199e0123e","attributes":{"enabled":true,"created":1616184163,"updated":1616184163,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e","deletedDate":1616184269,"scheduledPurgeDate":1623960269,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey299e0123e","attributes":{"enabled":true,"created":1616184166,"updated":1616184166,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e","deletedDate":1616184175,"scheduledPurgeDate":1623960175,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey399e0123e","attributes":{"enabled":true,"created":1616184168,"updated":1616184168,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e","deletedDate":1616184205,"scheduledPurgeDate":1623960205,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey499e0123e","attributes":{"enabled":true,"created":1616184170,"updated":1616184170,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e","deletedDate":1616184253,"scheduledPurgeDate":1623960253,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey599e0123e","attributes":{"enabled":true,"created":1616184173,"updated":1616184173,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e","deletedDate":1616184231,"scheduledPurgeDate":1623960231,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey699e0123e","attributes":{"enabled":true,"created":1616184175,"updated":1616184175,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '2491' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 20:04:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions.yaml deleted file mode 100644 index 499e63c7ca19..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions.yaml +++ /dev/null @@ -1,327 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:39:37 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/02f3aa73caac419f92e7070c93780f8e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"9OURNB5EKRTUP8MxxGth_j5Np9ldA9rh8ymJ1uMzWE7EC5fGYE8iVT1C6KAKp1sRfI0KLL8DC_l4CZvC4dpjFrL0DWKF76_oZb2oDDb4Q7ZoshFcQ1p1qSlW1w3mNNxkooSho2HD7y0G9SAJ-nFQhlsr4kaQJaL9rnfNPFYZZWzqT89ozhM5jco6QT8QMLvPZTuyTnGOYPJjApNED7xymuFe7rOneb8-sMeVlzduAIXnxgBqitsbSkPQVgqtcU2Dcsez5XRZOvjUrbCk8s0Ryh0czz7RNsYsfIGHULKzzcQMI8GwXplyCmCb0sNVPOK6qEAuhB5HrBho2GK2gItpTQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579178,"updated":1612579178,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '693' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:38 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/1473b1c3997c43379691a722e86fdb62","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6Ro-g8LLeSXllY75rJZGmoxM_tDDjlve_c7UsP8drx8w4R2Ar_rjTMog6A24P6vQGljAWycCx3tltcHLgqQIxuDf6p4s2eMJEGTPUkBpW5JFUvpbsuGkctZwbJpdzZydzyKdk8hPOX5Ox2GMKI7AbKxink-8vWh1vNpiLNq2GFlX5yKYfux1Mc0Whab_iJv0zAftJqj5KDywfoAdNNr5VdfvR6fXkgLTp5Ot_sbQ5RaPZkEtf95DtOV4txjZz_xnNlFk5lCSc3KA85lLWphyMkHel2khr3V4CHjgN-mLdMuWXbX5BDeZEG7Mo6Swq_vHku71V9b5tWG9g8sCywbbZQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579178,"updated":1612579178,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '693' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:38 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/1377bae82e9849e88c7acac53191cff2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tYDMP0U5n1HgH963q2XpEgYoA3uwBSr-WtFKUaNN6deG07JcWxhyBYOg-FQdtnQANOqiOky9l4bzQMskKvCRWm63JXrvFt1roqaogQ_Yg9Qi-F_Qq_u-a1jbXUXRtgUG9A3exTyKjTipTQaB4kDxlf_1rENUVhjz5GDjMxnlM2SvmJRYOLLgZodfv_3Ny-MWdpaeIHik0NQPma9wYxlxIlLEm-JDMFJ7Zh3hyfRV1HcN5hVm3j3F8anehQgZM6XnGScyJiaoIT3yNgENwjxHqvaNSq-UQNWa2aqrwLFQrco6tAa3GxZKxfUkEP48Ilg6yJ9FoA4VMmHEQsKq4iVT4Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579179,"updated":1612579179,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '693' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:38 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/fe5631741b0d49dc9468ba427b26c13c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"w3pXGuvQ083tQ2Jt881EkMb9srPuFsKQbYOMSQQAGyteJoQ9OPu22Qqg9tAvJmj-l4hcIqfz1aYjaGJ4xiCtcNVxl197qPHyox2BePvinaSui2OUr-Pab4bAU7oq2OYdFkQU-ZlEq6cc3Ns3RGtVtdqN1FLc2fc1f6un8MO-g_i9e_-SSKFkOY2hmr6KgP5HVDtZcS9OIubVwcx-_Cz9McdMdboOGrhnyT4Ruh7x4nw77OZ-weGcsLti3HRgSzob1rqRSI4zE16z0c5Jk6sp0iEd9DxHT9hATv7Xqt1DKWe4vZuH5JB8U42RdhOrQFhCiienflzVOD808HOTb6jOvQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579179,"updated":1612579179,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '693' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/4207813309b546169d7f6bdcfd04eade","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nnqdZsFo9V8uWxInH1ass4OOr3XG6CD7_aLHa4Lndjp5OvkuIktPTkS3oCDgaCPCYL4gVw5zsW-jA_N32DEw23Alqq5ia8EemeHYgYA_3BqnbBZocs2aHQO4GkTsuaxygE2D1C-ov9hVlL8rQ90ojldCIzelbYa4kXMY2HaaF2q-Y5d-LCoK4DWWE5qzrVNlgUrT4jDdu_ErVDz-kjxkdnq41mNKIge8KW5qTKx455MM_iyBlsmf3E_jpkBP42EH9rza-W_EN4Ln7jS6561QKhd5ZetKetO5zwQ4OX3-UfknEgdIER5kMvRY1tElidCzBiQO6ctleCGZtxRJDK7IsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579180,"updated":1612579180,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '693' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/71b597ae02b145589b9ac181f4b8aedc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wBeHQduVBHUhGAky083Wy_innJKzRM9Y7ZzXsiR2IlWv5YQdIVc8IV29fetfoqoTyLaPLvuXcmr3KCD9etDMtgZzM9hAa3nvwDIlT2_XqD3loaJTjVK2mmjh6BIWJ-KFI8uXpplBp-_T7BOeoBo6k895W7pkfHazyXlwRTvM6Rt7rIEfRYS0R88hUaRbNWIbdxwQonZ-B5mQ_GuGEXPCKOfO-MSbFjTkn4K7OO9IOFXy6ggMRVk3u51IkVwZIhp9Jd8MTe0UVcqLpZ5BtR7lYlWmJdMYcyna2LD4fc9CeiTdYA63x-UW-k7S7Zdg3fHneHvsG0YPRcBtkSxIh7SWhQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579180,"updated":1612579180,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '693' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/c39ea1d46f334358be089a98267517d9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qs9YK5Y9cvZcSTpe_mqT-Dqz2sDExRoatE9L6BmUsYeTFgaLYQNhJX3jzAH1xbc3VtG843VhM-KL_xD7KKyUcvTDfz_sL-m3J4ktTZAmoSCy9xz62vpo6DKRH2H1jtEBdZxv6G3WUuwSXdu4foyWA9VzxCHtBaAzsNcWoZGHrWUw8Pmx6xV_QqaUni--sr7hWSGIg8-03jLzB-AC3RMBITZBWOL36cr0xykEccFbLewE5vPApIox83uZHdgJkKC1mXDUbQ2atx8-u7SIDf9-WggWoekLWbozytSMm_yaHHpDgaJuMezBPH7bO7zYplyxJY3r4HojGMm-t4BSKPhFPQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579180,"updated":1612579180,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '693' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/create?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/versions?maxresults=6&api-version=7.2-preview - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/02f3aa73caac419f92e7070c93780f8e","attributes":{"enabled":true,"created":1612579178,"updated":1612579178,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/1377bae82e9849e88c7acac53191cff2","attributes":{"enabled":true,"created":1612579179,"updated":1612579179,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/1473b1c3997c43379691a722e86fdb62","attributes":{"enabled":true,"created":1612579178,"updated":1612579178,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/4207813309b546169d7f6bdcfd04eade","attributes":{"enabled":true,"created":1612579180,"updated":1612579180,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/71b597ae02b145589b9ac181f4b8aedc","attributes":{"enabled":true,"created":1612579180,"updated":1612579180,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/c39ea1d46f334358be089a98267517d9","attributes":{"enabled":true,"created":1612579180,"updated":1612579180,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys/livekvtesttestKeyf7e00e3a/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1VZM1JUQXdSVE5CTDBOQk9FTTVNemM0UTBVNE9EUkZNa1U1UXpsRVEwVTRNalU1UmpFNU9VTXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' - headers: - cache-control: no-cache - content-length: '1866' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/versions?maxresults=6&api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/keys/livekvtesttestKeyf7e00e3a/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1VZM1JUQXdSVE5CTDBOQk9FTTVNemM0UTBVNE9EUkZNa1U1UXpsRVEwVTRNalU1UmpFNU9VTXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 - response: - body: - string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKeyf7e00e3a/fe5631741b0d49dc9468ba427b26c13c","attributes":{"enabled":true,"created":1612579179,"updated":1612579179,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '271' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/keys/livekvtesttestKeyf7e00e3a/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1VZM1JUQXdSVE5CTDBOQk9FTTVNemM0UTBVNE9EUkZNa1U1UXpsRVEwVTRNalU1UmpFNU9VTXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions_mhsm.yaml new file mode 100644 index 000000000000..5e94b0d56900 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions_mhsm.yaml @@ -0,0 +1,334 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181025,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181025},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/42efda38e90542a6a7e804e600ef0c2c","kty":"RSA-HSM","n":"s3aRBnviLNPdl04Xi-70BcVnsY261oluVgcP5Vpe2Lvp6KzfT7C_UE77LpXnJiQP1ZrpMaevSiD4q7tdh7PCyVnXAiqnLq_g9WJ-T7fCRFOIGAlhcEKFHwo-J7u_v40p6hIAqWIkZGaNXtATzuAFh5M29PDENN1rT1X6yVzFLktEjYXQ9LebbMzrs0MILZC5mgHsMJ3muxXQz2avVbtCQyzOAPhyKvkHH5m73zEWCVGiC63wIQGfMKJr4hK2Xt0OKrqaXU6a8o9tO9-dZeWGL7wxuHyVL0pDB0XOG2k21zJ9GBuex-YK0g1xeY0jDIs9942VCCncepILER1kAWzXYw"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '240' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181027,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181027},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/2c84a378f58b4ee800f480cf469ed254","kty":"RSA-HSM","n":"hQCEGui-egpSWbZw7AfQOEeai4pfUPgjQX-chaFRYOeocVxEe2_rETENQBPdVtRDbMTx0z4TiIGMKiVFJBptdKWr-_fsbS78WbWYo78WROHx600uO0HSJfbPi2yWWOSerdZfW2614ReEEPp_tT4zJIQG4Jg334hUtvEdd8h2R7IzxDGMLeTUX9CNHOkJBy6_FzPkcRGBfTFdJQH25_XuTSQNj7vfM1ahuEYZTRHJyNwj9hwxOfhL04Qv973F9fdFx0M8gygiQt3PInB-XTkygqN73vw2Ozgr98Rg2wN4muWwjD2HjwU0TY7L3oxjO8P050n56wamfG-oDSk5SU-GwQ"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '373' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181030,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181030},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/d4eebf375eba47aaa58946b76f4cd592","kty":"RSA-HSM","n":"unFJKHTuW1bctBnauvb3GTUCd2N0yCsrS_O2Utm8LgQT7yYVeA3j5N_yh6MOPUqkvV__g4HCri_GeFlPMCB3YvaYupZ9jZi2qgUyeUGGzz4QZiUQhXfT3brl-DA40iVuv55EOLxGAZ7HrdcJaYGLXw_GU5bYtSyaXMewGOGERw8PEkZSB_jK19OoQJCJoMJmwViiQ3aI8p5VicAVTrn6-TuWUkvEc4sqAlaVHTHJ7GPryV8Ymq7yFexXbZLyHxzqhKy3uzFOtcQqhB1FMMOjgqFfUY4KyUQ_dOw2fYNU5O4LRXLXu1jcT5Prs8h1KBomBgCqp_d1jiHdZdrKm7e9hw"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '341' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181032,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181032},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/268f83315473008786772ae0300d5d7b","kty":"RSA-HSM","n":"0j6ZGsV0YeuI4A8PRveyUms9Px2uM417L-CQ3bZA2-XVhiHv3IzNhMbf-Toz6up7mUM3OcXQypXIDdQ-0YnxoWbKBGj8RdmYFxWCc2hYMMSfBy5aBY1ul5c9GWdYVPnRETMT24401WUvNWhAtd5gI8F2SR1WxWde0DFi1rnIyE9g-cSNs6X5gBZPueCEUNyfbcz6lNzGbP_fReV3HYpPrH6Lih2Db_XlnENyh_JZPnk6UkV4SI7wLceYe2UzXCLW12527I-phtPHzUdghNWp4erlZlUmOCvFZEkFeexOCeDdvuDiIUbodHQlnLgNI1DCrz03-tlJdEwDTqaARhoTHQ"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '396' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181034,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181034},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/5793d8510b0a0a8416d06eeeee348495","kty":"RSA-HSM","n":"tUCwk7XgrrUlEC03y-Hl7Op6xDjMUsJlfx4ayNPp8NP-S3qwVWoLFZI4ba7L8oRvNTfiFoMVH1bmyb_6lNFRGympR_pkJhCm23xEPNo_sIdRO7o5cnQLYXTPiOWzKh1qx9dR-djDaySg0bB2l6Wh0QrIRn98G_IQiIxrZ9Nh_pngZOM_iVzvDufHz4kQ66Cfc52HDsDGoqF6HcTwFOAqcdsv31z9KEchFlNU4dlixa1GXtxhuJ4Ws4VZnd7uy-8c_0uofxrhFUkO1P9mZqe2JM8eZgKmewud64AWMyhmHJ7drmaoBL7q3-ttXFjWuLS8F6hcLPrvSz6NVqdnXnm3mQ"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '358' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181037,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181037},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/5d221e01ee980eb7ad2b6fd83e07aec5","kty":"RSA-HSM","n":"hjhzBduBs1CbhqqBsSkLMZY7f4EYAprQ5rchg63BVC4Lg2_VctScT-8BNaZRPNTy8ARMo93IRcnxg7Z1cDWktSKSo_GzPhrLsNMEYH6vOF6_-GkpOv5LoQYzt2PVuivFgvdZXjgd7sJdh7xoLRhkPD_6mvUhNc0QJYqT8cxB8tt_tcbaJhfDMFvLa0XkNNr1j1MN2nRNPd0_miAg7eY8mt8-4as_yY_lq_CyMCtwDNmBMHX1bRWxF5_QRzBUqnRh7Sjq-u1RR2V-_933-0F7dCwMHLAc-oc1iEE0vMVQJhAJLbsMZHt5rakchVZVukpKEL05LkbuqGmLorHN3NMcMQ"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '357' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181039,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181039},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/622f9164e9354b32929cc0a3cbbfcc16","kty":"RSA-HSM","n":"kGVlHhCKWXjq0fVR_nyZ-GEyj88uRcEIutY2LOSOBVHsr5a7-2x3c4aq_GR6-KjeCfxhn_ji_jDpfQMr6H6sVK3REevYO_BIH9tYPQpohH-ZtZNxu9aGfIrCGHLBsiy_6wd6xCAX2fsLErMhsIEuaOAjaAiBTNomeLKLKVwWv2AAXT4nvu4bOsbTDIG_7P-ERHGHLlveKeexQUiMrr0U0eaxs7BxChBqVDlwkYX2liMcftRRPfxXRjk820iGcogcpZNTf4bSGyTJBFbOFc_38CkYQUnrJl-bJMQctjodXywb4ceIkaRDrYp59p7kRRU54SlGcMF_r_86ToK82uPbVw"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '353' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/versions?api-version=7.2-preview&maxresults=6 + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/versions?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNBQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz","value":[{"attributes":{"created":1616180772,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180772},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/f153a023243d4f3bac8a393df9f50bfa"},{"attributes":{"created":1616180775,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180775},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/fde14747bc894ce78b26e6ddc6619e68"},{"attributes":{"created":1616180777,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180777},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/7fc10e9bd7f3066e914f84340a9cf8f7"},{"attributes":{"created":1616180780,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180780},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/b709613038930b1533bcb345fa1165ae"},{"attributes":{"created":1616180782,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180782},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/d450c45173874a20321a0276c1de47a8"},{"attributes":{"created":1616180784,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180784},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/046b22314f134034a86e6f5dc0655557"}]}' + headers: + cache-control: no-cache + content-length: '1844' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '154' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/versions?api-version=7.2-preview&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/versions?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNBQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/versions?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNlQUFBQUFBQUFBQT09I1JUOjIjVFJDOjEyI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw","value":[{"attributes":{"created":1616180787,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180787},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/4900b7e8c27b045492ea4ce0d565c678"},{"attributes":{"created":1616181025,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181025},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/42efda38e90542a6a7e804e600ef0c2c"},{"attributes":{"created":1616181027,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181027},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/2c84a378f58b4ee800f480cf469ed254"},{"attributes":{"created":1616181030,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181030},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/d4eebf375eba47aaa58946b76f4cd592"},{"attributes":{"created":1616181032,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181032},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/268f83315473008786772ae0300d5d7b"},{"attributes":{"created":1616181034,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181034},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/5793d8510b0a0a8416d06eeeee348495"}]}' + headers: + cache-control: no-cache + content-length: '1846' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '39' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/versions?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNBQUFBQUFBQUFBQT09I1JUOjEjVFJDOjYjSVNWOjIjSUVPOjY1NTY3I1FDRjoz +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/versions?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNlQUFBQUFBQUFBQT09I1JUOjIjVFJDOjEyI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw + response: + body: + string: '{"value":[{"attributes":{"created":1616181037,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181037},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/5d221e01ee980eb7ad2b6fd83e07aec5"},{"attributes":{"created":1616181039,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181039},"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesttestKey452b104e/622f9164e9354b32929cc0a3cbbfcc16"}]}' + headers: + cache-control: no-cache + content-length: '553' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '45' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesttestKey452b104e/versions?maxresults=6&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVNlQUFBQUFBQUFBQT09I1JUOjIjVFJDOjEyI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions_vault.yaml new file mode 100644 index 000000000000..bce5586fb36f --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_list_versions_vault.yaml @@ -0,0 +1,356 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 19:10:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/f89374908a8144e6b210862d663e0d76","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0_FN5vqHRrgvfsHppfqRxNrxYjBhftjvctrn5qedauvdXzFwZozP_6d-D2IsNidSITq6WEEzdTMJSc85ytnQNEznKPj3NVVBPsOOlM715FK11hFROPmiQIqqDHVn_0NX1tLOqSiD00_K0PGa_65maM-x85rsnd76opzMLgxMwo0r-pzVWtdNT9JruNP_N5vPM_VbHEe2iJ-bABUR5XMW78ECUqmx-1G8Y-Z1-4iVPicMcpGVzLZEoHFSr1ZT6J59bP5mAVY4EciUzKyxpOWmyyGuQK1MBpzUT9hMpsEW2b_KO0iFghrMGtkHeej5LsmGDB_oMeLCYDSvLW8pOntqtQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181043,"updated":1616181043,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/b4bf5b16acbf4e1db35f69a8353981be","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1L4bdZtIMmJlZIspnQYL9w4Zp7Jhufw6dZQ10T1TuoRk0ly2NfVz7uvlYi1cGDg_nEzCeJXzRzaMlFlfu8Vk3q4eoXuCtJo8YoNeKWT6Z1CCS3SxvVSCG2EQe3f8xaRwDkGvH2USnQ8KvjJWTl1OfEEU7YI4qjFQlM3ABOFonYKoytwjTILbqIeRFxF50J-JmAOMPKJs-FT__HeK_K6lsF-ZEkGuLRfukWGfPHQMGo9u5yF3Xk7u1bGJxYhBvE5u5GI1xzlaenUzvYIZQUtcROqr6uFwkfjC9kd6GlhMdacE2mGS5L_gtmuJ_HBF78GkWJ2Ml5iCyZpxS6VARdnddQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181046,"updated":1616181046,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/db1ea9fd8fe5468f93101f36301c6831","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8rRzH66DpuX-K0ffKr8E3GsodXTHbdoy9ycioFUO17cRGzaCxyF03-m7QqF3F6TQS5Q-zoCPXm2cmATOYh7FsQIouO1pZk26-BU5L60WlpvGINe-s1poAXWRGpZpJvV7JxMrjEMMaQ9dVdLBfNUf1KvUBN8Z3tTEMPIjyr3T5PfKrhMxXqxFjSAIQPJ7z0DDTF0_cxu0xB6pqSgOTLa9ZPqhHMSKewsPRJtSrrG_ztTVqgMpg7Tkbp_sucfBPk-hNUaCLJBpVJ1z4edoNKozi4hZ7fEiD-GXTPCeSFLkiEKekAz84x4PAL-L_Nu6RTx5b-jIoL3eGtRlqnzW-mKZuQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181048,"updated":1616181048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/ecf2d774606c417c843abfeb2d5d2d31","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nJHkqOlEzLGn4Sabn3Gte4tvZrcTf1yNwZ-tkYlnkmlfSFiJSOfCz0lgXL5VPPvhw0804In22rFv1Q44IkaWtnf-F6wUs-VGRv_4H7LcnNu4CiyhGjJSodfgUjGRvZDbd5cFglrPI8cawLqbaSnui8r_DvZ5HQLAyXW3f-evvTPEPvgGRvuXTRkKRME3NAiTBXfuzww3H34p5tX5QSqmMOmTm_tGqSADpUotOjaQO-grpfmng_vxrkXy4dDfyz4hQX5ejec0FvJR76mmLReZ0JNIR-ovAOUdnH2xslNAZj69qXzc_6XHHb3LII2681_knHp40KYDAT5aMQXeNzYetQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181050,"updated":1616181050,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/cad6005c5ca1441da72050c2db3e2285","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"t_FAgJPfSkEfvfsBK_-xRGLN4XXy3vuh_qZ_AjUrC2MvH02t54VbHw2Jep_RExTN4fShG6sQXzeFQYBiZth-tG2c1T63IGLDxnf-2bd2KvHTFvIvaXF3ymHvXtzVy6v4tD4fAt9MKe8cN1XJslDxdC2l86IQXisX8q3xIWaOFbp0okvtmzh4Ge5pPfAS0jyViYGWwDv76hJ-hhijAS9ynp2McRgMqoxeqAoPJUDEhGTvalWWIHWwsqQZxU1d7VD9LDq6AnJiBO3GJ1xpWsNSLSmBUd8k7ENXMYzXhP73bzUM6Wq_gXtcMbBnQpHwco-yTtOgzbVun0YZGOU_v7vERQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181053,"updated":1616181053,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:52 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/ec1bebc345894298b690184f6be8d4fa","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"22FWaMfJbe5K_yiSwJ_Il8RFPFHefOtxrgcSog4BVPJvlPEZu0YoO-JgfW5QFisWFgSWjq2rYOTxzqePatu8RwtcIwYyfToAXxpRi7sICtnyu-nt923ub1gHHFiBNiltF61wXi1K1LW-dk2ejU77qQcGxHUD8bpE9oq9FNkl78-R4Zs3KaqewM--8s48VM9vwEwk3fFlZWr5gI3Q3G91g8FZJh2r6WC39aIq4LP-fLJVQtFA2d-hF4OMJqFOgZ4c8-zeO9zikF8rYN8dpiHHnhrMt05BHdPt9rHxefKkVzRokyi-WP0TAf6kHGmgeLruF5hsp2qRgvBCPAxbUFHKoQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181055,"updated":1616181055,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/0731b467239041cf827e192480f73cc6","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tMVGuAZr4KZBqF1-mYCY9HEP5KS_8lmbJ8ykt-UdkxsGg7nsyPwZGN0jajUH1HRCP5i0eRVlPvw6QHfIFxtkv6dToeERdBqPcUKxBAoDcN_dUdZPZfHRyvcaHbCLYnIyfDlIDyfiaY-OliAOK3iVEsvCAAXaAcytsN51xdl74ScKfOYgcXWODfr0-DXPAGgmdokVhEK_CIWbsQXWXETuBf7aQ9RR3oXBkU3kXD6454Op_43wBHxL_-ztxnKosZWXyj5Bw7bwVaCeejZbQOXPqngjuLprCaM_W5hMmavlhCiNZ-vlbCRpWE2_QZbggYIRF28I3QJKjn-hTaUx1FJTJQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181058,"updated":1616181058,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '693' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:57 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKey560210c5/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/versions?api-version=7.2-preview&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/0731b467239041cf827e192480f73cc6","attributes":{"enabled":true,"created":1616181058,"updated":1616181058,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/14f15ace83174fd8b523c5788c594dd9","attributes":{"enabled":true,"created":1616180790,"updated":1616180790,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/33418a7f66e843f682174c3c3c3df114","attributes":{"enabled":true,"created":1616180800,"updated":1616180800,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/3cc7043aef534fa89d6f4b20fecdb603","attributes":{"enabled":true,"created":1616180795,"updated":1616180795,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/5d6c8190673d49ea9be6168f795e873f","attributes":{"enabled":true,"created":1616180793,"updated":1616180793,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/786c724bea0247a3b1b48626b560053d","attributes":{"enabled":true,"created":1616180802,"updated":1616180802,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys/livekvtesttestKey560210c5/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1RVMk1ESXhNRU0xTHpsRU9FRTFPVUkyUkRGRE9UUkVORGhDTWpJd1FURkVRemczTWtFeVFUTXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1866' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:57 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtesttestKey560210c5/versions?api-version=7.2-preview&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys/livekvtesttestKey560210c5/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1RVMk1ESXhNRU0xTHpsRU9FRTFPVUkyUkRGRE9UUkVORGhDTWpJd1FURkVRemczTWtFeVFUTXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/9d8a59b6d1c94d48b220a1dc872a2a32","attributes":{"enabled":true,"created":1616180797,"updated":1616180797,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/b4bf5b16acbf4e1db35f69a8353981be","attributes":{"enabled":true,"created":1616181046,"updated":1616181046,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/baac0d1bb0af43188aef9c8a85066a8a","attributes":{"enabled":true,"created":1616180805,"updated":1616180805,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/cad6005c5ca1441da72050c2db3e2285","attributes":{"enabled":true,"created":1616181053,"updated":1616181053,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/db1ea9fd8fe5468f93101f36301c6831","attributes":{"enabled":true,"created":1616181048,"updated":1616181048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/ec1bebc345894298b690184f6be8d4fa","attributes":{"enabled":true,"created":1616181055,"updated":1616181055,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/keys/livekvtesttestKey560210c5/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1RVMk1ESXhNRU0xTDBWRFJqSkVOemMwTmpBMlF6UXhOME00TkROQlFrWkZRakpFTlVReVJETXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6"}' + headers: + cache-control: no-cache + content-length: '1866' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10:57 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys/livekvtesttestKey560210c5/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1RVMk1ESXhNRU0xTHpsRU9FRTFPVUkyUkRGRE9UUkVORGhDTWpJd1FURkVRemczTWtFeVFUTXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/keys/livekvtesttestKey560210c5/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1RVMk1ESXhNRU0xTDBWRFJqSkVOemMwTmpBMlF6UXhOME00TkROQlFrWkZRakpFTlVReVJETXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 + response: + body: + string: '{"value":[{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/ecf2d774606c417c843abfeb2d5d2d31","attributes":{"enabled":true,"created":1616181050,"updated":1616181050,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"kid":"https://vaultname.vault.azure.net/keys/livekvtesttestKey560210c5/f89374908a8144e6b210862d663e0d76","attributes":{"enabled":true,"created":1616181043,"updated":1616181043,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '515' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:10: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/keys/livekvtesttestKey560210c5/versions?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1RVMk1ESXhNRU0xTDBWRFJqSkVOemMwTmpBMlF6UXhOME00TkROQlFrWkZRakpFTlVReVJETXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=6 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled_mhsm.yaml new file mode 100644 index 000000000000..bcb786054267 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled_mhsm.yaml @@ -0,0 +1,64 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name748a1138/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-key-name748a1138/create?api-version=7.2-preview +- request: + body: '{"key_size": 2048, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name748a1138/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181062,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181062},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name748a1138/946da4884ac5468b06774c72a9ba10f6","kty":"RSA-HSM","n":"tOtbbQMUiJGyR-IhgljO7CJmDBZcxHRWL_AIEYLzAKzojQ7EXSKPI8Cv5luN1NxfINDEuy9EFkYPoKM-rkMQ4U4GkmpnPOfYnvQdX3dWcdg4rq5q4jKnfDXHlGacxgb1QCdA42d7-nNSiV31n3frcXT0HvvNYsJKtrq5FCwzMG78mtg9X1tAF4V74jSuAgsgSbyQSFNyjcmAM5cuu_VtAH7AR9keK7v2P2_Sxzuuhmh6brFRrHgYd7VwlLrJeXxAEbb9Ug0nRr7SWwGvvBOag8KOJ0oAzmFWVGCrH57mfweKOIVgIy1t6_rcdA540JrhEnxaJH91aBfvaOfqZu17_Q"}}' + headers: + cache-control: no-cache + content-length: '729' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '521' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-key-name748a1138/create?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled_vault.yaml similarity index 53% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled_vault.yaml index 5214a4ded8bd..e1975ae47d7a 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_disabled_vault.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name22bc0f24/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name864b11af/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,23 +20,23 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:41 GMT + date: Fri, 19 Mar 2021 19:11:04 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-key-name22bc0f24/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-key-name864b11af/create?api-version=7.2-preview - request: - body: '{"kty": "RSA", "key_size": 2048}' + body: '{"key_size": 2048, "kty": "RSA"}' headers: Accept: - application/json @@ -45,27 +45,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name22bc0f24/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name864b11af/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name22bc0f24/e05ce5b8b203409f82a98d218dc63805","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"56wnDmYSGGhINEnvob5avc2qKAbaVrfFZgIK9TqdL6vSLaua-5mFkHWe1RqwpbUF2ZBT4Eq_--ifydjcwyVntU_vNxWbKPAhstY7TpdAL6YT1UKpEqLkOkT6s_epcUg9AcbzHd6kuwdrsFpEIGnKOB3wl1GmYCtikdCL-Yu6htv7rsTbc-9AJJIBprNRZbdYif62bEIVmoVChViajmminoi4vxSJbF67ojhiTQFyUVxzfPBboL5YAHplnTbTTfuXmaJAtWtT2EoAoRXSpdujJR68cIcvef2hK32Ry46cZ811jjyt63OErqHWtZ3kSemTNVu7EATJkKIl4zRo85qr3Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579182,"updated":1612579182,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name864b11af/1064a87596de451f843c3e4c8c441014","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"s1-KtXHUsjq59mNgKtJOxo2X1EXIGDpKwbPeVO3mEIlpGEHtgyf701shYbktY5LTrRyydlx0fN1Mg2-6Y-ASSPR9uVLGejaNcQtZzEw8fIHvThZy_Znw0GsCa2LV4sOqzVZG7uXNbcDIJiMmPUZvqbttk-EGXVtW0gF-PTAMwelc16d_PDkE_OD5AWR5EkH_ITc2tq1Q3bH5ETbLMs3Ahrpmg7rGydbxF6U6rdKhAoLAZPazbDPEK0mC_VBKRgIYp8dme2HYVNhusQHY4NVO1Ll9w1b4OMMPYeb1ea6lqT1T5W4gHBHSNvkxPmNfkOPHwfQ_VR05-ereyfXU3jfyCQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181065,"updated":1616181065,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '698' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:42 GMT + date: Fri, 19 Mar 2021 19:11:05 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-key-name22bc0f24/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-key-name864b11af/create?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled_mhsm.yaml new file mode 100644 index 000000000000..9489f7523508 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled_mhsm.yaml @@ -0,0 +1,64 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name632310cb/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-key-name632310cb/create?api-version=7.2-preview +- request: + body: '{"key_size": 2048, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name632310cb/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181069,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181069},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-key-name632310cb/2333f95419644534bc710c69397e877e","kty":"RSA-HSM","n":"s9j6g-z36fjVCA_yOMp7zHk9dNsG8q7BrqScBnLG2bpKwf5eVGhuiE1JvVvbeA0qRXUVgynuY8ElWmPfQh1mL9-_hmA9GlrXjLQDBKzK20aPOded61umZQeD0cIh5p4ajTaFfQNrRvtT2bd8gnYS7xheTjvFZMMwrTmraCn_Nxr190R3jC8sBjDzzfOqLEn0gNFnMH_Ob3WZj0qVMZwgNxH4uJMjd_C7bU7RHI8_bfs05qwsTTDV1VSguqEJYYtoieQEVKjdtLP-i_FlYi5rXvFkNTqA7EMLLujgp8sKviVRlKDKx4gztqnph_elLkoB-PsuVgGeXdXRgdfLvyZx7Q"}}' + headers: + cache-control: no-cache + content-length: '729' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '402' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-key-name632310cb/create?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled_vault.yaml similarity index 53% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled_vault.yaml index 1ff0f37a3a4e..3c8636a21153 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_logging_enabled_vault.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name13760eb7/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name74771142/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,23 +20,23 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:43 GMT + date: Fri, 19 Mar 2021 19:11:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-key-name13760eb7/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-key-name74771142/create?api-version=7.2-preview - request: - body: '{"kty": "RSA", "key_size": 2048}' + body: '{"key_size": 2048, "kty": "RSA"}' headers: Accept: - application/json @@ -45,27 +45,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name13760eb7/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name74771142/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name13760eb7/35507a301b1b4f7a996023abc8c23156","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"s-qhgVqf1qhOrBrGaCth4_K1-fcR-zMNo8httjSz5vDI5iiSOI6zwY687VsBehMgvSgZY1VTDtd1vgdi6mnJy4hA5-sPFzSchOqpKfLkUNC2s5LJyS6IaCq_p-aDMDmCqUyQxShpZ41XwByegIBEm8XT-cXRDRWyeZjsyA9XYTt-c-AiQejce4DhUVv7WA2dlkVvSzxONEPSu0gLPD_KIN-rkY1xFcoC6NJknN6nBlc5c5kVvGTYr7uC7pouIswNGeLo8XjUXF0hKfbkUX_ZiayMyPRnXY7IX4bE9wG7-29dmZVTYG7nJpROq_eMoVmESCRCYIGICqm_E433-vbEAQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579184,"updated":1612579184,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-key-name74771142/403d5685851d4a699ad4944a54e418de","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vIh0_gy3BL5-ps9vYADC_B3k-JglfkaPfbFIE2jhl5j23PLq7to5FTvRPRzEtu8AdPx99rTdB5nFsjr0L3WYlA7aLDUWMe6TVqcKHTsszURF3-U5Bki4KQb6cnifO1uOqls24q0Akop68rW0oZmEI21gDMehvtgt5e0H43po8BKslAU8vyzXZOVyfe3OoHvi8lGG3xSP8_WSkfpLSpiQaeTcj1WJdyKud67AUIPOa1-vm8IshLzK7icY7DSJJG8eYsgE67S3SdC563ePgxQhS_2eYY6mI01DJBkyB_z-N3lwNQIkKpSDApU4RTZX-ldKble_jXva34Tark-LTEF5YQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181072,"updated":1616181072,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '698' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:44 GMT + date: Fri, 19 Mar 2021 19:11:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-key-name13760eb7/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-key-name74771142/create?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge.yaml deleted file mode 100644 index ba602827113f..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge.yaml +++ /dev/null @@ -1,1438 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey092670ac9/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:39:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey092670ac9/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey092670ac9/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey092670ac9/bf97157a72f8493eb292f9b25309ab37","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v3dCBBbvl9Vl0Gxb3pdI8bKmYXr7mtfrbPEhy8OwyxZU8nG3Fk9rEOUubnrVw1DL5KJ3pODqLj6-5NPpsxjeKn3NkzlHX4BHJUdTIewPthK-HmI_U3pLcvp_1iCQtdX5Ez4SaPIEpsBSJVfoemI8t3RE0u23ghnOJq95B_zNuiyRiahawRcnmstTZrqS9d0OZXlWiP8HNXQzVNb7sAYHJKk4CyTK6MmqxFumPP86N62hQQBSP36wxe9Lm9UnPX6ladW-ypOnBcjv9T33dz7my1rwS9i2EdeGTw03_bItTZWK3HltVK-LkbcqOKW0LM3zCb0etnoaLoOooMBJN0h3aQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579185,"updated":1612579185,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey092670ac9/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey192670ac9/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey192670ac9/142f62845a8941ce938c1e50895d8b95","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2oV2vsaubzdICqL22kBvBJzWo4QtW8_gfl0EOk6rhmpW1dohXPM0-1rz8kbQGnqap7cyG__62_ax9C_9BW7BYAUaueP0O2Gst6nkRc8PQC1P5bMNvKFVsbFS_Mh8g4QIMnm9z1zlcc5C53Mbk9DftGsfsSVNvjZX3K3zII-1XGUQ9409wjQYWEpgmWkc_mJo4cRWggLCL5EsPcixX9Fpi3uyCj05GVD4s2XH855GbOx1MoT_3kNI_dFfUa9lvUAtBjhJiOSjwx3qYWJfZdjCnHtywHh5p13FgAUz3LSgDBZZjVBPZ-t7JoGL3qRY5f7IkpEtpWcFTjR_Y-J2W2OkFQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579186,"updated":1612579186,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey192670ac9/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey292670ac9/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey292670ac9/993b1df4b10d4cf6b0aa8cca1b5f6efc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v4YKWEVHblI-xxNsGfqKmDY-7EQbXER-Q4KQSxi0g0-Ovp81pQJB03O70Tli3UEfjZ7qKvwHyfnAP4pctF_zzv1iiTdf2v0UKGZB8ttgXvFD3xRpcK6_w2UPVPIhu4zQCdFa95V4gsS0kV2teQfOVXggu089oFtvYsCP8W_9ur2gH3KlLOVMcFg-kR7a7w2snuJiCDuroU3D0zf2McVA25sklw5dM8sMcOCB3EsUOPXA5dxYMKj-OdksYpW4MwrVK5LRvQWLObJCR1h7y0Iqf5HCQ1csF3IVjUIcgNdGRG_lh2zxO-QBOTCnKir78ONOa-ET2bz2fMG53ws5Ra2zNQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579186,"updated":1612579186,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey292670ac9/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey392670ac9/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey392670ac9/39e5db57f31c4653a70d93f0ad0708c2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tMUdiDHvPdtPNi8ZNNThC_8z9api-kCX-dowJVhVto-JJpVfVdOe9anXtmAZkm-ED_gQ06crWrTu3gf1PEHSNF48lkGi5xdjeSUDj-QscYPYWPmkUiykMFoy2JgmuPiQ-B9cAREHwrbLeN0Qv854zRn1pGXvL-_SIzpoW3qW8TM0jnNcaOdJY-HdB4YOt8vkhqsjD1zvCh_PnHQwC2Z_filMa6gqgz9J-oAeblTX84D6aLfb-TJ033IjrUZde3WLZHNCzVDDBnLYiJ6RjYUopSkL43p5wqFPnkArF0JHBz1X_-g8IL8L6WMMXmSUvu1soKjs2jTha-Wmui-uLpbVwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579186,"updated":1612579186,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:47 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey392670ac9/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey492670ac9/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey492670ac9/1379e2f36c784f07a3b81ee22c2d2c7c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"9JhPBm2rs7A4fqJvoKNfb9ntjC6g8DPu7522wO01Ed0N41abJgUwcl82vetx6I_zoL2IYrWpE7uTdIXKeEJ7K8ocQ8lWDJDdSX2e9zTu2SfBGT-diqqfmWNmVnkr8LDm8d4selFKTVfQ8xaT0yRLGZyO28b_LFVFd8opvNzRI9UhksfbqcYSfXkzleW3QPJPOsK4uF8FQkyGjqcYfIeRZakXX5BMTxWcTq702p2MB9K1UKb-UpeAVZZk_M9oZW_4AeVtZuGEamoTUKpSRT1zNTJOzhu44jV5uSBjMZaK-O_A7aV1PdZmBKg6FoDQCYgDJkzKH_ai7oRkie7SLITkPQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579187,"updated":1612579187,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:47 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey492670ac9/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey592670ac9/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey592670ac9/69eadfaee7bb4379866c1740dfbe0440","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xogincFwLBxpDiEfQnnFM67pYam7i4RuwZbtzgVX8T5OVocGDX9Wi56KzH0XssRipGzBg4WhJKfz2S7r0FLYz7pll0okpKBZlKaRaZJgjAOGy2LAML1HApt111N_pEuqIbYThzUvIGug4bxabZsl8-aiwOdRd8xpC5p_X5BiadxqKWR_1cJy_152p__qj9C5GYkcNN8nYuFYnkkMDLcHJzx4xn-WmO0fMZC8XPwZpk9gmLaGNzSrQmsBv4_GZhQiqHIxKYQG5_dvgKZE8lD9uRM36v3OkPMICHs_5W1FatXfgrewXZpZDihn8vhI043hUaU13xRqv-U0gwtlRLuuJQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579187,"updated":1612579187,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:47 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey592670ac9/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey692670ac9/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey692670ac9/e77fcaf150e3469591f8c8f310bb660a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5hCxC_JEu31cj0AGFCorAtITP_NNyM1Vp_KWoJY8pZBkOeU-8cErURd5Mjm9pdhMCLFrzbk_1UeTkjLndeOCZysnGkj-5W2Av4iv3P7hIBKH6lQPpE63qo0l6fvyRTZtBkXjfoizFQv5piacolmWzagE3DdPOrpSNL_XTUb3UFlnSCUdjS8Vb19RwQlUUUdyXAs7UKOQCUd2jP-zNdDWm9ogUkZOYRvGuuQPoZc8PRDfRk2NrkfjTd5koj8q5wO0F9-lcKQ-ad6dnrcMlAoEQqp1AbmE5gvwkyJDnxjG9j0NkJ0Qy_l3qPbUN9c3puA0EKpV2gHT1YdGfu8gDGEy7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579188,"updated":1612579188,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:48 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey692670ac9/create?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey092670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey092670ac9","deletedDate":1612579188,"scheduledPurgeDate":1620355188,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey092670ac9/bf97157a72f8493eb292f9b25309ab37","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v3dCBBbvl9Vl0Gxb3pdI8bKmYXr7mtfrbPEhy8OwyxZU8nG3Fk9rEOUubnrVw1DL5KJ3pODqLj6-5NPpsxjeKn3NkzlHX4BHJUdTIewPthK-HmI_U3pLcvp_1iCQtdX5Ez4SaPIEpsBSJVfoemI8t3RE0u23ghnOJq95B_zNuiyRiahawRcnmstTZrqS9d0OZXlWiP8HNXQzVNb7sAYHJKk4CyTK6MmqxFumPP86N62hQQBSP36wxe9Lm9UnPX6ladW-ypOnBcjv9T33dz7my1rwS9i2EdeGTw03_bItTZWK3HltVK-LkbcqOKW0LM3zCb0etnoaLoOooMBJN0h3aQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579185,"updated":1612579185,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:48 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey092670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey092670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey092670ac9"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:48 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey092670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey092670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey092670ac9","deletedDate":1612579188,"scheduledPurgeDate":1620355188,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey092670ac9/bf97157a72f8493eb292f9b25309ab37","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v3dCBBbvl9Vl0Gxb3pdI8bKmYXr7mtfrbPEhy8OwyxZU8nG3Fk9rEOUubnrVw1DL5KJ3pODqLj6-5NPpsxjeKn3NkzlHX4BHJUdTIewPthK-HmI_U3pLcvp_1iCQtdX5Ez4SaPIEpsBSJVfoemI8t3RE0u23ghnOJq95B_zNuiyRiahawRcnmstTZrqS9d0OZXlWiP8HNXQzVNb7sAYHJKk4CyTK6MmqxFumPP86N62hQQBSP36wxe9Lm9UnPX6ladW-ypOnBcjv9T33dz7my1rwS9i2EdeGTw03_bItTZWK3HltVK-LkbcqOKW0LM3zCb0etnoaLoOooMBJN0h3aQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579185,"updated":1612579185,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:50 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey092670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey192670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey192670ac9","deletedDate":1612579191,"scheduledPurgeDate":1620355191,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey192670ac9/142f62845a8941ce938c1e50895d8b95","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2oV2vsaubzdICqL22kBvBJzWo4QtW8_gfl0EOk6rhmpW1dohXPM0-1rz8kbQGnqap7cyG__62_ax9C_9BW7BYAUaueP0O2Gst6nkRc8PQC1P5bMNvKFVsbFS_Mh8g4QIMnm9z1zlcc5C53Mbk9DftGsfsSVNvjZX3K3zII-1XGUQ9409wjQYWEpgmWkc_mJo4cRWggLCL5EsPcixX9Fpi3uyCj05GVD4s2XH855GbOx1MoT_3kNI_dFfUa9lvUAtBjhJiOSjwx3qYWJfZdjCnHtywHh5p13FgAUz3LSgDBZZjVBPZ-t7JoGL3qRY5f7IkpEtpWcFTjR_Y-J2W2OkFQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579186,"updated":1612579186,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:50 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey192670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey192670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey192670ac9"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:50 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey192670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey192670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey192670ac9","deletedDate":1612579191,"scheduledPurgeDate":1620355191,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey192670ac9/142f62845a8941ce938c1e50895d8b95","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2oV2vsaubzdICqL22kBvBJzWo4QtW8_gfl0EOk6rhmpW1dohXPM0-1rz8kbQGnqap7cyG__62_ax9C_9BW7BYAUaueP0O2Gst6nkRc8PQC1P5bMNvKFVsbFS_Mh8g4QIMnm9z1zlcc5C53Mbk9DftGsfsSVNvjZX3K3zII-1XGUQ9409wjQYWEpgmWkc_mJo4cRWggLCL5EsPcixX9Fpi3uyCj05GVD4s2XH855GbOx1MoT_3kNI_dFfUa9lvUAtBjhJiOSjwx3qYWJfZdjCnHtywHh5p13FgAUz3LSgDBZZjVBPZ-t7JoGL3qRY5f7IkpEtpWcFTjR_Y-J2W2OkFQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579186,"updated":1612579186,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey192670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey292670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey292670ac9","deletedDate":1612579193,"scheduledPurgeDate":1620355193,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey292670ac9/993b1df4b10d4cf6b0aa8cca1b5f6efc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v4YKWEVHblI-xxNsGfqKmDY-7EQbXER-Q4KQSxi0g0-Ovp81pQJB03O70Tli3UEfjZ7qKvwHyfnAP4pctF_zzv1iiTdf2v0UKGZB8ttgXvFD3xRpcK6_w2UPVPIhu4zQCdFa95V4gsS0kV2teQfOVXggu089oFtvYsCP8W_9ur2gH3KlLOVMcFg-kR7a7w2snuJiCDuroU3D0zf2McVA25sklw5dM8sMcOCB3EsUOPXA5dxYMKj-OdksYpW4MwrVK5LRvQWLObJCR1h7y0Iqf5HCQ1csF3IVjUIcgNdGRG_lh2zxO-QBOTCnKir78ONOa-ET2bz2fMG53ws5Ra2zNQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579186,"updated":1612579186,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:52 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey292670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey292670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey292670ac9"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey292670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey292670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey292670ac9","deletedDate":1612579193,"scheduledPurgeDate":1620355193,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey292670ac9/993b1df4b10d4cf6b0aa8cca1b5f6efc","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"v4YKWEVHblI-xxNsGfqKmDY-7EQbXER-Q4KQSxi0g0-Ovp81pQJB03O70Tli3UEfjZ7qKvwHyfnAP4pctF_zzv1iiTdf2v0UKGZB8ttgXvFD3xRpcK6_w2UPVPIhu4zQCdFa95V4gsS0kV2teQfOVXggu089oFtvYsCP8W_9ur2gH3KlLOVMcFg-kR7a7w2snuJiCDuroU3D0zf2McVA25sklw5dM8sMcOCB3EsUOPXA5dxYMKj-OdksYpW4MwrVK5LRvQWLObJCR1h7y0Iqf5HCQ1csF3IVjUIcgNdGRG_lh2zxO-QBOTCnKir78ONOa-ET2bz2fMG53ws5Ra2zNQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579186,"updated":1612579186,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:56 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey292670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey392670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey392670ac9","deletedDate":1612579196,"scheduledPurgeDate":1620355196,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey392670ac9/39e5db57f31c4653a70d93f0ad0708c2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tMUdiDHvPdtPNi8ZNNThC_8z9api-kCX-dowJVhVto-JJpVfVdOe9anXtmAZkm-ED_gQ06crWrTu3gf1PEHSNF48lkGi5xdjeSUDj-QscYPYWPmkUiykMFoy2JgmuPiQ-B9cAREHwrbLeN0Qv854zRn1pGXvL-_SIzpoW3qW8TM0jnNcaOdJY-HdB4YOt8vkhqsjD1zvCh_PnHQwC2Z_filMa6gqgz9J-oAeblTX84D6aLfb-TJ033IjrUZde3WLZHNCzVDDBnLYiJ6RjYUopSkL43p5wqFPnkArF0JHBz1X_-g8IL8L6WMMXmSUvu1soKjs2jTha-Wmui-uLpbVwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579186,"updated":1612579186,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:56 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey392670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey392670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey392670ac9"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39:56 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey392670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey392670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey392670ac9","deletedDate":1612579196,"scheduledPurgeDate":1620355196,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey392670ac9/39e5db57f31c4653a70d93f0ad0708c2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tMUdiDHvPdtPNi8ZNNThC_8z9api-kCX-dowJVhVto-JJpVfVdOe9anXtmAZkm-ED_gQ06crWrTu3gf1PEHSNF48lkGi5xdjeSUDj-QscYPYWPmkUiykMFoy2JgmuPiQ-B9cAREHwrbLeN0Qv854zRn1pGXvL-_SIzpoW3qW8TM0jnNcaOdJY-HdB4YOt8vkhqsjD1zvCh_PnHQwC2Z_filMa6gqgz9J-oAeblTX84D6aLfb-TJ033IjrUZde3WLZHNCzVDDBnLYiJ6RjYUopSkL43p5wqFPnkArF0JHBz1X_-g8IL8L6WMMXmSUvu1soKjs2jTha-Wmui-uLpbVwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579186,"updated":1612579186,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey392670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey492670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey492670ac9","deletedDate":1612579199,"scheduledPurgeDate":1620355199,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey492670ac9/1379e2f36c784f07a3b81ee22c2d2c7c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"9JhPBm2rs7A4fqJvoKNfb9ntjC6g8DPu7522wO01Ed0N41abJgUwcl82vetx6I_zoL2IYrWpE7uTdIXKeEJ7K8ocQ8lWDJDdSX2e9zTu2SfBGT-diqqfmWNmVnkr8LDm8d4selFKTVfQ8xaT0yRLGZyO28b_LFVFd8opvNzRI9UhksfbqcYSfXkzleW3QPJPOsK4uF8FQkyGjqcYfIeRZakXX5BMTxWcTq702p2MB9K1UKb-UpeAVZZk_M9oZW_4AeVtZuGEamoTUKpSRT1zNTJOzhu44jV5uSBjMZaK-O_A7aV1PdZmBKg6FoDQCYgDJkzKH_ai7oRkie7SLITkPQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579187,"updated":1612579187,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey492670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey492670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey492670ac9"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:39: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey492670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey492670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey492670ac9","deletedDate":1612579199,"scheduledPurgeDate":1620355199,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey492670ac9/1379e2f36c784f07a3b81ee22c2d2c7c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"9JhPBm2rs7A4fqJvoKNfb9ntjC6g8DPu7522wO01Ed0N41abJgUwcl82vetx6I_zoL2IYrWpE7uTdIXKeEJ7K8ocQ8lWDJDdSX2e9zTu2SfBGT-diqqfmWNmVnkr8LDm8d4selFKTVfQ8xaT0yRLGZyO28b_LFVFd8opvNzRI9UhksfbqcYSfXkzleW3QPJPOsK4uF8FQkyGjqcYfIeRZakXX5BMTxWcTq702p2MB9K1UKb-UpeAVZZk_M9oZW_4AeVtZuGEamoTUKpSRT1zNTJOzhu44jV5uSBjMZaK-O_A7aV1PdZmBKg6FoDQCYgDJkzKH_ai7oRkie7SLITkPQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579187,"updated":1612579187,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey492670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey592670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey592670ac9","deletedDate":1612579201,"scheduledPurgeDate":1620355201,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey592670ac9/69eadfaee7bb4379866c1740dfbe0440","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xogincFwLBxpDiEfQnnFM67pYam7i4RuwZbtzgVX8T5OVocGDX9Wi56KzH0XssRipGzBg4WhJKfz2S7r0FLYz7pll0okpKBZlKaRaZJgjAOGy2LAML1HApt111N_pEuqIbYThzUvIGug4bxabZsl8-aiwOdRd8xpC5p_X5BiadxqKWR_1cJy_152p__qj9C5GYkcNN8nYuFYnkkMDLcHJzx4xn-WmO0fMZC8XPwZpk9gmLaGNzSrQmsBv4_GZhQiqHIxKYQG5_dvgKZE8lD9uRM36v3OkPMICHs_5W1FatXfgrewXZpZDihn8vhI043hUaU13xRqv-U0gwtlRLuuJQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579187,"updated":1612579187,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey592670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey592670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey592670ac9"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey592670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey592670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey592670ac9","deletedDate":1612579201,"scheduledPurgeDate":1620355201,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey592670ac9/69eadfaee7bb4379866c1740dfbe0440","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xogincFwLBxpDiEfQnnFM67pYam7i4RuwZbtzgVX8T5OVocGDX9Wi56KzH0XssRipGzBg4WhJKfz2S7r0FLYz7pll0okpKBZlKaRaZJgjAOGy2LAML1HApt111N_pEuqIbYThzUvIGug4bxabZsl8-aiwOdRd8xpC5p_X5BiadxqKWR_1cJy_152p__qj9C5GYkcNN8nYuFYnkkMDLcHJzx4xn-WmO0fMZC8XPwZpk9gmLaGNzSrQmsBv4_GZhQiqHIxKYQG5_dvgKZE8lD9uRM36v3OkPMICHs_5W1FatXfgrewXZpZDihn8vhI043hUaU13xRqv-U0gwtlRLuuJQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579187,"updated":1612579187,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey592670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey692670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey692670ac9","deletedDate":1612579204,"scheduledPurgeDate":1620355204,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey692670ac9/e77fcaf150e3469591f8c8f310bb660a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5hCxC_JEu31cj0AGFCorAtITP_NNyM1Vp_KWoJY8pZBkOeU-8cErURd5Mjm9pdhMCLFrzbk_1UeTkjLndeOCZysnGkj-5W2Av4iv3P7hIBKH6lQPpE63qo0l6fvyRTZtBkXjfoizFQv5piacolmWzagE3DdPOrpSNL_XTUb3UFlnSCUdjS8Vb19RwQlUUUdyXAs7UKOQCUd2jP-zNdDWm9ogUkZOYRvGuuQPoZc8PRDfRk2NrkfjTd5koj8q5wO0F9-lcKQ-ad6dnrcMlAoEQqp1AbmE5gvwkyJDnxjG9j0NkJ0Qy_l3qPbUN9c3puA0EKpV2gHT1YdGfu8gDGEy7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579188,"updated":1612579188,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey692670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey692670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey692670ac9"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:04 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey692670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey692670ac9?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey692670ac9","deletedDate":1612579204,"scheduledPurgeDate":1620355204,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey692670ac9/e77fcaf150e3469591f8c8f310bb660a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5hCxC_JEu31cj0AGFCorAtITP_NNyM1Vp_KWoJY8pZBkOeU-8cErURd5Mjm9pdhMCLFrzbk_1UeTkjLndeOCZysnGkj-5W2Av4iv3P7hIBKH6lQPpE63qo0l6fvyRTZtBkXjfoizFQv5piacolmWzagE3DdPOrpSNL_XTUb3UFlnSCUdjS8Vb19RwQlUUUdyXAs7UKOQCUd2jP-zNdDWm9ogUkZOYRvGuuQPoZc8PRDfRk2NrkfjTd5koj8q5wO0F9-lcKQ-ad6dnrcMlAoEQqp1AbmE5gvwkyJDnxjG9j0NkJ0Qy_l3qPbUN9c3puA0EKpV2gHT1YdGfu8gDGEy7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579188,"updated":1612579188,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:06 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey692670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey092670ac9?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: no-cache - date: Sat, 06 Feb 2021 02:40:06 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey092670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey192670ac9?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: no-cache - date: Sat, 06 Feb 2021 02:40:07 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey192670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey292670ac9?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: no-cache - date: Sat, 06 Feb 2021 02:40:08 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey292670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey392670ac9?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: no-cache - date: Sat, 06 Feb 2021 02:40:08 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey392670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey492670ac9?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: no-cache - date: Sat, 06 Feb 2021 02:40:10 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey492670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey592670ac9?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: no-cache - date: Sat, 06 Feb 2021 02:40:10 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey592670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey692670ac9?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: no-cache - date: Sat, 06 Feb 2021 02:40:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 204 - message: No Content - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey692670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey092670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey092670ac9 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey092670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey192670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey192670ac9 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey192670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey292670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey292670ac9 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey292670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey392670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey392670ac9 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:15 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey392670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey492670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey492670ac9 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:15 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey492670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey592670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey592670ac9 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:15 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey592670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey692670ac9?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey692670ac9 - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:15 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey692670ac9?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key51c4108d","deletedDate":1612578997,"scheduledPurgeDate":1620354997,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key51c4108d","attributes":{"enabled":true,"exp":2524723200,"created":1612578995,"updated":1612578997,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-key5416109f","deletedDate":1612579135,"scheduledPurgeDate":1620355135,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-key5416109f","attributes":{"enabled":true,"exp":2524723200,"created":1612579133,"updated":1612579134,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated - tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey030c90fa1","deletedDate":1612579032,"scheduledPurgeDate":1620355032,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey030c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey032f70fb3","deletedDate":1612579164,"scheduledPurgeDate":1620355164,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey032f70fb3","attributes":{"enabled":true,"created":1612579144,"updated":1612579144,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNRUkwUkVRd1F6QkJMekJETURnek16UTBOME0yT1RSRlFUQTRRVGRDUmpVMU56TXhNVFUyUVVNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: no-cache - content-length: '1888' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:16 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNRUkwUkVRd1F6QkJMekJETURnek16UTBOME0yT1RSRlFUQTRRVGRDUmpVMU56TXhNVFUyUVVNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey130c90fa1","deletedDate":1612579022,"scheduledPurgeDate":1620355022,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey130c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey132f70fb3","deletedDate":1612579160,"scheduledPurgeDate":1620355160,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey132f70fb3","attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey230c90fa1","deletedDate":1612579009,"scheduledPurgeDate":1620355009,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey230c90fa1","attributes":{"enabled":true,"created":1612579007,"updated":1612579007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey232f70fb3","deletedDate":1612579147,"scheduledPurgeDate":1620355147,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey232f70fb3","attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey330c90fa1","deletedDate":1612579027,"scheduledPurgeDate":1620355027,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey330c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey332f70fb3","deletedDate":1612579169,"scheduledPurgeDate":1620355169,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey332f70fb3","attributes":{"enabled":true,"created":1612579145,"updated":1612579145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16a3hNVEV3UVVJM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: no-cache - content-length: '2408' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:16 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNRUkwUkVRd1F6QkJMekJETURnek16UTBOME0yT1RSRlFUQTRRVGRDUmpVMU56TXhNVFUyUVVNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16a3hNVEV3UVVJM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey430c90fa1","deletedDate":1612579034,"scheduledPurgeDate":1620355034,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey430c90fa1","attributes":{"enabled":true,"created":1612579008,"updated":1612579008,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey432f70fb3","deletedDate":1612579152,"scheduledPurgeDate":1620355152,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey432f70fb3","attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey530c90fa1","deletedDate":1612579012,"scheduledPurgeDate":1620355012,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey530c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey532f70fb3","deletedDate":1612579154,"scheduledPurgeDate":1620355154,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey532f70fb3","attributes":{"enabled":true,"created":1612579146,"updated":1612579146,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOVUkwUkVRd1F6QkJMekZFT1VZd1F6STJRelJFUXpReE5EZENRamswUTBJNVFrVTRNVFZFT1RZNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' - headers: - cache-control: no-cache - content-length: '1764' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16a3hNVEV3UVVJM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOVUkwUkVRd1F6QkJMekZFT1VZd1F6STJRelJFUXpReE5EZENRamswUTBJNVFrVTRNVFZFT1RZNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 - response: - body: - string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey630c90fa1","deletedDate":1612579017,"scheduledPurgeDate":1620355017,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey630c90fa1","attributes":{"enabled":true,"created":1612579009,"updated":1612579009,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey632f70fb3","deletedDate":1612579157,"scheduledPurgeDate":1620355157,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey632f70fb3","attributes":{"enabled":true,"created":1612579147,"updated":1612579147,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1VZM1JUQXdSVE5CSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ"}' - headers: - cache-control: no-cache - content-length: '1007' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpOVUkwUkVRd1F6QkJMekZFT1VZd1F6STJRelJFUXpReE5EZENRamswUTBJNVFrVTRNVFZFT1RZNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1VZM1JUQXdSVE5CSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ - response: - body: - string: '{"value":[],"nextLink":null}' - headers: - cache-control: no-cache - content-length: '28' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJV3RsZVM5TVNWWkZTMVpVUlZOVVZFVlRWRXRGV1VZM1JUQXdSVE5CSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge_mhsm.yaml new file mode 100644 index 000000000000..2d016243d142 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge_mhsm.yaml @@ -0,0 +1,1070 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ce6e0cdd/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0ce6e0cdd/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ce6e0cdd/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181075,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181075},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ce6e0cdd/dbc35ecfe74c473012b87733f5424d76","kty":"RSA-HSM","n":"tYBQwat7TSnL6JUpGDF_CQIOm2k0ZZxuflkcVZVJgjGhLwGsEaZZQ_A7WiTiGuPvt_fGqjsrbpS9JzFWhk6g5V0FLyXe7cY0b-ktWa8gNu7bwvykc5pSWwaBnb70VbQaN9klEirQwY2owy7YwkDqj1Q9O5t50S-D-gZS4-n4qXIQRaGdZwGS9GCqE8paabdsFemt2LCjmcLmAacSmHt7jD6r_c1PICHsVM4Xbq6-gmjPAeWerRimjvkZlS7vTAYTkSk45avWA3L8zdaElrhxkxcpUAkB1m8j9y8yX-sAVrC2s5PLc9ZdZxcxlfVoJjifIQ2pXw9kWFtIC6zB7liaPw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '244' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0ce6e0cdd/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ce6e0cdd/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181078,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181078},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ce6e0cdd/466556807ff803d007c5e8b19be52395","kty":"RSA-HSM","n":"sfvdvB9T6JoJimJHhcPQ9y_9BplcYZxfW3d3fMKBGRTrsZNdQ-RwBMSj35y0cnnAe-di_vPtxnANuj1x957jyDHuD7azJWKU8L7VhwGz5Iiy9q9KM1IDGX6zwt5iAIg-0GFqEx6B1Ajv7dLdZUcgXKACZetwoZ3A_Z1JARuzGDiCNlcuvMPyRZLqpZieR3nH2GIsCk0YyQ59LJm_WWP8XQXuQafSXZFGdrCpc5Tt33hI1oH6dBG7ztKvrX_d9Wu9SIgciazUIQwLFjsNJ9tNT-ERv-CAbRibGvXuS9vEtHdXyBjeeaySqfm1G-wM5hmOgAgd56zlfdi7Zu4ZE0WzGQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '240' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey1ce6e0cdd/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ce6e0cdd/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181080,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181080},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ce6e0cdd/443c1b25955e06cf151b1daeb4286b3e","kty":"RSA-HSM","n":"smmLAEXxxaXzm-rr08yN_8tlBBfXewrpGiw5EVpazAQarC2IYbWiz8onD5XLUjTgnZYwNu8N6TaJOuXD1dPib15UdsWzzKURttI-7_1N7Xr0ShLVSL-lqL7NTPfE2rMx7-df01Tx74gzTTZv-5p422AThLOJcMN908epS-qD7d6UXbQ88p29Ja1HgR3ufgco1Uj6Op1BAbDvXLuNT1-FObZfBnMBRT1t91fLYoC6_OkSC0-uoa_vwBhnThuv0ZkHMnzkZtl1celyinus1EZPP4ABJxpd1L0AzpTgi2MvgdkerA66eIsMaswbN1c5tuGxOJxR_qlNrBhiahpkN6XTRw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '217' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey2ce6e0cdd/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ce6e0cdd/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181082,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181082},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ce6e0cdd/e398523e0be74a013ba140d76572e282","kty":"RSA-HSM","n":"s5KizpELzuTElMMgWnNbWbjZ4QbdmwSYpasu-qRoyCnGrRc7Q7QmKPizf7ixNR-RzJSa-aqmGKtcd4sgC8k36weRYUru2VGmKa_x-U-BqglhwvM_8cVpqxoCOe8XkwCgp2pIoRy2Gcibxco3mz2TCQorSWHigprXpiMhB7_GSpGdDWSQ30xwAf6EU0wEfSKVDvFp3ho7cfghvrcIJRBPZGU22wb6f4f9QEBxXb-mjNkg0-Q8eQpAAIJsK9dnMJKWOFxaHCHTmP0ySioN1NwD4nd27nIueYuh_QxYngXzQGvV56kS8SXvc5DOy0uAkQzDGK-pWjJL6KqdLnHr5HagIQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '258' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey3ce6e0cdd/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ce6e0cdd/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181085,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181085},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ce6e0cdd/d4bb989ce31c4c53a68a3869f00de594","kty":"RSA-HSM","n":"rfYiO0Y-g-lwMHD03sBZYzS_4ZRJ2jHQMRfTd1AiIeOhJ_uGiNBzqO5PgR77AL83Wx-SoEUxW4syjkJsHJaHKjhlMNFE6XsGeAbgHiSJXkx8reHz3dGdQNxCJqJnDCMAsPdB0p_0oZkM5-curs0qphblIyXU5pHKgFEIUsBXNy3q-TXiiCVUpv3XG4ZmgQODxy0Zyp5T48NcKOJCwypPUQ0f_6UD3mCNYz3vQ4GDtaRAtxOUaCeAaVIWHdRayWUHMT2vKRv8Lg8gtRWnobwpEJjehnK6VH5J5NEwp4CCNd9YFjNcupIphNjXzwTaXwjnqc2yfCyu0qbhuo_kmE0tAQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '236' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey4ce6e0cdd/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ce6e0cdd/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181087,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181087},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ce6e0cdd/0523968b21994f240528af4fe94ef760","kty":"RSA-HSM","n":"iTxRJ8ry0X9SmNoCKFGEJe2E0Wm3ge7RZVqVxWX2w5Wmx-dHV2uNkQ0eO1QJ9JY-XgZSEkh2XwxOGzati95lDtVx_j8vCjjDIkrPratNpo0mwNZULf8PxexSfrl4ieOzC8MqA_givrrBh6yWbyVcrLocdWPfV1sx1BExkV5vJu6Pk4aXui3R0DdAMY_z2odEBODKfesbNtzCUpRhRa0Xzd6t4u84EC36DywfVUnUby-bsUL5xzZ9Zn1ZnUr0GohNS_GoQi_naEPusAYqf88TeBcDeKXQhyGUtULNqbZiel0VPIWarqgdUKlYtqR0bzU-qLLi7HtrSqVQEojDHI5d2w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '231' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey5ce6e0cdd/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ce6e0cdd/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181089,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181089},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ce6e0cdd/28983d551a530ae80946b122066bd8ff","kty":"RSA-HSM","n":"0rTTgficC81Mcf-cHfLQEiHdPWS5RC9E5VVFdZD19gPBLyIgc0hvHB_1xOB1R8GPjtNQBmOqrbIdsejR4X7ji8i07S_t2f_8t8nendJ_MLEYBUnMtR0EsY1W_pi9mMK3zGAHrJb9i026RKMWPNlMjnxMZ4hfVE-uritMzMbq5MDcpyq6lUtIIo9q5K9iQSiXktOh1zz-22vQjv0xju5iuQ4pWpCVUYBMtjaKZu4NT9Q7j5Urd_CJux53X7Su68tqnvBhA4H7UaWoONsTEm_530b_p-gOUFaBSu0qOifvahJMveNShh9AZlipzpuubknEZCdEPXKQmnmquD28Wn-eqQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '237' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey6ce6e0cdd/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181075,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181075},"deletedDate":1616181090,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ce6e0cdd/dbc35ecfe74c473012b87733f5424d76","kty":"RSA-HSM","n":"tYBQwat7TSnL6JUpGDF_CQIOm2k0ZZxuflkcVZVJgjGhLwGsEaZZQ_A7WiTiGuPvt_fGqjsrbpS9JzFWhk6g5V0FLyXe7cY0b-ktWa8gNu7bwvykc5pSWwaBnb70VbQaN9klEirQwY2owy7YwkDqj1Q9O5t50S-D-gZS4-n4qXIQRaGdZwGS9GCqE8paabdsFemt2LCjmcLmAacSmHt7jD6r_c1PICHsVM4Xbq6-gmjPAeWerRimjvkZlS7vTAYTkSk45avWA3L8zdaElrhxkxcpUAkB1m8j9y8yX-sAVrC2s5PLc9ZdZxcxlfVoJjifIQ2pXw9kWFtIC6zB7liaPw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ce6e0cdd","scheduledPurgeDate":1623957090}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '188' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181075,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181075},"deletedDate":1616181090,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0ce6e0cdd/dbc35ecfe74c473012b87733f5424d76","kty":"RSA-HSM","n":"tYBQwat7TSnL6JUpGDF_CQIOm2k0ZZxuflkcVZVJgjGhLwGsEaZZQ_A7WiTiGuPvt_fGqjsrbpS9JzFWhk6g5V0FLyXe7cY0b-ktWa8gNu7bwvykc5pSWwaBnb70VbQaN9klEirQwY2owy7YwkDqj1Q9O5t50S-D-gZS4-n4qXIQRaGdZwGS9GCqE8paabdsFemt2LCjmcLmAacSmHt7jD6r_c1PICHsVM4Xbq6-gmjPAeWerRimjvkZlS7vTAYTkSk45avWA3L8zdaElrhxkxcpUAkB1m8j9y8yX-sAVrC2s5PLc9ZdZxcxlfVoJjifIQ2pXw9kWFtIC6zB7liaPw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ce6e0cdd","scheduledPurgeDate":1623957090}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '37' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey0ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181078,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181078},"deletedDate":1616181090,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ce6e0cdd/466556807ff803d007c5e8b19be52395","kty":"RSA-HSM","n":"sfvdvB9T6JoJimJHhcPQ9y_9BplcYZxfW3d3fMKBGRTrsZNdQ-RwBMSj35y0cnnAe-di_vPtxnANuj1x957jyDHuD7azJWKU8L7VhwGz5Iiy9q9KM1IDGX6zwt5iAIg-0GFqEx6B1Ajv7dLdZUcgXKACZetwoZ3A_Z1JARuzGDiCNlcuvMPyRZLqpZieR3nH2GIsCk0YyQ59LJm_WWP8XQXuQafSXZFGdrCpc5Tt33hI1oH6dBG7ztKvrX_d9Wu9SIgciazUIQwLFjsNJ9tNT-ERv-CAbRibGvXuS9vEtHdXyBjeeaySqfm1G-wM5hmOgAgd56zlfdi7Zu4ZE0WzGQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ce6e0cdd","scheduledPurgeDate":1623957090}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '189' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey1ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181078,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181078},"deletedDate":1616181090,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1ce6e0cdd/466556807ff803d007c5e8b19be52395","kty":"RSA-HSM","n":"sfvdvB9T6JoJimJHhcPQ9y_9BplcYZxfW3d3fMKBGRTrsZNdQ-RwBMSj35y0cnnAe-di_vPtxnANuj1x957jyDHuD7azJWKU8L7VhwGz5Iiy9q9KM1IDGX6zwt5iAIg-0GFqEx6B1Ajv7dLdZUcgXKACZetwoZ3A_Z1JARuzGDiCNlcuvMPyRZLqpZieR3nH2GIsCk0YyQ59LJm_WWP8XQXuQafSXZFGdrCpc5Tt33hI1oH6dBG7ztKvrX_d9Wu9SIgciazUIQwLFjsNJ9tNT-ERv-CAbRibGvXuS9vEtHdXyBjeeaySqfm1G-wM5hmOgAgd56zlfdi7Zu4ZE0WzGQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ce6e0cdd","scheduledPurgeDate":1623957090}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '33' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey1ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181080,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181080},"deletedDate":1616181091,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ce6e0cdd/443c1b25955e06cf151b1daeb4286b3e","kty":"RSA-HSM","n":"smmLAEXxxaXzm-rr08yN_8tlBBfXewrpGiw5EVpazAQarC2IYbWiz8onD5XLUjTgnZYwNu8N6TaJOuXD1dPib15UdsWzzKURttI-7_1N7Xr0ShLVSL-lqL7NTPfE2rMx7-df01Tx74gzTTZv-5p422AThLOJcMN908epS-qD7d6UXbQ88p29Ja1HgR3ufgco1Uj6Op1BAbDvXLuNT1-FObZfBnMBRT1t91fLYoC6_OkSC0-uoa_vwBhnThuv0ZkHMnzkZtl1celyinus1EZPP4ABJxpd1L0AzpTgi2MvgdkerA66eIsMaswbN1c5tuGxOJxR_qlNrBhiahpkN6XTRw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ce6e0cdd","scheduledPurgeDate":1623957091}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '200' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey2ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181080,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181080},"deletedDate":1616181091,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2ce6e0cdd/443c1b25955e06cf151b1daeb4286b3e","kty":"RSA-HSM","n":"smmLAEXxxaXzm-rr08yN_8tlBBfXewrpGiw5EVpazAQarC2IYbWiz8onD5XLUjTgnZYwNu8N6TaJOuXD1dPib15UdsWzzKURttI-7_1N7Xr0ShLVSL-lqL7NTPfE2rMx7-df01Tx74gzTTZv-5p422AThLOJcMN908epS-qD7d6UXbQ88p29Ja1HgR3ufgco1Uj6Op1BAbDvXLuNT1-FObZfBnMBRT1t91fLYoC6_OkSC0-uoa_vwBhnThuv0ZkHMnzkZtl1celyinus1EZPP4ABJxpd1L0AzpTgi2MvgdkerA66eIsMaswbN1c5tuGxOJxR_qlNrBhiahpkN6XTRw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ce6e0cdd","scheduledPurgeDate":1623957091}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '35' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey2ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181082,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181082},"deletedDate":1616181091,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ce6e0cdd/e398523e0be74a013ba140d76572e282","kty":"RSA-HSM","n":"s5KizpELzuTElMMgWnNbWbjZ4QbdmwSYpasu-qRoyCnGrRc7Q7QmKPizf7ixNR-RzJSa-aqmGKtcd4sgC8k36weRYUru2VGmKa_x-U-BqglhwvM_8cVpqxoCOe8XkwCgp2pIoRy2Gcibxco3mz2TCQorSWHigprXpiMhB7_GSpGdDWSQ30xwAf6EU0wEfSKVDvFp3ho7cfghvrcIJRBPZGU22wb6f4f9QEBxXb-mjNkg0-Q8eQpAAIJsK9dnMJKWOFxaHCHTmP0ySioN1NwD4nd27nIueYuh_QxYngXzQGvV56kS8SXvc5DOy0uAkQzDGK-pWjJL6KqdLnHr5HagIQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ce6e0cdd","scheduledPurgeDate":1623957091}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '198' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey3ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181082,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181082},"deletedDate":1616181091,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3ce6e0cdd/e398523e0be74a013ba140d76572e282","kty":"RSA-HSM","n":"s5KizpELzuTElMMgWnNbWbjZ4QbdmwSYpasu-qRoyCnGrRc7Q7QmKPizf7ixNR-RzJSa-aqmGKtcd4sgC8k36weRYUru2VGmKa_x-U-BqglhwvM_8cVpqxoCOe8XkwCgp2pIoRy2Gcibxco3mz2TCQorSWHigprXpiMhB7_GSpGdDWSQ30xwAf6EU0wEfSKVDvFp3ho7cfghvrcIJRBPZGU22wb6f4f9QEBxXb-mjNkg0-Q8eQpAAIJsK9dnMJKWOFxaHCHTmP0ySioN1NwD4nd27nIueYuh_QxYngXzQGvV56kS8SXvc5DOy0uAkQzDGK-pWjJL6KqdLnHr5HagIQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ce6e0cdd","scheduledPurgeDate":1623957091}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '32' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey3ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181085,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181085},"deletedDate":1616181092,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ce6e0cdd/d4bb989ce31c4c53a68a3869f00de594","kty":"RSA-HSM","n":"rfYiO0Y-g-lwMHD03sBZYzS_4ZRJ2jHQMRfTd1AiIeOhJ_uGiNBzqO5PgR77AL83Wx-SoEUxW4syjkJsHJaHKjhlMNFE6XsGeAbgHiSJXkx8reHz3dGdQNxCJqJnDCMAsPdB0p_0oZkM5-curs0qphblIyXU5pHKgFEIUsBXNy3q-TXiiCVUpv3XG4ZmgQODxy0Zyp5T48NcKOJCwypPUQ0f_6UD3mCNYz3vQ4GDtaRAtxOUaCeAaVIWHdRayWUHMT2vKRv8Lg8gtRWnobwpEJjehnK6VH5J5NEwp4CCNd9YFjNcupIphNjXzwTaXwjnqc2yfCyu0qbhuo_kmE0tAQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ce6e0cdd","scheduledPurgeDate":1623957092}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '190' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey4ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181085,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181085},"deletedDate":1616181092,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4ce6e0cdd/d4bb989ce31c4c53a68a3869f00de594","kty":"RSA-HSM","n":"rfYiO0Y-g-lwMHD03sBZYzS_4ZRJ2jHQMRfTd1AiIeOhJ_uGiNBzqO5PgR77AL83Wx-SoEUxW4syjkJsHJaHKjhlMNFE6XsGeAbgHiSJXkx8reHz3dGdQNxCJqJnDCMAsPdB0p_0oZkM5-curs0qphblIyXU5pHKgFEIUsBXNy3q-TXiiCVUpv3XG4ZmgQODxy0Zyp5T48NcKOJCwypPUQ0f_6UD3mCNYz3vQ4GDtaRAtxOUaCeAaVIWHdRayWUHMT2vKRv8Lg8gtRWnobwpEJjehnK6VH5J5NEwp4CCNd9YFjNcupIphNjXzwTaXwjnqc2yfCyu0qbhuo_kmE0tAQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ce6e0cdd","scheduledPurgeDate":1623957092}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '41' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey4ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181087,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181087},"deletedDate":1616181092,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ce6e0cdd/0523968b21994f240528af4fe94ef760","kty":"RSA-HSM","n":"iTxRJ8ry0X9SmNoCKFGEJe2E0Wm3ge7RZVqVxWX2w5Wmx-dHV2uNkQ0eO1QJ9JY-XgZSEkh2XwxOGzati95lDtVx_j8vCjjDIkrPratNpo0mwNZULf8PxexSfrl4ieOzC8MqA_givrrBh6yWbyVcrLocdWPfV1sx1BExkV5vJu6Pk4aXui3R0DdAMY_z2odEBODKfesbNtzCUpRhRa0Xzd6t4u84EC36DywfVUnUby-bsUL5xzZ9Zn1ZnUr0GohNS_GoQi_naEPusAYqf88TeBcDeKXQhyGUtULNqbZiel0VPIWarqgdUKlYtqR0bzU-qLLi7HtrSqVQEojDHI5d2w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ce6e0cdd","scheduledPurgeDate":1623957092}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '208' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey5ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181087,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181087},"deletedDate":1616181092,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5ce6e0cdd/0523968b21994f240528af4fe94ef760","kty":"RSA-HSM","n":"iTxRJ8ry0X9SmNoCKFGEJe2E0Wm3ge7RZVqVxWX2w5Wmx-dHV2uNkQ0eO1QJ9JY-XgZSEkh2XwxOGzati95lDtVx_j8vCjjDIkrPratNpo0mwNZULf8PxexSfrl4ieOzC8MqA_givrrBh6yWbyVcrLocdWPfV1sx1BExkV5vJu6Pk4aXui3R0DdAMY_z2odEBODKfesbNtzCUpRhRa0Xzd6t4u84EC36DywfVUnUby-bsUL5xzZ9Zn1ZnUr0GohNS_GoQi_naEPusAYqf88TeBcDeKXQhyGUtULNqbZiel0VPIWarqgdUKlYtqR0bzU-qLLi7HtrSqVQEojDHI5d2w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ce6e0cdd","scheduledPurgeDate":1623957092}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '32' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey5ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181089,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181089},"deletedDate":1616181092,"key":{"e":"AQAB","key_ops":["wrapKey","encrypt","decrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ce6e0cdd/28983d551a530ae80946b122066bd8ff","kty":"RSA-HSM","n":"0rTTgficC81Mcf-cHfLQEiHdPWS5RC9E5VVFdZD19gPBLyIgc0hvHB_1xOB1R8GPjtNQBmOqrbIdsejR4X7ji8i07S_t2f_8t8nendJ_MLEYBUnMtR0EsY1W_pi9mMK3zGAHrJb9i026RKMWPNlMjnxMZ4hfVE-uritMzMbq5MDcpyq6lUtIIo9q5K9iQSiXktOh1zz-22vQjv0xju5iuQ4pWpCVUYBMtjaKZu4NT9Q7j5Urd_CJux53X7Su68tqnvBhA4H7UaWoONsTEm_530b_p-gOUFaBSu0qOifvahJMveNShh9AZlipzpuubknEZCdEPXKQmnmquD28Wn-eqQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ce6e0cdd","scheduledPurgeDate":1623957092}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '207' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey6ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181089,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181089},"deletedDate":1616181092,"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","encrypt","decrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6ce6e0cdd/28983d551a530ae80946b122066bd8ff","kty":"RSA-HSM","n":"0rTTgficC81Mcf-cHfLQEiHdPWS5RC9E5VVFdZD19gPBLyIgc0hvHB_1xOB1R8GPjtNQBmOqrbIdsejR4X7ji8i07S_t2f_8t8nendJ_MLEYBUnMtR0EsY1W_pi9mMK3zGAHrJb9i026RKMWPNlMjnxMZ4hfVE-uritMzMbq5MDcpyq6lUtIIo9q5K9iQSiXktOh1zz-22vQjv0xju5iuQ4pWpCVUYBMtjaKZu4NT9Q7j5Urd_CJux53X7Su68tqnvBhA4H7UaWoONsTEm_530b_p-gOUFaBSu0qOifvahJMveNShh9AZlipzpuubknEZCdEPXKQmnmquD28Wn-eqQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ce6e0cdd","scheduledPurgeDate":1623957092}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '32' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey6ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ce6e0cdd?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '107' + status: + code: 204 + message: '' + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey0ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ce6e0cdd?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '110' + status: + code: 204 + message: '' + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey1ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ce6e0cdd?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '119' + status: + code: 204 + message: '' + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey2ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ce6e0cdd?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '124' + status: + code: 204 + message: '' + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey3ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ce6e0cdd?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '104' + status: + code: 204 + message: '' + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey4ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ce6e0cdd?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '111' + status: + code: 204 + message: '' + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey5ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ce6e0cdd?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '135' + status: + code: 204 + message: '' + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey6ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0ce6e0cdd + (Activity ID: ebedc4fa-88e6-11eb-9882-000d3a7dc10e)"}}' + headers: + cache-control: no-cache + content-length: '191' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: '26' + status: + code: 404 + message: Not Found + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey0ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1ce6e0cdd + (Activity ID: ec0053d6-88e6-11eb-9882-000d3a7dc10e)"}}' + headers: + cache-control: no-cache + content-length: '191' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: '29' + status: + code: 404 + message: Not Found + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey1ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2ce6e0cdd + (Activity ID: ec13bb10-88e6-11eb-9882-000d3a7dc10e)"}}' + headers: + cache-control: no-cache + content-length: '191' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: '30' + status: + code: 404 + message: Not Found + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey2ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3ce6e0cdd + (Activity ID: ec271516-88e6-11eb-9882-000d3a7dc10e)"}}' + headers: + cache-control: no-cache + content-length: '191' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: '30' + status: + code: 404 + message: Not Found + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey3ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4ce6e0cdd + (Activity ID: ec3af748-88e6-11eb-9882-000d3a7dc10e)"}}' + headers: + cache-control: no-cache + content-length: '191' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: '30' + status: + code: 404 + message: Not Found + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey4ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5ce6e0cdd + (Activity ID: ec4e6cc4-88e6-11eb-9882-000d3a7dc10e)"}}' + headers: + cache-control: no-cache + content-length: '191' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: '54' + status: + code: 404 + message: Not Found + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey5ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ce6e0cdd?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Key not found: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6ce6e0cdd + (Activity ID: ec65b942-88e6-11eb-9882-000d3a7dc10e)"}}' + headers: + cache-control: no-cache + content-length: '191' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-server-latency: '29' + status: + code: 404 + message: Not Found + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey6ce6e0cdd?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"nextLink":"https://managedhsmname.managedhsm.azure.net/deletedkeys?maxresults=25&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJ4QUFBQUFBQUFBQT09I1JUOjEjVFJDOjEwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw","value":[{"attributes":{"created":1616110888,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110888},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110891,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110891},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1850811b5","scheduledPurgeDate":1623886903},{"attributes":{"created":1616110893,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110893},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110895,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110895},"deletedDate":1616110905,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3850811b5","scheduledPurgeDate":1623886905},{"attributes":{"created":1616110898,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110898},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110900,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110900},"deletedDate":1616110904,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5850811b5","scheduledPurgeDate":1623886904},{"attributes":{"created":1616110902,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616110902},"deletedDate":1616110903,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6850811b5","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6850811b5","scheduledPurgeDate":1623886903},{"attributes":{"created":1616180625,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180625},"deletedDate":1616180641,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0879011c7","scheduledPurgeDate":1623956641},{"attributes":{"created":1616180627,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180627},"deletedDate":1616180639,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1879011c7","scheduledPurgeDate":1623956639},{"attributes":{"created":1616180629,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180629},"deletedDate":1616180641,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2879011c7","scheduledPurgeDate":1623956641}]}' + headers: + cache-control: no-cache + content-length: '4063' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '36' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys?maxresults=25&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJ4QUFBQUFBQUFBQT09I1JUOjEjVFJDOjEwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw + response: + body: + string: '{"value":[{"attributes":{"created":1616180632,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180632},"deletedDate":1616180640,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3879011c7","scheduledPurgeDate":1623956640},{"attributes":{"created":1616180634,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180634},"deletedDate":1616180640,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4879011c7","scheduledPurgeDate":1623956640},{"attributes":{"created":1616180636,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180636},"deletedDate":1616180639,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5879011c7","scheduledPurgeDate":1623956639},{"attributes":{"created":1616180639,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180639},"deletedDate":1616180640,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6879011c7","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6879011c7","scheduledPurgeDate":1623956640},{"attributes":{"created":1616180942,"enabled":true,"exp":2524723200,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616180943},"deletedDate":1616180943,"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestcrud-rsa-keyad4b12b3","recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestcrud-rsa-keyad4b12b3","scheduledPurgeDate":1623956943,"tags":{"foo":"updated + tag"}}]}' + headers: + cache-control: no-cache + content-length: '2008' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '31' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys?maxresults=25&$skiptoken=K1JJRDp-UEFzSEFJZ3ZDcVJ4QUFBQUFBQUFBQT09I1JUOjEjVFJDOjEwI0lTVjoyI0lFTzo2NTU2NyNRQ0Y6Mw +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge_vault.yaml new file mode 100644 index 000000000000..87c9757c8dc5 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_purge_vault.yaml @@ -0,0 +1,2576 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0dbd40d54/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 19:11:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0dbd40d54/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0dbd40d54/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0dbd40d54/7492f40a6b2947a390c8b26eb7ba4960","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wcafzaHoSYL0tePuE2w9IIufsuMZ-la_PDasA9PJAQCdA3xyJi4jtmyIpHUxqvO2EfTi02bg1EZjCCygGQFUgdIBYmYjxM7df7WlaCO6wEg7TfegIcAXw_7HScC_lcccZpr1gMmpDwvJpV5iTdH2-r-JZgmvPITdzkCa8FdtIIiZ7nFbtijjj2aM3VNg6VZW4lvLeu4_fiPA0yKfAoRO1ZQxpDn0Gx1V-iD0oJe_hf2cuigSarukBrv-ddQUxTd72etNSbdapT-xL1OEo1FK3mjYT7ClzldaiEnNkAo8i8vY5lIWzJj0j2Kw0XvXqCDI2PFRu2HcIEjiBegPANlG4Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181098,"updated":1616181098,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:39 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0dbd40d54/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1dbd40d54/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1dbd40d54/7dd0dbd7b9284b88bad20c5c962b3b33","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uAZBzL59WL_ZaK8_Ih28V_Q5CMFo400CHmnnUExz86zCugasNiB831AbYnLOOK8PIjPjOGUuUoPS-EfEIMrhke4us_-15eHEOSSOPFMwq_JO6CR5Q8DYwCUmsLGf0djzdsfGt7zaRjPniBftTDpRzo4CgnGoNzDP7v5rUHV31jCVz0ve9gZZB7HAs4BaMQ5cLXZgp69HdBjNv7-_AXp-o3EX36flAT1WvYkcKm3IxhyWnSmQx0C_tD3mgk0HvEl158GHjjmkLYtZjyE9CqBpnQP1EDBnhaAcp0U1HOd8HPqSU0OWQp6aNJGXDtXDplA-bHDRUR867orF4uO4Ot8WEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181101,"updated":1616181101,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1dbd40d54/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2dbd40d54/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2dbd40d54/6ab5466d7d9d43df82e07cb67ce5cf18","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"mzBhjUF-GBdE8GoeNZ_M6ZQP8LZKl-_IvrVXjuNFFTDUwrn_fRCkKkZ_TIiWzVTp6cSW_tS8dagFSaHCrLDMPPo3qCTIDXIoHWYotKPvemnbqSBl9adODmu5fwu_UHrzbZmUhYswkBMDfc_HcZ7XaXe6pyLlqdkEQNkVzYgs39qDPsz_zkNlem9GYhLtlFraiukto5qA8N91-wv8zs1w5PeowiNjAMlWcZITPiwg8T4Ua2jPdgCTyBxK5J4uwZsOMyKiHO9rZwsCsfqXMleSMgNQ_4PizWU8xnDMGAq6dsKcfQIPRXi2-eUyzkrTn1Pd-eiu_T0ulXQ3tHeIUdu1jQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181103,"updated":1616181103,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2dbd40d54/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3dbd40d54/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3dbd40d54/2f99cf63cc214f9ea92a5a6185b083ee","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"319iceekZNiz_VFsfYnV8TYUgGMupAuEjYqobqk9Tfhy_BuUA4qUxaT_QQFkxdPbBrW5RAECeCc-ApOk49Td63gn6ozJA4uCYUjEgbSzYaob4oxI-e4fG4OJI47M_NgIFWbnRbdZQkliPSCps0dxH3fcHEnUKX0GKrtFzb29XCpnOLWOn_iQMzMhAL-YMPCHak6I64gXrDuaWQ3LqAgq9h-GKswjRdNDLi9_sbYn4WEw8sskVAM0hPaAQj2YTmnqAoNrg2vakg_SYqIOIUSIqqs4i5PBMUstCjgJkhv8crFcQmKpufhOk9pOGBTsHflgZmrJTTSPVEIyc6rUiihygQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181106,"updated":1616181106,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:46 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3dbd40d54/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4dbd40d54/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4dbd40d54/f3d49e1461214f4789858454817f38ba","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sE-kH-Z0yoJeLKSC9Dr3-Ev2ogtNKWsqiYRRiNNvs8vNCpMA2GMzGqSAqld-b7XD-SaAATv71DEuoJ29fwBrnspiohai41XKuf2ef9VvyQ7ikOREoUnFzbtCwoZUmNT5VHWCzW1M4kyho9i6uwcyK--nOCQQs-GEq7WET_Dr32PG3s1ComtBV2RBFh6KloHFkCwDIe9jiEJxIeMvQTny6nPByg2Dd2cwRA3ZIx-gf9YaPJ2jgxeDNvYH9AsNaX8p6gAOZjvMnu2Rk5ONZQRXngEr9amb_JmR36F1QKTwlMMcB5cb3C5uaTaI041RhWdp_bkJVhoPVGCKxFoaWHn6mQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181108,"updated":1616181108,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4dbd40d54/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5dbd40d54/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5dbd40d54/b1d1967403f14fdd9aa61ff9bd4e995f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zP1wekQ-NEAoxHBleUMUyyh2vGxhGKHQMEz86FjEU_VP7upE93FBSduYE_H6nkIpF7kfTL5470d7SVw9JxMuFZqwg_e1gkPnbjVFk3-PXK0cKvdoNxvEt2i4dAs3-n9p67117Idy_SsyEdR3sq1C1vkt2TGOmjR7RN-mczvc2ZL6quIK4UMTqRnmDbvRALKrufCOZXLPpm89YWT5IUvunMlK_b8WE61JqPZWP97Mu1obsptqLJG7orvgnPkR6BnXH1XxRI2qI9FSyRw6JIJpldbxsjl8l8qB_z-jjCBfCpa4p8eRV62zJuTxIlYKKzUw0Gz9DnxgF0R1a5NdqJOD3Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181111,"updated":1616181111,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5dbd40d54/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6dbd40d54/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6dbd40d54/10920e5799814b43bcd8407c35c91f18","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x5usfVjWs_AtuVhraPDzhInE-RJ5f_8P5s0OzZnq4tplD3fEyYRXsomvLk_iEi7Epg_-V8TTXS75771rzrFaE5RZSYCmkHpDyiVQmQGqb0ZS4eZXSIWSs3WXEOt6r7wSJ7WtVcKL0yHzVG4Nz-9TT5NQzPA1j7CfwEL1JNH3Abj5K9D8YOAq0cYi0bFAo4x0llzdk-2S_sQW6CzJIJGEC67zQpoXlA_P9m67W5D_q9ZaiO26HEsX12JE2t604Aqp4lWUD-RAGNuzuedfkrNFXlmKQLqlfTIrFc2XNqSxo-Hmbg-lV7YkKi80ogj-U9ORVMz8O-HHnGa172GzNB6_DQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181113,"updated":1616181113,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6dbd40d54/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54","deletedDate":1616181113,"scheduledPurgeDate":1623957113,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0dbd40d54/7492f40a6b2947a390c8b26eb7ba4960","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wcafzaHoSYL0tePuE2w9IIufsuMZ-la_PDasA9PJAQCdA3xyJi4jtmyIpHUxqvO2EfTi02bg1EZjCCygGQFUgdIBYmYjxM7df7WlaCO6wEg7TfegIcAXw_7HScC_lcccZpr1gMmpDwvJpV5iTdH2-r-JZgmvPITdzkCa8FdtIIiZ7nFbtijjj2aM3VNg6VZW4lvLeu4_fiPA0yKfAoRO1ZQxpDn0Gx1V-iD0oJe_hf2cuigSarukBrv-ddQUxTd72etNSbdapT-xL1OEo1FK3mjYT7ClzldaiEnNkAo8i8vY5lIWzJj0j2Kw0XvXqCDI2PFRu2HcIEjiBegPANlG4Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181098,"updated":1616181098,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:11:57 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54","deletedDate":1616181113,"scheduledPurgeDate":1623957113,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0dbd40d54/7492f40a6b2947a390c8b26eb7ba4960","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wcafzaHoSYL0tePuE2w9IIufsuMZ-la_PDasA9PJAQCdA3xyJi4jtmyIpHUxqvO2EfTi02bg1EZjCCygGQFUgdIBYmYjxM7df7WlaCO6wEg7TfegIcAXw_7HScC_lcccZpr1gMmpDwvJpV5iTdH2-r-JZgmvPITdzkCa8FdtIIiZ7nFbtijjj2aM3VNg6VZW4lvLeu4_fiPA0yKfAoRO1ZQxpDn0Gx1V-iD0oJe_hf2cuigSarukBrv-ddQUxTd72etNSbdapT-xL1OEo1FK3mjYT7ClzldaiEnNkAo8i8vY5lIWzJj0j2Kw0XvXqCDI2PFRu2HcIEjiBegPANlG4Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181098,"updated":1616181098,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54","deletedDate":1616181127,"scheduledPurgeDate":1623957127,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1dbd40d54/7dd0dbd7b9284b88bad20c5c962b3b33","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uAZBzL59WL_ZaK8_Ih28V_Q5CMFo400CHmnnUExz86zCugasNiB831AbYnLOOK8PIjPjOGUuUoPS-EfEIMrhke4us_-15eHEOSSOPFMwq_JO6CR5Q8DYwCUmsLGf0djzdsfGt7zaRjPniBftTDpRzo4CgnGoNzDP7v5rUHV31jCVz0ve9gZZB7HAs4BaMQ5cLXZgp69HdBjNv7-_AXp-o3EX36flAT1WvYkcKm3IxhyWnSmQx0C_tD3mgk0HvEl158GHjjmkLYtZjyE9CqBpnQP1EDBnhaAcp0U1HOd8HPqSU0OWQp6aNJGXDtXDplA-bHDRUR867orF4uO4Ot8WEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181101,"updated":1616181101,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:09 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54","deletedDate":1616181127,"scheduledPurgeDate":1623957127,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1dbd40d54/7dd0dbd7b9284b88bad20c5c962b3b33","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uAZBzL59WL_ZaK8_Ih28V_Q5CMFo400CHmnnUExz86zCugasNiB831AbYnLOOK8PIjPjOGUuUoPS-EfEIMrhke4us_-15eHEOSSOPFMwq_JO6CR5Q8DYwCUmsLGf0djzdsfGt7zaRjPniBftTDpRzo4CgnGoNzDP7v5rUHV31jCVz0ve9gZZB7HAs4BaMQ5cLXZgp69HdBjNv7-_AXp-o3EX36flAT1WvYkcKm3IxhyWnSmQx0C_tD3mgk0HvEl158GHjjmkLYtZjyE9CqBpnQP1EDBnhaAcp0U1HOd8HPqSU0OWQp6aNJGXDtXDplA-bHDRUR867orF4uO4Ot8WEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181101,"updated":1616181101,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54","deletedDate":1616181142,"scheduledPurgeDate":1623957142,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2dbd40d54/6ab5466d7d9d43df82e07cb67ce5cf18","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"mzBhjUF-GBdE8GoeNZ_M6ZQP8LZKl-_IvrVXjuNFFTDUwrn_fRCkKkZ_TIiWzVTp6cSW_tS8dagFSaHCrLDMPPo3qCTIDXIoHWYotKPvemnbqSBl9adODmu5fwu_UHrzbZmUhYswkBMDfc_HcZ7XaXe6pyLlqdkEQNkVzYgs39qDPsz_zkNlem9GYhLtlFraiukto5qA8N91-wv8zs1w5PeowiNjAMlWcZITPiwg8T4Ua2jPdgCTyBxK5J4uwZsOMyKiHO9rZwsCsfqXMleSMgNQ_4PizWU8xnDMGAq6dsKcfQIPRXi2-eUyzkrTn1Pd-eiu_T0ulXQ3tHeIUdu1jQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181103,"updated":1616181103,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:24 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:31 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:33 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:35 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54","deletedDate":1616181142,"scheduledPurgeDate":1623957142,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2dbd40d54/6ab5466d7d9d43df82e07cb67ce5cf18","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"mzBhjUF-GBdE8GoeNZ_M6ZQP8LZKl-_IvrVXjuNFFTDUwrn_fRCkKkZ_TIiWzVTp6cSW_tS8dagFSaHCrLDMPPo3qCTIDXIoHWYotKPvemnbqSBl9adODmu5fwu_UHrzbZmUhYswkBMDfc_HcZ7XaXe6pyLlqdkEQNkVzYgs39qDPsz_zkNlem9GYhLtlFraiukto5qA8N91-wv8zs1w5PeowiNjAMlWcZITPiwg8T4Ua2jPdgCTyBxK5J4uwZsOMyKiHO9rZwsCsfqXMleSMgNQ_4PizWU8xnDMGAq6dsKcfQIPRXi2-eUyzkrTn1Pd-eiu_T0ulXQ3tHeIUdu1jQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181103,"updated":1616181103,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:37 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54","deletedDate":1616181158,"scheduledPurgeDate":1623957158,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3dbd40d54/2f99cf63cc214f9ea92a5a6185b083ee","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"319iceekZNiz_VFsfYnV8TYUgGMupAuEjYqobqk9Tfhy_BuUA4qUxaT_QQFkxdPbBrW5RAECeCc-ApOk49Td63gn6ozJA4uCYUjEgbSzYaob4oxI-e4fG4OJI47M_NgIFWbnRbdZQkliPSCps0dxH3fcHEnUKX0GKrtFzb29XCpnOLWOn_iQMzMhAL-YMPCHak6I64gXrDuaWQ3LqAgq9h-GKswjRdNDLi9_sbYn4WEw8sskVAM0hPaAQj2YTmnqAoNrg2vakg_SYqIOIUSIqqs4i5PBMUstCjgJkhv8crFcQmKpufhOk9pOGBTsHflgZmrJTTSPVEIyc6rUiihygQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181106,"updated":1616181106,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:37 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:37 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:39 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:46 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54","deletedDate":1616181158,"scheduledPurgeDate":1623957158,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3dbd40d54/2f99cf63cc214f9ea92a5a6185b083ee","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"319iceekZNiz_VFsfYnV8TYUgGMupAuEjYqobqk9Tfhy_BuUA4qUxaT_QQFkxdPbBrW5RAECeCc-ApOk49Td63gn6ozJA4uCYUjEgbSzYaob4oxI-e4fG4OJI47M_NgIFWbnRbdZQkliPSCps0dxH3fcHEnUKX0GKrtFzb29XCpnOLWOn_iQMzMhAL-YMPCHak6I64gXrDuaWQ3LqAgq9h-GKswjRdNDLi9_sbYn4WEw8sskVAM0hPaAQj2YTmnqAoNrg2vakg_SYqIOIUSIqqs4i5PBMUstCjgJkhv8crFcQmKpufhOk9pOGBTsHflgZmrJTTSPVEIyc6rUiihygQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181106,"updated":1616181106,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54","deletedDate":1616181171,"scheduledPurgeDate":1623957171,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4dbd40d54/f3d49e1461214f4789858454817f38ba","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sE-kH-Z0yoJeLKSC9Dr3-Ev2ogtNKWsqiYRRiNNvs8vNCpMA2GMzGqSAqld-b7XD-SaAATv71DEuoJ29fwBrnspiohai41XKuf2ef9VvyQ7ikOREoUnFzbtCwoZUmNT5VHWCzW1M4kyho9i6uwcyK--nOCQQs-GEq7WET_Dr32PG3s1ComtBV2RBFh6KloHFkCwDIe9jiEJxIeMvQTny6nPByg2Dd2cwRA3ZIx-gf9YaPJ2jgxeDNvYH9AsNaX8p6gAOZjvMnu2Rk5ONZQRXngEr9amb_JmR36F1QKTwlMMcB5cb3C5uaTaI041RhWdp_bkJVhoPVGCKxFoaWHn6mQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181108,"updated":1616181108,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:52 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:12:57 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54","deletedDate":1616181171,"scheduledPurgeDate":1623957171,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4dbd40d54/f3d49e1461214f4789858454817f38ba","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sE-kH-Z0yoJeLKSC9Dr3-Ev2ogtNKWsqiYRRiNNvs8vNCpMA2GMzGqSAqld-b7XD-SaAATv71DEuoJ29fwBrnspiohai41XKuf2ef9VvyQ7ikOREoUnFzbtCwoZUmNT5VHWCzW1M4kyho9i6uwcyK--nOCQQs-GEq7WET_Dr32PG3s1ComtBV2RBFh6KloHFkCwDIe9jiEJxIeMvQTny6nPByg2Dd2cwRA3ZIx-gf9YaPJ2jgxeDNvYH9AsNaX8p6gAOZjvMnu2Rk5ONZQRXngEr9amb_JmR36F1QKTwlMMcB5cb3C5uaTaI041RhWdp_bkJVhoPVGCKxFoaWHn6mQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181108,"updated":1616181108,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54","deletedDate":1616181186,"scheduledPurgeDate":1623957186,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5dbd40d54/b1d1967403f14fdd9aa61ff9bd4e995f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zP1wekQ-NEAoxHBleUMUyyh2vGxhGKHQMEz86FjEU_VP7upE93FBSduYE_H6nkIpF7kfTL5470d7SVw9JxMuFZqwg_e1gkPnbjVFk3-PXK0cKvdoNxvEt2i4dAs3-n9p67117Idy_SsyEdR3sq1C1vkt2TGOmjR7RN-mczvc2ZL6quIK4UMTqRnmDbvRALKrufCOZXLPpm89YWT5IUvunMlK_b8WE61JqPZWP97Mu1obsptqLJG7orvgnPkR6BnXH1XxRI2qI9FSyRw6JIJpldbxsjl8l8qB_z-jjCBfCpa4p8eRV62zJuTxIlYKKzUw0Gz9DnxgF0R1a5NdqJOD3Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181111,"updated":1616181111,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:09 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54","deletedDate":1616181186,"scheduledPurgeDate":1623957186,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5dbd40d54/b1d1967403f14fdd9aa61ff9bd4e995f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zP1wekQ-NEAoxHBleUMUyyh2vGxhGKHQMEz86FjEU_VP7upE93FBSduYE_H6nkIpF7kfTL5470d7SVw9JxMuFZqwg_e1gkPnbjVFk3-PXK0cKvdoNxvEt2i4dAs3-n9p67117Idy_SsyEdR3sq1C1vkt2TGOmjR7RN-mczvc2ZL6quIK4UMTqRnmDbvRALKrufCOZXLPpm89YWT5IUvunMlK_b8WE61JqPZWP97Mu1obsptqLJG7orvgnPkR6BnXH1XxRI2qI9FSyRw6JIJpldbxsjl8l8qB_z-jjCBfCpa4p8eRV62zJuTxIlYKKzUw0Gz9DnxgF0R1a5NdqJOD3Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181111,"updated":1616181111,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54","deletedDate":1616181202,"scheduledPurgeDate":1623957202,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6dbd40d54/10920e5799814b43bcd8407c35c91f18","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x5usfVjWs_AtuVhraPDzhInE-RJ5f_8P5s0OzZnq4tplD3fEyYRXsomvLk_iEi7Epg_-V8TTXS75771rzrFaE5RZSYCmkHpDyiVQmQGqb0ZS4eZXSIWSs3WXEOt6r7wSJ7WtVcKL0yHzVG4Nz-9TT5NQzPA1j7CfwEL1JNH3Abj5K9D8YOAq0cYi0bFAo4x0llzdk-2S_sQW6CzJIJGEC67zQpoXlA_P9m67W5D_q9ZaiO26HEsX12JE2t604Aqp4lWUD-RAGNuzuedfkrNFXlmKQLqlfTIrFc2XNqSxo-Hmbg-lV7YkKi80ogj-U9ORVMz8O-HHnGa172GzNB6_DQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181113,"updated":1616181113,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:24 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54","deletedDate":1616181202,"scheduledPurgeDate":1623957202,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6dbd40d54/10920e5799814b43bcd8407c35c91f18","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x5usfVjWs_AtuVhraPDzhInE-RJ5f_8P5s0OzZnq4tplD3fEyYRXsomvLk_iEi7Epg_-V8TTXS75771rzrFaE5RZSYCmkHpDyiVQmQGqb0ZS4eZXSIWSs3WXEOt6r7wSJ7WtVcKL0yHzVG4Nz-9TT5NQzPA1j7CfwEL1JNH3Abj5K9D8YOAq0cYi0bFAo4x0llzdk-2S_sQW6CzJIJGEC67zQpoXlA_P9m67W5D_q9ZaiO26HEsX12JE2t604Aqp4lWUD-RAGNuzuedfkrNFXlmKQLqlfTIrFc2XNqSxo-Hmbg-lV7YkKi80ogj-U9ORVMz8O-HHnGa172GzNB6_DQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181113,"updated":1616181113,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + date: Fri, 19 Mar 2021 19:13:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + date: Fri, 19 Mar 2021 19:13:37 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + date: Fri, 19 Mar 2021 19:13:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + date: Fri, 19 Mar 2021 19:13:39 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + date: Fri, 19 Mar 2021 19:13:39 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + date: Fri, 19 Mar 2021 19:13:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + date: Fri, 19 Mar 2021 19:13:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 204 + message: No Content + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6dbd40d54"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6dbd40d54?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys?api-version=7.2-preview + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestcrud-rsa-keyc087132a","deletedDate":1616180955,"scheduledPurgeDate":1623956955,"kid":"https://vaultname.vault.azure.net/keys/livekvtestcrud-rsa-keyc087132a","attributes":{"enabled":true,"exp":2524723200,"created":1616180953,"updated":1616180955,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"tags":{"foo":"updated + tag"}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey09746122c","deletedDate":1616110936,"scheduledPurgeDate":1623886936,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey09746122c","attributes":{"enabled":true,"created":1616110909,"updated":1616110909,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey099e0123e","deletedDate":1616180675,"scheduledPurgeDate":1623956675,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey099e0123e","attributes":{"enabled":true,"created":1616180645,"updated":1616180645,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNVFZFUmpCRk9UVXZNRFl4TlRGQlJUTXdNVVEwTkRSR05UazJRa1l6TWpOR1JFSTBSVU01TUVFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1469' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNVFZFUmpCRk9UVXZNRFl4TlRGQlJUTXdNVVEwTkRSR05UazJRa1l6TWpOR1JFSTBSVU01TUVFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey19746122c","deletedDate":1616110998,"scheduledPurgeDate":1623886998,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey19746122c","attributes":{"enabled":true,"created":1616110911,"updated":1616110911,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey199e0123e","deletedDate":1616180660,"scheduledPurgeDate":1623956660,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey199e0123e","attributes":{"enabled":true,"created":1616180647,"updated":1616180647,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey29746122c","deletedDate":1616110961,"scheduledPurgeDate":1623886961,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey29746122c","attributes":{"enabled":true,"created":1616110913,"updated":1616110913,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey299e0123e","deletedDate":1616180720,"scheduledPurgeDate":1623956720,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey299e0123e","attributes":{"enabled":true,"created":1616180650,"updated":1616180650,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16TkZOekJGT0RNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ"}' + headers: + cache-control: no-cache + content-length: '1699' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpNVFZFUmpCRk9UVXZNRFl4TlRGQlJUTXdNVVEwTkRSR05UazJRa1l6TWpOR1JFSTBSVU01TUVFaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16TkZOekJGT0RNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey39746122c","deletedDate":1616110987,"scheduledPurgeDate":1623886987,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey39746122c","attributes":{"enabled":true,"created":1616110916,"updated":1616110916,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey399e0123e","deletedDate":1616180705,"scheduledPurgeDate":1623956705,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey399e0123e","attributes":{"enabled":true,"created":1616180652,"updated":1616180652,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey49746122c","deletedDate":1616110948,"scheduledPurgeDate":1623886948,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey49746122c","attributes":{"enabled":true,"created":1616110918,"updated":1616110918,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey499e0123e","deletedDate":1616180692,"scheduledPurgeDate":1623956692,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey499e0123e","attributes":{"enabled":true,"created":1616180654,"updated":1616180654,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORVkxTmpRd1JURTFMME5EUlRjME1UUkNPRVJCTkRSRk1EUkNOMFkwTXpJeU5UTTJNamt5T1RNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '1764' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk16TkZOekJGT0RNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORVkxTmpRd1JURTFMME5EUlRjME1UUkNPRVJCTkRSRk1EUkNOMFkwTXpJeU5UTTJNamt5T1RNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey59746122c","deletedDate":1616110974,"scheduledPurgeDate":1623886974,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey59746122c","attributes":{"enabled":true,"created":1616110921,"updated":1616110921,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey599e0123e","deletedDate":1616180736,"scheduledPurgeDate":1623956736,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey599e0123e","attributes":{"enabled":true,"created":1616180657,"updated":1616180657,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey69746122c","deletedDate":1616110923,"scheduledPurgeDate":1623886923,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey69746122c","attributes":{"enabled":true,"created":1616110923,"updated":1616110923,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}},{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey699e0123e","deletedDate":1616180751,"scheduledPurgeDate":1623956751,"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey699e0123e","attributes":{"enabled":true,"created":1616180659,"updated":1616180659,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}],"nextLink":"https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5rUkJNVEl3UkRReUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0"}' + headers: + cache-control: no-cache + content-length: '1704' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWWkZTMVpVUlZOVVMwVlpORVkxTmpRd1JURTFMME5EUlRjME1UUkNPRVJCTkRSRk1EUkNOMFkwTXpJeU5UTTJNamt5T1RNM0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5rUkJNVEl3UkRReUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 + response: + body: + string: '{"value":[],"nextLink":null}' + headers: + cache-control: no-cache + content-length: '28' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:13:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net:443/deletedkeys?api-version=7.2-preview&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklXdGxlUzlNU1ZaRlMxWlVSVk5VUzBWWk5rUkJNVEl3UkRReUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0 +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover.yaml deleted file mode 100644 index 2fbac8936e51..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover.yaml +++ /dev/null @@ -1,1711 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:40:18 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0a8eb0b9c/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/90b008cf478942d9add0010d21c8d1ab","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rOPSixfEMjX6hSTXmX2pTXdEa5AphSEHFXya37ixEi5pY2G4tJAvIW3t-71EJnXvfgyTYB-FxOlQ3zxvmy6SM0DfcAt8wr8ax2fTwfafcrxsq-mH7Ed1SlbeOJrocrYTb5lULk_ZR-XZmaXActEPTKkW11PTUmMnjJK-Fs4n39ZbjkvJdVbk1cLVZ9J9LXqtgRXAvQokWOSgMVJsvRKvryRsDB5vEIBppAX-LiGdBd19jmzra4ki-VeL7-UCCrcd7Z4eXW_po0f93RaWXCnFyBeHDWetOXr5KdJ28CCd8On0WDp39SvoAKe0ECKmQIxCBnysbfPVT52PQv0TRkuQsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579219,"updated":1612579219,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:19 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0a8eb0b9c/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/9da0a280580845b59a3e935a499e92c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xsUA1hnsUM9rmpt90aO8sylddnLB8yaA4Lm8EihPdzRRtmdbJ5WkpzXPku7Lg081voRqmwhhlz-NhMn5d6Yq7rgO5Axf40QlvaUjpU8LwnNUkZOpQ4shRxtGI4nSVn4YoKgMoPBQs8ilxAjTT4111BIlnjmeJo7gkLqcBNsrg5MpXdZCxGD1Ue_eLHbBi5GGMsTFvtkJHbbqfDSdARedCKJDBLUgWSGwZYPrTBYuOLH_gHoc8WwOwjcf68o1cNffO8vN6t7PA4fgoahrHdKay-N8RruzKuog64nRo-Ge3i6KsLjPPdis5afwCs1iY6XL79UaDBylvwUNDersU3iO2Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:19 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1a8eb0b9c/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/2e6759a9ce88492a8bbc4dd6ef3362ce","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vgSU10vQnnAyGtYw7MAwZshX9T2XnXH3gXX0-FMnJDDo5L-ECjGm7meGoHpzJLxLRQLQd8m2TaGEkDCv60t81s7P62TNZpE8JrFzemlCEjsOhF8BrTs0YoGSEVER-r_Mc3l2g6VmGS-59f3IwloyX8Pi9z7Zmq7JFCRNOU0nNkbMAzWakN-TFrWvQxaAiEaLLIWRt6UG02ORuhtvfToFYExw6Mv8VGCiY8pMWH2PK9giqupUMl5Ai9IRP-wT9gM9Q78Sg-h-bJ-X3eF6CxN9OL-QE1fAoso9QE2zzZ-3RSKWtmEQf42mNlJdqF9bvn3X2xQ2f9KeA7suC6m-gg1CxQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:20 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2a8eb0b9c/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/7428e54216b34f6d938ce95999454d84","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ovwWLqoHxJm7rzmc7gprwImimHCz3oJHoFFt69r7L2zmkxXimQSsQ45_sfn7_rO_iQnvUZz_wALCDezfzXIKRHSEZrvLcMCATX0XeoOAFKlr_t1y7-yEf4pzLsrXecBzCPu9RVPUKA246uEzgVEEFIgH9O8jlr8E2F7eF9BX-Yt2DcSrczUa2xB0z33aQa6sWVTlBQr_9Ft3cGfcaxVJBYN5QcQxw38QBG-JUoYzf9YkBs9WWgGmtxZgDeLn08yKaVR8dLqJriAK5A9v4H2c6pRYTJ_s7f60ggPKagNU4P4JWbLMIlQ1c1sbNvLuvAOmRkVzSrAdMLP95mvGwCZ2iQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:20 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3a8eb0b9c/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/a5fb9a34ec7c46d3b7e1fceb3ff70542","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tWIVTMbEtjwp5L9fgaZ-RU5xZ03BaVVQ5O9zSphuWy3bTinDjpveUNQHFCSzVACAMRDtW5ox0Yb40mockp_bpHZ9Bumz90qT-MB4P-sDFxuGBD31RTJXts_DtafcWPNfZ41lHdiKFLp-IMn-MAJXeofJHHnXtWE76-Vy6lNXdmjvDeiHqkbOxuogIMt0ljvm5C3loQAAaF5KIqxE0xWLdingRVTwuuas6neyT2Q2rFgBaOJDxJbQ2opp-GwEXJFoBgBKOdRMph7ahekBDNhQmSP1AQ9Do021DsFRAu7NR7do1BMsF67YBMXoFjbO_AHTf1NIpnXM_LLn7hfenB2NLQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:20 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4a8eb0b9c/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/e325df529e284f6c94882f28ce34860f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wd325XX2agUKOFye2VJoBMkOEsTu2k8Mg6688peRRDmKPvmd2qQCAnYr90DIEBuB1tR976PV9QM6xPVXMJnVZGMB9sEY8IrT4m0tSA8kGKkFO6bxSXxg7ovF2MSBlxv6zjzwxENlViHBFSXaBv_PLwWLfVpFhv96dMYimocjBuC_UW8zU0HU2d9CWwk_N-pYADGHbqYETRMIFfF7jRacTTygLgJxE_EmfoOqA2oNBV4dCxRXCQgDipcZtFGl_cFodK8xBd_Qp8KlsKFQdMhC8I7hn4BW3GteUQ1hufXsR_DvPqKj1ArpHLtJO7ywH7Z7XTzsiCM5LTvJ3k5qVqYH8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:21 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5a8eb0b9c/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '14' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/272ee09e7ca8436db8cdcbd484553086","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6EiIpj0f5ZaId-kUxxgkTKnqDWWoCFvKSSnjDo29P6-zjx_hgkHnFikoKmRvcbWs7bydnf4N7I04d6UwRbfEF0vp9MBRw2Z1HHJ5He91JaWMwrJwlmt-B-RPxkopbfITlXH9J54dN6pfR1D89V2AHkBrdZ7xIVSyFslsU_JBvAiImLMWYmuHSI93a22-XQnwHmuO3BnawJ_KK5TfJDt7rNys7VZxNxNq6FbKxiPAhWaU9oFiPYhM2eM4HpSZETWTkHikcBJIcCP91Xq1F4x-qAB-tje3I7EXwcADLzcyRGot3gtmMvF9DjpFguE1qkLbSEFeRSpUCqoRqrY-jltcGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579222,"updated":1612579222,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:21 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6a8eb0b9c/create?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a8eb0b9c","deletedDate":1612579222,"scheduledPurgeDate":1620355222,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/a5fb9a34ec7c46d3b7e1fceb3ff70542","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tWIVTMbEtjwp5L9fgaZ-RU5xZ03BaVVQ5O9zSphuWy3bTinDjpveUNQHFCSzVACAMRDtW5ox0Yb40mockp_bpHZ9Bumz90qT-MB4P-sDFxuGBD31RTJXts_DtafcWPNfZ41lHdiKFLp-IMn-MAJXeofJHHnXtWE76-Vy6lNXdmjvDeiHqkbOxuogIMt0ljvm5C3loQAAaF5KIqxE0xWLdingRVTwuuas6neyT2Q2rFgBaOJDxJbQ2opp-GwEXJFoBgBKOdRMph7ahekBDNhQmSP1AQ9Do021DsFRAu7NR7do1BMsF67YBMXoFjbO_AHTf1NIpnXM_LLn7hfenB2NLQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:21 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4a8eb0b9c"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:21 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a8eb0b9c","deletedDate":1612579222,"scheduledPurgeDate":1620355222,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/a5fb9a34ec7c46d3b7e1fceb3ff70542","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tWIVTMbEtjwp5L9fgaZ-RU5xZ03BaVVQ5O9zSphuWy3bTinDjpveUNQHFCSzVACAMRDtW5ox0Yb40mockp_bpHZ9Bumz90qT-MB4P-sDFxuGBD31RTJXts_DtafcWPNfZ41lHdiKFLp-IMn-MAJXeofJHHnXtWE76-Vy6lNXdmjvDeiHqkbOxuogIMt0ljvm5C3loQAAaF5KIqxE0xWLdingRVTwuuas6neyT2Q2rFgBaOJDxJbQ2opp-GwEXJFoBgBKOdRMph7ahekBDNhQmSP1AQ9Do021DsFRAu7NR7do1BMsF67YBMXoFjbO_AHTf1NIpnXM_LLn7hfenB2NLQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a8eb0b9c","deletedDate":1612579225,"scheduledPurgeDate":1620355225,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/2e6759a9ce88492a8bbc4dd6ef3362ce","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vgSU10vQnnAyGtYw7MAwZshX9T2XnXH3gXX0-FMnJDDo5L-ECjGm7meGoHpzJLxLRQLQd8m2TaGEkDCv60t81s7P62TNZpE8JrFzemlCEjsOhF8BrTs0YoGSEVER-r_Mc3l2g6VmGS-59f3IwloyX8Pi9z7Zmq7JFCRNOU0nNkbMAzWakN-TFrWvQxaAiEaLLIWRt6UG02ORuhtvfToFYExw6Mv8VGCiY8pMWH2PK9giqupUMl5Ai9IRP-wT9gM9Q78Sg-h-bJ-X3eF6CxN9OL-QE1fAoso9QE2zzZ-3RSKWtmEQf42mNlJdqF9bvn3X2xQ2f9KeA7suC6m-gg1CxQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2a8eb0b9c"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a8eb0b9c","deletedDate":1612579225,"scheduledPurgeDate":1620355225,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/2e6759a9ce88492a8bbc4dd6ef3362ce","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vgSU10vQnnAyGtYw7MAwZshX9T2XnXH3gXX0-FMnJDDo5L-ECjGm7meGoHpzJLxLRQLQd8m2TaGEkDCv60t81s7P62TNZpE8JrFzemlCEjsOhF8BrTs0YoGSEVER-r_Mc3l2g6VmGS-59f3IwloyX8Pi9z7Zmq7JFCRNOU0nNkbMAzWakN-TFrWvQxaAiEaLLIWRt6UG02ORuhtvfToFYExw6Mv8VGCiY8pMWH2PK9giqupUMl5Ai9IRP-wT9gM9Q78Sg-h-bJ-X3eF6CxN9OL-QE1fAoso9QE2zzZ-3RSKWtmEQf42mNlJdqF9bvn3X2xQ2f9KeA7suC6m-gg1CxQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a8eb0b9c","deletedDate":1612579227,"scheduledPurgeDate":1620355227,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/7428e54216b34f6d938ce95999454d84","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ovwWLqoHxJm7rzmc7gprwImimHCz3oJHoFFt69r7L2zmkxXimQSsQ45_sfn7_rO_iQnvUZz_wALCDezfzXIKRHSEZrvLcMCATX0XeoOAFKlr_t1y7-yEf4pzLsrXecBzCPu9RVPUKA246uEzgVEEFIgH9O8jlr8E2F7eF9BX-Yt2DcSrczUa2xB0z33aQa6sWVTlBQr_9Ft3cGfcaxVJBYN5QcQxw38QBG-JUoYzf9YkBs9WWgGmtxZgDeLn08yKaVR8dLqJriAK5A9v4H2c6pRYTJ_s7f60ggPKagNU4P4JWbLMIlQ1c1sbNvLuvAOmRkVzSrAdMLP95mvGwCZ2iQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3a8eb0b9c"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a8eb0b9c","deletedDate":1612579227,"scheduledPurgeDate":1620355227,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/7428e54216b34f6d938ce95999454d84","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ovwWLqoHxJm7rzmc7gprwImimHCz3oJHoFFt69r7L2zmkxXimQSsQ45_sfn7_rO_iQnvUZz_wALCDezfzXIKRHSEZrvLcMCATX0XeoOAFKlr_t1y7-yEf4pzLsrXecBzCPu9RVPUKA246uEzgVEEFIgH9O8jlr8E2F7eF9BX-Yt2DcSrczUa2xB0z33aQa6sWVTlBQr_9Ft3cGfcaxVJBYN5QcQxw38QBG-JUoYzf9YkBs9WWgGmtxZgDeLn08yKaVR8dLqJriAK5A9v4H2c6pRYTJ_s7f60ggPKagNU4P4JWbLMIlQ1c1sbNvLuvAOmRkVzSrAdMLP95mvGwCZ2iQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:30 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a8eb0b9c","deletedDate":1612579230,"scheduledPurgeDate":1620355230,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/e325df529e284f6c94882f28ce34860f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wd325XX2agUKOFye2VJoBMkOEsTu2k8Mg6688peRRDmKPvmd2qQCAnYr90DIEBuB1tR976PV9QM6xPVXMJnVZGMB9sEY8IrT4m0tSA8kGKkFO6bxSXxg7ovF2MSBlxv6zjzwxENlViHBFSXaBv_PLwWLfVpFhv96dMYimocjBuC_UW8zU0HU2d9CWwk_N-pYADGHbqYETRMIFfF7jRacTTygLgJxE_EmfoOqA2oNBV4dCxRXCQgDipcZtFGl_cFodK8xBd_Qp8KlsKFQdMhC8I7hn4BW3GteUQ1hufXsR_DvPqKj1ArpHLtJO7ywH7Z7XTzsiCM5LTvJ3k5qVqYH8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:30 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5a8eb0b9c"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:30 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a8eb0b9c","deletedDate":1612579230,"scheduledPurgeDate":1620355230,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/e325df529e284f6c94882f28ce34860f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wd325XX2agUKOFye2VJoBMkOEsTu2k8Mg6688peRRDmKPvmd2qQCAnYr90DIEBuB1tR976PV9QM6xPVXMJnVZGMB9sEY8IrT4m0tSA8kGKkFO6bxSXxg7ovF2MSBlxv6zjzwxENlViHBFSXaBv_PLwWLfVpFhv96dMYimocjBuC_UW8zU0HU2d9CWwk_N-pYADGHbqYETRMIFfF7jRacTTygLgJxE_EmfoOqA2oNBV4dCxRXCQgDipcZtFGl_cFodK8xBd_Qp8KlsKFQdMhC8I7hn4BW3GteUQ1hufXsR_DvPqKj1ArpHLtJO7ywH7Z7XTzsiCM5LTvJ3k5qVqYH8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:32 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a8eb0b9c","deletedDate":1612579233,"scheduledPurgeDate":1620355233,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/272ee09e7ca8436db8cdcbd484553086","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6EiIpj0f5ZaId-kUxxgkTKnqDWWoCFvKSSnjDo29P6-zjx_hgkHnFikoKmRvcbWs7bydnf4N7I04d6UwRbfEF0vp9MBRw2Z1HHJ5He91JaWMwrJwlmt-B-RPxkopbfITlXH9J54dN6pfR1D89V2AHkBrdZ7xIVSyFslsU_JBvAiImLMWYmuHSI93a22-XQnwHmuO3BnawJ_KK5TfJDt7rNys7VZxNxNq6FbKxiPAhWaU9oFiPYhM2eM4HpSZETWTkHikcBJIcCP91Xq1F4x-qAB-tje3I7EXwcADLzcyRGot3gtmMvF9DjpFguE1qkLbSEFeRSpUCqoRqrY-jltcGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579222,"updated":1612579222,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:32 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6a8eb0b9c"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:33 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a8eb0b9c","deletedDate":1612579233,"scheduledPurgeDate":1620355233,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/272ee09e7ca8436db8cdcbd484553086","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6EiIpj0f5ZaId-kUxxgkTKnqDWWoCFvKSSnjDo29P6-zjx_hgkHnFikoKmRvcbWs7bydnf4N7I04d6UwRbfEF0vp9MBRw2Z1HHJ5He91JaWMwrJwlmt-B-RPxkopbfITlXH9J54dN6pfR1D89V2AHkBrdZ7xIVSyFslsU_JBvAiImLMWYmuHSI93a22-XQnwHmuO3BnawJ_KK5TfJDt7rNys7VZxNxNq6FbKxiPAhWaU9oFiPYhM2eM4HpSZETWTkHikcBJIcCP91Xq1F4x-qAB-tje3I7EXwcADLzcyRGot3gtmMvF9DjpFguE1qkLbSEFeRSpUCqoRqrY-jltcGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579222,"updated":1612579222,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a8eb0b9c","deletedDate":1612579236,"scheduledPurgeDate":1620355236,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/90b008cf478942d9add0010d21c8d1ab","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rOPSixfEMjX6hSTXmX2pTXdEa5AphSEHFXya37ixEi5pY2G4tJAvIW3t-71EJnXvfgyTYB-FxOlQ3zxvmy6SM0DfcAt8wr8ax2fTwfafcrxsq-mH7Ed1SlbeOJrocrYTb5lULk_ZR-XZmaXActEPTKkW11PTUmMnjJK-Fs4n39ZbjkvJdVbk1cLVZ9J9LXqtgRXAvQokWOSgMVJsvRKvryRsDB5vEIBppAX-LiGdBd19jmzra4ki-VeL7-UCCrcd7Z4eXW_po0f93RaWXCnFyBeHDWetOXr5KdJ28CCd8On0WDp39SvoAKe0ECKmQIxCBnysbfPVT52PQv0TRkuQsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579219,"updated":1612579219,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0a8eb0b9c"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a8eb0b9c","deletedDate":1612579236,"scheduledPurgeDate":1620355236,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/90b008cf478942d9add0010d21c8d1ab","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rOPSixfEMjX6hSTXmX2pTXdEa5AphSEHFXya37ixEi5pY2G4tJAvIW3t-71EJnXvfgyTYB-FxOlQ3zxvmy6SM0DfcAt8wr8ax2fTwfafcrxsq-mH7Ed1SlbeOJrocrYTb5lULk_ZR-XZmaXActEPTKkW11PTUmMnjJK-Fs4n39ZbjkvJdVbk1cLVZ9J9LXqtgRXAvQokWOSgMVJsvRKvryRsDB5vEIBppAX-LiGdBd19jmzra4ki-VeL7-UCCrcd7Z4eXW_po0f93RaWXCnFyBeHDWetOXr5KdJ28CCd8On0WDp39SvoAKe0ECKmQIxCBnysbfPVT52PQv0TRkuQsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579219,"updated":1612579219,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:38 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a8eb0b9c","deletedDate":1612579238,"scheduledPurgeDate":1620355238,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/9da0a280580845b59a3e935a499e92c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xsUA1hnsUM9rmpt90aO8sylddnLB8yaA4Lm8EihPdzRRtmdbJ5WkpzXPku7Lg081voRqmwhhlz-NhMn5d6Yq7rgO5Axf40QlvaUjpU8LwnNUkZOpQ4shRxtGI4nSVn4YoKgMoPBQs8ilxAjTT4111BIlnjmeJo7gkLqcBNsrg5MpXdZCxGD1Ue_eLHbBi5GGMsTFvtkJHbbqfDSdARedCKJDBLUgWSGwZYPrTBYuOLH_gHoc8WwOwjcf68o1cNffO8vN6t7PA4fgoahrHdKay-N8RruzKuog64nRo-Ge3i6KsLjPPdis5afwCs1iY6XL79UaDBylvwUNDersU3iO2Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:38 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1a8eb0b9c"}}' - headers: - cache-control: no-cache - content-length: '90' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a8eb0b9c?api-version=7.2-preview - response: - body: - string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a8eb0b9c","deletedDate":1612579238,"scheduledPurgeDate":1620355238,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/9da0a280580845b59a3e935a499e92c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xsUA1hnsUM9rmpt90aO8sylddnLB8yaA4Lm8EihPdzRRtmdbJ5WkpzXPku7Lg081voRqmwhhlz-NhMn5d6Yq7rgO5Axf40QlvaUjpU8LwnNUkZOpQ4shRxtGI4nSVn4YoKgMoPBQs8ilxAjTT4111BIlnjmeJo7gkLqcBNsrg5MpXdZCxGD1Ue_eLHbBi5GGMsTFvtkJHbbqfDSdARedCKJDBLUgWSGwZYPrTBYuOLH_gHoc8WwOwjcf68o1cNffO8vN6t7PA4fgoahrHdKay-N8RruzKuog64nRo-Ge3i6KsLjPPdis5afwCs1iY6XL79UaDBylvwUNDersU3iO2Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '834' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:41 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1a8eb0b9c?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4a8eb0b9c/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/a5fb9a34ec7c46d3b7e1fceb3ff70542","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tWIVTMbEtjwp5L9fgaZ-RU5xZ03BaVVQ5O9zSphuWy3bTinDjpveUNQHFCSzVACAMRDtW5ox0Yb40mockp_bpHZ9Bumz90qT-MB4P-sDFxuGBD31RTJXts_DtafcWPNfZ41lHdiKFLp-IMn-MAJXeofJHHnXtWE76-Vy6lNXdmjvDeiHqkbOxuogIMt0ljvm5C3loQAAaF5KIqxE0xWLdingRVTwuuas6neyT2Q2rFgBaOJDxJbQ2opp-GwEXJFoBgBKOdRMph7ahekBDNhQmSP1AQ9Do021DsFRAu7NR7do1BMsF67YBMXoFjbO_AHTf1NIpnXM_LLn7hfenB2NLQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:41 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4a8eb0b9c/recover?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey4a8eb0b9c - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:41 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/a5fb9a34ec7c46d3b7e1fceb3ff70542","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tWIVTMbEtjwp5L9fgaZ-RU5xZ03BaVVQ5O9zSphuWy3bTinDjpveUNQHFCSzVACAMRDtW5ox0Yb40mockp_bpHZ9Bumz90qT-MB4P-sDFxuGBD31RTJXts_DtafcWPNfZ41lHdiKFLp-IMn-MAJXeofJHHnXtWE76-Vy6lNXdmjvDeiHqkbOxuogIMt0ljvm5C3loQAAaF5KIqxE0xWLdingRVTwuuas6neyT2Q2rFgBaOJDxJbQ2opp-GwEXJFoBgBKOdRMph7ahekBDNhQmSP1AQ9Do021DsFRAu7NR7do1BMsF67YBMXoFjbO_AHTf1NIpnXM_LLn7hfenB2NLQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2a8eb0b9c/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/2e6759a9ce88492a8bbc4dd6ef3362ce","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vgSU10vQnnAyGtYw7MAwZshX9T2XnXH3gXX0-FMnJDDo5L-ECjGm7meGoHpzJLxLRQLQd8m2TaGEkDCv60t81s7P62TNZpE8JrFzemlCEjsOhF8BrTs0YoGSEVER-r_Mc3l2g6VmGS-59f3IwloyX8Pi9z7Zmq7JFCRNOU0nNkbMAzWakN-TFrWvQxaAiEaLLIWRt6UG02ORuhtvfToFYExw6Mv8VGCiY8pMWH2PK9giqupUMl5Ai9IRP-wT9gM9Q78Sg-h-bJ-X3eF6CxN9OL-QE1fAoso9QE2zzZ-3RSKWtmEQf42mNlJdqF9bvn3X2xQ2f9KeA7suC6m-gg1CxQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2a8eb0b9c/recover?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey2a8eb0b9c - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/2e6759a9ce88492a8bbc4dd6ef3362ce","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vgSU10vQnnAyGtYw7MAwZshX9T2XnXH3gXX0-FMnJDDo5L-ECjGm7meGoHpzJLxLRQLQd8m2TaGEkDCv60t81s7P62TNZpE8JrFzemlCEjsOhF8BrTs0YoGSEVER-r_Mc3l2g6VmGS-59f3IwloyX8Pi9z7Zmq7JFCRNOU0nNkbMAzWakN-TFrWvQxaAiEaLLIWRt6UG02ORuhtvfToFYExw6Mv8VGCiY8pMWH2PK9giqupUMl5Ai9IRP-wT9gM9Q78Sg-h-bJ-X3eF6CxN9OL-QE1fAoso9QE2zzZ-3RSKWtmEQf42mNlJdqF9bvn3X2xQ2f9KeA7suC6m-gg1CxQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3a8eb0b9c/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/7428e54216b34f6d938ce95999454d84","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ovwWLqoHxJm7rzmc7gprwImimHCz3oJHoFFt69r7L2zmkxXimQSsQ45_sfn7_rO_iQnvUZz_wALCDezfzXIKRHSEZrvLcMCATX0XeoOAFKlr_t1y7-yEf4pzLsrXecBzCPu9RVPUKA246uEzgVEEFIgH9O8jlr8E2F7eF9BX-Yt2DcSrczUa2xB0z33aQa6sWVTlBQr_9Ft3cGfcaxVJBYN5QcQxw38QBG-JUoYzf9YkBs9WWgGmtxZgDeLn08yKaVR8dLqJriAK5A9v4H2c6pRYTJ_s7f60ggPKagNU4P4JWbLMIlQ1c1sbNvLuvAOmRkVzSrAdMLP95mvGwCZ2iQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3a8eb0b9c/recover?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3a8eb0b9c - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/7428e54216b34f6d938ce95999454d84","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ovwWLqoHxJm7rzmc7gprwImimHCz3oJHoFFt69r7L2zmkxXimQSsQ45_sfn7_rO_iQnvUZz_wALCDezfzXIKRHSEZrvLcMCATX0XeoOAFKlr_t1y7-yEf4pzLsrXecBzCPu9RVPUKA246uEzgVEEFIgH9O8jlr8E2F7eF9BX-Yt2DcSrczUa2xB0z33aQa6sWVTlBQr_9Ft3cGfcaxVJBYN5QcQxw38QBG-JUoYzf9YkBs9WWgGmtxZgDeLn08yKaVR8dLqJriAK5A9v4H2c6pRYTJ_s7f60ggPKagNU4P4JWbLMIlQ1c1sbNvLuvAOmRkVzSrAdMLP95mvGwCZ2iQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:48 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5a8eb0b9c/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/e325df529e284f6c94882f28ce34860f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wd325XX2agUKOFye2VJoBMkOEsTu2k8Mg6688peRRDmKPvmd2qQCAnYr90DIEBuB1tR976PV9QM6xPVXMJnVZGMB9sEY8IrT4m0tSA8kGKkFO6bxSXxg7ovF2MSBlxv6zjzwxENlViHBFSXaBv_PLwWLfVpFhv96dMYimocjBuC_UW8zU0HU2d9CWwk_N-pYADGHbqYETRMIFfF7jRacTTygLgJxE_EmfoOqA2oNBV4dCxRXCQgDipcZtFGl_cFodK8xBd_Qp8KlsKFQdMhC8I7hn4BW3GteUQ1hufXsR_DvPqKj1ArpHLtJO7ywH7Z7XTzsiCM5LTvJ3k5qVqYH8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:48 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5a8eb0b9c/recover?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey5a8eb0b9c - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:49 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/e325df529e284f6c94882f28ce34860f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wd325XX2agUKOFye2VJoBMkOEsTu2k8Mg6688peRRDmKPvmd2qQCAnYr90DIEBuB1tR976PV9QM6xPVXMJnVZGMB9sEY8IrT4m0tSA8kGKkFO6bxSXxg7ovF2MSBlxv6zjzwxENlViHBFSXaBv_PLwWLfVpFhv96dMYimocjBuC_UW8zU0HU2d9CWwk_N-pYADGHbqYETRMIFfF7jRacTTygLgJxE_EmfoOqA2oNBV4dCxRXCQgDipcZtFGl_cFodK8xBd_Qp8KlsKFQdMhC8I7hn4BW3GteUQ1hufXsR_DvPqKj1ArpHLtJO7ywH7Z7XTzsiCM5LTvJ3k5qVqYH8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6a8eb0b9c/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/272ee09e7ca8436db8cdcbd484553086","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6EiIpj0f5ZaId-kUxxgkTKnqDWWoCFvKSSnjDo29P6-zjx_hgkHnFikoKmRvcbWs7bydnf4N7I04d6UwRbfEF0vp9MBRw2Z1HHJ5He91JaWMwrJwlmt-B-RPxkopbfITlXH9J54dN6pfR1D89V2AHkBrdZ7xIVSyFslsU_JBvAiImLMWYmuHSI93a22-XQnwHmuO3BnawJ_KK5TfJDt7rNys7VZxNxNq6FbKxiPAhWaU9oFiPYhM2eM4HpSZETWTkHikcBJIcCP91Xq1F4x-qAB-tje3I7EXwcADLzcyRGot3gtmMvF9DjpFguE1qkLbSEFeRSpUCqoRqrY-jltcGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579222,"updated":1612579222,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6a8eb0b9c/recover?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey6a8eb0b9c - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/272ee09e7ca8436db8cdcbd484553086","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6EiIpj0f5ZaId-kUxxgkTKnqDWWoCFvKSSnjDo29P6-zjx_hgkHnFikoKmRvcbWs7bydnf4N7I04d6UwRbfEF0vp9MBRw2Z1HHJ5He91JaWMwrJwlmt-B-RPxkopbfITlXH9J54dN6pfR1D89V2AHkBrdZ7xIVSyFslsU_JBvAiImLMWYmuHSI93a22-XQnwHmuO3BnawJ_KK5TfJDt7rNys7VZxNxNq6FbKxiPAhWaU9oFiPYhM2eM4HpSZETWTkHikcBJIcCP91Xq1F4x-qAB-tje3I7EXwcADLzcyRGot3gtmMvF9DjpFguE1qkLbSEFeRSpUCqoRqrY-jltcGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579222,"updated":1612579222,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0a8eb0b9c/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/90b008cf478942d9add0010d21c8d1ab","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rOPSixfEMjX6hSTXmX2pTXdEa5AphSEHFXya37ixEi5pY2G4tJAvIW3t-71EJnXvfgyTYB-FxOlQ3zxvmy6SM0DfcAt8wr8ax2fTwfafcrxsq-mH7Ed1SlbeOJrocrYTb5lULk_ZR-XZmaXActEPTKkW11PTUmMnjJK-Fs4n39ZbjkvJdVbk1cLVZ9J9LXqtgRXAvQokWOSgMVJsvRKvryRsDB5vEIBppAX-LiGdBd19jmzra4ki-VeL7-UCCrcd7Z4eXW_po0f93RaWXCnFyBeHDWetOXr5KdJ28CCd8On0WDp39SvoAKe0ECKmQIxCBnysbfPVT52PQv0TRkuQsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579219,"updated":1612579219,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0a8eb0b9c/recover?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey0a8eb0b9c - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:55 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/90b008cf478942d9add0010d21c8d1ab","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rOPSixfEMjX6hSTXmX2pTXdEa5AphSEHFXya37ixEi5pY2G4tJAvIW3t-71EJnXvfgyTYB-FxOlQ3zxvmy6SM0DfcAt8wr8ax2fTwfafcrxsq-mH7Ed1SlbeOJrocrYTb5lULk_ZR-XZmaXActEPTKkW11PTUmMnjJK-Fs4n39ZbjkvJdVbk1cLVZ9J9LXqtgRXAvQokWOSgMVJsvRKvryRsDB5vEIBppAX-LiGdBd19jmzra4ki-VeL7-UCCrcd7Z4eXW_po0f93RaWXCnFyBeHDWetOXr5KdJ28CCd8On0WDp39SvoAKe0ECKmQIxCBnysbfPVT52PQv0TRkuQsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579219,"updated":1612579219,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:57 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1a8eb0b9c/recover?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/9da0a280580845b59a3e935a499e92c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xsUA1hnsUM9rmpt90aO8sylddnLB8yaA4Lm8EihPdzRRtmdbJ5WkpzXPku7Lg081voRqmwhhlz-NhMn5d6Yq7rgO5Axf40QlvaUjpU8LwnNUkZOpQ4shRxtGI4nSVn4YoKgMoPBQs8ilxAjTT4111BIlnjmeJo7gkLqcBNsrg5MpXdZCxGD1Ue_eLHbBi5GGMsTFvtkJHbbqfDSdARedCKJDBLUgWSGwZYPrTBYuOLH_gHoc8WwOwjcf68o1cNffO8vN6t7PA4fgoahrHdKay-N8RruzKuog64nRo-Ge3i6KsLjPPdis5afwCs1iY6XL79UaDBylvwUNDersU3iO2Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:57 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1a8eb0b9c/recover?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey1a8eb0b9c - was not found in this key vault. If you recently deleted this key you may - be able to recover it using the correct recovery command. For help resolving - this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' - headers: - cache-control: no-cache - content-length: '310' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40:57 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 404 - message: Not Found - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/9da0a280580845b59a3e935a499e92c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xsUA1hnsUM9rmpt90aO8sylddnLB8yaA4Lm8EihPdzRRtmdbJ5WkpzXPku7Lg081voRqmwhhlz-NhMn5d6Yq7rgO5Axf40QlvaUjpU8LwnNUkZOpQ4shRxtGI4nSVn4YoKgMoPBQs8ilxAjTT4111BIlnjmeJo7gkLqcBNsrg5MpXdZCxGD1Ue_eLHbBi5GGMsTFvtkJHbbqfDSdARedCKJDBLUgWSGwZYPrTBYuOLH_gHoc8WwOwjcf68o1cNffO8vN6t7PA4fgoahrHdKay-N8RruzKuog64nRo-Ge3i6KsLjPPdis5afwCs1iY6XL79UaDBylvwUNDersU3iO2Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4a8eb0b9c/a5fb9a34ec7c46d3b7e1fceb3ff70542","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tWIVTMbEtjwp5L9fgaZ-RU5xZ03BaVVQ5O9zSphuWy3bTinDjpveUNQHFCSzVACAMRDtW5ox0Yb40mockp_bpHZ9Bumz90qT-MB4P-sDFxuGBD31RTJXts_DtafcWPNfZ41lHdiKFLp-IMn-MAJXeofJHHnXtWE76-Vy6lNXdmjvDeiHqkbOxuogIMt0ljvm5C3loQAAaF5KIqxE0xWLdingRVTwuuas6neyT2Q2rFgBaOJDxJbQ2opp-GwEXJFoBgBKOdRMph7ahekBDNhQmSP1AQ9Do021DsFRAu7NR7do1BMsF67YBMXoFjbO_AHTf1NIpnXM_LLn7hfenB2NLQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2a8eb0b9c/2e6759a9ce88492a8bbc4dd6ef3362ce","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vgSU10vQnnAyGtYw7MAwZshX9T2XnXH3gXX0-FMnJDDo5L-ECjGm7meGoHpzJLxLRQLQd8m2TaGEkDCv60t81s7P62TNZpE8JrFzemlCEjsOhF8BrTs0YoGSEVER-r_Mc3l2g6VmGS-59f3IwloyX8Pi9z7Zmq7JFCRNOU0nNkbMAzWakN-TFrWvQxaAiEaLLIWRt6UG02ORuhtvfToFYExw6Mv8VGCiY8pMWH2PK9giqupUMl5Ai9IRP-wT9gM9Q78Sg-h-bJ-X3eF6CxN9OL-QE1fAoso9QE2zzZ-3RSKWtmEQf42mNlJdqF9bvn3X2xQ2f9KeA7suC6m-gg1CxQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3a8eb0b9c/7428e54216b34f6d938ce95999454d84","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"ovwWLqoHxJm7rzmc7gprwImimHCz3oJHoFFt69r7L2zmkxXimQSsQ45_sfn7_rO_iQnvUZz_wALCDezfzXIKRHSEZrvLcMCATX0XeoOAFKlr_t1y7-yEf4pzLsrXecBzCPu9RVPUKA246uEzgVEEFIgH9O8jlr8E2F7eF9BX-Yt2DcSrczUa2xB0z33aQa6sWVTlBQr_9Ft3cGfcaxVJBYN5QcQxw38QBG-JUoYzf9YkBs9WWgGmtxZgDeLn08yKaVR8dLqJriAK5A9v4H2c6pRYTJ_s7f60ggPKagNU4P4JWbLMIlQ1c1sbNvLuvAOmRkVzSrAdMLP95mvGwCZ2iQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1a8eb0b9c/9da0a280580845b59a3e935a499e92c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xsUA1hnsUM9rmpt90aO8sylddnLB8yaA4Lm8EihPdzRRtmdbJ5WkpzXPku7Lg081voRqmwhhlz-NhMn5d6Yq7rgO5Axf40QlvaUjpU8LwnNUkZOpQ4shRxtGI4nSVn4YoKgMoPBQs8ilxAjTT4111BIlnjmeJo7gkLqcBNsrg5MpXdZCxGD1Ue_eLHbBi5GGMsTFvtkJHbbqfDSdARedCKJDBLUgWSGwZYPrTBYuOLH_gHoc8WwOwjcf68o1cNffO8vN6t7PA4fgoahrHdKay-N8RruzKuog64nRo-Ge3i6KsLjPPdis5afwCs1iY6XL79UaDBylvwUNDersU3iO2Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579220,"updated":1612579220,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:40: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6a8eb0b9c/272ee09e7ca8436db8cdcbd484553086","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6EiIpj0f5ZaId-kUxxgkTKnqDWWoCFvKSSnjDo29P6-zjx_hgkHnFikoKmRvcbWs7bydnf4N7I04d6UwRbfEF0vp9MBRw2Z1HHJ5He91JaWMwrJwlmt-B-RPxkopbfITlXH9J54dN6pfR1D89V2AHkBrdZ7xIVSyFslsU_JBvAiImLMWYmuHSI93a22-XQnwHmuO3BnawJ_KK5TfJDt7rNys7VZxNxNq6FbKxiPAhWaU9oFiPYhM2eM4HpSZETWTkHikcBJIcCP91Xq1F4x-qAB-tje3I7EXwcADLzcyRGot3gtmMvF9DjpFguE1qkLbSEFeRSpUCqoRqrY-jltcGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579222,"updated":1612579222,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:41: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0a8eb0b9c/90b008cf478942d9add0010d21c8d1ab","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rOPSixfEMjX6hSTXmX2pTXdEa5AphSEHFXya37ixEi5pY2G4tJAvIW3t-71EJnXvfgyTYB-FxOlQ3zxvmy6SM0DfcAt8wr8ax2fTwfafcrxsq-mH7Ed1SlbeOJrocrYTb5lULk_ZR-XZmaXActEPTKkW11PTUmMnjJK-Fs4n39ZbjkvJdVbk1cLVZ9J9LXqtgRXAvQokWOSgMVJsvRKvryRsDB5vEIBppAX-LiGdBd19jmzra4ki-VeL7-UCCrcd7Z4eXW_po0f93RaWXCnFyBeHDWetOXr5KdJ28CCd8On0WDp39SvoAKe0ECKmQIxCBnysbfPVT52PQv0TRkuQsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612579219,"updated":1612579219,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:41: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0a8eb0b9c/?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5a8eb0b9c/e325df529e284f6c94882f28ce34860f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wd325XX2agUKOFye2VJoBMkOEsTu2k8Mg6688peRRDmKPvmd2qQCAnYr90DIEBuB1tR976PV9QM6xPVXMJnVZGMB9sEY8IrT4m0tSA8kGKkFO6bxSXxg7ovF2MSBlxv6zjzwxENlViHBFSXaBv_PLwWLfVpFhv96dMYimocjBuC_UW8zU0HU2d9CWwk_N-pYADGHbqYETRMIFfF7jRacTTygLgJxE_EmfoOqA2oNBV4dCxRXCQgDipcZtFGl_cFodK8xBd_Qp8KlsKFQdMhC8I7hn4BW3GteUQ1hufXsR_DvPqKj1ArpHLtJO7ywH7Z7XTzsiCM5LTvJ3k5qVqYH8Q","e":"AQAB"},"attributes":{"enabled":true,"created":1612579221,"updated":1612579221,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '690' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:41: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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5a8eb0b9c/?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover_mhsm.yaml new file mode 100644 index 000000000000..e863db964653 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover_mhsm.yaml @@ -0,0 +1,1216 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0e9110db0/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181227,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181227},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/7c710694cd530774a2cf5f4f9b809f95","kty":"RSA-HSM","n":"8Evj-9OleDJT7YTaMw4vdziWqAOi6XfN8FJMfZeRsHGnBJnZTKPs_-9hkQrxt0ZBbG_e7XBBfMHQYomMJO69cTTJ08A99fr-de2K316c7a7OLZ9RgWCj8SsmQ16AHjUxP7IncexqHhO7l2VAONoaVrIDg9dfcVDVXgUuQp0vR1n_jTGYHomTEgmMb6TQ5rxMk9RZNSn_mnAovVYxHBoYO-CUlELfGEdjWovoRk2SdFuxRigz3OJiN-PsWH1RpO47k11TL70nTM9IcUebwL8UZoaJ2QbL2h2axDGEnU9CLCDi9x3lu1R_3bL8kmWw7YiHWg3BJEgMtrPI4SW7WsdkUw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '249' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0e9110db0/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181229,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181229},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0/35bd6ded3cfe0bc189d4dde7c7b6d7d6","kty":"RSA-HSM","n":"3qrDarM_yyGgYKkfAbt_vReAmHbLmpyGrvaNvoCmEn-qz9PhxXW_8sAapNkssn9lV_MFOIHJgwem9LIRppSTQ-eqJK16fJUGTl-sP6QiOT1GEVCHu3GYZRSHpfj5VFozZVV0q_2l_LG9TQegYowUb1nWPA1mmzffGF6v8X39s2s28MBKGeHUMGRa1PxkRWnTYJEj67qsZ6Flvir47st_F96QKZ6kApdX9oRtWlqnoJ96o2iEuPeNf_b_OmxRPhtIeSTpdOwY8GTHJBBuzJTTRHe9sFwN3TdJnS9Qh0gik9lXeSMo2gOBwJGuL9XzQwwdz6v10WcbOQ5lG3Pow4auuQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '250' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey1e9110db0/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181232,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181232},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0/2cfa984189620b3820c5ac1f1ff5bb61","kty":"RSA-HSM","n":"i6i_5lSEJw0hX2UYxncGVJau91jop7H3dZOHUAqF8h9M0Jn5NbF93q-0vrOSsJVe9BgGtw60NNmBVkpf8v09GDeY2dWbbQy0S0iWnaYcHTLLLIUPZDSQwzW7dNP8B1PvPuSPfO5nDJ2BvTv5F_qvo78aZdi6U3WNLhSymTUxSGmwzcHoNZgxN3HNMGDW8n1uUXR6n4g0VyauF4RGs0n7wAlhQCiq7Px3s3kgj12PtV3zzigZEmEoiNJkbsHrRp-RCVbSt_PPX1L06xRWDv_VNXFtYvKbjZa2liq74tMK6eiIQIbpVpzOumsvZXiVEKgp1FEiG6DhVrjE3hIopsV1Ew"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '228' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey2e9110db0/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181234,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181234},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0/21578c0137e64cbeb082ca9a4361260a","kty":"RSA-HSM","n":"zp4O2UHv3McE9VeYYlnrV1JFDcRkutcM0ZD-pi2oXBH71jBYvHqKrIInFZpbZjVQNMBbqgicBLQgQ5b1vMRm6trADBJTk2HauqnPhddjCZBfh-FQ28NRkNpjscvKi41WlE2QNFAQK9Cb5eV7mw-VB75wCRI9lXn-JZva6LQyAqE1fj2uN-iATRO3cnFyJWezn0I82JnrJHFWzziUYrR8hwOFybfbVLsFA8LqhUGknZnmV7-5LzewdaTSSjQmuiRhZeCDg2X1OslHxpbPyjzhMx1JWE_FxryF4z46uGJXl7F75O_6iUpmHX0beXg-U-K_37oKQn-SRQBJWKZy-aH02w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '222' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey3e9110db0/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181236,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181236},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0/31073fdc90464a019269b1d73de2560b","kty":"RSA-HSM","n":"1cPPce_GARQ2iOoF90IXR9BjlJ-9RE1ssf6uUJXyiz3Sarplxd5wgv_bSp0BDVYbSUOt066cG5lF07fJwpJQzzsr1fmAGWW3XkZpLMy11syciK4nBT8Kn0xHe3jIreXYA7HHNMKIfST-tpyHtzXlHVDvyKCWYNNjyUbpOM8x4uf6S2eAB2LTEDb5pkW-w8jnaAHnsvCWkjOxqRglmRItPi5AFQCFEB1eyJxH3oknwZ_wtVFCKJk34CU0i_KrG5HLwABFmYND8vl9mxi5Bms8tT7xY7MXJ4bcugQaZr3skQuX5vW4VloRVFXUyU35PnGPxuNesqJavJZrithifETR0w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '238' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey4e9110db0/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181239,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181239},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0/47d7545da4970b0e0e6798f1ff4a3481","kty":"RSA-HSM","n":"j83S2v1pMcpOOdQaCL4Cru81QDUArX052AgTgx5Alw11JzxHL0AoeHkhC_rb3pYUx7IBXAihEzKH5DsvyiTqvJvaWZ9AMf2srER_xiIVP9nRIsiaEoUUpn3FB_xRQ_XrO8ZSVZv4QCZIyJO4k-HuHDVqlr5i_cCX9b1EoEs-r1piyn_kzDublpGh1CKw6yj7IsXS_h8mMtpQgTDmstOqvTdXJm22fmfTACQsnFoTG89SnyjMWvBI-jMA6bnHXk9WhLMlbbpEQGeTHs-940vNuPuhscxejOzdXQ7D2-ambYJ35c_-k-7V50CX8rZSQZJCR3HMpvwU_n_yOJoQv1j5ZQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '298' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey5e9110db0/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181241,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181241},"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0/59fe0977abeb4a079b3aa1fea167a515","kty":"RSA-HSM","n":"rPXhHvZgCcagq_sgp81ApnERXTebX9hMtHOQ1sSos6rrIMUZOT1_2K8kZJU25ylYdK2HZHnrBGJqFDmo0ZT3cELT5xmT2QmQxUi7C8Qc1gwegD6EcwI_XSGTUN8OUsPtK1J0xz-xYiuAsHAkHVPP59UZAAhNzAjyX80zK_ufF3v8EoWjQYumMRnMJMmAC-GeIJ5FUwmfRUGIumcYzdDx3ZKf8w02wkpP-2zekoLq6w4iG-SJOkWrq6b9AImggOy3Xv6te8gIQBLjse_2Fo2VzxhcwbbTOeQWWrcS95NrbXBaDiFfDhDMUGlqqGuAPk87TSQIta2G_YTte7SDfXTyyQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '220' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey6e9110db0/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181232,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181232},"deletedDate":1616181242,"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0/2cfa984189620b3820c5ac1f1ff5bb61","kty":"RSA-HSM","n":"i6i_5lSEJw0hX2UYxncGVJau91jop7H3dZOHUAqF8h9M0Jn5NbF93q-0vrOSsJVe9BgGtw60NNmBVkpf8v09GDeY2dWbbQy0S0iWnaYcHTLLLIUPZDSQwzW7dNP8B1PvPuSPfO5nDJ2BvTv5F_qvo78aZdi6U3WNLhSymTUxSGmwzcHoNZgxN3HNMGDW8n1uUXR6n4g0VyauF4RGs0n7wAlhQCiq7Px3s3kgj12PtV3zzigZEmEoiNJkbsHrRp-RCVbSt_PPX1L06xRWDv_VNXFtYvKbjZa2liq74tMK6eiIQIbpVpzOumsvZXiVEKgp1FEiG6DhVrjE3hIopsV1Ew"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2e9110db0","scheduledPurgeDate":1623957242}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '226' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey2e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181232,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181232},"deletedDate":1616181242,"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0/2cfa984189620b3820c5ac1f1ff5bb61","kty":"RSA-HSM","n":"i6i_5lSEJw0hX2UYxncGVJau91jop7H3dZOHUAqF8h9M0Jn5NbF93q-0vrOSsJVe9BgGtw60NNmBVkpf8v09GDeY2dWbbQy0S0iWnaYcHTLLLIUPZDSQwzW7dNP8B1PvPuSPfO5nDJ2BvTv5F_qvo78aZdi6U3WNLhSymTUxSGmwzcHoNZgxN3HNMGDW8n1uUXR6n4g0VyauF4RGs0n7wAlhQCiq7Px3s3kgj12PtV3zzigZEmEoiNJkbsHrRp-RCVbSt_PPX1L06xRWDv_VNXFtYvKbjZa2liq74tMK6eiIQIbpVpzOumsvZXiVEKgp1FEiG6DhVrjE3hIopsV1Ew"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2e9110db0","scheduledPurgeDate":1623957242}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '29' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey2e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181227,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181227},"deletedDate":1616181242,"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/7c710694cd530774a2cf5f4f9b809f95","kty":"RSA-HSM","n":"8Evj-9OleDJT7YTaMw4vdziWqAOi6XfN8FJMfZeRsHGnBJnZTKPs_-9hkQrxt0ZBbG_e7XBBfMHQYomMJO69cTTJ08A99fr-de2K316c7a7OLZ9RgWCj8SsmQ16AHjUxP7IncexqHhO7l2VAONoaVrIDg9dfcVDVXgUuQp0vR1n_jTGYHomTEgmMb6TQ5rxMk9RZNSn_mnAovVYxHBoYO-CUlELfGEdjWovoRk2SdFuxRigz3OJiN-PsWH1RpO47k11TL70nTM9IcUebwL8UZoaJ2QbL2h2axDGEnU9CLCDi9x3lu1R_3bL8kmWw7YiHWg3BJEgMtrPI4SW7WsdkUw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0e9110db0","scheduledPurgeDate":1623957242}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '206' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181227,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181227},"deletedDate":1616181242,"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/7c710694cd530774a2cf5f4f9b809f95","kty":"RSA-HSM","n":"8Evj-9OleDJT7YTaMw4vdziWqAOi6XfN8FJMfZeRsHGnBJnZTKPs_-9hkQrxt0ZBbG_e7XBBfMHQYomMJO69cTTJ08A99fr-de2K316c7a7OLZ9RgWCj8SsmQ16AHjUxP7IncexqHhO7l2VAONoaVrIDg9dfcVDVXgUuQp0vR1n_jTGYHomTEgmMb6TQ5rxMk9RZNSn_mnAovVYxHBoYO-CUlELfGEdjWovoRk2SdFuxRigz3OJiN-PsWH1RpO47k11TL70nTM9IcUebwL8UZoaJ2QbL2h2axDGEnU9CLCDi9x3lu1R_3bL8kmWw7YiHWg3BJEgMtrPI4SW7WsdkUw"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0e9110db0","scheduledPurgeDate":1623957242}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '54' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey0e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181236,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181236},"deletedDate":1616181243,"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0/31073fdc90464a019269b1d73de2560b","kty":"RSA-HSM","n":"1cPPce_GARQ2iOoF90IXR9BjlJ-9RE1ssf6uUJXyiz3Sarplxd5wgv_bSp0BDVYbSUOt066cG5lF07fJwpJQzzsr1fmAGWW3XkZpLMy11syciK4nBT8Kn0xHe3jIreXYA7HHNMKIfST-tpyHtzXlHVDvyKCWYNNjyUbpOM8x4uf6S2eAB2LTEDb5pkW-w8jnaAHnsvCWkjOxqRglmRItPi5AFQCFEB1eyJxH3oknwZ_wtVFCKJk34CU0i_KrG5HLwABFmYND8vl9mxi5Bms8tT7xY7MXJ4bcugQaZr3skQuX5vW4VloRVFXUyU35PnGPxuNesqJavJZrithifETR0w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4e9110db0","scheduledPurgeDate":1623957243}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '208' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey4e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181236,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181236},"deletedDate":1616181243,"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0/31073fdc90464a019269b1d73de2560b","kty":"RSA-HSM","n":"1cPPce_GARQ2iOoF90IXR9BjlJ-9RE1ssf6uUJXyiz3Sarplxd5wgv_bSp0BDVYbSUOt066cG5lF07fJwpJQzzsr1fmAGWW3XkZpLMy11syciK4nBT8Kn0xHe3jIreXYA7HHNMKIfST-tpyHtzXlHVDvyKCWYNNjyUbpOM8x4uf6S2eAB2LTEDb5pkW-w8jnaAHnsvCWkjOxqRglmRItPi5AFQCFEB1eyJxH3oknwZ_wtVFCKJk34CU0i_KrG5HLwABFmYND8vl9mxi5Bms8tT7xY7MXJ4bcugQaZr3skQuX5vW4VloRVFXUyU35PnGPxuNesqJavJZrithifETR0w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4e9110db0","scheduledPurgeDate":1623957243}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '37' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey4e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181241,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181241},"deletedDate":1616181243,"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0/59fe0977abeb4a079b3aa1fea167a515","kty":"RSA-HSM","n":"rPXhHvZgCcagq_sgp81ApnERXTebX9hMtHOQ1sSos6rrIMUZOT1_2K8kZJU25ylYdK2HZHnrBGJqFDmo0ZT3cELT5xmT2QmQxUi7C8Qc1gwegD6EcwI_XSGTUN8OUsPtK1J0xz-xYiuAsHAkHVPP59UZAAhNzAjyX80zK_ufF3v8EoWjQYumMRnMJMmAC-GeIJ5FUwmfRUGIumcYzdDx3ZKf8w02wkpP-2zekoLq6w4iG-SJOkWrq6b9AImggOy3Xv6te8gIQBLjse_2Fo2VzxhcwbbTOeQWWrcS95NrbXBaDiFfDhDMUGlqqGuAPk87TSQIta2G_YTte7SDfXTyyQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6e9110db0","scheduledPurgeDate":1623957243}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '196' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey6e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181241,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181241},"deletedDate":1616181243,"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0/59fe0977abeb4a079b3aa1fea167a515","kty":"RSA-HSM","n":"rPXhHvZgCcagq_sgp81ApnERXTebX9hMtHOQ1sSos6rrIMUZOT1_2K8kZJU25ylYdK2HZHnrBGJqFDmo0ZT3cELT5xmT2QmQxUi7C8Qc1gwegD6EcwI_XSGTUN8OUsPtK1J0xz-xYiuAsHAkHVPP59UZAAhNzAjyX80zK_ufF3v8EoWjQYumMRnMJMmAC-GeIJ5FUwmfRUGIumcYzdDx3ZKf8w02wkpP-2zekoLq6w4iG-SJOkWrq6b9AImggOy3Xv6te8gIQBLjse_2Fo2VzxhcwbbTOeQWWrcS95NrbXBaDiFfDhDMUGlqqGuAPk87TSQIta2G_YTte7SDfXTyyQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6e9110db0","scheduledPurgeDate":1623957243}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '26' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey6e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181234,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181234},"deletedDate":1616181243,"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0/21578c0137e64cbeb082ca9a4361260a","kty":"RSA-HSM","n":"zp4O2UHv3McE9VeYYlnrV1JFDcRkutcM0ZD-pi2oXBH71jBYvHqKrIInFZpbZjVQNMBbqgicBLQgQ5b1vMRm6trADBJTk2HauqnPhddjCZBfh-FQ28NRkNpjscvKi41WlE2QNFAQK9Cb5eV7mw-VB75wCRI9lXn-JZva6LQyAqE1fj2uN-iATRO3cnFyJWezn0I82JnrJHFWzziUYrR8hwOFybfbVLsFA8LqhUGknZnmV7-5LzewdaTSSjQmuiRhZeCDg2X1OslHxpbPyjzhMx1JWE_FxryF4z46uGJXl7F75O_6iUpmHX0beXg-U-K_37oKQn-SRQBJWKZy-aH02w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3e9110db0","scheduledPurgeDate":1623957243}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '211' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey3e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181234,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181234},"deletedDate":1616181243,"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0/21578c0137e64cbeb082ca9a4361260a","kty":"RSA-HSM","n":"zp4O2UHv3McE9VeYYlnrV1JFDcRkutcM0ZD-pi2oXBH71jBYvHqKrIInFZpbZjVQNMBbqgicBLQgQ5b1vMRm6trADBJTk2HauqnPhddjCZBfh-FQ28NRkNpjscvKi41WlE2QNFAQK9Cb5eV7mw-VB75wCRI9lXn-JZva6LQyAqE1fj2uN-iATRO3cnFyJWezn0I82JnrJHFWzziUYrR8hwOFybfbVLsFA8LqhUGknZnmV7-5LzewdaTSSjQmuiRhZeCDg2X1OslHxpbPyjzhMx1JWE_FxryF4z46uGJXl7F75O_6iUpmHX0beXg-U-K_37oKQn-SRQBJWKZy-aH02w"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3e9110db0","scheduledPurgeDate":1623957243}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '37' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey3e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181239,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181239},"deletedDate":1616181244,"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0/47d7545da4970b0e0e6798f1ff4a3481","kty":"RSA-HSM","n":"j83S2v1pMcpOOdQaCL4Cru81QDUArX052AgTgx5Alw11JzxHL0AoeHkhC_rb3pYUx7IBXAihEzKH5DsvyiTqvJvaWZ9AMf2srER_xiIVP9nRIsiaEoUUpn3FB_xRQ_XrO8ZSVZv4QCZIyJO4k-HuHDVqlr5i_cCX9b1EoEs-r1piyn_kzDublpGh1CKw6yj7IsXS_h8mMtpQgTDmstOqvTdXJm22fmfTACQsnFoTG89SnyjMWvBI-jMA6bnHXk9WhLMlbbpEQGeTHs-940vNuPuhscxejOzdXQ7D2-ambYJ35c_-k-7V50CX8rZSQZJCR3HMpvwU_n_yOJoQv1j5ZQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5e9110db0","scheduledPurgeDate":1623957244}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '237' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey5e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181239,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181239},"deletedDate":1616181244,"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0/47d7545da4970b0e0e6798f1ff4a3481","kty":"RSA-HSM","n":"j83S2v1pMcpOOdQaCL4Cru81QDUArX052AgTgx5Alw11JzxHL0AoeHkhC_rb3pYUx7IBXAihEzKH5DsvyiTqvJvaWZ9AMf2srER_xiIVP9nRIsiaEoUUpn3FB_xRQ_XrO8ZSVZv4QCZIyJO4k-HuHDVqlr5i_cCX9b1EoEs-r1piyn_kzDublpGh1CKw6yj7IsXS_h8mMtpQgTDmstOqvTdXJm22fmfTACQsnFoTG89SnyjMWvBI-jMA6bnHXk9WhLMlbbpEQGeTHs-940vNuPuhscxejOzdXQ7D2-ambYJ35c_-k-7V50CX8rZSQZJCR3HMpvwU_n_yOJoQv1j5ZQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5e9110db0","scheduledPurgeDate":1623957244}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '35' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey5e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181229,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181229},"deletedDate":1616181244,"key":{"e":"AQAB","key_ops":["wrapKey","sign","verify","encrypt","decrypt","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0/35bd6ded3cfe0bc189d4dde7c7b6d7d6","kty":"RSA-HSM","n":"3qrDarM_yyGgYKkfAbt_vReAmHbLmpyGrvaNvoCmEn-qz9PhxXW_8sAapNkssn9lV_MFOIHJgwem9LIRppSTQ-eqJK16fJUGTl-sP6QiOT1GEVCHu3GYZRSHpfj5VFozZVV0q_2l_LG9TQegYowUb1nWPA1mmzffGF6v8X39s2s28MBKGeHUMGRa1PxkRWnTYJEj67qsZ6Flvir47st_F96QKZ6kApdX9oRtWlqnoJ96o2iEuPeNf_b_OmxRPhtIeSTpdOwY8GTHJBBuzJTTRHe9sFwN3TdJnS9Qh0gik9lXeSMo2gOBwJGuL9XzQwwdz6v10WcbOQ5lG3Pow4auuQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1e9110db0","scheduledPurgeDate":1623957244}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '197' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey1e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1e9110db0?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181229,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181229},"deletedDate":1616181244,"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0/35bd6ded3cfe0bc189d4dde7c7b6d7d6","kty":"RSA-HSM","n":"3qrDarM_yyGgYKkfAbt_vReAmHbLmpyGrvaNvoCmEn-qz9PhxXW_8sAapNkssn9lV_MFOIHJgwem9LIRppSTQ-eqJK16fJUGTl-sP6QiOT1GEVCHu3GYZRSHpfj5VFozZVV0q_2l_LG9TQegYowUb1nWPA1mmzffGF6v8X39s2s28MBKGeHUMGRa1PxkRWnTYJEj67qsZ6Flvir47st_F96QKZ6kApdX9oRtWlqnoJ96o2iEuPeNf_b_OmxRPhtIeSTpdOwY8GTHJBBuzJTTRHe9sFwN3TdJnS9Qh0gik9lXeSMo2gOBwJGuL9XzQwwdz6v10WcbOQ5lG3Pow4auuQ"},"recoveryId":"https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1e9110db0","scheduledPurgeDate":1623957244}' + headers: + cache-control: no-cache + content-length: '873' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '26' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey1e9110db0?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey2e9110db0/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181232,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181232},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0/2cfa984189620b3820c5ac1f1ff5bb61","kty":"RSA-HSM","n":"i6i_5lSEJw0hX2UYxncGVJau91jop7H3dZOHUAqF8h9M0Jn5NbF93q-0vrOSsJVe9BgGtw60NNmBVkpf8v09GDeY2dWbbQy0S0iWnaYcHTLLLIUPZDSQwzW7dNP8B1PvPuSPfO5nDJ2BvTv5F_qvo78aZdi6U3WNLhSymTUxSGmwzcHoNZgxN3HNMGDW8n1uUXR6n4g0VyauF4RGs0n7wAlhQCiq7Px3s3kgj12PtV3zzigZEmEoiNJkbsHrRp-RCVbSt_PPX1L06xRWDv_VNXFtYvKbjZa2liq74tMK6eiIQIbpVpzOumsvZXiVEKgp1FEiG6DhVrjE3hIopsV1Ew"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '132' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey2e9110db0/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181232,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181232},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0/2cfa984189620b3820c5ac1f1ff5bb61","kty":"RSA-HSM","n":"i6i_5lSEJw0hX2UYxncGVJau91jop7H3dZOHUAqF8h9M0Jn5NbF93q-0vrOSsJVe9BgGtw60NNmBVkpf8v09GDeY2dWbbQy0S0iWnaYcHTLLLIUPZDSQwzW7dNP8B1PvPuSPfO5nDJ2BvTv5F_qvo78aZdi6U3WNLhSymTUxSGmwzcHoNZgxN3HNMGDW8n1uUXR6n4g0VyauF4RGs0n7wAlhQCiq7Px3s3kgj12PtV3zzigZEmEoiNJkbsHrRp-RCVbSt_PPX1L06xRWDv_VNXFtYvKbjZa2liq74tMK6eiIQIbpVpzOumsvZXiVEKgp1FEiG6DhVrjE3hIopsV1Ew"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey2e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey0e9110db0/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181227,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181227},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/7c710694cd530774a2cf5f4f9b809f95","kty":"RSA-HSM","n":"8Evj-9OleDJT7YTaMw4vdziWqAOi6XfN8FJMfZeRsHGnBJnZTKPs_-9hkQrxt0ZBbG_e7XBBfMHQYomMJO69cTTJ08A99fr-de2K316c7a7OLZ9RgWCj8SsmQ16AHjUxP7IncexqHhO7l2VAONoaVrIDg9dfcVDVXgUuQp0vR1n_jTGYHomTEgmMb6TQ5rxMk9RZNSn_mnAovVYxHBoYO-CUlELfGEdjWovoRk2SdFuxRigz3OJiN-PsWH1RpO47k11TL70nTM9IcUebwL8UZoaJ2QbL2h2axDGEnU9CLCDi9x3lu1R_3bL8kmWw7YiHWg3BJEgMtrPI4SW7WsdkUw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '135' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey0e9110db0/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181227,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181227},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/7c710694cd530774a2cf5f4f9b809f95","kty":"RSA-HSM","n":"8Evj-9OleDJT7YTaMw4vdziWqAOi6XfN8FJMfZeRsHGnBJnZTKPs_-9hkQrxt0ZBbG_e7XBBfMHQYomMJO69cTTJ08A99fr-de2K316c7a7OLZ9RgWCj8SsmQ16AHjUxP7IncexqHhO7l2VAONoaVrIDg9dfcVDVXgUuQp0vR1n_jTGYHomTEgmMb6TQ5rxMk9RZNSn_mnAovVYxHBoYO-CUlELfGEdjWovoRk2SdFuxRigz3OJiN-PsWH1RpO47k11TL70nTM9IcUebwL8UZoaJ2QbL2h2axDGEnU9CLCDi9x3lu1R_3bL8kmWw7YiHWg3BJEgMtrPI4SW7WsdkUw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey4e9110db0/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181236,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181236},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0/31073fdc90464a019269b1d73de2560b","kty":"RSA-HSM","n":"1cPPce_GARQ2iOoF90IXR9BjlJ-9RE1ssf6uUJXyiz3Sarplxd5wgv_bSp0BDVYbSUOt066cG5lF07fJwpJQzzsr1fmAGWW3XkZpLMy11syciK4nBT8Kn0xHe3jIreXYA7HHNMKIfST-tpyHtzXlHVDvyKCWYNNjyUbpOM8x4uf6S2eAB2LTEDb5pkW-w8jnaAHnsvCWkjOxqRglmRItPi5AFQCFEB1eyJxH3oknwZ_wtVFCKJk34CU0i_KrG5HLwABFmYND8vl9mxi5Bms8tT7xY7MXJ4bcugQaZr3skQuX5vW4VloRVFXUyU35PnGPxuNesqJavJZrithifETR0w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '133' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey4e9110db0/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181236,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181236},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0/31073fdc90464a019269b1d73de2560b","kty":"RSA-HSM","n":"1cPPce_GARQ2iOoF90IXR9BjlJ-9RE1ssf6uUJXyiz3Sarplxd5wgv_bSp0BDVYbSUOt066cG5lF07fJwpJQzzsr1fmAGWW3XkZpLMy11syciK4nBT8Kn0xHe3jIreXYA7HHNMKIfST-tpyHtzXlHVDvyKCWYNNjyUbpOM8x4uf6S2eAB2LTEDb5pkW-w8jnaAHnsvCWkjOxqRglmRItPi5AFQCFEB1eyJxH3oknwZ_wtVFCKJk34CU0i_KrG5HLwABFmYND8vl9mxi5Bms8tT7xY7MXJ4bcugQaZr3skQuX5vW4VloRVFXUyU35PnGPxuNesqJavJZrithifETR0w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '0' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey4e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey6e9110db0/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181241,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181241},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0/59fe0977abeb4a079b3aa1fea167a515","kty":"RSA-HSM","n":"rPXhHvZgCcagq_sgp81ApnERXTebX9hMtHOQ1sSos6rrIMUZOT1_2K8kZJU25ylYdK2HZHnrBGJqFDmo0ZT3cELT5xmT2QmQxUi7C8Qc1gwegD6EcwI_XSGTUN8OUsPtK1J0xz-xYiuAsHAkHVPP59UZAAhNzAjyX80zK_ufF3v8EoWjQYumMRnMJMmAC-GeIJ5FUwmfRUGIumcYzdDx3ZKf8w02wkpP-2zekoLq6w4iG-SJOkWrq6b9AImggOy3Xv6te8gIQBLjse_2Fo2VzxhcwbbTOeQWWrcS95NrbXBaDiFfDhDMUGlqqGuAPk87TSQIta2G_YTte7SDfXTyyQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '130' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey6e9110db0/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181241,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181241},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0/59fe0977abeb4a079b3aa1fea167a515","kty":"RSA-HSM","n":"rPXhHvZgCcagq_sgp81ApnERXTebX9hMtHOQ1sSos6rrIMUZOT1_2K8kZJU25ylYdK2HZHnrBGJqFDmo0ZT3cELT5xmT2QmQxUi7C8Qc1gwegD6EcwI_XSGTUN8OUsPtK1J0xz-xYiuAsHAkHVPP59UZAAhNzAjyX80zK_ufF3v8EoWjQYumMRnMJMmAC-GeIJ5FUwmfRUGIumcYzdDx3ZKf8w02wkpP-2zekoLq6w4iG-SJOkWrq6b9AImggOy3Xv6te8gIQBLjse_2Fo2VzxhcwbbTOeQWWrcS95NrbXBaDiFfDhDMUGlqqGuAPk87TSQIta2G_YTte7SDfXTyyQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey6e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey3e9110db0/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181234,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181234},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0/21578c0137e64cbeb082ca9a4361260a","kty":"RSA-HSM","n":"zp4O2UHv3McE9VeYYlnrV1JFDcRkutcM0ZD-pi2oXBH71jBYvHqKrIInFZpbZjVQNMBbqgicBLQgQ5b1vMRm6trADBJTk2HauqnPhddjCZBfh-FQ28NRkNpjscvKi41WlE2QNFAQK9Cb5eV7mw-VB75wCRI9lXn-JZva6LQyAqE1fj2uN-iATRO3cnFyJWezn0I82JnrJHFWzziUYrR8hwOFybfbVLsFA8LqhUGknZnmV7-5LzewdaTSSjQmuiRhZeCDg2X1OslHxpbPyjzhMx1JWE_FxryF4z46uGJXl7F75O_6iUpmHX0beXg-U-K_37oKQn-SRQBJWKZy-aH02w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '127' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey3e9110db0/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181234,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181234},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0/21578c0137e64cbeb082ca9a4361260a","kty":"RSA-HSM","n":"zp4O2UHv3McE9VeYYlnrV1JFDcRkutcM0ZD-pi2oXBH71jBYvHqKrIInFZpbZjVQNMBbqgicBLQgQ5b1vMRm6trADBJTk2HauqnPhddjCZBfh-FQ28NRkNpjscvKi41WlE2QNFAQK9Cb5eV7mw-VB75wCRI9lXn-JZva6LQyAqE1fj2uN-iATRO3cnFyJWezn0I82JnrJHFWzziUYrR8hwOFybfbVLsFA8LqhUGknZnmV7-5LzewdaTSSjQmuiRhZeCDg2X1OslHxpbPyjzhMx1JWE_FxryF4z46uGJXl7F75O_6iUpmHX0beXg-U-K_37oKQn-SRQBJWKZy-aH02w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '0' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey3e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey5e9110db0/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181239,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181239},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0/47d7545da4970b0e0e6798f1ff4a3481","kty":"RSA-HSM","n":"j83S2v1pMcpOOdQaCL4Cru81QDUArX052AgTgx5Alw11JzxHL0AoeHkhC_rb3pYUx7IBXAihEzKH5DsvyiTqvJvaWZ9AMf2srER_xiIVP9nRIsiaEoUUpn3FB_xRQ_XrO8ZSVZv4QCZIyJO4k-HuHDVqlr5i_cCX9b1EoEs-r1piyn_kzDublpGh1CKw6yj7IsXS_h8mMtpQgTDmstOqvTdXJm22fmfTACQsnFoTG89SnyjMWvBI-jMA6bnHXk9WhLMlbbpEQGeTHs-940vNuPuhscxejOzdXQ7D2-ambYJ35c_-k-7V50CX8rZSQZJCR3HMpvwU_n_yOJoQv1j5ZQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '125' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey5e9110db0/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181239,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181239},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0/47d7545da4970b0e0e6798f1ff4a3481","kty":"RSA-HSM","n":"j83S2v1pMcpOOdQaCL4Cru81QDUArX052AgTgx5Alw11JzxHL0AoeHkhC_rb3pYUx7IBXAihEzKH5DsvyiTqvJvaWZ9AMf2srER_xiIVP9nRIsiaEoUUpn3FB_xRQ_XrO8ZSVZv4QCZIyJO4k-HuHDVqlr5i_cCX9b1EoEs-r1piyn_kzDublpGh1CKw6yj7IsXS_h8mMtpQgTDmstOqvTdXJm22fmfTACQsnFoTG89SnyjMWvBI-jMA6bnHXk9WhLMlbbpEQGeTHs-940vNuPuhscxejOzdXQ7D2-ambYJ35c_-k-7V50CX8rZSQZJCR3HMpvwU_n_yOJoQv1j5ZQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey5e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/deletedkeys/livekvtestkey1e9110db0/recover?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181229,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181229},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0/35bd6ded3cfe0bc189d4dde7c7b6d7d6","kty":"RSA-HSM","n":"3qrDarM_yyGgYKkfAbt_vReAmHbLmpyGrvaNvoCmEn-qz9PhxXW_8sAapNkssn9lV_MFOIHJgwem9LIRppSTQ-eqJK16fJUGTl-sP6QiOT1GEVCHu3GYZRSHpfj5VFozZVV0q_2l_LG9TQegYowUb1nWPA1mmzffGF6v8X39s2s28MBKGeHUMGRa1PxkRWnTYJEj67qsZ6Flvir47st_F96QKZ6kApdX9oRtWlqnoJ96o2iEuPeNf_b_OmxRPhtIeSTpdOwY8GTHJBBuzJTTRHe9sFwN3TdJnS9Qh0gik9lXeSMo2gOBwJGuL9XzQwwdz6v10WcbOQ5lG3Pow4auuQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '149' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/deletedkeys/livekvtestkey1e9110db0/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181229,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181229},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0/35bd6ded3cfe0bc189d4dde7c7b6d7d6","kty":"RSA-HSM","n":"3qrDarM_yyGgYKkfAbt_vReAmHbLmpyGrvaNvoCmEn-qz9PhxXW_8sAapNkssn9lV_MFOIHJgwem9LIRppSTQ-eqJK16fJUGTl-sP6QiOT1GEVCHu3GYZRSHpfj5VFozZVV0q_2l_LG9TQegYowUb1nWPA1mmzffGF6v8X39s2s28MBKGeHUMGRa1PxkRWnTYJEj67qsZ6Flvir47st_F96QKZ6kApdX9oRtWlqnoJ96o2iEuPeNf_b_OmxRPhtIeSTpdOwY8GTHJBBuzJTTRHe9sFwN3TdJnS9Qh0gik9lXeSMo2gOBwJGuL9XzQwwdz6v10WcbOQ5lG3Pow4auuQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '17' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey1e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181232,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181232},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey2e9110db0/2cfa984189620b3820c5ac1f1ff5bb61","kty":"RSA-HSM","n":"i6i_5lSEJw0hX2UYxncGVJau91jop7H3dZOHUAqF8h9M0Jn5NbF93q-0vrOSsJVe9BgGtw60NNmBVkpf8v09GDeY2dWbbQy0S0iWnaYcHTLLLIUPZDSQwzW7dNP8B1PvPuSPfO5nDJ2BvTv5F_qvo78aZdi6U3WNLhSymTUxSGmwzcHoNZgxN3HNMGDW8n1uUXR6n4g0VyauF4RGs0n7wAlhQCiq7Px3s3kgj12PtV3zzigZEmEoiNJkbsHrRp-RCVbSt_PPX1L06xRWDv_VNXFtYvKbjZa2liq74tMK6eiIQIbpVpzOumsvZXiVEKgp1FEiG6DhVrjE3hIopsV1Ew"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey2e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181227,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181227},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey0e9110db0/7c710694cd530774a2cf5f4f9b809f95","kty":"RSA-HSM","n":"8Evj-9OleDJT7YTaMw4vdziWqAOi6XfN8FJMfZeRsHGnBJnZTKPs_-9hkQrxt0ZBbG_e7XBBfMHQYomMJO69cTTJ08A99fr-de2K316c7a7OLZ9RgWCj8SsmQ16AHjUxP7IncexqHhO7l2VAONoaVrIDg9dfcVDVXgUuQp0vR1n_jTGYHomTEgmMb6TQ5rxMk9RZNSn_mnAovVYxHBoYO-CUlELfGEdjWovoRk2SdFuxRigz3OJiN-PsWH1RpO47k11TL70nTM9IcUebwL8UZoaJ2QbL2h2axDGEnU9CLCDi9x3lu1R_3bL8kmWw7YiHWg3BJEgMtrPI4SW7WsdkUw"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '0' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey0e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181236,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181236},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey4e9110db0/31073fdc90464a019269b1d73de2560b","kty":"RSA-HSM","n":"1cPPce_GARQ2iOoF90IXR9BjlJ-9RE1ssf6uUJXyiz3Sarplxd5wgv_bSp0BDVYbSUOt066cG5lF07fJwpJQzzsr1fmAGWW3XkZpLMy11syciK4nBT8Kn0xHe3jIreXYA7HHNMKIfST-tpyHtzXlHVDvyKCWYNNjyUbpOM8x4uf6S2eAB2LTEDb5pkW-w8jnaAHnsvCWkjOxqRglmRItPi5AFQCFEB1eyJxH3oknwZ_wtVFCKJk34CU0i_KrG5HLwABFmYND8vl9mxi5Bms8tT7xY7MXJ4bcugQaZr3skQuX5vW4VloRVFXUyU35PnGPxuNesqJavJZrithifETR0w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey4e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181241,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181241},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey6e9110db0/59fe0977abeb4a079b3aa1fea167a515","kty":"RSA-HSM","n":"rPXhHvZgCcagq_sgp81ApnERXTebX9hMtHOQ1sSos6rrIMUZOT1_2K8kZJU25ylYdK2HZHnrBGJqFDmo0ZT3cELT5xmT2QmQxUi7C8Qc1gwegD6EcwI_XSGTUN8OUsPtK1J0xz-xYiuAsHAkHVPP59UZAAhNzAjyX80zK_ufF3v8EoWjQYumMRnMJMmAC-GeIJ5FUwmfRUGIumcYzdDx3ZKf8w02wkpP-2zekoLq6w4iG-SJOkWrq6b9AImggOy3Xv6te8gIQBLjse_2Fo2VzxhcwbbTOeQWWrcS95NrbXBaDiFfDhDMUGlqqGuAPk87TSQIta2G_YTte7SDfXTyyQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey6e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181234,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181234},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey3e9110db0/21578c0137e64cbeb082ca9a4361260a","kty":"RSA-HSM","n":"zp4O2UHv3McE9VeYYlnrV1JFDcRkutcM0ZD-pi2oXBH71jBYvHqKrIInFZpbZjVQNMBbqgicBLQgQ5b1vMRm6trADBJTk2HauqnPhddjCZBfh-FQ28NRkNpjscvKi41WlE2QNFAQK9Cb5eV7mw-VB75wCRI9lXn-JZva6LQyAqE1fj2uN-iATRO3cnFyJWezn0I82JnrJHFWzziUYrR8hwOFybfbVLsFA8LqhUGknZnmV7-5LzewdaTSSjQmuiRhZeCDg2X1OslHxpbPyjzhMx1JWE_FxryF4z46uGJXl7F75O_6iUpmHX0beXg-U-K_37oKQn-SRQBJWKZy-aH02w"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey3e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181239,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181239},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey5e9110db0/47d7545da4970b0e0e6798f1ff4a3481","kty":"RSA-HSM","n":"j83S2v1pMcpOOdQaCL4Cru81QDUArX052AgTgx5Alw11JzxHL0AoeHkhC_rb3pYUx7IBXAihEzKH5DsvyiTqvJvaWZ9AMf2srER_xiIVP9nRIsiaEoUUpn3FB_xRQ_XrO8ZSVZv4QCZIyJO4k-HuHDVqlr5i_cCX9b1EoEs-r1piyn_kzDublpGh1CKw6yj7IsXS_h8mMtpQgTDmstOqvTdXJm22fmfTACQsnFoTG89SnyjMWvBI-jMA6bnHXk9WhLMlbbpEQGeTHs-940vNuPuhscxejOzdXQ7D2-ambYJ35c_-k-7V50CX8rZSQZJCR3HMpvwU_n_yOJoQv1j5ZQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey5e9110db0/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0/?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616181229,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616181229},"key":{"e":"AQAB","key_ops":["unwrapKey","decrypt","encrypt","verify","sign","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkey1e9110db0/35bd6ded3cfe0bc189d4dde7c7b6d7d6","kty":"RSA-HSM","n":"3qrDarM_yyGgYKkfAbt_vReAmHbLmpyGrvaNvoCmEn-qz9PhxXW_8sAapNkssn9lV_MFOIHJgwem9LIRppSTQ-eqJK16fJUGTl-sP6QiOT1GEVCHu3GYZRSHpfj5VFozZVV0q_2l_LG9TQegYowUb1nWPA1mmzffGF6v8X39s2s28MBKGeHUMGRa1PxkRWnTYJEj67qsZ6Flvir47st_F96QKZ6kApdX9oRtWlqnoJ96o2iEuPeNf_b_OmxRPhtIeSTpdOwY8GTHJBBuzJTTRHe9sFwN3TdJnS9Qh0gik9lXeSMo2gOBwJGuL9XzQwwdz6v10WcbOQ5lG3Pow4auuQ"}}' + headers: + cache-control: no-cache + content-length: '721' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '0' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkey1e9110db0/?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover_vault.yaml new file mode 100644 index 000000000000..9b37738f8399 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_keys_async.test_recover_vault.yaml @@ -0,0 +1,4322 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 19:14:09 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/11ee3592449b45dcae35604483f48d24","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qiEmt4a51qmOcZpRyGul7_eVAw0HgS9-szN0qCmvWihDs_wIXfkRlO60acYdhG6nNMlWvrAEp3fussWksFnk5ElNKzHnihIcN04_b-aoJwQg1FBPSY46aW2GU_DhnlY0tP10SKJFDveW2HC3VOuw-JuTKIn20u96TA1QqJNI0Q6CR17o4D11ExmZwb03AN0YTGQdGnW-jZAKSDrvQtHAPjCq-OEFnfknrVl-HnI34WdxTe0q__MaaMbMpV1nn1IyvC-8cR-akO1ejCZdw_IvFHFJsvIDP4rprfiQtDYk17q8mADBFV5nDrJu-GVWMXpox_gY2LLZ7q-F113C47Y1pQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181251,"updated":1616181251,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/f8b52920af274cd2b3e9d4f075866ecb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8AUuqoqXUMKY_s0_BAZ5y9-63TInA4yQnNZR0uwQgCXMSJMivHuLgiLtxiG9FY_tFHML4meTSDr3-yvm3smt05GFuEkEqrwSq41EWXssPlWhGe7oogWGguEMHeONQcMF_IPGfK3ks-tYOEJbH-MRv_UhldQuL2n4iIMx31nj8WY5R2jWSMpCkoboRVyvCw4B02AMfv69A0pFmcA-abkldP6dDUg7i1lO9Q_Ct5gOILcdGydnmUMXCFFkqT53CAIkM_nmA5et_PRNldaPvpXUKBpc3733eVf0AveYaV3CwPVc9c-Z4PsRM4H8EHVPMBFxdbLn7ulvgHi6yN-zrw-2GQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181253,"updated":1616181253,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/4e7650102bcd40f685f68d2b42c90d55","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vqibFMAaWlnq6QnQ2ALDqsWcKiy3b0Q79oBUK7gR05D360cBjumtSuJqSdkfHLaFFRora10lGvLfmCJEACJJuH397I3-DMyFyph6blotsCgLaAoeWO-wDTVYOTtTzTsvP8UPbOl9Hz9_00e5y9WSmEdfYidryrm5pkQVX9rkNH4bpuSddh-5U8u0JhsLvNJ2b7IMKYZali_ZlaIr6FC6_FGvZJFcdB3_X5mMSFHRWhGgNo31ZLlQEn-y9yLNcqNWYDlHQQeYwoxptaME5J7ySpOVu2MXIfl8__G-ndpdMZCWuqGMR9_Tec3NOyRjNIKhamPJj7EUZCB_GIfeK5l8lQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181256,"updated":1616181256,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2f74a0e27/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/2462a95839404002b2f7ffc78c5db85d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"regUaROlgGMgZDL3GyJpyqXd55Yw1a5r0truO3aMwAfaguun-y4WlNb2Ic7mvQghLEus8O0UEa5UEh4-b-jIIB1yCDSjRknyQqCu1MJJMMUFwtwrTiQRiDNQPeNVc8bxXwrLYmecaHMhwXEM6F2g9SLFKCJTrCAjnQKzCIUbPdozrVAnwLdqkGi8uFgi7MDG7S0hyGFRO7jbRwHsn9s0LW3pHhfVHBPGp4JF9Ob4NAE2KFQOsOX7chOsuNBbGlW-wBOVF0vraQmVbGuV6w8O94kl5GI0osjsWXmE6ETTMxM2f3v1RX4NcekvjGIj_qnXJuzvMNQIAaCtkWTQs59M6Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181258,"updated":1616181258,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/0e17852d7116457fbd77b4f931db0694","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3Jtjncv_7yuzLlA2CpzFSUIJvPj27kOm5O-HGDjHESSg4s2aIakfPeWPCwCiNhWN_V1pFTgE1IYkm0Kx3uHz40b7i8LsRAdEbRHm5nEfg2AbPbYws2UdTY7MLXj7dlhKct_boBmcO-OIv8MedGFocTCmiIu7mur9U1sIm72pNw6LYZ9eryQADTICnYNhfpdA48c7L87WDeTaLGuoG6JyOvECHOP7mhNcx_EAzHVZsIjmBZa7gMDACXdmS0m6MJEQ41eqIAAjIwRijOAPz8p7SFno98D4fLT-GmPGBptXmqgrdkHQdobRo7eHkgBFqjc0zl4X5A6I3LGZ0pIiL66VwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181260,"updated":1616181260,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4f74a0e27/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/f5d95cb9ad27401bbb637e0c7b076462","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rRvGn0dfwc93rCy85jck6j-E4LxGk76Oj_jG34-UyYCCvsX0rzQkBfNZIZib8u57vz00QCO1GBqBPLqBfVP9AZc6QMra3NL7fi-S8wnN-ogv29ZXtc_WKJgmAOaaIlL34RVEGXa6Qy8NuDcXcUEbhVfBySx7_gp6buV-_H4ge9Mp7R3jGmHDNbf0Ad8_rGZjpLcud5kK_yyAQ1orQIUrrd7CYiA7kIgAu2aP1vUZqWWs5886KxtzLHvbYJb59e6KJfMY5jgGvuyBYsFbHU5W-4MJ6YRRrzoJsmwZgRJZhDNR-A6pk4eBDze99teN_36Qi_t80dHnDGmfwoOupXVTGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181263,"updated":1616181263,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/b7615f94cc3047d491e390695f009464","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5v5swK8BTqT1ohgRicqzBlKUpbOPVEXYHnFBk12cCvWZ6uWUvnqRnmIWPVvhAXwfEVJ0Ychyx1ZKEF3CTZGaH2K6fSD6GbV0HIaiMssc1-AsidVafpIOg-4UCeN_ynEGQCW2IGCulWhf3A2QKmtneGp8sIo7XtQONxl5G9csctCm8F0ClgRYeo0_fcqE_DM0QqK6rb_ZXuJjAqjyQDH8cEk1tA3Rss0biy_yjZR9qYfFobtFy6MHzIe7a8JIN1E4VXi361F1KDRc2gHnBh6hanhU9NWAhcv22J81NCffDZG_NskuXh7rroKbBWIcvdvF8i_lR7C6hzgGqqYRJmCHkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181265,"updated":1616181265,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:25 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27","deletedDate":1616181266,"scheduledPurgeDate":1623957266,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/11ee3592449b45dcae35604483f48d24","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qiEmt4a51qmOcZpRyGul7_eVAw0HgS9-szN0qCmvWihDs_wIXfkRlO60acYdhG6nNMlWvrAEp3fussWksFnk5ElNKzHnihIcN04_b-aoJwQg1FBPSY46aW2GU_DhnlY0tP10SKJFDveW2HC3VOuw-JuTKIn20u96TA1QqJNI0Q6CR17o4D11ExmZwb03AN0YTGQdGnW-jZAKSDrvQtHAPjCq-OEFnfknrVl-HnI34WdxTe0q__MaaMbMpV1nn1IyvC-8cR-akO1ejCZdw_IvFHFJsvIDP4rprfiQtDYk17q8mADBFV5nDrJu-GVWMXpox_gY2LLZ7q-F113C47Y1pQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181251,"updated":1616181251,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey0f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:49 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27","deletedDate":1616181266,"scheduledPurgeDate":1623957266,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/11ee3592449b45dcae35604483f48d24","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qiEmt4a51qmOcZpRyGul7_eVAw0HgS9-szN0qCmvWihDs_wIXfkRlO60acYdhG6nNMlWvrAEp3fussWksFnk5ElNKzHnihIcN04_b-aoJwQg1FBPSY46aW2GU_DhnlY0tP10SKJFDveW2HC3VOuw-JuTKIn20u96TA1QqJNI0Q6CR17o4D11ExmZwb03AN0YTGQdGnW-jZAKSDrvQtHAPjCq-OEFnfknrVl-HnI34WdxTe0q__MaaMbMpV1nn1IyvC-8cR-akO1ejCZdw_IvFHFJsvIDP4rprfiQtDYk17q8mADBFV5nDrJu-GVWMXpox_gY2LLZ7q-F113C47Y1pQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181251,"updated":1616181251,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27","deletedDate":1616181292,"scheduledPurgeDate":1623957292,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/b7615f94cc3047d491e390695f009464","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5v5swK8BTqT1ohgRicqzBlKUpbOPVEXYHnFBk12cCvWZ6uWUvnqRnmIWPVvhAXwfEVJ0Ychyx1ZKEF3CTZGaH2K6fSD6GbV0HIaiMssc1-AsidVafpIOg-4UCeN_ynEGQCW2IGCulWhf3A2QKmtneGp8sIo7XtQONxl5G9csctCm8F0ClgRYeo0_fcqE_DM0QqK6rb_ZXuJjAqjyQDH8cEk1tA3Rss0biy_yjZR9qYfFobtFy6MHzIe7a8JIN1E4VXi361F1KDRc2gHnBh6hanhU9NWAhcv22J81NCffDZG_NskuXh7rroKbBWIcvdvF8i_lR7C6hzgGqqYRJmCHkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181265,"updated":1616181265,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14:56 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:14: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey6f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27","deletedDate":1616181292,"scheduledPurgeDate":1623957292,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/b7615f94cc3047d491e390695f009464","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5v5swK8BTqT1ohgRicqzBlKUpbOPVEXYHnFBk12cCvWZ6uWUvnqRnmIWPVvhAXwfEVJ0Ychyx1ZKEF3CTZGaH2K6fSD6GbV0HIaiMssc1-AsidVafpIOg-4UCeN_ynEGQCW2IGCulWhf3A2QKmtneGp8sIo7XtQONxl5G9csctCm8F0ClgRYeo0_fcqE_DM0QqK6rb_ZXuJjAqjyQDH8cEk1tA3Rss0biy_yjZR9qYfFobtFy6MHzIe7a8JIN1E4VXi361F1KDRc2gHnBh6hanhU9NWAhcv22J81NCffDZG_NskuXh7rroKbBWIcvdvF8i_lR7C6hzgGqqYRJmCHkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181265,"updated":1616181265,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27","deletedDate":1616181307,"scheduledPurgeDate":1623957307,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/4e7650102bcd40f685f68d2b42c90d55","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vqibFMAaWlnq6QnQ2ALDqsWcKiy3b0Q79oBUK7gR05D360cBjumtSuJqSdkfHLaFFRora10lGvLfmCJEACJJuH397I3-DMyFyph6blotsCgLaAoeWO-wDTVYOTtTzTsvP8UPbOl9Hz9_00e5y9WSmEdfYidryrm5pkQVX9rkNH4bpuSddh-5U8u0JhsLvNJ2b7IMKYZali_ZlaIr6FC6_FGvZJFcdB3_X5mMSFHRWhGgNo31ZLlQEn-y9yLNcqNWYDlHQQeYwoxptaME5J7ySpOVu2MXIfl8__G-ndpdMZCWuqGMR9_Tec3NOyRjNIKhamPJj7EUZCB_GIfeK5l8lQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181256,"updated":1616181256,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey2f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27","deletedDate":1616181307,"scheduledPurgeDate":1623957307,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/4e7650102bcd40f685f68d2b42c90d55","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vqibFMAaWlnq6QnQ2ALDqsWcKiy3b0Q79oBUK7gR05D360cBjumtSuJqSdkfHLaFFRora10lGvLfmCJEACJJuH397I3-DMyFyph6blotsCgLaAoeWO-wDTVYOTtTzTsvP8UPbOl9Hz9_00e5y9WSmEdfYidryrm5pkQVX9rkNH4bpuSddh-5U8u0JhsLvNJ2b7IMKYZali_ZlaIr6FC6_FGvZJFcdB3_X5mMSFHRWhGgNo31ZLlQEn-y9yLNcqNWYDlHQQeYwoxptaME5J7ySpOVu2MXIfl8__G-ndpdMZCWuqGMR9_Tec3NOyRjNIKhamPJj7EUZCB_GIfeK5l8lQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181256,"updated":1616181256,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27","deletedDate":1616181322,"scheduledPurgeDate":1623957322,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/f8b52920af274cd2b3e9d4f075866ecb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8AUuqoqXUMKY_s0_BAZ5y9-63TInA4yQnNZR0uwQgCXMSJMivHuLgiLtxiG9FY_tFHML4meTSDr3-yvm3smt05GFuEkEqrwSq41EWXssPlWhGe7oogWGguEMHeONQcMF_IPGfK3ks-tYOEJbH-MRv_UhldQuL2n4iIMx31nj8WY5R2jWSMpCkoboRVyvCw4B02AMfv69A0pFmcA-abkldP6dDUg7i1lO9Q_Ct5gOILcdGydnmUMXCFFkqT53CAIkM_nmA5et_PRNldaPvpXUKBpc3733eVf0AveYaV3CwPVc9c-Z4PsRM4H8EHVPMBFxdbLn7ulvgHi6yN-zrw-2GQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181253,"updated":1616181253,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:24 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:31 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:33 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey1f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:35 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27","deletedDate":1616181322,"scheduledPurgeDate":1623957322,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/f8b52920af274cd2b3e9d4f075866ecb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8AUuqoqXUMKY_s0_BAZ5y9-63TInA4yQnNZR0uwQgCXMSJMivHuLgiLtxiG9FY_tFHML4meTSDr3-yvm3smt05GFuEkEqrwSq41EWXssPlWhGe7oogWGguEMHeONQcMF_IPGfK3ks-tYOEJbH-MRv_UhldQuL2n4iIMx31nj8WY5R2jWSMpCkoboRVyvCw4B02AMfv69A0pFmcA-abkldP6dDUg7i1lO9Q_Ct5gOILcdGydnmUMXCFFkqT53CAIkM_nmA5et_PRNldaPvpXUKBpc3733eVf0AveYaV3CwPVc9c-Z4PsRM4H8EHVPMBFxdbLn7ulvgHi6yN-zrw-2GQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181253,"updated":1616181253,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:37 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27","deletedDate":1616181338,"scheduledPurgeDate":1623957338,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/f5d95cb9ad27401bbb637e0c7b076462","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rRvGn0dfwc93rCy85jck6j-E4LxGk76Oj_jG34-UyYCCvsX0rzQkBfNZIZib8u57vz00QCO1GBqBPLqBfVP9AZc6QMra3NL7fi-S8wnN-ogv29ZXtc_WKJgmAOaaIlL34RVEGXa6Qy8NuDcXcUEbhVfBySx7_gp6buV-_H4ge9Mp7R3jGmHDNbf0Ad8_rGZjpLcud5kK_yyAQ1orQIUrrd7CYiA7kIgAu2aP1vUZqWWs5886KxtzLHvbYJb59e6KJfMY5jgGvuyBYsFbHU5W-4MJ6YRRrzoJsmwZgRJZhDNR-A6pk4eBDze99teN_36Qi_t80dHnDGmfwoOupXVTGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181263,"updated":1616181263,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:37 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:37 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:39 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey5f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27","deletedDate":1616181338,"scheduledPurgeDate":1623957338,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/f5d95cb9ad27401bbb637e0c7b076462","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rRvGn0dfwc93rCy85jck6j-E4LxGk76Oj_jG34-UyYCCvsX0rzQkBfNZIZib8u57vz00QCO1GBqBPLqBfVP9AZc6QMra3NL7fi-S8wnN-ogv29ZXtc_WKJgmAOaaIlL34RVEGXa6Qy8NuDcXcUEbhVfBySx7_gp6buV-_H4ge9Mp7R3jGmHDNbf0Ad8_rGZjpLcud5kK_yyAQ1orQIUrrd7CYiA7kIgAu2aP1vUZqWWs5886KxtzLHvbYJb59e6KJfMY5jgGvuyBYsFbHU5W-4MJ6YRRrzoJsmwZgRJZhDNR-A6pk4eBDze99teN_36Qi_t80dHnDGmfwoOupXVTGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181263,"updated":1616181263,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27","deletedDate":1616181353,"scheduledPurgeDate":1623957353,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/0e17852d7116457fbd77b4f931db0694","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3Jtjncv_7yuzLlA2CpzFSUIJvPj27kOm5O-HGDjHESSg4s2aIakfPeWPCwCiNhWN_V1pFTgE1IYkm0Kx3uHz40b7i8LsRAdEbRHm5nEfg2AbPbYws2UdTY7MLXj7dlhKct_boBmcO-OIv8MedGFocTCmiIu7mur9U1sIm72pNw6LYZ9eryQADTICnYNhfpdA48c7L87WDeTaLGuoG6JyOvECHOP7mhNcx_EAzHVZsIjmBZa7gMDACXdmS0m6MJEQ41eqIAAjIwRijOAPz8p7SFno98D4fLT-GmPGBptXmqgrdkHQdobRo7eHkgBFqjc0zl4X5A6I3LGZ0pIiL66VwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181260,"updated":1616181260,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15:57 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:15: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey4f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27","deletedDate":1616181353,"scheduledPurgeDate":1623957353,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/0e17852d7116457fbd77b4f931db0694","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3Jtjncv_7yuzLlA2CpzFSUIJvPj27kOm5O-HGDjHESSg4s2aIakfPeWPCwCiNhWN_V1pFTgE1IYkm0Kx3uHz40b7i8LsRAdEbRHm5nEfg2AbPbYws2UdTY7MLXj7dlhKct_boBmcO-OIv8MedGFocTCmiIu7mur9U1sIm72pNw6LYZ9eryQADTICnYNhfpdA48c7L87WDeTaLGuoG6JyOvECHOP7mhNcx_EAzHVZsIjmBZa7gMDACXdmS0m6MJEQ41eqIAAjIwRijOAPz8p7SFno98D4fLT-GmPGBptXmqgrdkHQdobRo7eHkgBFqjc0zl4X5A6I3LGZ0pIiL66VwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181260,"updated":1616181260,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27","deletedDate":1616181366,"scheduledPurgeDate":1623957366,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/2462a95839404002b2f7ffc78c5db85d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"regUaROlgGMgZDL3GyJpyqXd55Yw1a5r0truO3aMwAfaguun-y4WlNb2Ic7mvQghLEus8O0UEa5UEh4-b-jIIB1yCDSjRknyQqCu1MJJMMUFwtwrTiQRiDNQPeNVc8bxXwrLYmecaHMhwXEM6F2g9SLFKCJTrCAjnQKzCIUbPdozrVAnwLdqkGi8uFgi7MDG7S0hyGFRO7jbRwHsn9s0LW3pHhfVHBPGp4JF9Ob4NAE2KFQOsOX7chOsuNBbGlW-wBOVF0vraQmVbGuV6w8O94kl5GI0osjsWXmE6ETTMxM2f3v1RX4NcekvjGIj_qnXJuzvMNQIAaCtkWTQs59M6Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181258,"updated":1616181258,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"Deleted Key not found: livekvtestkey3f74a0e27"}}' + headers: + cache-control: no-cache + content-length: '90' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:21 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview + response: + body: + string: '{"recoveryId":"https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27","deletedDate":1616181366,"scheduledPurgeDate":1623957366,"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/2462a95839404002b2f7ffc78c5db85d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"regUaROlgGMgZDL3GyJpyqXd55Yw1a5r0truO3aMwAfaguun-y4WlNb2Ic7mvQghLEus8O0UEa5UEh4-b-jIIB1yCDSjRknyQqCu1MJJMMUFwtwrTiQRiDNQPeNVc8bxXwrLYmecaHMhwXEM6F2g9SLFKCJTrCAjnQKzCIUbPdozrVAnwLdqkGi8uFgi7MDG7S0hyGFRO7jbRwHsn9s0LW3pHhfVHBPGp4JF9Ob4NAE2KFQOsOX7chOsuNBbGlW-wBOVF0vraQmVbGuV6w8O94kl5GI0osjsWXmE6ETTMxM2f3v1RX4NcekvjGIj_qnXJuzvMNQIAaCtkWTQs59M6Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181258,"updated":1616181258,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '834' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/11ee3592449b45dcae35604483f48d24","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qiEmt4a51qmOcZpRyGul7_eVAw0HgS9-szN0qCmvWihDs_wIXfkRlO60acYdhG6nNMlWvrAEp3fussWksFnk5ElNKzHnihIcN04_b-aoJwQg1FBPSY46aW2GU_DhnlY0tP10SKJFDveW2HC3VOuw-JuTKIn20u96TA1QqJNI0Q6CR17o4D11ExmZwb03AN0YTGQdGnW-jZAKSDrvQtHAPjCq-OEFnfknrVl-HnI34WdxTe0q__MaaMbMpV1nn1IyvC-8cR-akO1ejCZdw_IvFHFJsvIDP4rprfiQtDYk17q8mADBFV5nDrJu-GVWMXpox_gY2LLZ7q-F113C47Y1pQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181251,"updated":1616181251,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:23 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey0f74a0e27/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey0f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:24 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey0f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:26 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey0f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:28 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey0f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:30 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey0f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:32 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey0f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:34 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey0f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/11ee3592449b45dcae35604483f48d24","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qiEmt4a51qmOcZpRyGul7_eVAw0HgS9-szN0qCmvWihDs_wIXfkRlO60acYdhG6nNMlWvrAEp3fussWksFnk5ElNKzHnihIcN04_b-aoJwQg1FBPSY46aW2GU_DhnlY0tP10SKJFDveW2HC3VOuw-JuTKIn20u96TA1QqJNI0Q6CR17o4D11ExmZwb03AN0YTGQdGnW-jZAKSDrvQtHAPjCq-OEFnfknrVl-HnI34WdxTe0q__MaaMbMpV1nn1IyvC-8cR-akO1ejCZdw_IvFHFJsvIDP4rprfiQtDYk17q8mADBFV5nDrJu-GVWMXpox_gY2LLZ7q-F113C47Y1pQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181251,"updated":1616181251,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/b7615f94cc3047d491e390695f009464","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5v5swK8BTqT1ohgRicqzBlKUpbOPVEXYHnFBk12cCvWZ6uWUvnqRnmIWPVvhAXwfEVJ0Ychyx1ZKEF3CTZGaH2K6fSD6GbV0HIaiMssc1-AsidVafpIOg-4UCeN_ynEGQCW2IGCulWhf3A2QKmtneGp8sIo7XtQONxl5G9csctCm8F0ClgRYeo0_fcqE_DM0QqK6rb_ZXuJjAqjyQDH8cEk1tA3Rss0biy_yjZR9qYfFobtFy6MHzIe7a8JIN1E4VXi361F1KDRc2gHnBh6hanhU9NWAhcv22J81NCffDZG_NskuXh7rroKbBWIcvdvF8i_lR7C6hzgGqqYRJmCHkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181265,"updated":1616181265,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey6f74a0e27/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey6f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey6f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:40 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey6f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:42 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey6f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey6f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:48 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey6f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey6f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:52 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/b7615f94cc3047d491e390695f009464","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5v5swK8BTqT1ohgRicqzBlKUpbOPVEXYHnFBk12cCvWZ6uWUvnqRnmIWPVvhAXwfEVJ0Ychyx1ZKEF3CTZGaH2K6fSD6GbV0HIaiMssc1-AsidVafpIOg-4UCeN_ynEGQCW2IGCulWhf3A2QKmtneGp8sIo7XtQONxl5G9csctCm8F0ClgRYeo0_fcqE_DM0QqK6rb_ZXuJjAqjyQDH8cEk1tA3Rss0biy_yjZR9qYfFobtFy6MHzIe7a8JIN1E4VXi361F1KDRc2gHnBh6hanhU9NWAhcv22J81NCffDZG_NskuXh7rroKbBWIcvdvF8i_lR7C6hzgGqqYRJmCHkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181265,"updated":1616181265,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/4e7650102bcd40f685f68d2b42c90d55","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vqibFMAaWlnq6QnQ2ALDqsWcKiy3b0Q79oBUK7gR05D360cBjumtSuJqSdkfHLaFFRora10lGvLfmCJEACJJuH397I3-DMyFyph6blotsCgLaAoeWO-wDTVYOTtTzTsvP8UPbOl9Hz9_00e5y9WSmEdfYidryrm5pkQVX9rkNH4bpuSddh-5U8u0JhsLvNJ2b7IMKYZali_ZlaIr6FC6_FGvZJFcdB3_X5mMSFHRWhGgNo31ZLlQEn-y9yLNcqNWYDlHQQeYwoxptaME5J7ySpOVu2MXIfl8__G-ndpdMZCWuqGMR9_Tec3NOyRjNIKhamPJj7EUZCB_GIfeK5l8lQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181256,"updated":1616181256,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey2f74a0e27/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey2f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey2f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16:56 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey2f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:16: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey2f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:00 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey2f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/4e7650102bcd40f685f68d2b42c90d55","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vqibFMAaWlnq6QnQ2ALDqsWcKiy3b0Q79oBUK7gR05D360cBjumtSuJqSdkfHLaFFRora10lGvLfmCJEACJJuH397I3-DMyFyph6blotsCgLaAoeWO-wDTVYOTtTzTsvP8UPbOl9Hz9_00e5y9WSmEdfYidryrm5pkQVX9rkNH4bpuSddh-5U8u0JhsLvNJ2b7IMKYZali_ZlaIr6FC6_FGvZJFcdB3_X5mMSFHRWhGgNo31ZLlQEn-y9yLNcqNWYDlHQQeYwoxptaME5J7ySpOVu2MXIfl8__G-ndpdMZCWuqGMR9_Tec3NOyRjNIKhamPJj7EUZCB_GIfeK5l8lQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181256,"updated":1616181256,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/f8b52920af274cd2b3e9d4f075866ecb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8AUuqoqXUMKY_s0_BAZ5y9-63TInA4yQnNZR0uwQgCXMSJMivHuLgiLtxiG9FY_tFHML4meTSDr3-yvm3smt05GFuEkEqrwSq41EWXssPlWhGe7oogWGguEMHeONQcMF_IPGfK3ks-tYOEJbH-MRv_UhldQuL2n4iIMx31nj8WY5R2jWSMpCkoboRVyvCw4B02AMfv69A0pFmcA-abkldP6dDUg7i1lO9Q_Ct5gOILcdGydnmUMXCFFkqT53CAIkM_nmA5et_PRNldaPvpXUKBpc3733eVf0AveYaV3CwPVc9c-Z4PsRM4H8EHVPMBFxdbLn7ulvgHi6yN-zrw-2GQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181253,"updated":1616181253,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey1f74a0e27/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey1f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:05 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey1f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey1f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey1f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:12 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey1f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey1f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/f8b52920af274cd2b3e9d4f075866ecb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8AUuqoqXUMKY_s0_BAZ5y9-63TInA4yQnNZR0uwQgCXMSJMivHuLgiLtxiG9FY_tFHML4meTSDr3-yvm3smt05GFuEkEqrwSq41EWXssPlWhGe7oogWGguEMHeONQcMF_IPGfK3ks-tYOEJbH-MRv_UhldQuL2n4iIMx31nj8WY5R2jWSMpCkoboRVyvCw4B02AMfv69A0pFmcA-abkldP6dDUg7i1lO9Q_Ct5gOILcdGydnmUMXCFFkqT53CAIkM_nmA5et_PRNldaPvpXUKBpc3733eVf0AveYaV3CwPVc9c-Z4PsRM4H8EHVPMBFxdbLn7ulvgHi6yN-zrw-2GQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181253,"updated":1616181253,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/f5d95cb9ad27401bbb637e0c7b076462","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rRvGn0dfwc93rCy85jck6j-E4LxGk76Oj_jG34-UyYCCvsX0rzQkBfNZIZib8u57vz00QCO1GBqBPLqBfVP9AZc6QMra3NL7fi-S8wnN-ogv29ZXtc_WKJgmAOaaIlL34RVEGXa6Qy8NuDcXcUEbhVfBySx7_gp6buV-_H4ge9Mp7R3jGmHDNbf0Ad8_rGZjpLcud5kK_yyAQ1orQIUrrd7CYiA7kIgAu2aP1vUZqWWs5886KxtzLHvbYJb59e6KJfMY5jgGvuyBYsFbHU5W-4MJ6YRRrzoJsmwZgRJZhDNR-A6pk4eBDze99teN_36Qi_t80dHnDGmfwoOupXVTGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181263,"updated":1616181263,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey5f74a0e27/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey5f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey5f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey5f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey5f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:24 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey5f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:27 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey5f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:29 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/f5d95cb9ad27401bbb637e0c7b076462","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rRvGn0dfwc93rCy85jck6j-E4LxGk76Oj_jG34-UyYCCvsX0rzQkBfNZIZib8u57vz00QCO1GBqBPLqBfVP9AZc6QMra3NL7fi-S8wnN-ogv29ZXtc_WKJgmAOaaIlL34RVEGXa6Qy8NuDcXcUEbhVfBySx7_gp6buV-_H4ge9Mp7R3jGmHDNbf0Ad8_rGZjpLcud5kK_yyAQ1orQIUrrd7CYiA7kIgAu2aP1vUZqWWs5886KxtzLHvbYJb59e6KJfMY5jgGvuyBYsFbHU5W-4MJ6YRRrzoJsmwZgRJZhDNR-A6pk4eBDze99teN_36Qi_t80dHnDGmfwoOupXVTGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181263,"updated":1616181263,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:31 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/0e17852d7116457fbd77b4f931db0694","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3Jtjncv_7yuzLlA2CpzFSUIJvPj27kOm5O-HGDjHESSg4s2aIakfPeWPCwCiNhWN_V1pFTgE1IYkm0Kx3uHz40b7i8LsRAdEbRHm5nEfg2AbPbYws2UdTY7MLXj7dlhKct_boBmcO-OIv8MedGFocTCmiIu7mur9U1sIm72pNw6LYZ9eryQADTICnYNhfpdA48c7L87WDeTaLGuoG6JyOvECHOP7mhNcx_EAzHVZsIjmBZa7gMDACXdmS0m6MJEQ41eqIAAjIwRijOAPz8p7SFno98D4fLT-GmPGBptXmqgrdkHQdobRo7eHkgBFqjc0zl4X5A6I3LGZ0pIiL66VwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181260,"updated":1616181260,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:31 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey4f74a0e27/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey4f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:31 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey4f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:33 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey4f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:36 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey4f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:38 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey4f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/0e17852d7116457fbd77b4f931db0694","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3Jtjncv_7yuzLlA2CpzFSUIJvPj27kOm5O-HGDjHESSg4s2aIakfPeWPCwCiNhWN_V1pFTgE1IYkm0Kx3uHz40b7i8LsRAdEbRHm5nEfg2AbPbYws2UdTY7MLXj7dlhKct_boBmcO-OIv8MedGFocTCmiIu7mur9U1sIm72pNw6LYZ9eryQADTICnYNhfpdA48c7L87WDeTaLGuoG6JyOvECHOP7mhNcx_EAzHVZsIjmBZa7gMDACXdmS0m6MJEQ41eqIAAjIwRijOAPz8p7SFno98D4fLT-GmPGBptXmqgrdkHQdobRo7eHkgBFqjc0zl4X5A6I3LGZ0pIiL66VwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181260,"updated":1616181260,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27/recover?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/2462a95839404002b2f7ffc78c5db85d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"regUaROlgGMgZDL3GyJpyqXd55Yw1a5r0truO3aMwAfaguun-y4WlNb2Ic7mvQghLEus8O0UEa5UEh4-b-jIIB1yCDSjRknyQqCu1MJJMMUFwtwrTiQRiDNQPeNVc8bxXwrLYmecaHMhwXEM6F2g9SLFKCJTrCAjnQKzCIUbPdozrVAnwLdqkGi8uFgi7MDG7S0hyGFRO7jbRwHsn9s0LW3pHhfVHBPGp4JF9Ob4NAE2KFQOsOX7chOsuNBbGlW-wBOVF0vraQmVbGuV6w8O94kl5GI0osjsWXmE6ETTMxM2f3v1RX4NcekvjGIj_qnXJuzvMNQIAaCtkWTQs59M6Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181258,"updated":1616181258,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/deletedkeys/livekvtestkey3f74a0e27/recover?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:49 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17:57 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:17: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"error":{"code":"KeyNotFound","message":"A key with (name/id) livekvtestkey3f74a0e27 + was not found in this key vault. If you recently deleted this key you may + be able to recover it using the correct recovery command. For help resolving + this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}' + headers: + cache-control: no-cache + content-length: '310' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:18:02 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 404 + message: Not Found + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/2462a95839404002b2f7ffc78c5db85d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"regUaROlgGMgZDL3GyJpyqXd55Yw1a5r0truO3aMwAfaguun-y4WlNb2Ic7mvQghLEus8O0UEa5UEh4-b-jIIB1yCDSjRknyQqCu1MJJMMUFwtwrTiQRiDNQPeNVc8bxXwrLYmecaHMhwXEM6F2g9SLFKCJTrCAjnQKzCIUbPdozrVAnwLdqkGi8uFgi7MDG7S0hyGFRO7jbRwHsn9s0LW3pHhfVHBPGp4JF9Ob4NAE2KFQOsOX7chOsuNBbGlW-wBOVF0vraQmVbGuV6w8O94kl5GI0osjsWXmE6ETTMxM2f3v1RX4NcekvjGIj_qnXJuzvMNQIAaCtkWTQs59M6Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181258,"updated":1616181258,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:18:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey0f74a0e27/11ee3592449b45dcae35604483f48d24","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qiEmt4a51qmOcZpRyGul7_eVAw0HgS9-szN0qCmvWihDs_wIXfkRlO60acYdhG6nNMlWvrAEp3fussWksFnk5ElNKzHnihIcN04_b-aoJwQg1FBPSY46aW2GU_DhnlY0tP10SKJFDveW2HC3VOuw-JuTKIn20u96TA1QqJNI0Q6CR17o4D11ExmZwb03AN0YTGQdGnW-jZAKSDrvQtHAPjCq-OEFnfknrVl-HnI34WdxTe0q__MaaMbMpV1nn1IyvC-8cR-akO1ejCZdw_IvFHFJsvIDP4rprfiQtDYk17q8mADBFV5nDrJu-GVWMXpox_gY2LLZ7q-F113C47Y1pQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181251,"updated":1616181251,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:18:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey0f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey6f74a0e27/b7615f94cc3047d491e390695f009464","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5v5swK8BTqT1ohgRicqzBlKUpbOPVEXYHnFBk12cCvWZ6uWUvnqRnmIWPVvhAXwfEVJ0Ychyx1ZKEF3CTZGaH2K6fSD6GbV0HIaiMssc1-AsidVafpIOg-4UCeN_ynEGQCW2IGCulWhf3A2QKmtneGp8sIo7XtQONxl5G9csctCm8F0ClgRYeo0_fcqE_DM0QqK6rb_ZXuJjAqjyQDH8cEk1tA3Rss0biy_yjZR9qYfFobtFy6MHzIe7a8JIN1E4VXi361F1KDRc2gHnBh6hanhU9NWAhcv22J81NCffDZG_NskuXh7rroKbBWIcvdvF8i_lR7C6hzgGqqYRJmCHkQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181265,"updated":1616181265,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:18:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey6f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey2f74a0e27/4e7650102bcd40f685f68d2b42c90d55","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vqibFMAaWlnq6QnQ2ALDqsWcKiy3b0Q79oBUK7gR05D360cBjumtSuJqSdkfHLaFFRora10lGvLfmCJEACJJuH397I3-DMyFyph6blotsCgLaAoeWO-wDTVYOTtTzTsvP8UPbOl9Hz9_00e5y9WSmEdfYidryrm5pkQVX9rkNH4bpuSddh-5U8u0JhsLvNJ2b7IMKYZali_ZlaIr6FC6_FGvZJFcdB3_X5mMSFHRWhGgNo31ZLlQEn-y9yLNcqNWYDlHQQeYwoxptaME5J7ySpOVu2MXIfl8__G-ndpdMZCWuqGMR9_Tec3NOyRjNIKhamPJj7EUZCB_GIfeK5l8lQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181256,"updated":1616181256,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:18:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey2f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey1f74a0e27/f8b52920af274cd2b3e9d4f075866ecb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8AUuqoqXUMKY_s0_BAZ5y9-63TInA4yQnNZR0uwQgCXMSJMivHuLgiLtxiG9FY_tFHML4meTSDr3-yvm3smt05GFuEkEqrwSq41EWXssPlWhGe7oogWGguEMHeONQcMF_IPGfK3ks-tYOEJbH-MRv_UhldQuL2n4iIMx31nj8WY5R2jWSMpCkoboRVyvCw4B02AMfv69A0pFmcA-abkldP6dDUg7i1lO9Q_Ct5gOILcdGydnmUMXCFFkqT53CAIkM_nmA5et_PRNldaPvpXUKBpc3733eVf0AveYaV3CwPVc9c-Z4PsRM4H8EHVPMBFxdbLn7ulvgHi6yN-zrw-2GQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181253,"updated":1616181253,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:18:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey1f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey5f74a0e27/f5d95cb9ad27401bbb637e0c7b076462","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rRvGn0dfwc93rCy85jck6j-E4LxGk76Oj_jG34-UyYCCvsX0rzQkBfNZIZib8u57vz00QCO1GBqBPLqBfVP9AZc6QMra3NL7fi-S8wnN-ogv29ZXtc_WKJgmAOaaIlL34RVEGXa6Qy8NuDcXcUEbhVfBySx7_gp6buV-_H4ge9Mp7R3jGmHDNbf0Ad8_rGZjpLcud5kK_yyAQ1orQIUrrd7CYiA7kIgAu2aP1vUZqWWs5886KxtzLHvbYJb59e6KJfMY5jgGvuyBYsFbHU5W-4MJ6YRRrzoJsmwZgRJZhDNR-A6pk4eBDze99teN_36Qi_t80dHnDGmfwoOupXVTGQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181263,"updated":1616181263,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:18:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey5f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey4f74a0e27/0e17852d7116457fbd77b4f931db0694","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"3Jtjncv_7yuzLlA2CpzFSUIJvPj27kOm5O-HGDjHESSg4s2aIakfPeWPCwCiNhWN_V1pFTgE1IYkm0Kx3uHz40b7i8LsRAdEbRHm5nEfg2AbPbYws2UdTY7MLXj7dlhKct_boBmcO-OIv8MedGFocTCmiIu7mur9U1sIm72pNw6LYZ9eryQADTICnYNhfpdA48c7L87WDeTaLGuoG6JyOvECHOP7mhNcx_EAzHVZsIjmBZa7gMDACXdmS0m6MJEQ41eqIAAjIwRijOAPz8p7SFno98D4fLT-GmPGBptXmqgrdkHQdobRo7eHkgBFqjc0zl4X5A6I3LGZ0pIiL66VwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616181260,"updated":1616181260,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:18:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey4f74a0e27/?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkey3f74a0e27/2462a95839404002b2f7ffc78c5db85d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"regUaROlgGMgZDL3GyJpyqXd55Yw1a5r0truO3aMwAfaguun-y4WlNb2Ic7mvQghLEus8O0UEa5UEh4-b-jIIB1yCDSjRknyQqCu1MJJMMUFwtwrTiQRiDNQPeNVc8bxXwrLYmecaHMhwXEM6F2g9SLFKCJTrCAjnQKzCIUbPdozrVAnwLdqkGi8uFgi7MDG7S0hyGFRO7jbRwHsn9s0LW3pHhfVHBPGp4JF9Ob4NAE2KFQOsOX7chOsuNBbGlW-wBOVF0vraQmVbGuV6w8O94kl5GI0osjsWXmE6ETTMxM2f3v1RX4NcekvjGIj_qnXJuzvMNQIAaCtkWTQs59M6Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616181258,"updated":1616181258,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '690' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 19:18:04 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkey3f74a0e27/?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py index aea76959775b..0c09c8881199 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py @@ -6,6 +6,7 @@ from datetime import datetime import functools import hashlib +import os import time try: @@ -21,6 +22,8 @@ from azure.keyvault.keys._shared import HttpChallengeCache from azure.mgmt.keyvault.models import KeyPermissions, Permissions from devtools_testutils import PowerShellPreparer +from six.moves.urllib_parse import urlparse +from parameterized import parameterized, param import pytest from _shared.json_attribute_matcher import json_attribute_matcher @@ -35,6 +38,10 @@ # without keys/get, a CryptographyClient created with a key ID performs all ops remotely NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) +def suffixed_test_name(testcase_func, param_num, param): + suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" + return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) + class CryptoClientTests(KeyVaultTestCase): def __init__(self, *args, **kwargs): @@ -42,6 +49,19 @@ def __init__(self, *args, **kwargs): kwargs["custom_request_matchers"] = [json_attribute_matcher] super(CryptoClientTests, self).__init__(*args, **kwargs) + def setUp(self, *args, **kwargs): + self.managed_hsm_url = None + playback_url = "https://managedhsmname.managedhsm.azure.net" + if self.is_live: + self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") + if self.managed_hsm_url: + real = urlparse(self.managed_hsm_url) + playback = urlparse(playback_url) + self.scrubber.register_name_pair(real.netloc, playback.netloc) + else: + self.managed_hsm_url = playback_url + super(CryptoClientTests, self).setUp(*args, **kwargs) + def tearDown(self): HttpChallengeCache.clear() assert len(HttpChallengeCache._cache) == 0 @@ -59,6 +79,11 @@ def create_crypto_client(self, key, **kwargs): credential = self.get_credential(CryptographyClient) return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) + def _should_skip_test(self, is_hsm): + if self.is_live and is_hsm: + return self.managed_hsm_url is None # skip live HSM tests if there's no HSM endpoint + return False + def _create_rsa_key(self, client, key_name, **kwargs): key_ops = kwargs.get("key_operations") or ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"] hsm = kwargs.get("hardware_protected") or False diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py index 762c655a15d1..740b2bff7cc6 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py @@ -3,11 +3,12 @@ # Licensed under the MIT License. # ------------------------------------ import asyncio -import functools import codecs -import logging -import json from dateutil import parser as date_parse +import functools +import json +import logging +import os from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.pipeline.policies import SansIOHTTPPolicy @@ -15,6 +16,9 @@ from azure.keyvault.keys.aio import KeyClient from azure.keyvault.keys._shared import HttpChallengeCache from devtools_testutils import PowerShellPreparer +from six.moves.urllib_parse import urlparse +from parameterized import parameterized, param +import pytest from _shared.test_case_async import KeyVaultTestCase @@ -24,6 +28,10 @@ azure_keyvault_url="https://vaultname.vault.azure.net" ) +def suffixed_test_name(testcase_func, param_num, param): + suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" + return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) + # used for logging tests class MockHandler(logging.Handler): def __init__(self): @@ -35,6 +43,19 @@ def emit(self, record): class KeyVaultKeyTest(KeyVaultTestCase): + def setUp(self, *args, **kwargs): + self.managed_hsm_url = None + playback_url = "https://managedhsmname.managedhsm.azure.net" + if self.is_live: + self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") + if self.managed_hsm_url: + real = urlparse(self.managed_hsm_url) + playback = urlparse(playback_url) + self.scrubber.register_name_pair(real.netloc, playback.netloc) + else: + self.managed_hsm_url = playback_url + super(KeyVaultKeyTest, self).setUp(*args, **kwargs) + def tearDown(self): HttpChallengeCache.clear() assert len(HttpChallengeCache._cache) == 0 @@ -44,10 +65,15 @@ def create_client(self, vault_uri, **kwargs): credential = self.get_credential(KeyClient, is_async=True) return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) + def _should_skip_test(self, is_hsm): + if self.is_live and is_hsm: + return self.managed_hsm_url is None # skip live HSM tests if there's no HSM endpoint + return False + def _assert_jwks_equal(self, jwk1, jwk2): assert jwk1.kid == jwk2.kid assert jwk1.kty == jwk2.kty - assert jwk1.key_ops == jwk2.key_ops + assert jwk1.key_ops.sort() == jwk2.key_ops.sort() assert jwk1.n == jwk2.n assert jwk1.e == jwk2.e assert jwk1.d == jwk2.d @@ -112,7 +138,9 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertTrue(kid.index(prefix) == 0, "Key Id should start with '{}', but value is '{}'".format(prefix, kid)) self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") - self.assertEqual(key_ops, key.key_ops, "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops)) + self.assertEqual( + key_ops.sort(), key.key_ops.sort(), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) + ) self.assertTrue( key_attributes.properties.created_on and key_attributes.properties.updated_on, "Missing required date attributes.", @@ -134,14 +162,14 @@ async def _validate_key_list(self, keys, expected): del expected[key.name] self.assertEqual(len(expected), 0) - async def _import_test_key(self, client, name): + async def _import_test_key(self, client, name, hardware_protected=False): def _to_bytes(hex): if len(hex) % 2: hex = "0{}".format(hex) return codecs.decode(hex, "hex_codec") key = JsonWebKey( - kty="RSA", + kty="RSA-HSM" if hardware_protected else "RSA", key_ops=["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], n=_to_bytes( "00a0914d00234ac683b21b4c15d5bed887bdc959c2e57af54ae734e8f00720d775d275e455207e3784ceeb60a50a4655dd72a7a94d271e8ee8f7959a669ca6e775bf0e23badae991b4529d978528b4bd90521d32dd2656796ba82b6bbfc7668c8f5eeb5053747fd199319d29a8440d08f4412d527ff9311eda71825920b47b1c46b11ab3e91d7316407e89c7f340f7b85a34042ce51743b27d4718403d34c7b438af6181be05e4d11eb985d38253d7fe9bf53fc2f1b002d22d2d793fa79a504b6ab42d0492804d7071d727a06cf3a8893aa542b1503f832b296371b6707d4dc6e372f8fe67d8ded1c908fde45ce03bc086a71487fa75e43aa0e0679aa0d20efe35" @@ -167,11 +195,17 @@ def _to_bytes(hex): ), ) imported_key = await client.import_key(name, key) - self._validate_rsa_key_bundle(imported_key, client.vault_url, name, "RSA", key.key_ops) + self._validate_rsa_key_bundle(imported_key, client.vault_url, name, key.kty, key.key_ops) return imported_key + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_key_crud_operations(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -185,19 +219,21 @@ async def test_key_crud_operations(self, azure_keyvault_url, **kwargs): assert tags == ec_key.properties.tags # create ec with curve ec_key_curve_name = self.get_resource_name("crud-P-256-ec-key") - created_ec_key_curve = await self._create_ec_key(client, key_name=ec_key_curve_name, curve="P-256") + created_ec_key_curve = await self._create_ec_key( + client, key_name=ec_key_curve_name, curve="P-256", hardware_protected=is_hsm + ) self.assertEqual("P-256", created_ec_key_curve.key.crv) # import key import_test_key_name = self.get_resource_name("import-test-key") - await self._import_test_key(client, import_test_key_name) + await self._import_test_key(client, import_test_key_name, hardware_protected=is_hsm) # create rsa key rsa_key_name = self.get_resource_name("crud-rsa-key") tags = {"purpose": "unit test", "test name ": "CreateRSAKeyTest"} key_ops = ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"] rsa_key = await self._create_rsa_key( - client, key_name=rsa_key_name, key_operations=key_ops, size=2048, tags=tags + client, key_name=rsa_key_name, key_operations=key_ops, size=2048, tags=tags, hardware_protected=is_hsm ) assert tags == rsa_key.properties.tags @@ -233,15 +269,21 @@ async def test_key_crud_operations(self, azure_keyvault_url, **kwargs): self.assertIsNotNone(deleted_key) self.assertEqual(rsa_key.id, deleted_key.id) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_backup_restore(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) key_name = self.get_resource_name("keybak") # create key - created_bundle = await self._create_rsa_key(client, key_name) + created_bundle = await self._create_rsa_key(client, key_name, hardware_protected=is_hsm) # backup key key_backup = await client.backup_key(created_bundle.name) @@ -258,8 +300,14 @@ async def test_backup_restore(self, azure_keyvault_url, **kwargs): restored_key = await self._poll_until_no_exception(restore_function, expected_exception=ResourceExistsError) self._assert_key_attributes_equal(created_bundle.properties, restored_key.properties) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_key_list(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -269,7 +317,7 @@ async def test_key_list(self, azure_keyvault_url, **kwargs): # create many keys for x in range(max_keys): key_name = self.get_resource_name("key{}".format(x)) - key = await self._create_rsa_key(client, key_name) + key = await self._create_rsa_key(client, key_name, hardware_protected=is_hsm) expected[key.name] = key # list keys @@ -280,8 +328,14 @@ async def test_key_list(self, azure_keyvault_url, **kwargs): del expected[key.name] self.assertEqual(len(expected), 0) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_list_versions(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -292,7 +346,7 @@ async def test_list_versions(self, azure_keyvault_url, **kwargs): # create many key versions for _ in range(max_keys): - key = await self._create_rsa_key(client, key_name) + key = await self._create_rsa_key(client, key_name, hardware_protected=is_hsm) expected[key.id] = key result = client.list_properties_of_key_versions(key_name, max_page_size=max_keys - 1) @@ -305,8 +359,14 @@ async def test_list_versions(self, azure_keyvault_url, **kwargs): self._assert_key_attributes_equal(expected_key.properties, key) self.assertEqual(0, len(expected)) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -315,7 +375,7 @@ async def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): # create keys to delete for i in range(self.list_test_size): key_name = self.get_resource_name("key{}".format(i)) - expected[key_name] = await self._create_rsa_key(client, key_name) + expected[key_name] = await self._create_rsa_key(client, key_name, hardware_protected=is_hsm) # delete all keys for key_name in expected.keys(): @@ -335,8 +395,14 @@ async def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): del expected[key.name] self.assertEqual(len(expected), 0) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_recover(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) @@ -344,7 +410,7 @@ async def test_recover(self, azure_keyvault_url, **kwargs): keys = {} for i in range(self.list_test_size): key_name = self.get_resource_name("key{}".format(i)) - keys[key_name] = await self._create_rsa_key(client, key_name) + keys[key_name] = await self._create_rsa_key(client, key_name, hardware_protected=is_hsm) # delete them for key_name in keys.keys(): @@ -364,15 +430,21 @@ async def test_recover(self, azure_keyvault_url, **kwargs): self.assertEqual(len(set(expected.keys()) & set(actual.keys())), len(expected)) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_purge(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url) self.assertIsNotNone(client) # create keys key_names = [self.get_resource_name("key{}".format(i)) for i in range(self.list_test_size)] for key_name in key_names: - await self._create_rsa_key(client, key_name) + await self._create_rsa_key(client, key_name, hardware_protected=is_hsm) # delete them for key_name in key_names: @@ -390,8 +462,14 @@ async def test_purge(self, azure_keyvault_url, **kwargs): async for deleted_key in client.list_deleted_keys(): assert deleted_key.name not in key_names + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_logging_enabled(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url, logging_enable=True) mock_handler = MockHandler() @@ -400,13 +478,14 @@ async def test_logging_enabled(self, azure_keyvault_url, **kwargs): logger.setLevel(logging.DEBUG) rsa_key_name = self.get_resource_name("rsa-key-name") - await self._create_rsa_key(client, rsa_key_name, size=2048) + await self._create_rsa_key(client, rsa_key_name, size=2048, hardware_protected=is_hsm) for message in mock_handler.messages: if message.levelname == "DEBUG" and message.funcName == "on_request": try: body = json.loads(message.message) - if body["kty"] == "RSA": + expected_kty = "RSA-HSM" if is_hsm else "RSA" + if body["kty"] == expected_kty: return except (ValueError, KeyError): # this means the message is not JSON or has no kty property @@ -414,8 +493,14 @@ async def test_logging_enabled(self, azure_keyvault_url, **kwargs): assert False, "Expected request body wasn't logged" + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_logging_disabled(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + client = self.create_client(azure_keyvault_url, logging_enable=False) mock_handler = MockHandler() @@ -424,13 +509,14 @@ async def test_logging_disabled(self, azure_keyvault_url, **kwargs): logger.setLevel(logging.DEBUG) rsa_key_name = self.get_resource_name("rsa-key-name") - await self._create_rsa_key(client, rsa_key_name, size=2048) + await self._create_rsa_key(client, rsa_key_name, size=2048, hardware_protected=is_hsm) for message in mock_handler.messages: if message.levelname == "DEBUG" and message.funcName == "on_request": try: body = json.loads(message.message) - assert body["kty"] != "RSA", "Client request body was logged" + expected_kty = "RSA-HSM" if is_hsm else "RSA" + assert body["kty"] != expected_kty, "Client request body was logged" except (ValueError, KeyError): # this means the message is not JSON or has no kty property pass From 906ce078145ab8b0dd3a7b2064e9de4330912d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Fri, 19 Mar 2021 16:12:34 -0700 Subject: [PATCH 03/12] Parameterize test_crypto_client.py --- ...est_crypto_client.test_ec_key_id_mhsm.yaml | 131 ++ ...t_crypto_client.test_ec_key_id_vault.yaml} | 40 +- ...nt.test_ec_verify_local_from_jwk_mhsm.yaml | 399 ++++++ ....test_ec_verify_local_from_jwk_vault.yaml} | 122 +- ...ypto_client.test_ec_verify_local_mhsm.yaml | 399 ++++++ ...to_client.test_ec_verify_local_vault.yaml} | 134 +- ..._client.test_encrypt_and_decrypt_mhsm.yaml | 184 +++ ...lient.test_encrypt_and_decrypt_vault.yaml} | 73 +- ...ient.test_encrypt_local_from_jwk_mhsm.yaml | 224 ++++ ...nt.test_encrypt_local_from_jwk_vault.yaml} | 79 +- ...crypto_client.test_encrypt_local_mhsm.yaml | 224 ++++ ...ypto_client.test_encrypt_local_vault.yaml} | 74 +- ...ocal_validity_period_enforcement_mhsm.yaml | 177 +++ ...al_validity_period_enforcement_vault.yaml} | 54 +- ...st_crypto_client.test_rsa_key_id_mhsm.yaml | 131 ++ ..._crypto_client.test_rsa_key_id_vault.yaml} | 40 +- ...t_crypto_client.test_rsa_verify_local.yaml | 1062 ---------------- ...t.test_rsa_verify_local_from_jwk_mhsm.yaml | 981 +++++++++++++++ ...test_rsa_verify_local_from_jwk_vault.yaml} | 310 ++--- ...pto_client.test_rsa_verify_local_mhsm.yaml | 981 +++++++++++++++ ...to_client.test_rsa_verify_local_vault.yaml | 1074 +++++++++++++++++ ...ypto_client.test_sign_and_verify_mhsm.yaml | 183 +++ ...to_client.test_sign_and_verify_vault.yaml} | 72 +- ...nt.test_symmetric_encrypt_and_decrypt.yaml | 402 ------ ...st_symmetric_encrypt_and_decrypt_mhsm.yaml | 402 ++++++ ....test_symmetric_wrap_and_unwrap_mhsm.yaml} | 34 +- ...ypto_client.test_wrap_and_unwrap_mhsm.yaml | 176 +++ ...to_client.test_wrap_and_unwrap_vault.yaml} | 57 +- ..._client.test_wrap_local_from_jwk_mhsm.yaml | 224 ++++ ...lient.test_wrap_local_from_jwk_vault.yaml} | 79 +- ...st_crypto_client.test_wrap_local_mhsm.yaml | 224 ++++ ..._crypto_client.test_wrap_local_vault.yaml} | 74 +- .../tests/test_crypto_client.py | 142 ++- 33 files changed, 6859 insertions(+), 2103 deletions(-) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_ec_key_id.yaml => test_crypto_client.test_ec_key_id_vault.yaml} (63%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_ec_verify_local_from_jwk.yaml => test_crypto_client.test_ec_verify_local_from_jwk_vault.yaml} (71%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_ec_verify_local.yaml => test_crypto_client.test_ec_verify_local_vault.yaml} (63%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_encrypt_and_decrypt.yaml => test_crypto_client.test_encrypt_and_decrypt_vault.yaml} (57%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_encrypt_local.yaml => test_crypto_client.test_encrypt_local_from_jwk_vault.yaml} (55%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_encrypt_local_from_jwk.yaml => test_crypto_client.test_encrypt_local_vault.yaml} (59%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_local_validity_period_enforcement.yaml => test_crypto_client.test_local_validity_period_enforcement_vault.yaml} (60%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_rsa_key_id.yaml => test_crypto_client.test_rsa_key_id_vault.yaml} (61%) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_rsa_verify_local_from_jwk.yaml => test_crypto_client.test_rsa_verify_local_from_jwk_vault.yaml} (58%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_vault.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_sign_and_verify.yaml => test_crypto_client.test_sign_and_verify_vault.yaml} (59%) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_encrypt_and_decrypt.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_encrypt_and_decrypt_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_symmetric_wrap_and_unwrap.yaml => test_crypto_client.test_symmetric_wrap_and_unwrap_mhsm.yaml} (63%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_wrap_and_unwrap.yaml => test_crypto_client.test_wrap_and_unwrap_vault.yaml} (61%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_wrap_local.yaml => test_crypto_client.test_wrap_local_from_jwk_vault.yaml} (55%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client.test_wrap_local_from_jwk.yaml => test_crypto_client.test_wrap_local_vault.yaml} (59%) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id_mhsm.yaml new file mode 100644 index 000000000000..3715b3950c54 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id_mhsm.yaml @@ -0,0 +1,131 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey33180f9c/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "EC-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '17' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey33180f9c/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616194950,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616194950},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey33180f9c/38f9028c28e24b9b80fe3b2800c5950d","kty":"EC-HSM","x":"aD-Od-CpwDHTx3T9XEPYR3-KxdmZg_wtFekJBlrAaSM","y":"exOWHTfjEM5Qwg6GAF09KXJpwN7Ov8LN_ZxxIlqpK9I"}}' + headers: + cache-control: + - no-cache + content-length: + - '433' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '261' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey33180f9c/38f9028c28e24b9b80fe3b2800c5950d?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616194950,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616194950},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey33180f9c/38f9028c28e24b9b80fe3b2800c5950d","kty":"EC-HSM","x":"aD-Od-CpwDHTx3T9XEPYR3-KxdmZg_wtFekJBlrAaSM","y":"exOWHTfjEM5Qwg6GAF09KXJpwN7Ov8LN_ZxxIlqpK9I"}}' + headers: + cache-control: + - no-cache + content-length: + - '433' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '126' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id_vault.yaml similarity index 63% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id_vault.yaml index 293549ebc3d2..4ed7158e9899 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_key_id_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesteckeye9470d88/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesteckey433d1013/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:10 GMT + - Fri, 19 Mar 2021 23:02:35 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesteckeye9470d88/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesteckey433d1013/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesteckeye9470d88/41b7345af65e4e29b0ad3c16103c5cb1","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"xLeGJutfYRgRELSvq0-Yg-q5UmCVaJ8HyBQVi9s98Uk","y":"0MHnZ8jZjyGtp_WUdooqXwqn843uvWUL83SxCrY6nlg"},"attributes":{"enabled":true,"created":1612578012,"updated":1612578012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesteckey433d1013/c2cbc14fdb0b405f9b4507100f85c84b","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"STISs3_goj91mOlIpNqFxzE1Kj2BPLKR640BCYKu9Fk","y":"CtMP7wzlWetR6NOzwJvpcKL2pRnUB7ziHsiNc763izQ"},"attributes":{"enabled":true,"created":1616194955,"updated":1616194955,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:11 GMT + - Fri, 19 Mar 2021 23:02:35 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -109,12 +109,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtesteckeye9470d88/41b7345af65e4e29b0ad3c16103c5cb1?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesteckey433d1013/c2cbc14fdb0b405f9b4507100f85c84b?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesteckeye9470d88/41b7345af65e4e29b0ad3c16103c5cb1","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"xLeGJutfYRgRELSvq0-Yg-q5UmCVaJ8HyBQVi9s98Uk","y":"0MHnZ8jZjyGtp_WUdooqXwqn843uvWUL83SxCrY6nlg"},"attributes":{"enabled":true,"created":1612578012,"updated":1612578012,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesteckey433d1013/c2cbc14fdb0b405f9b4507100f85c84b","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"STISs3_goj91mOlIpNqFxzE1Kj2BPLKR640BCYKu9Fk","y":"CtMP7wzlWetR6NOzwJvpcKL2pRnUB7ziHsiNc763izQ"},"attributes":{"enabled":true,"created":1616194955,"updated":1616194955,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -123,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:12 GMT + - Fri, 19 Mar 2021 23:02:36 GMT expires: - '-1' pragma: @@ -133,11 +133,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk_mhsm.yaml new file mode 100644 index 000000000000..97291e59dd91 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk_mhsm.yaml @@ -0,0 +1,399 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256505015e4/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "EC-HSM", "crv": "P-256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256505015e4/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616194960,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616194960},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256505015e4/b9d3b49fe6184eb1b7632f33584eafa6","kty":"EC-HSM","x":"OViGbKu9KFpqnLoBz1cbvJVD7wpjtXJlhbAZFFPhJ_I","y":"zN1Hvch9Mb1C6LY5kqZvGfXkm2x3dgJutcbNyApVFU8"}}' + headers: + cache-control: + - no-cache + content-length: + - '443' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '692' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "ES256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256505015e4/b9d3b49fe6184eb1b7632f33584eafa6/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256505015e4/b9d3b49fe6184eb1b7632f33584eafa6","value":"DeKKoND1wZBgnaVndkNJ9bXFFbKLb225JQPGRmVt6r7fgS484ElYHw2Z0cfBB8e4g0ukU41BGixFi9im8594OQ"}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '121' + status: + code: 200 + message: OK +- request: + body: '{"kty": "EC-HSM", "crv": "P-256K"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '34' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K505015e4/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616194963,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616194963},"key":{"crv":"P-256K","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K505015e4/1de10195a7f8024f3b4a8701c94571c1","kty":"EC-HSM","x":"D2xJ0xHcqAFm-juOS5SOhUrN8oTupnrBYe-qZ3qDmMc","y":"RPDSpKXigQDGska2UDaW7FqE0xFgy8gXJuObZ-k0gkc"}}' + headers: + cache-control: + - no-cache + content-length: + - '445' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '313' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "ES256K"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '73' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K505015e4/1de10195a7f8024f3b4a8701c94571c1/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES256K","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K505015e4/1de10195a7f8024f3b4a8701c94571c1","value":"5FzOiHAe2BpwqVC2OINsu2juwjl0nzOXlDo_AKboFXJNQipmcMdASCGrCYRjOGdHPFuN7psB8SvrhfdEWtgU5A"}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '97' + status: + code: 200 + message: OK +- request: + body: '{"kty": "EC-HSM", "crv": "P-384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384505015e4/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616194967,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616194967},"key":{"crv":"P-384","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384505015e4/7cbdd8b595b002aa88d00b37136c8294","kty":"EC-HSM","x":"ghiwWmTmHtgba_gkJdtJ8c9VyYjwhWcNVrGmekuS6MaVwGCtHiNYgfvYQUr96Ogs","y":"mhMg-9BslQgqRbUknQQ6Wo59K7NJpfGhOCoEXAd_Wx6oc0RKbw27KnAXWeTqdOZl"}}' + headers: + cache-control: + - no-cache + content-length: + - '485' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '346' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "ES384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384505015e4/7cbdd8b595b002aa88d00b37136c8294/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384505015e4/7cbdd8b595b002aa88d00b37136c8294","value":"N4bgOPxi83yS_AriTGF3gYnaYL-oIkksC2cCNd0rz9Ndfn9xCm7OTjFE_kASK96clcuKMjPucVnspammhS4OmTf12TM6uFwLBnYrLEd_GkVNbvrpTBM_Y3piycwAzLXe"}' + headers: + cache-control: + - no-cache + content-length: + - '279' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '173' + status: + code: 200 + message: OK +- request: + body: '{"kty": "EC-HSM", "crv": "P-521"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521505015e4/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616194971,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616194971},"key":{"crv":"P-521","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521505015e4/e3559df3883c016d8b4679a88d3aa61b","kty":"EC-HSM","x":"AZPlDirB-hD0O88rBXRvLbRAoodT6DfWj77XHBZ3xqXrH6FeA_mFKPFrBrav3bnz6_1pcy4CcaRDe6M82VEPXGXv","y":"AV-OOcAmtHZeD2T04ce6YYo9B08zYWPz7qD-ehcBQvDk4BBqnE_oonTmPfQxiOKDg93LMhZ5jFkmbU61j9-6lw6e"}}' + headers: + cache-control: + - no-cache + content-length: + - '533' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '445' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "ES512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521505015e4/e3559df3883c016d8b4679a88d3aa61b/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521505015e4/e3559df3883c016d8b4679a88d3aa61b","value":"AXApjwivUyGzfCIwVLT0bGz7r9TGuzMJ9j6LmbW3JUH2eJMvVmoHFXyOwF_3fc-a4CbqiCWYywbvel1IZNtEF2HYAc6Gt-Z-jWAaJ7Z9CESF8GCH7PrrkA1QIiVAbuOu3aDFaG2HhEY2Id9eNZUkCLNCAtiBfb8ADJyqcb-lanSOeZ1J"}' + headers: + cache-control: + - no-cache + content-length: + - '327' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '150' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk_vault.yaml similarity index 71% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk_vault.yaml index a96e85ff87fa..765259be50fe 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_from_jwk_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256e71713d0/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25666bd165b/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:21 GMT + - Fri, 19 Mar 2021 23:02:55 GMT expires: - '-1' pragma: @@ -43,9 +43,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256e71713d0/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25666bd165b/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256e71713d0/889e735ae88d49739bc86916a6eb206a","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"kn413jTUQfeMKYSTS_wVAGLzgdmqb3hdXyK5bnk3dSs","y":"PG8pzwEh4Z8kFTiPWgQwew5GTzurfoAN4JmVUkHROak"},"attributes":{"enabled":true,"created":1614986782,"updated":1614986782,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25666bd165b/280cc5ee87be45509e7bf66050b55223","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"dHxMJejjY4NiPnXR0hjTTZQ5H3kQxcnQCDBo-V8HKkY","y":"pGDc_R6LOLAsz-Bsu3EmevbwnYvgJ7ce-uejGbdNJoU"},"attributes":{"enabled":true,"created":1616194975,"updated":1616194975,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '410' + - '412' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:22 GMT + - Fri, 19 Mar 2021 23:02:55 GMT expires: - '-1' pragma: @@ -91,9 +91,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -113,21 +113,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256e71713d0/889e735ae88d49739bc86916a6eb206a/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25666bd165b/280cc5ee87be45509e7bf66050b55223/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256e71713d0/889e735ae88d49739bc86916a6eb206a","value":"Yu7PQ-n1OLBHTaPnqMkg2SiyRDZRKizRfD1th9x9KytyDYoDxHUrKod0GKwRZXRwVIWR0puMJfZ5AmmX8PMVOg"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25666bd165b/280cc5ee87be45509e7bf66050b55223","value":"mSQTyOP5Ci4fOAj4ZpfHzMqVpba7TIQmXlAGdReaH1K9uvHO2CHzoUxfHiRf5dAP7kzsjrif9TBhHaddbWTBxA"}' headers: cache-control: - no-cache content-length: - - '213' + - '215' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:23 GMT + - Fri, 19 Mar 2021 23:02:56 GMT expires: - '-1' pragma: @@ -139,9 +139,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -161,21 +161,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Ke71713d0/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K66bd165b/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Ke71713d0/02d02952562a49bc9b2700b790aec8e0","kty":"EC","key_ops":["sign","verify"],"crv":"P-256K","x":"MT9oIuXKOA2qa_RyPiWnXiJZTP8hbMqmGcey1V43kRE","y":"2frXKwM2ok_kRoSkEHYc_5_Fm9EVGnpEs7fZt9i1QwQ"},"attributes":{"enabled":true,"created":1614986783,"updated":1614986783,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K66bd165b/e0ab4a44ed32449fb8dbf8d01de036b5","kty":"EC","key_ops":["sign","verify"],"crv":"P-256K","x":"WoBO1AEvqOwcA69r6GNp6gaPpAvtUDglMgCN85VDK_0","y":"-0n6DKAYXbmDEH0udOe4cHOaw7sLsncl7m0_8yUZrzs"},"attributes":{"enabled":true,"created":1616194978,"updated":1616194978,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '412' + - '414' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:23 GMT + - Fri, 19 Mar 2021 23:02:58 GMT expires: - '-1' pragma: @@ -187,9 +187,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -209,21 +209,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Ke71713d0/02d02952562a49bc9b2700b790aec8e0/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K66bd165b/e0ab4a44ed32449fb8dbf8d01de036b5/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Ke71713d0/02d02952562a49bc9b2700b790aec8e0","value":"GgEzWas-7x2eHbJsg3WLs4byiNGszZD_qvlAAe9rIx4W8BktA5LDX04qa7Ef_8O752UL21T2mj5zMI3C9x8QyA"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K66bd165b/e0ab4a44ed32449fb8dbf8d01de036b5","value":"MeH6yw3MhNPgwodbqsjrLbh1ph2HbNoeC77wC5skbPeh_zaoNphPIwMKJOFPxmqA5_XpuyeEWE-K-AgAi9QEyA"}' headers: cache-control: - no-cache content-length: - - '214' + - '216' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:24 GMT + - Fri, 19 Mar 2021 23:02:59 GMT expires: - '-1' pragma: @@ -235,9 +235,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -257,21 +257,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384e71713d0/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38466bd165b/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384e71713d0/705d6c6fd01341f2a490e5b217899d9a","kty":"EC","key_ops":["sign","verify"],"crv":"P-384","x":"56os745Y6u8-kd4rFFpbFgsiDb-Dipw32K41oYV1_-4-qQcPNPLb9zTX1-HL_KxB","y":"bFNAAgjUJFARDZZixKHqQonq7_5wuLCjpuSmIhxkoR0wjKfQoWWlbBXFbQ3KguuP"},"attributes":{"enabled":true,"created":1614986784,"updated":1614986784,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38466bd165b/8542c4fcf6a144478e2b42262da1a751","kty":"EC","key_ops":["sign","verify"],"crv":"P-384","x":"NaFacpf03b8CzCSSfs_qUSuik1CRE88gCTXPyEeQoPF2ZNwzbevtrYSkA-Nh6cAG","y":"siONpBH-cMREpRxhjYq2HcUrKHFUzo-tk0lLxZn34-VluFDdPADKGzwaBp_OshEP"},"attributes":{"enabled":true,"created":1616194982,"updated":1616194982,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '452' + - '454' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:24 GMT + - Fri, 19 Mar 2021 23:03:01 GMT expires: - '-1' pragma: @@ -283,9 +283,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -306,21 +306,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384e71713d0/705d6c6fd01341f2a490e5b217899d9a/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38466bd165b/8542c4fcf6a144478e2b42262da1a751/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384e71713d0/705d6c6fd01341f2a490e5b217899d9a","value":"Jdx-IadMABV9bMUa7lQ8uC_spoUU9Q-GmIIQXigNVo96naHvfCtwikpds94LElMtS-67z03z9pGZFdA4WMG_vP8AZ15MlL7BKkwO584Jq8A_gdui4zDQIfm3dIHXQWdW"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38466bd165b/8542c4fcf6a144478e2b42262da1a751","value":"nfslrkN0kbcQNRd04UPxMVKG4jJeBv-955_K1HBDlaKtByMpowFez9KkpLTrQCwIJoCFLH8ekwnjmhgrZ2UiKlUvTYOoYYuM93R5_9aaYVnGkwXtUtxDsRpGLrzeGIKn"}' headers: cache-control: - no-cache content-length: - - '255' + - '257' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:25 GMT + - Fri, 19 Mar 2021 23:03:02 GMT expires: - '-1' pragma: @@ -332,9 +332,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -354,21 +354,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521e71713d0/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52166bd165b/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521e71713d0/419e3aed3284473588af44b307964065","kty":"EC","key_ops":["sign","verify"],"crv":"P-521","x":"AR2D_VhROOmf-fXCsXdGPBC00fTqqUGlZV5HBl_OtuCe34K0d3tw-2LzEV50AfcXYZWlN-bdTRnFBaxd908vftpx","y":"AEr4s7j679hF8oQO-et9ulPHJ3IGdWW6pHk3jFtyYqCacfy6SiznWum3y9DQGuTlsXHBPvSqxPQa4prR9WGvGQ8w"},"attributes":{"enabled":true,"created":1614986785,"updated":1614986785,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52166bd165b/39d360792d594f1b88cc752b81e44245","kty":"EC","key_ops":["sign","verify"],"crv":"P-521","x":"AOfZrIilgfNaXkvTrE8ExGzJtHGSTWuI02moeQkiyLIeRHCwAKQYcJbTo34aE0sWw5TMS4Oxd2TnjeHkdzHM--78","y":"AZ8nBTDisQqYtmm7haWpIZgtF02KB-Sg_g8i5Wb8QL5uVDoIySEW5voaVZCLLPbtm64OTVHShklPD5izJdxbgISW"},"attributes":{"enabled":true,"created":1616194985,"updated":1616194985,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '500' + - '502' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:25 GMT + - Fri, 19 Mar 2021 23:03:04 GMT expires: - '-1' pragma: @@ -380,9 +380,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -403,21 +403,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521e71713d0/419e3aed3284473588af44b307964065/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52166bd165b/39d360792d594f1b88cc752b81e44245/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521e71713d0/419e3aed3284473588af44b307964065","value":"AAMl_OvQngawq7GABRQ640AMp-QCOvKuZGDlM6iy7_gcMttnlVj-nsGxPucJ2mOnHKe-b98wNQN7jPP-2ukJlq38AMaj_eOZbwfgEo0xJSALZD4i9id56aWt5CSmmjh877oCf4wIf6BN5jab9VVyc_YI3SvjgwxqQ9upcavoC4GWMiK2"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52166bd165b/39d360792d594f1b88cc752b81e44245","value":"AMxw52B6iDyOFXEE9XiTNCae_-nTHorV7pI5NrTTuScNnM2Q510BZHs5rH4TPcvPnOtVKzNtff40dppWUJlkRhSgAfONdS_V6LngZ_3FnU9doNy2Fg-zUP64gMsSJMCTjFkLUjeJtHjAHD5YFUekRJCageVdxob4EqOXa4dLosTw91fy"}' headers: cache-control: - no-cache content-length: - - '303' + - '305' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:26 GMT + - Fri, 19 Mar 2021 23:03:05 GMT expires: - '-1' pragma: @@ -429,9 +429,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_mhsm.yaml new file mode 100644 index 000000000000..c567360504e6 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_mhsm.yaml @@ -0,0 +1,399 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-2569a761226/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "EC-HSM", "crv": "P-256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-2569a761226/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616194989,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616194989},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-2569a761226/3131b7c4d3e74d0f23a4316426b593d2","kty":"EC-HSM","x":"y3fGXOYHjRDvSqXUGLB-cG2q9PN6cwfmhlnU86lStn8","y":"S-0P_aAe6aszEdEuaEO94GpSf0b5SOM6SSnZO_r-0J4"}}' + headers: + cache-control: + - no-cache + content-length: + - '443' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '289' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "ES256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-2569a761226/3131b7c4d3e74d0f23a4316426b593d2/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-2569a761226/3131b7c4d3e74d0f23a4316426b593d2","value":"bgerrEhJ8a-t1FRgtmjMoWIwMI48YeHl4EPYgzioCB1KgdPjWIQL85WS6j8BfPkgmzSdbyxBVxvM8skV6rNqOg"}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '95' + status: + code: 200 + message: OK +- request: + body: '{"kty": "EC-HSM", "crv": "P-256K"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '34' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K9a761226/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616194993,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616194993},"key":{"crv":"P-256K","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K9a761226/0a62f82a28c106d52ddd86c0285351ba","kty":"EC-HSM","x":"mtSoPHtigk5aGKDCyDKYxpt7ylDi0sexm0BBcIWe8qk","y":"ijKq52rzxwoqLCMPHUdo0Xf5Rcyd3qXi79wKP-Lr12s"}}' + headers: + cache-control: + - no-cache + content-length: + - '445' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '270' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "ES256K"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '73' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K9a761226/0a62f82a28c106d52ddd86c0285351ba/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES256K","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K9a761226/0a62f82a28c106d52ddd86c0285351ba","value":"-yIUmRtW3ivfUl1p68rj1GI5-WVugYDRcA4PWbPYjUXH42dB0kLMOJo5RuA0amDLCr5uQNQ4eetvTmhx0UUOsg"}' + headers: + cache-control: + - no-cache + content-length: + - '239' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '96' + status: + code: 200 + message: OK +- request: + body: '{"kty": "EC-HSM", "crv": "P-384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-3849a761226/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616194996,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616194996},"key":{"crv":"P-384","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-3849a761226/c7117b50c52f4c57b1a81c40ae1c27e1","kty":"EC-HSM","x":"DJ55GF1a48xRyRXo2sUjLwN3lXCCc3BsYvXu3o5RXUcxKgEKlzDD-F6bCqs5wihy","y":"wThSlRBkYOW_Ha5eZsKbj23lyTS41q-uLEt4chnIL7y7WPWhgNfxym_WbeN_WXJo"}}' + headers: + cache-control: + - no-cache + content-length: + - '485' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '338' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "ES384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-3849a761226/c7117b50c52f4c57b1a81c40ae1c27e1/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-3849a761226/c7117b50c52f4c57b1a81c40ae1c27e1","value":"29hu9PazD5xJezlNE3ernM0eBFGzIz880i5UHti-eNzKUV8kCRZwvkE6yQkh7rp1KjGqgbTNbczyCAQgZe9vp80u7yufeHozvcMJjlLcGae6ggGdgsiEXvs3vLxb6v5U"}' + headers: + cache-control: + - no-cache + content-length: + - '279' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '110' + status: + code: 200 + message: OK +- request: + body: '{"kty": "EC-HSM", "crv": "P-521"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-5219a761226/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195000,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195000},"key":{"crv":"P-521","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-5219a761226/a790fc143a8c0315a0bd864d6010640b","kty":"EC-HSM","x":"Afh7HzO2jZ58Jj_rWSNnOYCHzyFCKQPqsFS5EM8Ktm_7V0qsp24AW9eCNXX7TVH8xRTM9fld0hwzflogbwwrOE4o","y":"Abf6I0aMIDoSieqYnVD1y3wzihSA2n99Od6otbe_tM4SpLXAfNldV63NnZTeeBVL5Q8vEZiJ2YwF9W-SXO_84Vw7"}}' + headers: + cache-control: + - no-cache + content-length: + - '533' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '371' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "ES512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-5219a761226/a790fc143a8c0315a0bd864d6010640b/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-5219a761226/a790fc143a8c0315a0bd864d6010640b","value":"AYnsTg4JcC1WXr3NKuMF_lbH3nE2KKM9yx3k6HsvsktuDff9tIETooOsfx4JNUfYbttk60UuUtdvGWfiOL7fkNDCAbtgtMzXeqxxmIZZ2oLwemaCX-anE8TBhlsRtsgCCMD-DfKqUWodRQ6zFjTshNQHsEvxXFn2DP7zWqdr2pbL8HAh"}' + headers: + cache-control: + - no-cache + content-length: + - '327' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '174' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_vault.yaml similarity index 63% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_vault.yaml index 4520fe75ee20..3a8b64436032 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_ec_verify_local_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25644021012/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ad25129d/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:14 GMT + - Fri, 19 Mar 2021 23:03:23 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25644021012/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ad25129d/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25644021012/2aae2389044245828b5e094bb2775da8","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"qnOx-EssVXZyQ0wIpLSOoxMCx9s_YlIGC8D1UMNF2Po","y":"A6bHadQ8B02b4EL_kRIS_rnA90udq2gVALs3JVDRpKQ"},"attributes":{"enabled":true,"created":1612578015,"updated":1612578015,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ad25129d/398442c2e7a24eda950681eb5b378926","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"RFC6uUOEELA9HAKGB8y88zebvhjQ8QOBMhsviXq8fak","y":"JJNQSs4AVshH-nf0PBXJtmm_JLmINGlg24g9eMDTUTY"},"attributes":{"enabled":true,"created":1616195004,"updated":1616195004,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:15 GMT + - Fri, 19 Mar 2021 23:03:24 GMT expires: - '-1' pragma: @@ -89,18 +89,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "ES256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "ES256"}' headers: Accept: - application/json @@ -113,12 +113,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25644021012/2aae2389044245828b5e094bb2775da8/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ad25129d/398442c2e7a24eda950681eb5b378926/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25644021012/2aae2389044245828b5e094bb2775da8","value":"hZz0iyoJg6HvmVKlOYOfzWQdh6EHhBd2r_5xkkr8J7A_j87s6uwJtBJp1qRCHP0r2NUTiJCdwYWX4lEfSCFO5A"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ad25129d/398442c2e7a24eda950681eb5b378926","value":"5XkcXcsbieAl3cz9Sxdy1YKASfZl7N1NnVEdJXVv_Hec5EPRncjuBleOcCBYK0TcGk1EnGJ7E3-I55HPkYfCZA"}' headers: cache-control: - no-cache @@ -127,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:16 GMT + - Fri, 19 Mar 2021 23:03:25 GMT expires: - '-1' pragma: @@ -137,11 +137,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -161,12 +161,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K44021012/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kad25129d/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K44021012/29b65948a9de41b088b7ffb36a4c1961","kty":"EC","key_ops":["sign","verify"],"crv":"P-256K","x":"MdOTQRSl8hTeTSiZ4nmhPkhukRG264CZ_4yxYlKIv2o","y":"Pihls5obPLxatNH3IAUc7m1GzBaHJ-g0svV9ne-uWkw"},"attributes":{"enabled":true,"created":1612578016,"updated":1612578016,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kad25129d/d7974095597043a9a0dc83c17f6a39ad","kty":"EC","key_ops":["sign","verify"],"crv":"P-256K","x":"pbYW134R6kIuZI8YGTD0Lmi70RW1gQJbpsZ8-se8nPo","y":"yWiwEJ-RDEAiNkt5lZ_rpbVFNTOJVIY_Y3S57kjuQ7o"},"attributes":{"enabled":true,"created":1616195007,"updated":1616195007,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:16 GMT + - Fri, 19 Mar 2021 23:03:27 GMT expires: - '-1' pragma: @@ -185,18 +185,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "ES256K", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "ES256K"}' headers: Accept: - application/json @@ -209,12 +209,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K44021012/29b65948a9de41b088b7ffb36a4c1961/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kad25129d/d7974095597043a9a0dc83c17f6a39ad/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K44021012/29b65948a9de41b088b7ffb36a4c1961","value":"0_eB3WWrX9qlS3S-fBpXWhnO9CSi13KYJdrkiYSdQFfvpTP7ofgPukYBVSh0GZh4ZKsMJUbEl3JXqT9iRBwHYw"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kad25129d/d7974095597043a9a0dc83c17f6a39ad","value":"ao2d_qpgDwu3tR0l3k7ulKifHg8K7yOymodPLnTChyX4is1k-CvtuP_Ts97Wn8r1IfKnArMBoxLKS3aawCi1MQ"}' headers: cache-control: - no-cache @@ -223,7 +223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:18 GMT + - Fri, 19 Mar 2021 23:03:28 GMT expires: - '-1' pragma: @@ -233,11 +233,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -257,12 +257,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38444021012/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384ad25129d/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38444021012/95ab7133bf6b4a0787443889429e933a","kty":"EC","key_ops":["sign","verify"],"crv":"P-384","x":"cQQz6bZHTdK770XGMLG4epCbUXdqQSexjxDqMzl-9d3LDBxchnsY7PaESdmb-Ijd","y":"1LsCRZj5G21y3Y4l2F6ZjEi2eTLccIOS3OCubiLSskFva1PO4oXfyd6xPUWKOMa2"},"attributes":{"enabled":true,"created":1612578018,"updated":1612578018,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384ad25129d/0a31a93d75334ce58f129730fd7f2ca4","kty":"EC","key_ops":["sign","verify"],"crv":"P-384","x":"RXdRCIJ4n19bX719AC44AGx3VKvqI1uxTD1RDcgAzbc_WTnw0G8ggrJh4eZHrQlt","y":"Cm1HXzmpgwgBSuXY8b7N17CtDzAf9rFXMEyRRfD2_hwPMK9DMHnOQ4JDctKbhIZR"},"attributes":{"enabled":true,"created":1616195011,"updated":1616195011,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -271,7 +271,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:18 GMT + - Fri, 19 Mar 2021 23:03:30 GMT expires: - '-1' pragma: @@ -281,18 +281,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "ES384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "ES384"}' headers: Accept: - application/json @@ -305,12 +306,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38444021012/95ab7133bf6b4a0787443889429e933a/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384ad25129d/0a31a93d75334ce58f129730fd7f2ca4/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38444021012/95ab7133bf6b4a0787443889429e933a","value":"BlPyJxqsohSfgl1zxi9Ntvpvty6ZQfRGxQYe0EFjcW7al_yNVLCiHH0DgBfMxnj9mIxjbAy1ctALwcttNaE4h6DcUPCfoEyFNuysreSOhdp6MekkzTKhbFDWOFV6IVP-"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384ad25129d/0a31a93d75334ce58f129730fd7f2ca4","value":"Y55EjGOdW-xTrZUg-fU6siTo2yQKGUJBUw8wbuhlZIqXq1hjfZdWtgX2EMQ3HflIQldMbpH7gpS6jgM6Bl0L-TWkCB65VwM6bT6sDqgeSnTKQqBpL09qPFoodHhxWevF"}' headers: cache-control: - no-cache @@ -319,7 +320,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:19 GMT + - Fri, 19 Mar 2021 23:03:32 GMT expires: - '-1' pragma: @@ -329,11 +330,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -353,12 +354,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52144021012/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521ad25129d/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52144021012/b3dd1d5d110d4fb5ba87e332ea15c34d","kty":"EC","key_ops":["sign","verify"],"crv":"P-521","x":"ANvDudo0rZt7mFtlNt3vrUHo2q1Ty3Q4Cs8ahSBAqSGXcUklUKnSdsfVoPIt43y6rQVTlrtaEhFWoRsJi1sToH9p","y":"ALcZYT65RtIWEz6EZkv_VVZHdtpisf4xWpeSYknNrSKPfA8Hu2PTl3bkFpyaEbRAT6vuBGFDlcF5VBjMI29uhUh1"},"attributes":{"enabled":true,"created":1612578020,"updated":1612578020,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521ad25129d/84626b583f9a442280ccd1bc23f41bb4","kty":"EC","key_ops":["sign","verify"],"crv":"P-521","x":"AMNTpK-AK3NZulOehHrpydQylmqHYYuNEbej8EyL89YvRC_ijGMFEP-vjKD2DWDSz6lQYwjPwMzqgKawkMv7xjSL","y":"AUZPAnfYJi_fSa_8y6YaPbpyuPX4CiNRp5ZE8k4GkDw6ETLP9sgQy5h4g-ZdrnGYIgRpqxp5rg5_g66613pX1zcK"},"attributes":{"enabled":true,"created":1616195014,"updated":1616195014,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -367,7 +368,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:19 GMT + - Fri, 19 Mar 2021 23:03:34 GMT expires: - '-1' pragma: @@ -377,18 +378,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "ES512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "ES512"}' headers: Accept: - application/json @@ -401,12 +403,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52144021012/b3dd1d5d110d4fb5ba87e332ea15c34d/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521ad25129d/84626b583f9a442280ccd1bc23f41bb4/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52144021012/b3dd1d5d110d4fb5ba87e332ea15c34d","value":"AOX_TbEuMA48maHrGBWFlQgcMN7YvuEyyeBgSPuUjKvrej61zh55TDgs5UbW1IUu9Z0MWGY__uOZAv704-5ZOyrkAdiKaETIt_gAnUB3CN3dlvCUrOCyc2enxL-8c8CPGIOTWko9sdR7lTkjkR16YTTw5deY12PACByykyWXHfLNVlGA"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521ad25129d/84626b583f9a442280ccd1bc23f41bb4","value":"APmf6Q1qBIllT-D3xtK71cgd2WViLPMjbiWAlzPkzZWhLZyZFBuIXJyTKGz09wRXCQPpeftUqUqiJzubxSDtI5JBABptfmowOfPPtHyy5LXYsodaw-xnO5ZU6YmExKl20lSt7mvOXUDFJdZqIQkWwCy54gsemWIu3jotEfaBSFrXbuqF"}' headers: cache-control: - no-cache @@ -415,7 +417,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:21 GMT + - Fri, 19 Mar 2021 23:03:35 GMT expires: - '-1' pragma: @@ -425,11 +427,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt_mhsm.yaml new file mode 100644 index 000000000000..462e9456b875 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt_mhsm.yaml @@ -0,0 +1,184 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypte90913f1?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '0' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key": {"q": "AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3", + "dq": "AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0wYawzUJzoyuXBH0zS6D9BqCZPeF543AmWB27iPf38Q9Z8Rjr6oBgMSnGDV_mm8nDVQkeaDyE4cOZh-5UKvKShTKKQVwunmDNH", + "dp": "AMmhWb5yZcu6vJr8xJZ-t0_likxJRUMZAtEULaWZt2DgODj4y9JrZDJP6mvckzhQP0WXk2NuWbU2HR5pUeCN2wieG1B76VKoH76vfnaJDqT1NuJVBcP2SLHog3ffwZtMME5zjfygchG3kihqOSpwTQ9ETAqAJTkRC38fEhwAz_Cp", + "qi": "AJ_nrkLpK8BPzVeARkvS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rypt", "sign", "verify", "wrapKey", "unwrapKey"], + "e": "AQAB"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1728' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypte90913f1?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195017,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195017},"key":{"e":"AQAB","key_ops":["decrypt","encrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypte90913f1/98c1ff67d4b24e9e80f7fb3ea980e4fc","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '725' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '264' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypte90913f1/98c1ff67d4b24e9e80f7fb3ea980e4fc?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195017,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195017},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypte90913f1/98c1ff67d4b24e9e80f7fb3ea980e4fc","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '725' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '73' + status: + code: 200 + message: OK +- request: + body: '{"value": "gepiDmCZktJeHG7RttpsFJjb2hAcKBEZjxzOdYJxjEu_c9Hhd1SakhCEtpV_NZT_gZwam-q5454OmKt-nVe6taloTeHCZbNrRpMNEfSjEtSeOVxbmUL1kFm_2cQMc5ajgLJAE8sfhmCaY0sXE-dKuhUPiZ12GB-nbzI1gCc38OJIyB3YPMHw3T_CR-rE_evaHu3AMujx7OwEqxoW-3--IBoigy9jcY9fyhgxcAw4T7MbPPCsQuyDnlujyOgudGASVIJM6NF928DeQTszBGZ9lEe98pDj3Uf_MitRHVG87s4AbBk80CmhHdmyOePsSIrmFub8Md3Qsls8yuLKvwgEyQ", + "alg": "RSA-OAEP"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '374' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypte90913f1/98c1ff67d4b24e9e80f7fb3ea980e4fc/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypte90913f1/98c1ff67d4b24e9e80f7fb3ea980e4fc","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '414' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '3' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt_vault.yaml similarity index 57% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt_vault.yaml index a4da2d213c71..e27d444773e3 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_and_decrypt_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestkeycrypt899e11dd?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeycryptfd831468?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:21 GMT + - Fri, 19 Mar 2021 23:03:38 GMT expires: - '-1' pragma: @@ -41,25 +41,25 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"key": {"key_ops": ["enc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x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU", + "kty": "RSA", "d": "Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ", + "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], "e": "AQAB"}}' headers: Accept: @@ -73,21 +73,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestkeycrypt899e11dd?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeycryptfd831468?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycrypt899e11dd/35f06996c03a4121847ef0072244a701","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578023,"updated":1612578023,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycryptfd831468/34f8f50bb8de41f0bdb81e06bd85d638","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616195019,"updated":1616195019,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '695' + - '694' content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:22 GMT + - Fri, 19 Mar 2021 23:03:39 GMT expires: - '-1' pragma: @@ -97,11 +97,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -117,21 +117,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkeycrypt899e11dd/35f06996c03a4121847ef0072244a701?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeycryptfd831468/34f8f50bb8de41f0bdb81e06bd85d638?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycrypt899e11dd/35f06996c03a4121847ef0072244a701","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578023,"updated":1612578023,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycryptfd831468/34f8f50bb8de41f0bdb81e06bd85d638","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616195019,"updated":1616195019,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '695' + - '694' content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:24 GMT + - Fri, 19 Mar 2021 23:03:40 GMT expires: - '-1' pragma: @@ -141,18 +141,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RSA-OAEP", "value": "P6vBV3dr6WQnKMwsbZ-NPUd1bMXgHHnUeJSM-H5RldNgR2lxqthlNLow5-eF5wyfARGaAxVYgyeyFc5iQ4YPEWheONWZ9M5vfbGN-Oh5gE7QzP57HJxTr2_I_wLtY-hDWhGiLbHjeWgYKK-5pJ-aRHt9-dOO4VrvP2p1k6yI8c5nKT1d-aY8LwbOHaIVOMtT3ufXquackycQsGR_ErbIfZd7DRxrWVFEdmEXAVBZy3p0h-Oy0iaRks7o6IOUX6NE-VwuAIiV4V25iXcE2WOWxFdAd5mlBR4tLhcqmfKTdzSJRYSoGgqlp3uQwegYWbdPwCkS2oz8O8aOMAJ4vgHmpg"}' + body: '{"value": "MFQylW-SWUGSmjKQfP1TqVCcDF9zIyESJbkB4H2lXQCp5tS_F5vYjtDX-eIU0hfgqmdzCr8eA7BYODRPZudrnFZJz0nKM4osR--KDGQS3fmtTu9uv3E7CYVvOP5WkRkfmk7fwyW0H8GF2lYQIhElyjusgE6FTf-xaRA8AOh8UxxWkc9qodmTMI5W2EKDa7cV7wZYZWfOHMCBZH09uM88RgJxhlDE_88k2Dzca3IJTDLBcyr6ZJ3f_b5EvIjygvqDQMfFdYgQ91Mhb0ywHfpTERou7U9dFFo8WeGuXUwc-UksI-S6F2odj8xDiuDozxkiLT0YGdoTDrPLuhuMm1Z-QQ", + "alg": "RSA-OAEP"}' headers: Accept: - application/json @@ -165,12 +166,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeycrypt899e11dd/35f06996c03a4121847ef0072244a701/decrypt?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeycryptfd831468/34f8f50bb8de41f0bdb81e06bd85d638/decrypt?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycrypt899e11dd/35f06996c03a4121847ef0072244a701","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycryptfd831468/34f8f50bb8de41f0bdb81e06bd85d638","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache @@ -179,7 +180,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:24 GMT + - Fri, 19 Mar 2021 23:03:40 GMT expires: - '-1' pragma: @@ -189,11 +190,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk_mhsm.yaml new file mode 100644 index 000000000000..3e30a8c13c8c --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk_mhsm.yaml @@ -0,0 +1,224 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local27b6152d/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local27b6152d/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195023,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195023},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local27b6152d/fde710bd794e47e589cfee92011a5085","kty":"RSA-HSM","n":"j4DSmVB0HPF7yNHEmVAuFEF_u_n8WH9VQUlgpbAdEhwIBBmOt_GXbbI7G3Vlkmy-YQ6LF0hcdqD9OkiKoq04fe22WdeZ4z5wjbFngMPfRISoceiqxSD0oJMyxvz4bUWsuV7AnHaixvFMhQ3W1oXqq6YgmOVXsWhDBy8d9kSsEcGH_E9aCiPETrd1RtfG_bnnVE1yEsze0W-Nr2rFJM5qJ9AnpGYB7HnX66QEoK9szVNtlrmf0NpCvgXnYZ2UnwYupnd7OfU79sNHGPxkqF9kglgHWDIaRPd7PvVNZmkR2KmpIZcizc1xpcpNgRoP3P552znx1TCbKTX1zi00RxA7AtEOTklrGe0XNa7z8TPE6waCRNKMGRkvksvfyw06tgG2VmmWEBekxaQ9o_h-iNH0Buxzbzj9XacLoBz-Qu7HHrb43ff1nvAjr3EtSqNaPhSdHt6f0Gp078QsEJr-6p0lth3relW89_Qt1Tq06hLqEdPAPdaQjhiY9LWsSABYTypaSppijx7KM6DNlFthJLK_3Pd-TZc6gQWOjgYruSEP-mUG5Ahcq6afM6GFZ8O6bgeHHIdtunLptTkPWLM9A-4W9_wWoyZJBW9auEn0mh2bhpJMTlmsuwzI3Jbo01xksWgtmB9Pq0v_Ws5GN5ywifxbACgceezk8MucncDkHoVdw_k"}}' + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '236' + status: + code: 200 + message: OK +- request: + body: '{"value": "H6mFV3IZvaj53tR6ASXHfu6K34_wn0NBr_Frk_DvX1pvOfClEaP9-r1ZbKtK-cZNH-pjdXdQMWM3CvGjUqGVo-Jc9pYwfnYDKo4odQ9SAZjLU4cYLQVI5mTE_JynfTpHIuUuiJPTtjR5FeZzzaEG3OTXCsFxhnvwt25TlCRy04yuyqCLI6ZpCLvK_Pe0o-QzGYJxWH0441b-u1bV-07DOWYgFDCNsHb_AomUaX6sinCBGQBXZfHn231vvzYRvATxz9--N2KtJ4gWjOMTGFCVIKhQAmH2vByH-3LCyEdCNIkYyV8z5RF35TOhZe3w12PpRQQIJ_ozh6MwNXZUZ8VRPtx94YPvlmCHZBqTrBf3U2-bt3E8PAX83qv23NNVyWK4RNAk3oFlHryw3olm8YFqQX0Xxd5U4PKcHwAkDf3aisJdT7vwKzujCKvzjd02PHr1IWSWBKTeypZ4rPUijZDY7dlbp0OYlbH7QR7DPs70cfsYld4fszwuh9J-jfovC5YjMlId68N2VM0BrLEi95ThoAJHKNGoYclZsnYfjZilAS2yF1YXxLbrzywanVpbDHUHTzzzcDhwkQIkWx1osPqoSHfyv5fBV2ZZNNiW-InQ9HQJGQaZeTdx1AQKzprHNjomeCAhYmAc2bJeCvX2Q9o6zHbOtjD05NChNOeQuq1TVOA", + "alg": "RSA-OAEP"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local27b6152d/fde710bd794e47e589cfee92011a5085/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local27b6152d/fde710bd794e47e589cfee92011a5085","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '419' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '107' + status: + code: 200 + message: OK +- request: + body: '{"value": "TcYGnBOMqDNQWNykTx4yKHMuLfKGY_6Q_xQ5qrxW5i0jKyoh8rzxmVxX5g5qzWumv61lnacbKx98sAN3F_ZtpfUrzZIJ6nrzuh-k-5WxqCOzWR3IBNfweE5isdWy7ScXw04FvLOXeR7avkIf-9M1Aq4afG_1HBPkwqrkgsHauLq0loDxPutjpfiLfRXCP-jNaIIIWRE14bowsLSuBtubiEME2JJDztCfJq0yqEEdS24I0eqjk4TK46RuGnKTiSrjEiM6Zy6pSsLTVPKI1lYQBoEanweyCeth_uhWZVqABOxt--_WHtkvXhhAzSlO_sAmaVGFeLXQw9A7kWpxvbplJj2s6C5KmAgivN6Y9zrpNmRB-ojru-5g-WgSyzyq-Uietc0EXHxMU6Tphh8Cp0lsv6mmMOhXH0z7KKzFSqNkYdchDlNFkKALdId3QMVwbXVb08SBEW3P9VmBBGAgpAgJVB0jE0enGrj3ZfitFGRvQ9EScoawOJdN7_-x5rJRJ8QTw6FabqTnOqLIfkJYKV0U_dGqvgilF6Zg1QDNzDxSu0kgibFLD12t0GeepNaA73EgQTpDfVYACdXB5udI1fbbVveLbcJZeGzqjxrh53yjo019tCXDK_pRkHYF41cQU5KYbaWTcYPc1DuzEnanbhYAFd3F4PEON0KYcN_nVy2W040", + "alg": "RSA-OAEP-256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local27b6152d/fde710bd794e47e589cfee92011a5085/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP-256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local27b6152d/fde710bd794e47e589cfee92011a5085","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '423' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "GtsLh9kpeQmf3XsdOPOV21_gNIij3soBrg73lhNunqv8HyehH9lmGnFMvqexK6Ps3LoB96-zy0_9da5r57pxzpycQyCzxAD0aTuqQ7kyeGQC4hShMnc4Nb3w1XnmgbA2NhVMuMgIQsVeD7vkEkHiA5HbPqzZfyXw5kE1t3cw408L-12rizUf7sW2tT9NcARB_d_BoBb6pG-vezJHljc97lupfDTyD5eU-TkGzhLp22j5KT7_l_GNEmvC8ZnLqRjmp_g_RX44lOrLhoBANfM4ibhMNrznHhV9RPEQc71v1McUT0z-z-IBJhVnGG1y6BUOa_XAX2IN5WoA-DUlPTEqhAccAfJTF0FgMtjAmGAEtzWVTXukrYawd4HfC4mXa9jh7olzjGgvo2ZranrHXVZmzozNxkSvZSy-VFn6r-oYKSKyrR9DzGvzy9TGtLeU3LuYkMwPVNi8gtx_bAPsjTeJnrCkF8DO_kowlUP9Zp8mFiwmLJ4Z4TzSS_ifBm41c10TDZSK-4IlDFFzX_qxnpwAJa9xZ3XtY4w1RDFC4B9wTaelLyefnYbUnce3ZRZDZLHAGlCAbipiMZFdl87eHFCPfVIPH9fzib8tKCJ_iG40wIyYfBH6IDeaKsoVxDQxzTOkvSp7Ppm1SBnEDXD4mvuMDS-p7SR1seXkUu-YyoC7arw", + "alg": "RSA1_5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local27b6152d/fde710bd794e47e589cfee92011a5085/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA1_5","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local27b6152d/fde710bd794e47e589cfee92011a5085","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '417' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk_vault.yaml similarity index 55% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk_vault.yaml index aa5fa66850bd..54afff908eb8 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local256a0f5b/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3d6c15a4/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:25 GMT + - Fri, 19 Mar 2021 23:03:47 GMT expires: - '-1' pragma: @@ -41,18 +41,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"kty": "RSA", "key_size": 4096}' + body: '{"key_size": 4096, "kty": "RSA"}' headers: Accept: - application/json @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local256a0f5b/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3d6c15a4/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local256a0f5b/c1eae2d3032e4c73bcf6f125e1794ac7","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zx0JBBh1pseaWSoEuYdbamu2kUlnzNmeclN392-zf6BLWK-85lmucZIcYxf9EPoXOJKwhoIlMuGGMq_nJU77H_S4K8yA6bly_11hSyRtjOPHEuyYsiEanVtjtfCwayWnnsizLO2j5fJIGCS5-5aJrygIs1rm-wzV2I4UdujS-DNAR0RZaY_c3IlU2kcIqqfSoImH-c1kJfWX6HT-rgXqcwZj05EViajGhMIljvop_j45RByTvCYWkYj3zK7gaS6agtiaEelaUdNg4BDkc3nvH6OgpG-hRkc3MwLNNnjbtwOvWFwLoS1riOadDVvzp_yB0onHDsDGTG8DHKBKeS2em4JNo18UJdNuTvgd3QMvXW837jT660lzeJNLgyvCO0W7y2RWiq0rrzQZTSEp9VzVt5wmW21DGMlKMA8SXcT1VQjtJ_FHTCSvMrgN0GVzBSLg_W2Keefsz2VFb2VGnXCRleS-YJIFTtjsVKGmmxdnsUy42l1AyEQgA-2TCsHM5QPKhOOedNQKEE3tA5_j-Dm7C6Bt2bc_7r9Kp12CtNZ9n08RgkmMah4j6ZS34MBk_UgceSACv9w2tEiCph30bRcVwjA87iThIcw-OsDdp2K83daxkNiyRlIK0ZUsRMg-0hcL3EMdfUBqPG4Lf8HMpVCJfnf55qOWyYQjHLknFh0Gblk","e":"AQAB"},"attributes":{"enabled":true,"created":1612578026,"updated":1612578026,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3d6c15a4/38d1129c385c425b987595ece00c8f0f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nymSOc-cb867si16O6O0PfH-qv9m6M8Ro5yYkEsM1xYNinAjrfVyn2v_nEdLePMgXGDwGLBOrcdqkZyJoon4iLsT1Ea4XXROCIFk-F470be2BVY3WFYxigDAMEkh24_qF47ziEUPJLjJJK6i9uiDSCpV8ZcMP504znXoCeo21R7TRElRYSQpkJkod9Tc0myIT3jdaSvEvzh__1_pym31Mzoco4ApttWFl-K8TxydwX1cEUkEQpxzxQYuTYYZeh5CAxwqwnNu6LRkv1xo60lhGsp5fdPn8-Y676X9Kf_Co7cAU2-yip-OVpdXv3rwLnlBVuIN63UT7fNrlD8v8rruj2b55kS7iSuBuxKPr3MlrSktPH5W0FhxOjAHHdaJgVQDYKqpD0J_rsxi4fIC9B1NgD3-MWsOmv3eI18KfB1YIMmb9UH4MF1kdu8uhmpS3BXkyJDWAsiREpOueqefTLKaSo_EexPi1AJQJCzzCOTikPQ821YS4Ky8AAKBF1hJ-xXEnFjEooy2zzhW3zv2foPAW8Ii8p9EVTtBbCISsX_O3Xx41sON8A7XLH8Xm2ZBddAB0BXLgzrS0DXkT4eXB3QEMN0fpT_nU4BANux4yJmE6NRhn8RKJHFMYhrQP5Gxm0Z8QrMht7SkhNOTAz5NvjQvq20ZCX0B8MeNUAqO6A6BM9E","e":"AQAB"},"attributes":{"enabled":true,"created":1616195028,"updated":1616195028,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:27 GMT + - Fri, 19 Mar 2021 23:03:49 GMT expires: - '-1' pragma: @@ -89,18 +89,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RSA-OAEP", "value": "gfZ-o_oUUGuk2YuGh396WGlh7cT3MGbblyD6fCi_Nosjm6X6y9XwjJUc6iJvGNMyg4nG1wFMJe8y3DYOL_z_7-g-gzVWElo2nHNvIGMxXPYoPggAQIRcfITJbda5PCtzxD6Q1pVNB00iUn7SzX9aZ7Ebr2RSZT5lWrmlI36uGe-6iJ4dS6cM_bF4WgTs-98bxeRIX1y73HSJ4sXhBFMTPWct7MH2fzoHsVUeMK_Bl4gsIlxM-gbAxxy5MddwuQfTa_qKUmunAOPPupDZ3vjLGeiJIkWbPlaZ_JBvo-y5Qi0JqSHLhRGXVBd-L4YVguuLat32_MHC5tQp0y8BH0cBhGY_CGkeDFXyECtIrzyYMbfNT7uQQdqnf-_FA-a4BKH4bEbSWJwrNG25v7L1cIuX-QYSRsZdocB44EQR2sLQLWni1onpkNa7t94I8b6nitechjJ1X2G6LyAf8i-mMXvVF7LDwRdoJ24XRhW7uL-AaJUkWPAzpRPnhZnaFoCAjYI9Wjw7deDb7I3kVZoIle0AXp9h4IbWTX6bFsrV86o6O8XSB6wS7nDdXPMbm_UK4XK-1iwaMBut9ur7s1_8zk8IU0_neUoHISdiswInjUhCfnjNyTvHFvtgd7xwSig5LqMx4752vF5fzMdObCLiwpTIV3kibiQyOcJ4kfO1GxPEPKs"}' + body: '{"value": "ddSheXxT_PZcRAaUQ3o8tdAZUwMXg1Ujh7qvLzn28PRUOEqdPh32i-kucoEGqAg66P-4yyctL456DZ_wtMGb61tbrde3OLS6TcYhKl8EzLxKUNYgOTLoS2PPdYcNGNsSBNSGpJjH46OxYYVe5M0JoeLq3NM0s1YVnY6LTrSI7Zb2Bx1hmfis6zaxbNJ4Ram2TbSHV2u2HKO94idSgj1h5elSBNWmKUo9Vvp2qjX7ptrlV7TkLQjpYLSwJolE22-bf7XCfeafw3J-2pjjtcNPziOHSNQ49UCl9I8dZXYht5FoHwCOG83tSPWmoVEaeiDKuVcvc8TZlgK_9xihmvKADp0bAEMJQoKaCQEWzHKEGbf1bpdHZTKLf4vbi7Q_CXeJekn8YZiDvYQzZTzQfiNgWOYXDDP5CGFaEdPkC_f2_foWLmsDDEPfswrbpkUItm8WtYDaBzGWbwkW2DainmmIh8G9PnN2NdU2YaraORDzqNBcUy1WwD52ImZS7Wad9uhBnlS8DEXlbma2FhDNMsuhyCcwysbd3h0JNPdDPj5BR9S18kbGE9uht-2EUU_aoKaWl6Np97KlDpwDByi_PCZiwf8BWgENOEMPM9UDrOYfi9AoEG3Z1uSHX-2Ueu98L41PSijZgqgv2lJboYms3lzXXi9ClTV280iBOo1sGlCfMdk", + "alg": "RSA-OAEP"}' headers: Accept: - application/json @@ -113,12 +114,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local256a0f5b/c1eae2d3032e4c73bcf6f125e1794ac7/decrypt?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3d6c15a4/38d1129c385c425b987595ece00c8f0f/decrypt?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local256a0f5b/c1eae2d3032e4c73bcf6f125e1794ac7","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3d6c15a4/38d1129c385c425b987595ece00c8f0f","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache @@ -127,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:28 GMT + - Fri, 19 Mar 2021 23:03:50 GMT expires: - '-1' pragma: @@ -137,18 +138,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RSA-OAEP-256", "value": "HLRYDwpnv0azxFGRqxdyzYx-KseCGloZtVaRPzQEn8BVmWmPbrEGJSZB2-4EKY8P-VVvEYlnhcDKzWXDar5yqOq_irhWDxtsyrt7MehRS29uCTX9-at_tn1F3wwuroRJqCJawC3OZzk5Ka2-NiYArVqroUbg1682b-8CkuW-RACZ9LAAq49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ONKboGfDdq6XpvlqlT67O5IIgkxBKWJQtg4k_MSYAZNoOvdiTP5sfPOisIANyLbLKIK86aRSymZ9cl8pT1mgzrLTKDbEVHL29L3GrbuJayVXcsLwFK7nVjTROY33z0NR8hGoc-Yw", + "alg": "RSA-OAEP-256"}' headers: Accept: - application/json @@ -161,12 +163,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local256a0f5b/c1eae2d3032e4c73bcf6f125e1794ac7/decrypt?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3d6c15a4/38d1129c385c425b987595ece00c8f0f/decrypt?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local256a0f5b/c1eae2d3032e4c73bcf6f125e1794ac7","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3d6c15a4/38d1129c385c425b987595ece00c8f0f","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache @@ -175,7 +177,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:28 GMT + - Fri, 19 Mar 2021 23:03:50 GMT expires: - '-1' pragma: @@ -185,18 +187,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RSA1_5", "value": "MoRmkXl9lCqujs4V9pKwWT5q06jflk5njS80B4OyX1ZlCrBNre1iB_XkurQOY7P00Rr6OeEXnkEwqrcgsfzGthQ2p0C2ODpejr1pRX4l8lycDpBpnzTzxiGDIWe3XotF-hZhFnVzi6j-cvklktTnVVfyIaI-Z50sigR1xEvscvsDeru0p-xAwXTH9MmDu3-vq7moR91FSAsl7f-99YwejX7RR1C4AWnpD81twL-VPqd10P8eHBqq1q07TaKciKkkHFJBrn1Pb12Wr2pENiFYR3v7cz_nseuqSM4BXb8053n55KDa59aqozvud_UeSSvVx4UZv7hh4u-45kdGpYMdVUTOsbEkttmU8hxDc9GX1M1Hu-3i8cbSLEvwfWhazlN_Q9h_l9gEKxbtiygF7pAP9yD2GfduXmxPOkNp1KNv4c2ib9oq_DFmPqYfm5lyKZWOtgFwRoMJ-TTcDfSDRxcL1C-QoTvDzLg7DKHCX8d8wlNzN_3sv6Cgd8UTFxsu2fCwAUDtPfn-ECfL22JzVttBP5Mb463Bo9zpKgKxeF-73Z43K6j5PCdMKej6aunPnrA65w7Y4uOAXIyAJFqV-laGhPc9LQRZ9Z5PYLcA4zkKoD-flxz8i5wBIC9sR1a-4pLo79ym2sFKxeRHfm4VoeSSkxYmjFClXkrWKp2E-hinP38"}' + body: '{"value": "ZtWZlNgE6mZ3mKEWYMuTwo9B9uQZP7SLIO03mz_FL5rB6SUktSaO4OEEMaqsr1UPgHFtei_Sg8H6WC6ix7AaNpC4mIZgfEM9FtwRBGR1L9rg1oCjXWN3JTkjGI7jPVDZHlewz162E4gwuSY6MdjiMkQfkQ4JgsK3mWkjdCKdGTGkRn5nTg6HvAUO_a_8RnsrdTHOOzQJXyZ2KrZjW49alhtTpGS1wz9xnO9rijDhS1wrrBfgP2QMywSkvRFqq61fLt7Jh-Uvrg8O45ZHfrnIZotF8sMAil8OBOKzQS4DldssENeUSgjVgqvcmNYe0kQC_Rnos1I4k-om-pydTlQqMxm_rOG4vReQDVosiqj5oayKa4qn0sO9gL_Y_j58bmxa4dRKDB3ChXWalVqsq5iPqyQ-oydIIbd2_JyO_9hSbg4DPtpyfsdkvQKvseaJs1BMHLcqFn9_4TgF4-iXcJqOjP9dDbfeC3uukcAyK4sUouUHYXsqhNA5-3GT_UfAdwzLmlEwYKG0OyYRfHghBGomeqeNDbOEii1njfx5mpvx2CsaATiboQkMLfYrYG2RqDwkpsRCtjcwUVDSv9LuUI2ITCZl-5X-bU29J31rwAxCPJ82hImqUvO5LIDggDkWG9CA4eeoOKRJz9j7nNlFMpqbvxG4aAP98xcrDb7N9JBIAAQ", + "alg": "RSA1_5"}' headers: Accept: - application/json @@ -209,12 +212,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local256a0f5b/c1eae2d3032e4c73bcf6f125e1794ac7/decrypt?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3d6c15a4/38d1129c385c425b987595ece00c8f0f/decrypt?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local256a0f5b/c1eae2d3032e4c73bcf6f125e1794ac7","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3d6c15a4/38d1129c385c425b987595ece00c8f0f","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache @@ -223,7 +226,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:28 GMT + - Fri, 19 Mar 2021 23:03:50 GMT expires: - '-1' pragma: @@ -233,11 +236,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_mhsm.yaml new file mode 100644 index 000000000000..3d5b0f6a6362 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_mhsm.yaml @@ -0,0 +1,224 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local784b116f/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '0' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local784b116f/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195033,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195033},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local784b116f/a55897e5a9b60a9a8c056e385b70fc65","kty":"RSA-HSM","n":"jNF8ZR2p_uwFf-HrHpx2ErBlkih2mwLnNxfFxCMM4-vZ-ILMR7K1NLHl-owzgVSMXiyadUdtzHUN3MYoxvDDoiK33pRVdz_eoI263NwAww23cGTHd82oCkoDLJ7lQ9HywwGo1Vwp_I2MJZodL3Vll73isrqURBQ0f8VM5qnEQI2uDAVsJtB59skAfB7Fg0UfW6-dp6NQViBx9D4mk_jVW5eINfEc8BlDSm9c38D3gDpRxSjCUHnbl82sjb5pDWejkFjxgVU8WyR_IS5C08iV3vBbBLzHei5a5vBpDzc1coC-OkU2skPOgMVNiVEWhEjlmKYtNlbxQjC8FZYKkBxHWSYoH8qnybkYKX8h84J50WeUdpJP3L37DChnIrDpg3OkcZ-p22hfW6bxEO5c60MUMjtNk5xoNENYQp95pSpG7mosF9uZ1Mck9vijyanQsaT2a3Ej-fh7Itf7RY_k0M8jV-xHvrxYx9mGOO-N1It4EIeMY59J8dWXfPxW1N6lqVsuGp8VuroTITx_aPjVjCNHg5m8OWMVn-SDUVtoVnvyNl2bhz4OW09f2WgtEHmWtipJg_nzsEJljOYPHB_EZNSIKCuCywHQOeEzDC1vMvvTMnv6mrs_tWpJQUII2JoqUBv0ft5wXB7Jq0y0p6GCMRfUBGIwE9oa2d-t9JcU6Tl-hkE"}}' + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '229' + status: + code: 200 + message: OK +- request: + body: '{"value": "S6bbN5Naw3g1l1faUEOS9Gs3u5PtsjjUG4H5_f8s3rBH5Q_77uaGgrvbgbIp223vYkNlEseon0NCSgYQSmrnsD_eN8rzy9PB35IFIoFYwCGh6ulKYCisncpj1ovt9l0SthCUvTrlRJXIjy5iKlrQQPPV6blk3Bw4bNgTCgL6RViRtynW6Y3_HXG6KAXQt-ScJQvQB_kC9vr7LePhHi_VdpLw6ZfW0_BnPRSRf7VCbAsBvcbYqBC6eoRlNTIY95HpCLllI4yYhQCDIVjP_WqeEKyifED_-ob48QMZBrxG9wtKONu8fuwcUMqZESniP1ySkz8ZB7JJjupzzAUvJD4mBMx9mBoZeD5QZxVM7CHmtN25Sy361jSMlK7vNlqGkpoIMNm9JtL1l5lDAYwnHEt8R4617enmgXJp3fsFzh4ES3sqzrTaRIPnss-St6V-lb0qLKkiz7_OFSFBGQhqJ7WO14ZL9ubo1HyZkYk4kQo0nDbJt9AqEP1PLUBqw6tC9G-5RVXyV_LzBBmv9iMEvvytHMKk96o75nytCnjzJYww1p_zdbJ0WeqmCMakYZxoe1f90gNuh8UiT0w0begwcKSX9yXNpzSLDIiL5JrA_7ogKUtnAIWQLuu1QyApKcua6Sb4uzEpw_usfveD-GYYicRZ3Q9vB_LVv-54ApjRvMTdWxU", + "alg": "RSA-OAEP"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local784b116f/a55897e5a9b60a9a8c056e385b70fc65/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local784b116f/a55897e5a9b60a9a8c056e385b70fc65","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '419' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '136' + status: + code: 200 + message: OK +- request: + body: '{"value": "KhILPmZ84LL8e4q_D_rsl9zxnzd5NnN8BIXEeonolW1XOBGXDMeKmEjn39gr9rR2Q3tipKY-kzmO2aVWOmnp-m9gYy4K4QYcWLXEWwCT5iZdb-2SAX6-f_Kg9ennVq36wk-Ty4uk2wNKQJeKi5lhz-1jy4M5Cpdb-v15XzmztW2sPG19hyDF-IVPWGV2rpQ_8xGXQKfxCl9smdltDDrjYvldqpLaIMbyphhdbpxYnxcqwpII0Z2M-vS15cYATYB5updeoSfqQ1KpslpixstsbHdROmuGflz7QOtcFkT6j31BLl2kF6j6YbeqaTkTZPbmvYNnIWw4ykrLJka2dOqdMGza18Q3dp5SaDAi0j_bXerscltCu_lgzfao7Y2DleKd4jUIe4Kro6_a__IrUo3-7uBtjX7SX0wF5ZG4S9cLrXuiQtQikNdxiI_ptc2cMQRI2JtI2dA_DTQMqpcIso_dO12BNr2BBS4K9ViyobFXT8uzAIPMi3B6hcZr8vKF669ZfRXvHwfePVUu9uUpoujxUoXNkGXVvM28RAeJc5T4rIu2B2vRHRlSxnF3gGspppKiGRLl3MWbhl0wETmJN1Ff8wzyBmyVzYc8WAr6zUdaAVuG7Vn9NgGWZBHBf3V5POQ9cA0aMpv0V9gNFffryD3nHxfimKbpl658VTV3JiteRqM", + "alg": "RSA-OAEP-256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local784b116f/a55897e5a9b60a9a8c056e385b70fc65/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP-256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local784b116f/a55897e5a9b60a9a8c056e385b70fc65","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '423' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "Ri0R8xycMjHrxCUwm8Axon5GBdObi1RM8950R7kfe2gjfJhYKAId6XQow-qF8i1M5my7yczTa_r3HeqnrOHxw0Hc7p5PJ5wN9fap0Crml2Djl9kBRm0Jo6Eme0EPWm7xYBtmrjSgHPWZfG8yw2uN80plQwdc3D2TnRkmSl4l6ITBwliQ1axdYhHwl7nHSicBJ0h6bOXZd284gTwFNpIcQCYu-ikilN3qdnUTwrVxK5jwpaPsffTow8kJknLKolPe-GBy1atJ4vBn2nCcgfCbFrdfPxvcxeK3c5IB3YuOwXb-BShImjD4uiIukksZGzdOrt5FYEk_dDamnxVal7MJ1LSsPqa_5x1UQto1RarOYZxEifkWvOYINCU8tHhjovQMl--N0NSLXYNnpyRIUdH9m2yz8G6RnbAyKuWs2Hx88eY8Ty7roFk0dxYGKyS14xEBTAaPxbFuaLOzbAzzyNYAaaQQuew1Gf3kk1EaMlZYM3lquarf2bnQk0Dtt5gbWJ8oSNm1m0qC7pswPTQo8srMP391ouQVNmJOr5V1d64ABsfHFiogE0tVP3T4XbmwjwhLqWnQi2rCIOfCCXcIfE49F1PaRn5eFuhJw9kLGudAX54fAv--G63M7Csrlokn5RuyR1Ole2sW5Fnl2X-V8dnFGHXdQtt_TKd0K-omBvWYohI", + "alg": "RSA1_5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local784b116f/a55897e5a9b60a9a8c056e385b70fc65/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA1_5","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-local784b116f/a55897e5a9b60a9a8c056e385b70fc65","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '417' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '12' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_vault.yaml similarity index 59% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_vault.yaml index 36d08887b20a..2204480656e1 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_from_jwk.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_encrypt_local_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc2101319/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8a4311e6/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:30 GMT + - Fri, 19 Mar 2021 23:03:58 GMT expires: - '-1' pragma: @@ -43,16 +43,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"kty": "RSA", "key_size": 4096}' + body: '{"key_size": 4096, "kty": "RSA"}' headers: Accept: - application/json @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc2101319/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8a4311e6/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc2101319/25710e9a40cc4d219f19197920dca00a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sF4-kjQtgXhVXwujAdSkwEllPGmE6bUha87KiKNyN9XjCZmdmoZIkitbW66pK2NO5ckTpnW0aTpSNLovzpk4gmTbokbq0f8I7FCZXGTYsVDF3j6CKsAY8NJD000JDtA1SkK9EZMEjICzMHrCmEzXj4w5UDEr-FsB7Apsv9PT4_92nRQcA5mSDc1eF4JNgL1k2KYD-tYEI-YhFGXDakW0RuCAp2xG1gF8nae0nV3jgnew-Db43SlhiDtD4zdIlQgQ6d7q2aYMHZUSd8AYyJt_pBD6maKgCK3T5tdxDG_kI6a9mIYUIa3ZIlagakgnxLETQNvSOR64unFasYe8yvN1vXA5SKVtHeYXvEVqGAiTjcIrVpFt7mbMqz4PIOHjeotAuiYkxwdvqQzJgbbEIH2LmSOhGM2-eflPqyP2PFZFQUI7TDD3if6iPB6Wgx-r09g9EiGGllzD8BjZUHH0ORJeUZvizd_N_7lOGUN-tfVqScDI7w5kQJTtx4khF4MCXGZaf3EN-N_aPayPGLQeM8-ffRRxK2_dJ9YI6QUsis_ndi6WZzhRFKQz8_Mi2yKRljLW4HtytGdCWVFGcoVrkV2f-Rnbb1V6GIDrh3gPKOYgH-7gGPTN2mwUzHLa4VbkwBBomw151JSRglxvBEh9YzcwoGlOwxwk9SSXSyjd73sIBm0","e":"AQAB"},"attributes":{"enabled":true,"created":1614986792,"updated":1614986792,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8a4311e6/74e28f18752e4d2e8499f593e8bbf14d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wSipPywurFjU3RWZbraGQJZl4iAEL8Co-SiVzmyUmXVXmgLpc20mDHS2kZSKDzMBfMDASvFpwW2h6LRQXBR1Cjfl0i6kx4FWCaPqbUGdbiCHSsSfaHciNjNQ190fAmqNbfE7ZTRDusQzldl_JD_PCjhkPjqytZuCajPdlpeAFxRocW8mHAJCEI4qlSw5NyAZnjrYEX7oC7CQ_7jYmkZsQyhdGBvtxQ7X3ybBmuEsrmlV7Pfun59Fp1LzCwAR95xj8NMbJ0UWdumaitEBPVmuxyfh2GE27aPHsoAkYx25bGmMopnf-X6NPfLd7hVT8eyUIC_-f6KygY_qxj0S1GyVRUOtBcBLHdur67cYh6Zt9Qts44kKFENwQDmJHfJ2Zt472FbUglfBW808Z_C1vWGdghIMEUB3o-NZ7hKm_c-8kzpJ-z4Kx_VQCg4yAmycNwGFxDNDtFXvPN9x0wOzfewKfk9SeEKpw7gdQ7GfEMum9slCH1bYYWll6QV9H0g2yCYLnL3AMB0Crs_fIiuI0hfMfvGwJWKUiMKp20UvMndxsttrfOiLExyTFbU8hG0hSRZX5in4DWeQ5rQIJrsLuU8f9nTpjw8YbEAzjlrNEzVNaDcxgQ93ugTDLCXaplDetw6FxXH2CpHryJ_vfR8Zh6z1gcwxJvNDIhkQa9S6iboqT4E","e":"AQAB"},"attributes":{"enabled":true,"created":1616195038,"updated":1616195038,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '1038' + - '1040' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:32 GMT + - Fri, 19 Mar 2021 23:03:59 GMT expires: - '-1' pragma: @@ -91,16 +91,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "DoCZXIeI59uDwyXTeaqvEtpiVfAvITln2WtZ6ILXoBmzXo6JqYBVxE3jagb5F8r9m1P6X5V2gpOVphGBuP1RS77M2HjVwW2NguUXNPjoDW-FP-OUoSYZBjj_xoscLOMTwO-Z46n6UoRaFTXO05JG_Shj2rR_SD1mtjzF6u2eWlMibdlw_vPX_FLFOkPjx9-q1IM53FMkWbJmeaaV6pEhxXGetACyL_rtbrdLNO-m-CO_tK8ptJx3uSpL34yJArxCIjDdLij-OgHmnpqqxACfiudTJphPNI-2-COGiqMUzl3-_ZTw_sTNRJPJ_zI04ETeFuPCULhOyu6lwmgO1p6DJgBev9WRwmwFqjRWWb6h0dnL9FAG6kKWaAqlDycUM6dofSzbz0nGMutq72JSL_JAKqCuQkMri-20GWAd_RA4ydw9JgOgm792AijysgMBE53L6v9CXRhVMml4X_if5udsCdwuX-tbQj6jdbx02urDtgNINdHCju6cf03eFJWV4eVdbXyDTR_ZjHXoscTAea5ScZ-IqKlO1F8Wg0kqHhglw3QtmZaSn1U5iLlme4WJVuXyfU0QNCsvlynknEcWvQq7sayywJBxZ050z2VlPmWpnIsniPnXdVqG8-yicOkLo19Y8nq2ZDdkH_ceQI3F5hthNcbv6Hb5_Vc2AL24AQKMV8U", + body: '{"value": "q5FXYMfv5H6U-S-mXcRUkLbCH6gj60MOJMf-Zpca8jMMhtq8J25bmjtvTf8i_k9xA5TURAx0m55ckDQlyqfd2TGcrKUGVNAcs7wcISrzSJptklhhEhgQY2ceWf5BIymJKbVU80Lzl8L176GUuiYLP9F4YobmGvDNU1htYCI6Y87Sh4q2gkVdwnctSjCP1b5P1pDHCT4MJTV0iTWqjO_Uid-viNjLaL9C8e3oquul5lUu6_U0FrQfMhmb6xiJ0X-OCliM5FCYg9llzY4TdxtJ0_lVjkTsBSXbY8trZB_pOGDF5cIfLRDeJLzl1dy_5Pw-9hshSo_Rezwuc7KoQ261w3MVwgIP_Jf4Gw1XjXLsED6Dd8kVFdPaDGxDrardiWcqpQ__aiGCiCniRp57lz2y0qdJjGOj67pkCnZTcbqiT9yKSRsLh5147tMWB6bnqctXPHFyUWVkxnoio9bjlzT-_Rz75mUSP2r30RE1LAAc_VRpg7nK3kculKPYbsnAhV5LltPhvt8q4mXBzfz3Q5r_GW97DCgWAdttkpzEiF4iHcCALGPjeHjTyaF-xS5f_JmC3n9pdvYOC8yAbBE0NUmWnIye6b0THSJXki5toKWRc-w5Qke7Q8_m_J4zde2nP4D4UrQxlxKHT63lzR6oKKe4flu--RFYW1AXRVEt8BhR234", "alg": "RSA-OAEP"}' headers: Accept: @@ -114,21 +114,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc2101319/25710e9a40cc4d219f19197920dca00a/decrypt?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8a4311e6/74e28f18752e4d2e8499f593e8bbf14d/decrypt?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc2101319/25710e9a40cc4d219f19197920dca00a","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8a4311e6/74e28f18752e4d2e8499f593e8bbf14d","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache content-length: - - '392' + - '394' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:33 GMT + - Fri, 19 Mar 2021 23:04:00 GMT expires: - '-1' pragma: @@ -140,16 +140,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "QeoGgqwy3bfF5mDg9-HeIRYXBFY3UokRdLVFbXyP4JPHp7opy5w4tikC1jk4toL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IiE9MOBN59G6blQYRCbF31GAG_ndBbIjqhiQ6cz5HmMBMEn-5145HCxo-Qw7ZlDupi3UZ4Tp0Epgd1OYHSTSGcH0dNmq-zLHt27wD0GyDhiezxV7TwpqON5_JWxdVDVnhHbQ24wAhcSRy6MgEYev_t9_d-cEx1nX6Q6WYdb6uOcr8oKCHT7tFOdVAXFX5hmGfS_QFJOpOfb8coMHx1psXTnWRn-ibLLjlEtD-ASBJVV_4C0ZO2_BKP85zh4tfbmQ", "alg": "RSA-OAEP-256"}' headers: Accept: @@ -163,21 +163,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc2101319/25710e9a40cc4d219f19197920dca00a/decrypt?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8a4311e6/74e28f18752e4d2e8499f593e8bbf14d/decrypt?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc2101319/25710e9a40cc4d219f19197920dca00a","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8a4311e6/74e28f18752e4d2e8499f593e8bbf14d","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache content-length: - - '392' + - '394' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:33 GMT + - Fri, 19 Mar 2021 23:04:00 GMT expires: - '-1' pragma: @@ -189,16 +189,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "npc8UrbMFujwzmhtNXY-d4zoggC7BoitC0IpCNiXJlkR7Edx-E8lttO1muFyiZhBWR3hfDFzDI2gDx1xHt1I2Tm15Rosn-tEWm4r81ngzPZ9ymvmy25_jQ2UPMAe6r6XQ-UU8Du-5it3Csr5QP1b2wMesE6F2dkPQiK-7mmtBMVNKQEMrtCEQKT8ZCuxj4bQkMabLnq4MtICYLMro2mvTi36zdL4Cl7zFeo39qrFbKokLNYP708HVFWmABn8T_m7DiKXoX8LkxqA2xnvfduIvrM5TpasuhVc57s0cTHraaUqm2_kwH_zldxs9PvZ5CYt1JTbpRdl6gfsoy5_NtCOXU3_u-YDbnAfCtFe6I90_9W_vxFrPCOPlcRok0_78D9iQ8gd_wnNjtJHMBouALDb3egG0AYU-BF4k7PQPmJ0rBz5BBBkptG6Tv0OZxpmoDEr609cwu-g5fTcCYWMIMirKtl4AFnOVOQO3R7FteBtSduvqjJgBTjjC1oIrcaTLGYdmUrpO3B5MXCwcHAliFsytbp2rT_MKaDApT2YFjrLPIIePyIq_3DxFdPrqZsHnqsVuHustB4QwP6Eb4l2NXgeHaBRAr0T8S_Yi2jzaXjxei4xCWoeWZTxEXVF9gow1RbMgMlp9qBMCBtMKVw1fcWolqti3PMNQKxzSJvbLmeXeHY", + body: '{"value": "QGf8BD3qMBk0j4cyFWguQunTGDyToqIPjtb7ksVBr7r52Z7NqEt7hnQHMpPWNRycRV8qtZZBVh6r1jBJ2KfjSkiETuq_pwSlp-cvOkehvJ61WJgciGYgzk2yC_vrwduHyFPntFMPUa0v4JoSU_bgg56uyzmRV5Muew3qtpkhs0V7gXfTgp8QSt2lxN9ihlA-hVHiaDJyXs12Hd95utorwNXp7Pdi4B3pjCyhgfurQV_ooMU-MI-qUHMLJSyZmCqz3vlCzpmE9Gx4bcWbhpD1wjO5st7VT1k8BdEbIE0qBy5Q_nEHaCgydLDQjXu3bUmK3dlW82aYPQT--tOLtKCsgob_GK_JjSd9M9nrwRPEp22Or4ZReV-HnSsFYJp2ZXjtdCtQt0qGnJIKU6h5tUfthGqbwEzDP630GZsjQEGuQuTKA5yJ0QDGAkUmZSxRyrU7qOV7ExMrB5KW0qQgrXLGeHT0WQMqttFOQfRVKklW7QD4FcjlIRCh6XHG4NsWtNBApHX-vfiX43Ah0iYYAwVQ1T_szNFS84FZgWKA_3GP-J87DyhAIS6NqUqp8ammZg7ip9OUvqDHHY2fwTu2eXTtbft0EBDm31yD_o_YFFin28Age9odEJ-Jw0zOI5Ew9qRlnqsD7Qm-g-7B-eSnKa8qwRnJgZ3J3ucmra7NYVuB-cY", "alg": "RSA1_5"}' headers: Accept: @@ -212,21 +212,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc2101319/25710e9a40cc4d219f19197920dca00a/decrypt?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8a4311e6/74e28f18752e4d2e8499f593e8bbf14d/decrypt?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc2101319/25710e9a40cc4d219f19197920dca00a","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8a4311e6/74e28f18752e4d2e8499f593e8bbf14d","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache content-length: - - '392' + - '394' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:33 GMT + - Fri, 19 Mar 2021 23:04:00 GMT expires: - '-1' pragma: @@ -238,9 +238,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement_mhsm.yaml new file mode 100644 index 000000000000..399ad34111cf --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement_mhsm.yaml @@ -0,0 +1,177 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-not-yet-valid28de19a7/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA-HSM", "attributes": {"nbf": 32503680000}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-not-yet-valid28de19a7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195044,"enabled":true,"exportable":false,"nbf":32503680000,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195044},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-not-yet-valid28de19a7/b1f6173dd516425b0e07d781dc1b672a","kty":"RSA-HSM","n":"skFjWeKwsKfZnoCjGpolHPrneSfo4cDq2PGu4OtlxLz2e03i72MkngXtGI2CcZ9IXs605Ts5GS-C_nFDSixIpEVBJywe1EyFT0JIBIjzsgZmd4jK-E83-5QOOv9hbwzAG-wxAfbA-PaPSLuqgeTxh-MPaW0t6MVx0l10G3N6ukZFRhsa6MoO3uxVazYUsdb8LuTRE63fbIhkVI4qtNM4ESW4zZ7wqEVxUYQroL230YtlTZ07zmEQnvW648-UdP36-wC63x_xGqUSmgFdulYmsnPETP4gJ4CZfWS8GegwP2ZYV_CelwqV8Nd7JfQPbMxny8ZS1lt7hkv_Ns9A9g3uoQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '752' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '231' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM", "attributes": {"exp": 946684800}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '52' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-expired28de19a7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195046,"enabled":true,"exp":946684800,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195046},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-expired28de19a7/20193d2ba18b46f71ce4cfb162283651","kty":"RSA-HSM","n":"q0RhSn01cJhGSoeQbR0dk1CdDkCCRvb08C2sNDAr4Jv3E49t49OGI9Ort35wziPrDKFjeSwaL_QtpDT-ZDSknOVL35ko4Aj0riWmexNv4APWQMNqACClUSwrUw_ls7Blqoqf7cXJrnKbwuEsGgX_PT9wVhSs83V1_Ir2rTkF8-S70s0nusPSvfRkWe7K69CU8SHvuFuYm-C8sRntvd7fyWNDOYSkIfOWxNn23YoS5wNk2oScZIkzChLEGjRSz5rAsIafaDrmnhrNXpQdMstQ2hnpzash1owlCyveE3RHHsutOMIMp41lrwvw_3cSFuJGBJCOhMxOvj_YXjQz5GhXaQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '744' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '245' + status: + code: 200 + message: OK +- request: + body: '{"kty": "RSA-HSM", "attributes": {"exp": 32535216000, "nbf": 32503680000}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '74' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-valid28de19a7/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195049,"enabled":true,"exp":32535216000,"exportable":false,"nbf":32503680000,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195049},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-valid28de19a7/7899934b14d80aac936259863d03e29d","kty":"RSA-HSM","n":"0Fqf_UtWvlKe99AwR9zBI5q1eUmyonL_lf9IyQzF7tNZjThzJVlsFHHjUadVrpOftm4hhW8JFVYvDDm5eqk-8JJElZkEsKbOPD9_dPxPRGw46M6tCOLkkZAsgg_9yyNIDPYyw8eSeb6qROC9qfwsBEKoA4Zlvpi-fUYXhU5BzC1wlimmZY29JMZoKogD-n0ag3tiMqBxqnfcTz4f_mx3mNfqyvjyzOnJDj_gH7Q7xVu8kzqHz3zY5ToB5JOrYDpjTZ2rRkPft_odltdvOZd1aeCKvd4l9EA_9Pl2hFuvJhjubLAXKPR6s3g6VujXcKZShWR9LB5ulRba_zPeCl0pgQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '762' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '259' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement_vault.yaml similarity index 60% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement_vault.yaml index 86111cb9bd38..d82d3bf4e56b 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_local_validity_period_enforcement_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-validacd61793/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-valid430e1a1e/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:31 GMT + - Fri, 19 Mar 2021 23:04:12 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-validacd61793/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-valid430e1a1e/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-validacd61793/9e9955917a6c40a4bb1442bd14c5ad35","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0tBA6wKFqc7VeiXcb0joBtLHHcTan3TGWiS5Koqt5MkvzCHESpV156l4dNl0UNexXS_wsOJkQWQqBUkMib_D8_PzsJZCuXptzoRhVX2s4mkq9NJgokTaQCIt32vCaLRrqHdV2FjhV5Bmd8hRk-yDyLMI8Sb9_8RQR5784ZaFHDSKTPnLLnEKsasGv8mS8vlfKoxV0HXt8h0BTChGllOo8gkCYDPfA3z4duRf8XLAIVkpZLlHFuvVblR-kLWPZlFI0Gmq1d6hvL9JTTVv6mnyKl6OyclAuho7BKP0A_Rnl6xQFBnCZUxQ4M7JHJ3AckFw9WLb10IBtbbI_y6Dq31_gQ","e":"AQAB"},"attributes":{"enabled":true,"nbf":32503680000,"created":1612578032,"updated":1612578032,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-valid430e1a1e/b8a5383b5a75427385cdf677f2a362b8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wkfk_w2QsBRwS6rdtNylu-NPOMIUJLVDR0f84vrpYAM9fqTHFAfjc94lf5UJfwXp-zEYzFpGs-0-XL3J4rDKzk6gUsKT84kY9mbMu3rH_ek9terMEexdv6w57_hW_NYjRXyy_xZr1oF4NQea_OcEZAzlA00m-ZyrsQvPmggIjCDeaYQI6np3XhJRtmkYhxn_cAuJj4I9_j_iJucfMlV6cQoPqRGu_6F6enhMbNQDm0ty6O482O2QXZ4T2nZpdH1VRMA-u9rHUjohXBaOEO2dtXW1J_vtLerW__Q2FoV5m7o83RU2JQMx29u7hyG6phaXjgq1XJKzX9NiJR2SbyJZ3Q","e":"AQAB"},"attributes":{"enabled":true,"nbf":32503680000,"created":1616195052,"updated":1616195052,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:31 GMT + - Fri, 19 Mar 2021 23:04:12 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -113,12 +113,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-expiredacd61793/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-expired430e1a1e/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-expiredacd61793/8ecebf9bf5f74b7c9e13d2af7d56f87f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"9S2Ah695F8necJxi33PllZpKDHjDLCu4M_b8IXZWd9_s6NH91OqxGucRBqnviC11Kn24brAbeJDHSxCA-LdkM9_hFwU6P6SWUnjGrxSZR5BNUUAbB9C7kmnmBpwCGnSGEaXjGDf1LRM7z4kJjXLCYV9tGEv5f8Ckmf_jyLj-sKNeft6z2qRVXKrFgOVXq1XNkLoTKPAzyb3IKXsIWgzIhS5Ts-Vm0loyPYWo_hYn97umecK_RbNbQJl0376vxZ59gpzgqXEegnAgQ4XQZ6X8SE2wHr2vK4_6B1gQX-fddH4bCkyojhm8Pn3-JYJiuf5vdpLaRjsPafpJQlPgcTXBVQ","e":"AQAB"},"attributes":{"enabled":true,"exp":946684800,"created":1612578032,"updated":1612578032,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-expired430e1a1e/0642974d9f08494d9970dd977f96b588","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"x6aN_U07ZMaePcPuLvMUoAq8Ogl-nAsTROlNamimY65d1tpCHq9F0DJYxMUvw-m923ur__g_gGO1Z2z1jA5MOVfb4okATSXrpKzbjk56QWTvU-9Bak-POEgm4_wac30LLp35E7McGyhXMN4g3nP3ftjmszO7FcnC4jUIZOSqqUDYbmrf_iGUiV5e0nsf7FKqFp2skb1VCDYpQ5kea99vRWNDe9X_-PeOExPR7qbL_YjYeoKo0wG-l6YxR0fONR7QwsbQM7iFMvuOInd9eaKNl2q_pkPDsadlOVBjj7y34spv-arSf8lseVvleuyCIC5w6QcdE_F-iT5JXtni7myfGQ","e":"AQAB"},"attributes":{"enabled":true,"exp":946684800,"created":1616195054,"updated":1616195054,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -127,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:32 GMT + - Fri, 19 Mar 2021 23:04:15 GMT expires: - '-1' pragma: @@ -137,11 +137,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -161,12 +161,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-validacd61793/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-valid430e1a1e/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-validacd61793/47bef9daae8a46489bd0821829b11755","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wHnPfvNUW3286OOU9JTK8pvcq6JJdsOFJIrPPh6RmflQc-jTsjeaNA555-k7t-rNbIHdk4sDgpLAHzjYSpxCnC8rNpEVHQSJNshVjMBRY3mQxN1uxw_YoQ502auKsNQVjVvlfwSffVpgUuBLyIwgfcsbtsGIuSzXpvnIpkOL4JsavVBFr6eYjMnV03WfcGPljkbM5Lu-uXmQtnAwa0SpqSp7bhFhVzGB-opTMvHYcUXvqDghJQWzho32kOceHag6ISs3G14WV1-j0AIqnMFVR8sHQ_pke9dO0xrBVLnoauMkwSVbHSLWWL-xx8_zb2iddXW0lF5wGcVtjdpCjeC9pQ","e":"AQAB"},"attributes":{"enabled":true,"nbf":32503680000,"exp":32535216000,"created":1612578033,"updated":1612578033,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-valid430e1a1e/2147543d1ee842bdb4caf6a55cc7f5a7","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"re1HVLhFHdudgRSDBxmn6U9G-S1T9tbo_RQEtEjymG3HTTxr3VxvHTQK3Y5qSocjm-fOpjNJrEWwWcnLAr-SsASnIUW6-ckkdZCW-ZjPBcxVrL9BJhPboFqAaIj4Y8nHiOVxudJj4Nc9XDXUS5SH0tU7j4PsDv6GECyNvBy_W7awqm_F1cijz70x4raQ7pBPzs8wo_8OL88rDAjaTiDyix3jpima41DHObCIquYy4rKP9NQVXpShv-3zH527RGQC_K4M_0sPO9cfqoMfn3nvX-ZSLuVqfualc6nUZ_W61ofZV-tA-poa7I1Oy9kpR6IXoBaUvIx_durBLywp-0X_BQ","e":"AQAB"},"attributes":{"enabled":true,"nbf":32503680000,"exp":32535216000,"created":1616195057,"updated":1616195057,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -175,7 +175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:32 GMT + - Fri, 19 Mar 2021 23:04:17 GMT expires: - '-1' pragma: @@ -185,11 +185,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id_mhsm.yaml new file mode 100644 index 000000000000..ad8db53fef9d --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id_mhsm.yaml @@ -0,0 +1,131 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakey445c101a/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '3' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakey445c101a/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195060,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195060},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakey445c101a/cb06ce31f9d043bcbd45761d4be2df2a","kty":"RSA-HSM","n":"kAaP41xMNJTcoazttOqh7VNze8Oy4dwQ-u0depg3eszisquvABBHyOD5RP-efFSC9KntIscIle8nrnMh_rEP9Mfp2xmXdE8HNsipD_kjtuodkVF0vFjiaPtHvm8zH8CIUNLN9mtyYT6nLofYJ3SAW4h5dAB_yrQ3Rv0I_yn3Zvkxb87I35-JhBgjEbolCEYsmWPMgTcgf0JWGaUMGZbo3CndBSLPgZg1YwvecgMwDMNFKGSXlwzPu-8wZMDo8A6mVFPPC3cXjmqsUE0QFnfct5zVzfzJADMw9FKeZaxYGs-1IYOThVdNnBJarR0QnOet0VTWh6QTBtiH9jYa4ZhAnw"}}' + headers: + cache-control: + - no-cache + content-length: + - '723' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '242' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakey445c101a/cb06ce31f9d043bcbd45761d4be2df2a?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195060,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195060},"key":{"e":"AQAB","key_ops":["wrapKey","verify","sign","unwrapKey","encrypt","decrypt"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakey445c101a/cb06ce31f9d043bcbd45761d4be2df2a","kty":"RSA-HSM","n":"kAaP41xMNJTcoazttOqh7VNze8Oy4dwQ-u0depg3eszisquvABBHyOD5RP-efFSC9KntIscIle8nrnMh_rEP9Mfp2xmXdE8HNsipD_kjtuodkVF0vFjiaPtHvm8zH8CIUNLN9mtyYT6nLofYJ3SAW4h5dAB_yrQ3Rv0I_yn3Zvkxb87I35-JhBgjEbolCEYsmWPMgTcgf0JWGaUMGZbo3CndBSLPgZg1YwvecgMwDMNFKGSXlwzPu-8wZMDo8A6mVFPPC3cXjmqsUE0QFnfct5zVzfzJADMw9FKeZaxYGs-1IYOThVdNnBJarR0QnOet0VTWh6QTBtiH9jYa4ZhAnw"}}' + headers: + cache-control: + - no-cache + content-length: + - '723' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '96' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id_vault.yaml similarity index 61% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id_vault.yaml index e51bb9b4ab80..e74b1e9491b3 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_key_id_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsakeyf8150e06/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsakey54ff1091/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:33 GMT + - Fri, 19 Mar 2021 23:04:23 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsakeyf8150e06/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsakey54ff1091/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsakeyf8150e06/c280c6de7f2f42e88fd6807e95ce40d5","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1mz3z2brPQK26npgFb9l-BlsvrDFytUeV0-BZ-BVCcB_l-Av26YOps2cFl5S2KjanFHuLcTg4yv09sznXhAr7_Oysyin57JCtuZUS_V5zDdkMlfvcCYfZR3Ete4reTh8qhb5otlwbrgNNAnI3DfGBm-SmeUevTfbCE8emXvAMrOBd7EsvbLppt06-B6s-dkvEwh2Ls9P_IS8FQ2-bi9HxjAbQqmkEHV2rnf-3vcdbZXTKb1g27NU2oP7-4F9xhBmSjUum9M_FMGSzaMqtFyDTrG5hHB5bidKqbcqfRdK9ZiHP6HtcyI1_6I0iUr42hlZHMlq4PJrTXbv_5ip37_NWQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578034,"updated":1612578034,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsakey54ff1091/de55af7985864013a417955c2ed601df","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qbswku69SEFUkDUIeGCLng3YcB7wl3p8BYtr4N57NG2ao6Q-22kVPR7RTWy9K6Y-x7XgGZVXAsqYNUpSwv7qIlbVKH_muy3420MOIbdv1e4en6aVxQSq3DmObrVEswUWoC5lLEBMDIxUs65LyKnitq7mjmKzQ6WQeQbXLzLveZst6DERfZ682IzOBcVyrdA_U_-GJP8E7ecN0DHys3VIRKP9meUTMpi-FhN5QP_ahTGdCYSqHVxsvWL7EXDf-mzvQEFjqUFIOBURUHxBjMqTRzA0P_odMy6p7PRafsVUxHPcmFFQE4_HqYeCFsAl0awhymwZw1f5pwWblm73s3hu7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616195065,"updated":1616195065,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:34 GMT + - Fri, 19 Mar 2021 23:04:24 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -109,12 +109,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestrsakeyf8150e06/c280c6de7f2f42e88fd6807e95ce40d5?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsakey54ff1091/de55af7985864013a417955c2ed601df?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsakeyf8150e06/c280c6de7f2f42e88fd6807e95ce40d5","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1mz3z2brPQK26npgFb9l-BlsvrDFytUeV0-BZ-BVCcB_l-Av26YOps2cFl5S2KjanFHuLcTg4yv09sznXhAr7_Oysyin57JCtuZUS_V5zDdkMlfvcCYfZR3Ete4reTh8qhb5otlwbrgNNAnI3DfGBm-SmeUevTfbCE8emXvAMrOBd7EsvbLppt06-B6s-dkvEwh2Ls9P_IS8FQ2-bi9HxjAbQqmkEHV2rnf-3vcdbZXTKb1g27NU2oP7-4F9xhBmSjUum9M_FMGSzaMqtFyDTrG5hHB5bidKqbcqfRdK9ZiHP6HtcyI1_6I0iUr42hlZHMlq4PJrTXbv_5ip37_NWQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578034,"updated":1612578034,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsakey54ff1091/de55af7985864013a417955c2ed601df","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qbswku69SEFUkDUIeGCLng3YcB7wl3p8BYtr4N57NG2ao6Q-22kVPR7RTWy9K6Y-x7XgGZVXAsqYNUpSwv7qIlbVKH_muy3420MOIbdv1e4en6aVxQSq3DmObrVEswUWoC5lLEBMDIxUs65LyKnitq7mjmKzQ6WQeQbXLzLveZst6DERfZ682IzOBcVyrdA_U_-GJP8E7ecN0DHys3VIRKP9meUTMpi-FhN5QP_ahTGdCYSqHVxsvWL7EXDf-mzvQEFjqUFIOBURUHxBjMqTRzA0P_odMy6p7PRafsVUxHPcmFFQE4_HqYeCFsAl0awhymwZw1f5pwWblm73s3hu7Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616195065,"updated":1616195065,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -123,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:36 GMT + - Fri, 19 Mar 2021 23:04:25 GMT expires: - '-1' pragma: @@ -133,11 +133,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local.yaml deleted file mode 100644 index 3d90cba48dd6..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local.yaml +++ /dev/null @@ -1,1062 +0,0 @@ -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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/create?api-version=7.2-preview - 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: - - Sat, 06 Feb 2021 02:20:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 401 - message: Unauthorized -- request: - body: '{"kty": "RSA", "key_size": 2048}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0dSLvgNYLVKCOm5cMvdatmucFCyJzqR-rBdeJrUEdvuq84HRWOvL9A30YP0YVIABlL48coMiuaqeYnkfRlKidLj_hhKek7X7r82Yqd8-5J7Wz8XaKINxGymCMvF8dTo3AZ11ghZsUnkS9kufiBchCmLmW1_98La8sZb-QD1CbQcJlv-vbp3oCtr3Kd6CwieXmRK2tAn3mvNIKsXHu36lUxxss086OkT4x7Ny7bZGgN_6_Y_hagLz6VK3xhNFNqDg9EdJARSrokSu6pv-aXfgeoRWr6huql2Nq4Hz8UcM3Rlpv1RqW5szMgTyywp_K8fIhBean-d8xUK6BFwtaa7awQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578037,"updated":1612578037,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '701' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:37 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e","value":"mIvgmkyyqLeUXJNKEosbFQi7nfxf7eH3l9gG3suoW-3vONQ9pnZzfmNB1VVLTsw2ugYF6JgdZgk5i2IiUurxWiicXHXuEDoO8foDMOWz6rX8YZKBvYCRiBovd9JZPaLkmV1bwCyGqwEt4TKzSIdi5u9y3cQl3l6Mb0yN3mAk90Xj4Q86E_NFFmT6YRPBqwJFPSKm3Lq_yCnSmE19F4Tice9xqVgwIp2k9o1gMU1ka0h9P5fYr7NnwmarFJu8mLXQ1yxddMGMZ_rCM3MNY-xm7XB5eieSe7rQJaTP1rkd0xMt00_aCDoS7ZVKkiNaJlEDPQv6iCSQBGt5FoklmkvFBQ"}' - headers: - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e","value":"jh2zeuWIbUDNXxHHOmY5Hd9IzMj2ygRUdta76kUJqDmOcBeTO_wXxRSVWlcFmYKXT1QRwnofw3JxEiMKPXNGygZbcUs75gQDXMO1BaQZbtVSzc3SL0oHuQ3WRiXHUSdXhoszClVX0a39RkO3Ziwfeb9a2FrR46Juii7zvEGs3_wx95jGGGz-rwHiLnxwYlTWQGRo823E9nsb6OAkHM_4eVPP8VN2vhK1Fv9lEYdnWBbPBEIOv64Wdab86cL7V1CAWMaUYFKLtJM4eKXSo7g2x6lrqIaJnZBK-z1MQ3PcmZShl4f5bPW5iGg0wnEtoIC6E5CB4lK3bfGhg7lnu7xsTQ"}' - headers: - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e","value":"yBWtwh4i7swj5Kl5Lai2pg0EUsBUUGzxOhQMits5I0Uqn03IhQ932jPsyjAU1PQI6INEVZkcYuQKCaCMP0uK1XU-q10YKccJ3MiwEXm8JV2ISHlCS-Fn7dXiXB5qLwhjjnp0zWEMingya4oxBnj-TUGiMqvitg0O3I4K9ezgdKtxquoqenipB5tDKLU7neFS-aHFm5Ycoh3ElwjzLdL_dWu79pA4n4nbCEdjf8YvfTkVYpEFxACiI_vbeyeNTDLjeU7A2D6XnONwG8b1Cn7DN6Dm8TPI-EWEfAB-70_x9dW3z8hezyvHpNfyeIWzKH87SJRStZTHSyNNPJYrof9SgA"}' - headers: - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e","value":"CX1xxbSsXcuFkGxX3qEGcDUQvaR_QXXn43Uur5CTyW49nXd8yCHU0gF63KW6LthnPkl4jvG9cG_7dOVWN16xp0NZo1d59frXVosHLNQnal4yRDHan6ctvStjP7vSRf6R-SGr67nKDWvGuw93tSH8ewxifNtjUntkMxgjDMS9RyZRHX9J8V_xzeKxR6ZUI2oXq7hI4-CS7AKbXD8-4HjzMBre7bah-dlMjFSZVjZeHWAJIXj6r8W_XkEpLDOzMBx7hbN02idCN5Qk01XbsTKMtw4sZab8hBp72pif3Ic-Y0FWoHNcMHN6L-wW-0vlmBhyMtJwmH4lDbIjRpr5kbYOkw"}' - headers: - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e","value":"HQtn17UxqGIZMs3ZHmGrqM3U0zZPoy--vYr7kd7PkMv4R3g_9BzqY-p4A6bJrdmrXG6XTkYfq-Pbv1JBISSpGS--XZHHIjEjaIIs6oZWNz6ZO8hSqsrgquKYb-3Smk4v8_-yJH5jjoHOepK0pipRxVXgewVf6vBfAKtNXuA_qVnAseONw8xX_-E0FQeJK-9E2Nx15ghy9x6ajFbZDgfNA2BejquQ1StV0aqiAOcv6Vxp0u3ap10MPUbfGM_AQCMmSXRaG063q_i0v1Z9oF4u5AgC8ESyP1X5EO_4dMvfCF-Yd2uB_QH5Wj14JmFKGCdyB6XjIU1FkRETkYGVpcZBWQ"}' - headers: - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204855c41090/5634406fb9844c1995f12148d438a74e","value":"erH7Qxf6gitjzOcQE04quSY5m2GLKoo6XB984zwm9cv0ZK27M-MBzBLKd2G_9ZN9lfeysh3WuRts5Z7GwAuvU8qBNl3SPK7SbgtoyD-GuB4Xwr60QvWgv7fYJW4OugdnFItfbjuBNwyAaATdjmlLzrNPqkda0s8nnXJ7nDylCUF4XYty8UPr2voYrWWL9z1T6DWkCQ65_JQHeclDgyWpuFQS9Zto4HpqvCciOIT3xbLkjpri6daE5j6pl8Cp5okQ7lbS9bR1chhqY97mVhwHKEcJ9kdPU-zuMdSIlMIAsyP5j57UPNb7J9s_85PhlmU0UIws7cfEqAFAon2m5a5F8A"}' - headers: - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:39 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"kty": "RSA", "key_size": 3072}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zjRt3EFHafhnC4yIReFrLYY_nICdwinZIaARZDLTXfriTXHDuT3ZNviXdce8WLOEYPBE_kZkuSFAo6gzHeuOf882XKME2O58JF2vVN0wMSXb8g_P_95szelriQvhVU65gwoRJuIOAOKgvLBAB9WSBo7kTVYPS1cFKaVH6RSg6F9Wo_U8rtR2N_0Y7iBHAleagy975CdpqJI6dwaE35vyVWx70r9C0x4nFddXZrI6gJwEehMGW93yJciMzTl7k2mmAg0N7YD7XUye8urs5GG1Pk3ZP5gXvZuFlgacHjhZsBDcTZOLYEYDHNGqW47_Ig63yObUBY6WDE5APdFoIr7vbiTj9OqMq0n--SE8jptijgJR9GPXXgdIJONxdGalJ1WdaCqqGrh5nI-uUQEk9gD5VLlLDSy5hx3ZfAZLcs-tXnwhoyHlVtW1aEhSAED20fP7DAWA6FRqybp8hAf_5y7lk8kvTE3uM42r-GnaO906Q73IXad7Y3xgolqvV8Ie35w9","e":"AQAB"},"attributes":{"enabled":true,"created":1612578040,"updated":1612578040,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '871' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:41 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee","value":"FGUqwwOiWxrR7SB3U0vJ38g3N8mCz6N_2LtyYY0MyTzg4XbEBEvNdraGHH6TWo9D2pUsT6Y7Y8Hk9twzFDYJlwLESTRSq-1Yp3_Ff5HTTdPSSoN-7hnh2K0xdmXrYS5BOlOWD9UbrbMm9n_LRUCfu379MzXeu76LUxGrTGphbLc3iAWJijFKXM_mIAYUISfx0y7atrFQ7RgIp5nD9PXSs-ltW5P5fW--_0QqeYLkNG5KjMIPEI0xgqZamdPsbc3yN40tMXDuilzNZM685WkYMNmwsCfF3JacNxzfgQWHWMV_KJatFmAp0xkQvAZBJlHxqGiNpSw0ndsyl5t9kp8Kn-iQ-QcISfaZ-kfI_YUh7De4G0BNKfmKhybi6w2ixZfPP691T9A74QHY9GhL6PRDu91GWbXpq41Ay_E_gums_St1Y8j8FuCQNfET-i57PLa2aKyTJZSXkGg6xqFGZeZRKeK_Pe5i2gxqpNnsLM2SV_tNdp5AEiShcZdBXAhazuLN"}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee","value":"aV0yGnWve4CzYsxgvuyPfeCJEXHsCbdspH-k4jE9MkWwVtyV4Sek7h9BhwRDq7VmzhCF2QsGQiuPniNeOl6S9g047l36km6s1RxniaCwTaqZUQn0FHCPLtsl-wgbYas1KXibgIg8_uL0m5PraNr7wNN6UixWvM8tFs9HzJI36mPvF7lpNFU6_GqVHe0XeiSmfpV6SqCzWXRmyzgeAFPf0FclReZSIVDzPPuZEz2HYHCDKfQu1pbrGgJs7gsFgIIl9OLpU7FFR693zB-a-NCZ_-fb7HNDzEd2m77w7VmqQ-EAmvvUmno6ulpXO8Woyn7lqpKiEGwsn0eSSuE_MiO5cTg2Q3xYpN4YX6bXGpWruqr70CwBcEmxGeiT9JMQfsHjIQog4-3vfZpt-EuppjydedBhRFcPXyDqKdiuux8EmHTNPKCpTegWEJVFZMLn8Qp3ryqINCiunnA_5998_c8mm8kNMw1t8vqaHu5PdPxeVDzEARyTjsABw2wFHAszvghb"}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee","value":"Zye_8ZEGS2oL_mJEiH8XKthEbn2SqGxwa4lfP7cjVjsiWgSH_aJncZRmdlTRVO513F7JGuiF24mFp4d2EZyQ1dyeZxP1GDCGEfBmgRzb0lZzeNzhaZJrT30_ICuqaAjIH5GR4bxCx-Cy1Mji7QMrtZOCW1QgwGJ9t_SHyJqHwfX1XAF0CUbjlCh08BkJl6ljZSg49bXq5Fap7YTn5asSwWxwK1HGB6YPNSbj3o0vIMEx7rh78C4NCjutQZMUph92OglpsnJTMx3mzHSGRtcihMFx9yiM0hHTncd-tij_MTWYQV9hZm5YFoYR755aYzi6VCSHetlkTFxxLPJAdEwEBaM6WVNeMfEkQwLP2Ra2sMM8GeCqz3wK-pvJRj4SNDTitn1P2SCrfYMy4RbvmWkK3G7huG6cy8NsBUzQcdQPaZotj_Rxg1nfwzClGFS82Ls-uwiRBA0thcbzshIn_-nsPwjSH91Sujnzyz-YXn9RE98CQ7QhUsumH5Dlo1HZCJ2v"}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee","value":"etapgOQGJPA9dgn0VdxPENMVIyGGbwhpBER7Mgfz3IkGA-TgvpoBSml2p5YicW6CFdEAX04yecD2WlQjgg60BycUOCJdrLkjvxWlUuH9uy5prqbAamevlPBqIup4VeDv3DiC5mwiYxWZrAJKphJyQJGt9-d-kKxRNeurzv-ryuY02_9HZ0aaY7xnCadISGrcNkb7KEJPAshvBFhyisF9C8wrLi8nAlQ3njExIpm2EyGy_eTJZpTxwL3hBOsvQ8aFqomQvffZB4EKfe04PStSGJ9LZFJAoLqHxrqRYeep5-YIcUy6U0WgYOdSqNVQR2S6HqT-kS1EAOpKivrg37H0Gvii5WidkHF7F4QMdXNG0ppoB62aX-vcNePjz0weVPKhCgNcmAjbPyGcs5ClipMetllRScUYieTrGwH6zi6EpFkGvGChoc-9v9NS0BFZTMMVF8C90TQIbDeePexAazuX79m0nkkuoekeIIA0PSfXlB5_Lp8lZf7fb58kFqDGwpgY"}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee","value":"nvFtEJAu9DXWokhVpAVLndY4nrR9C0w_J9dY0UN8hjvSOBoPeaGWSB_SFVzyq8Fk789rCEMrRpOFmTnQRGFdvAaclo2p8e8RkPdNzqg_tfLq8JbCi_yo-vaShS4Pxkyw0llssuJAFsKBelbmCTZTG_v0i0AeC5pkr_ntgMjB5U496CkCTogGVPuhaG3SETXgvKaMJd9kovZW-LKSatTsN84VKVYrPOEiYwlLy6Uv0RdT53N18oOoYrqQ9tLJOTHuOFMQ-8OEUeLINq2FQ_qIXL8YuJUJJOc2G1wQ9aL8736IGetlopmAtGz0HqA8_uQvcnNJufjKMSLfgCzhgTRblQWFTRiiQIUpoxBVtVW24Zm-H-BmiSrhdSSVs_AvwPnA4NK8vNugxiXe9eYGY6Wc9Rls6xm4lAXbRZ5w_ka4HBPL6xYXPLbPGqsmJEoSZRv1uXTDh-_Rzpi5I1NXU6qKliREg7mAXRdBVjK2LVsUNJOiagZc03wCByEgm62XG8QS"}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:42 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307255c41090/19100ce10aa54c7392a8159db6db8cee","value":"aQHWfi7t8oe74v1AX5WZKgxNmWhPLazF_CN3BVu3yrvaKWTNOOAp586qWFCL6X-O_iUznMgRvcgNJrSxRR_0-MKWf63fxcHwaOdh-PIYGHb_dobM3mHEyVkCl8R4f1irzSWkC5pDkyv5Hlrb4jHw01bFmt6Be4MGd8t-XpqQawgV7eYnBn35Fo09umn4sS-iuRx7MIf49uL6rKVgfr7CdXuF7TgBpPNg7zfYDGpzWr2LtcYE2ad8u27ZflKvZ7m7UfZ_PY5PIByOp9yJv3xUWSSCiWs3YNG_ESf6Eu0sgj0jH6tvjNVAzCX4_fvTlK23Cb6Wc-8oDSNaejZcgCIGfLRUeMOOFJxsNFiSvz9-h9SXSLpWYDxchP9MbYkv9btXdQRW9cvz05ZqZHcOj2pJFyz0NRA6FJs8UDy0AFWWhakBTWOdcTTzJFHPjH7iqnhF_a-8AIRS10jWH3GVmglGzuAbL3pSXJHdIP8GmOGqaaGRJ5QvlkrL-WByYMzvLask"}' - headers: - cache-control: - - no-cache - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:43 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"kty": "RSA", "key_size": 4096}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yzKs2qaQ4CblA7jf4qXgaPbXI1nZc7Kk0UgKB1rV8gE2PD9zXKJbys3s6I1VJiPbKj2ZM6eNbhSXPpYPfYC4v1IqPVtc8i3P_bPCu2HvlwC7cK2ySl4uHRVSoVZSpyBSPh_HBNeIKXYPYGvDjq7NMgkK6YtSuyqpHpUkn1aanQ4sxW8tNJVTRlLMx5hn9KIW1WyaCUhqC4nR8ZB4e5o_t6iE4-9afsWx4kIjAPoTwbSK7LTqliQU5w_pRHUB8IKKcAbGMSP56-ncmsJRz4aZvVaPEz9_JR6oY7auEy5pses5jqBZO9AzUek4z-99IMHx9kP4RPXd8qmv6yGmJqQoOc0NYTQ2IbB_4z7hK8zVbm9c4jtf8iJIPGbpcfU1RWHhyBxQ1-5Cdo9Eml_2mVvFt4o_980JxawW63zdOzEPMifnmeTnzLf4d1GOmLrc0itNUUB2zcRk1rTMdE5UN4UVaiOjWYGGj8m9dcz4EuvIkgx3PseU41Mle9uUuBmDjJ5G3BbBBKSLwhN-5cFscaeI_ad2yGTGW97ggQUJVNRwT3t6X0M5PMIfasPyEf0Ijm4ebYKbmY0cvV-5X-RFOr6TO3_jFdfIsMDTgQGJqAqhLLnGHPxKVOzPDQo50vwoDS-FH7qMNIqbWrl4JlbMkkUymASKla3-q5CHM9KT07VU6WU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578043,"updated":1612578043,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '1042' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1","value":"VzPIGbVT1p8w2VESkGVOWKPrZjfJzf5UEGFZgkz16ZPZnYwmRXvmHrm_YIBS9QX3lj6lXvJm_iZuP5ITBgumX4y2JrtXfxP8xAIBwIOSDJTxPRV5za-h1XdPL-xa50lW2bYa7EjQGqKvM5w-rxcCPM_I0Q_m9eI_3sYsb7crjYD--8EqFbLWH0zd_YZWeraPkJ16Ppw7hHtc2j3X7RIJ4WCcnLqlvu0Bw1HGDJBMPE2x-7t_mcYUHbidkoWqfma6jGeCG3CwZMu5yu4R-ihF9dryAw6rVmGBXfP06of2tkDKwe8pkiuJWRHKRo0JkYbDlTop_JALwTmtqDXHemrRvmbk9HzbH_Uv896vM9wNJnqINSHEDCk4fswts0j7HgQCdQwMhVEXWtwEl-oTNyws6NWVzLLBc26ZUbP3i-ZoQc8bZRMr_uK5XXxjWbgFKFHB0vTrm4TTY56o_Tl6VlccdMiFhN4iGuIFHEJ8bX84oxKGr5RrZHu5pUXlv48hdmA0pcjS_qQoAPxebYUkj_kvAPrNGalb1SRhm4Ebv2vQoubzBWkod_yHPM170lJcbXWUY702yz98NDXRPPx-Kt7U5pcr35dJ2eVBSx7py7hTOYDH8z62iGmoONBAQBlEHVZt5RxD3KxVwyxI9YZjJuNROJk2C9hTEkiV-SV2zMeWHzc"}' - headers: - cache-control: - - no-cache - content-length: - - '812' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1","value":"hqI0wGRgyqbWQ7UOw-2nYL-Wx0GHwcXA-gryIJIm7XLWAJ7_2jtcaKu9jsXscXAmwukYAiil52IEAhSGNCdW0uBP5f5KMgRnULscmDuGajI7PmBxpclj7hgoB2lhM59cDXbUxg8q1xu8H4eWbLMhpQeVkphoDS3MEuzSnnfENdc2ipmBAH8x9qnkabGar499oASAXP-UIepQXq0MYegalkzJtwym6q4fLf3LEPnVf1xYxXVkowr71HW88W0Yev2P4Fk2F9Zx5LoqJHX5B3Bx2kVFPt5EOdhHEBdEiMfh77kqShX2_-2IWJzpbzGVm1MySekipxnD9T5nW9VQPfJbZNqiQNTiL8Jz514O1ADweKsfYcYXgFUgOuRwcxALdGspi4bu9LuVMP9PuqH-IGFxaGC9LrPQUnNCTXEDH_A52SewLCroX9utNxEWJJVl2yoKJ03Q-2ETOQNtWayLUp0CZ_NMGIP_ibH5yBsbx3smPqPwbLemwM2FW_NehYeJJdSmTsqRXr9l88sMTdYkYQLADuP5w3u17pm0Vzij3wEC6S2gn8Qb3Xk9VnO47HIpcMSlwjeiD3eBG8Jtg7OsBYHr3lD7xAcKPs_xCzfuDVV_xqURORsukbpxh14hIyXmtRMK7RATQDayCLHEp97oG2v6T2ea2t5GrxAM8i1va15QlQM"}' - headers: - cache-control: - - no-cache - content-length: - - '812' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1","value":"JiZefufBjoPsAx41xJ313fi5DuK0-XAaBmit1ZRpdnAxiZoKx-1sgG1eNuGW6cgTF3UGN7uc6Kfr86OeB1vGKUOGWCUbs_n9edReGr_ESYyolWXe37JXD2h8QJhUsb9q6OhAiV243JNbp-qFdxYw6BjucvKAknwMiOEQ04su4o_du3c-gOUcY-U82G84RFzigZRDrrzFd-7Bhb47BCxaEAfWg3hJoac2IYNJ2iVLICAkQJLAdEMq8sXY7Gd_ylTim5CuR4sDHYEGO5icx-Hz55EucpV7AY4fGS2ibSf6sywypFtoHabbeHUXO1iKRwGHjwrJ4HtY_MqoQioTSfSzh2Xf8Q-ZHia3LMX-6aY50zU617DqbGBgRUhBL9OHAJRTkVzFzb6x1VokXjbl8liSKbE3YUe36mReo8vE6Q2iFIpfi2dz5Rhd96hlPtS1k8vf_793eNdWvVB4cVkL6foX4KmKIV-MuUVrkoSDkbfWysIk-JOKcHLV0St4DJN_a1PuMAkSvsMllwa8uwYyx6vJD1k5ULN4OdeJeIYtrvaCEjf5iKHesiR0oACJfWQvfmj5HABUtYAL36a5FoCmCH-gx7Ca0ju5erZzoL0TTrM2DX0aPYqzZlP93iS9XpUYvUvcSBuHBv9_OMJu8mDNtulAAhRUecbbBFR_xue5ItcrVF0"}' - headers: - cache-control: - - no-cache - content-length: - - '812' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:45 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1","value":"Vwx4Z2HBndZknsoA54qGzktVAV5BwaDbP2KMF9M0XoPD5jiZp0Xv0nJgbAuFboUUJnYQepPS9482jExTEFDUb6MKgAvWh5O8ao0nAQ-mm4VtED09Hkz2eipaA2teUeTHqkc7Rwo4OFt4g6QP1pCVyo_Xfq6idBT1lLG4Rysh3R7_GQbcTOU4hiyseVkAUpmhh_MdJPGCDyKH9vOZnJfgEO-iE2plWEa68RGoEmW_iTyePT5onqIWJq6TgiQ_gTmM0zbDtJL0gaUEu6DAxYpfNYSvyA-hWckWUKg2W6CgT9BoBzoXEMfVZSTAQgzKl6EBNE83t1sHMve2gtGddW2ZQ0oI1a8pxC54DbcaGMcYMraB8Dzy8zCa-3ylNwgyBvUpFO037PXVGL9lTW789i8fsZ9GJKNUNLzNfa4ZGrFfdzvplGBf2mR98Lqi3pSAJ9KUypaZ28wf7opxoL_a6GE1ZiG5AJ9zs1RQ1OwPbOwsKuE_T0cucGlxrgWP_ZSBo3uDSW7YdZhXjfqjSrTgG9xWNX12MYbslXQ54TtGheaTbxqRB0ssDWo50_wIDwVkH1TTXxuaT0NUPR_DYuoTNdC-9-I5EktJlV3n_qQYtsMdWSA9mLHvRisDfgxlehjNE8Fr18zoLi9pEXjRQE--0kUx-ewaQ5V670aH7wEGOOZcT3c"}' - headers: - cache-control: - - no-cache - content-length: - - '812' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1","value":"tmNwDrzZasayiMoi7T3oR0Hzu-J-b2V95hHb1tuVOOzHwnJ-nJGHZCg0JSF2Pr_rgD3ztGClgBQvEbYAsTx42VXWbqoceqUMH53HjKAcMvhjCAyS-orN7le9vcE1oh8JNQ1N4dvNacF-zylOoPSJ0h6_pFIcUk-otdbs75WxfzwwYLzKvWfqrS047ojXit-Qz8NyYXBZJmxW1f8dU3qZ-2XxueZZb6r-nq-_XyVOtVhp3pzN3kGC7Z1-gcloq5_U10UirpS3qtNCJLFJ2LnZ-duhRoqzB2s7uc6WYZqT8gUxW76A2mHgZUE_900wGMUT19-ABbpV4j25iXjcnNxrhGoq30eluFQZzWp_LAzyEECejOK__lJhV9LO2oH2NgfFWiQFGYJAPZrcswWFctL8xrJyByjsl7AvUghW7gcUj5B_glaV75hM_OjFKhQ8RXPO5eORGCWzEVtwK2EHyjg66GM7OZu92qP1OoYyX2YdT67w2-415I3A58KftDIlKidEdw_eCTwcvrkb__E3kH6_vBzCcsQEprhyT2KnNNSu9XzA2ne3TVCgQLs8dhcgSFMNY6QRs9M0r2dmIxGCo4v7nvtGd1ClguIOSgJ9-aeySA4YNC9Qq-ztfsI7qh9m9WyJSHvPwETRFR_gDSijgk27V8auMPiC2iLQLiHJNa1CoR8"}' - headers: - cache-control: - - no-cache - content-length: - - '812' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409655c41090/75c06fa4e18e4cc8b33d0517b88526c1","value":"fTvIMprVNC0Z4GOkh-3VuA7TyGlCbukvZ8dxsrcLU_yexigeNjMpk_k8MEynW4J9GRwNy9dPYXiDtVX9o0o00o7C6oVAjVs85Fed6xH9WcwM-oUsF6D0V7_CFeWW6YL3S9fen8tpDyoRMnDm40FKz_sJ7TN91P_mWYemUfnJncD1WdTWBzpu8c5d_USY4nnsHvvhXcIdobIruX0KDNdiHqYHYKV_yVr35lfJl3VePXd1nABGLyg19X6StO1Bb5AVs9KYF5BEfozPUxjPQpkBJHxfUXuRVtIIGlm-QJjOkTee8zQDbKcUS62P-XO4RPi9ZofKvNFaq7_V3GZywjQ7VFfW3YpZFjrsr89W6aEh6oEtS57Ib_UHiJmE8IwfGS9KojEfDKZPOl0IJgf1lxpwYx-bV94618o4eYInmwncY22fCdkfMeAS-b6B145EJWeV0lh1mPvOjux3gTLecTXNe2YMNEhtRca42kSxKerv6jOuzrkzLdcxPD8qGPb0tdAj3tN1vVB0w1M2zSe_4cfpdCdBcGHSHiroVdGVEI3SYLs5pg5aXXNRWt3yN9to6MyizAqz0mkQ8XOkF2DPd55P-N2xV6Zk1Vixb07GY8-ea9qLzrClbW9jc4fneLstdsiEHYW80KQBHEJSCAsXs8so5oIOjt9f54uwRgus71cNrCU"}' - headers: - cache-control: - - no-cache - content-length: - - '812' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 06 Feb 2021 02:20:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - northeurope - x-ms-keyvault-service-version: - - 1.2.164.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk_mhsm.yaml new file mode 100644 index 000000000000..fa9ede07132b --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk_mhsm.yaml @@ -0,0 +1,981 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key_size": 2048, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195069,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195069},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817","kty":"RSA-HSM","n":"uCUy9PsEFi4vxZ7Vd79UfterQoKwEA-r6n2n8xc_dvrcjgipgK1skR-F-SvfkR7l793wBvdX4A8D_BpwGT2yE2SKrAPqPHHLz2OtcJf7t3kO3gy2_ZopK2F0lX0xAOOEnhkPX4AXCF-GRf_CILkJk1scXwLX1O8dDjigZ8RLGyWs13sX5Jbl-Tbk6sJtw35WqzlZwyDE520_Q4HbNvOa2Apf8fI1MHI-Ch6-nAbA36-yVX_fYEk1pr8RoEtORCZ5-CunNm_2tDkAIux1NgLmn4tcdWmiSAdwpi92oVELdm9yo1BH3AyS24m3xFCndp-4bQpXuGZMb22WAuriQ16x4w"}}' + headers: + cache-control: + - no-cache + content-length: + - '732' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '251' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "PS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817","value":"MHloDz2s2M5o-LNndHQlTgb32l9Tx-3DecQKs7dJ3Qr3b1j3lYKBHWbWQ0g0OEGyw1kAbEllcsDCFXXnczr2xS9C26MTU9rNnhjAI-YPrYbLex7xqnpAEsgj0_lwfvAF7ajVc3o9PXlsFLCiZY_SYcqijm5WJdX65mzVeRWpMSvyFdefk3thzvIaR6TQOKOhYtARuynQ0MiIAdRTJijPgoeeOmPNMzKdr764bUMZvnlYLyfmVVW9gyVAM9bD31jO-SE11_iwbCw_XKtg-LJbMMYGQxsaDR0b3C1gSIYByaXSy6algs8Sk23Sfhymm-KWHxMj8zoWrUZAQl3sJQ4twg"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '81' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "PS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817","value":"d5W_GYKCujYZ2Q6ekY_I5ZPJWkdDz_i7nOPVNh39lEZJox7UzEGjfULyu0BvmduWG8sXxe7oRene30awBkQ0zXBwX4GSaN0pghRSp_s-_PKHRXMw-0sYBxm29XUuUrNRXwd1N_UcKcOeETzzDJtzUW12HwaWNX8fsUhkEVXy2D9X_atxP7FwC6D0_cwI7Vif114mjFCa5vpGDP1wIEZzT4NuJynkkrSXyyu7IPVkVRzzrfrIw9pnihoOSvEspPBLfIhMybFEQUrCfsYyeHB8fPxFWIPU0QeIVrN5iRI7JOiA5JaeZbhpKerkZU3YMxdqku7VfhF9NWYjM0O4pOSyRQ"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '3' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "PS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817","value":"MiXIwBGIn7VzOOLZZfJcx9_6WMXAVwlgt2eT3uBcZQ2gW62UwLvPtE6dL8gRPfqgb0G5_rAUVSjUfvDBzbwAzCqw0k-ymPsnQITzVRNOv8w_r342gYXtQBzIuFDUEwaxxuiwolhOBUP6ChDXI9LatE87Nk-GiolPTx38oFwa8z-WTqfDqBmwpkOimJhZXB2EOH8zerzpuhVMqJMc8uryzIzDg7t4RMyaVjTr_o6c3mS1sb8e3An0MIchYfUs9tqnb5SB3uYsZHhUxmseNe5jOMNWiuJgPYNjDked_Rvxw0s-CW5j8-KIQtg3Xv_MkpL5m6q5QIjqj0h-CHP8lcbfmg"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '2' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817","value":"dZQnTkAb11mVBwKvgsu-7TGzzgO5iZrHjH9qCaC2Sh5-X4bG1to2ehn6zqvl5sSfMLmz8WBwqCqK3ZK6EevvWmm5gcQjJ6Og-0pNmzDlRimV1WMLG-2gU7b_JqbJ7nPeDJeA8Xr2bELaPeo99DpCnEPLElNzkGxWgfWpXAETLhRcUWbzmB_lSApCrnPmRLChIZvzDJs0IG4urY_OtWypH2VUBj8WXmL3j4zql-1Lc84iJQeuk-BKWuCrGzu7o_A9vvEgR41p3q29KWtXLUHI3jdvOEaDJVs6_ukEBjoNGgG_3EkHqcepa48NN_l_lPoLVmY2R5riA7OQ27z_aHyR9A"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '2' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "RS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817","value":"qCBKKjlkyqjURIt6Y-mXvJsc4A2OAozXvcQDB5bi3oVV82nGyrn8Tr3MWb4qjZYtWAF4KwjfmUVU7-Z0nzfmQzorZxqqBQOktQHaK31rKEdJBj67iZ_LrNeXmakZY4q4bTtBXmSXCHqXSkZuxCG7MeZeVuevK00KOFg5HIjHRNdv7bNqfpVIgH8ieeAmuMJjSjMBSwhfFsGGsX08UpNIC51xPubKCE5sK5bs9TCxERXhRTyh2auzNbgjTYS10hYKzvbDskNIHR00TjhHA720w2xTWgr2kbcpK7LoeKBlNhyTHjf4T0PHuHZrJmwXnJ1yCMGY0XGplSR1pxosravdsw"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '3' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "RS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-204868f61662/fe4dd92cd30b4fc93974386ea76b0817","value":"pLptv8xzwyAX-UDLlj_yDuX1XpOtCQMur7VSyGBuyLNHpm1s-_K4ruuEQcLThWfunJr2F99bToQAxHbAAMP78j59V9eCE655G_rPKKnpOXUpScpLoEVg_JveWTRyKI5KmikwWq6sxn7HfSfbLpbKu0e_M_68KYW1vPj3zilu6iqGhi_hBN7HcMxE6Wy4PpR6XWRKGQBaQvy7TnxRte_BbXCecGWxX54KJbeZgre-HG7QNHMhVQq9ub30H7ntFpeaoi4aRgNkYtzmQvZKxwFxTbqnEJLgeK2fIcf3TOYoc6DnddFQM41DCFpJBQWxFOkjl4tbAlPL9qIB2zG6HNAyaQ"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '3' + status: + code: 200 + message: OK +- request: + body: '{"key_size": 3072, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195073,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195073},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab","kty":"RSA-HSM","n":"ildjqlfV6Y3CFCiIp9dUuKtquYz8s3k-glwOn1CfT848N7L5_Zn2zWEdWz5dwMfBoQ5sFmVkxwq0i6JHZ0uPxrLuSCICZk1QSpDnWYqA2DL3rjcYFczd31YxrM70_IIs61NvteCbl9nbdMH2sQ4zx_gmgOs7S3S2OOJXmj05_HaffpDIzmsZWp2Kg5z4bFxVXLmjDPJ83dhv5VhlD3nSLvDz2T96UL2sCyAZLt1PVPng5NqzSv7hFzE_aGvn4Q50h9I-ABga3SD8klXBIn_huxwdOY3oJ_3So0GwOX8U_qW2lHZBSSCDUv4kR7gfegvWFAKGDW1AlzV-5QrCwQQU76myz6-zuAGfgdaNQoHkB_32PC5Or1o6vaPwg41VRVUVp-SJAlwRKVHzeZsB0HH6c2NKJjQK82KO2rDVmm9SV_uBqPhzQMZOMmwprEz3iIkriSg1YBgzi-ZSedcop8piNSsYKurxSSKpnUFhaWmHx1dzG3ygJKou6_gi09l0LSjJ"}}' + headers: + cache-control: + - no-cache + content-length: + - '902' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '219' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "PS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab","value":"ZoXX0WUq9YBQmVS8NIBRKo7pe4fVlj9ytBStnxgS8xhq6-SflN75Mg-yu6BrWurNYeoPZPx8BT_emyL1z5yCnE1DBN-3sIbZOw5FqaaPCsii1z7DRuYlIUjfIosKjgt1Iw0_G2tTx89D472dw2VrGZUX1yTsoAlzvv19tJhtECJ_5ay0vb6EsCA7k9qb5ISGwupPOoiqg_qfeGFWlyhUktCJ8f_PL_6JeQf0fEyYnjBd9HRyn-htTg2aBVMZeHr9T1fVQIHHjX-bTXpW03OzynIcWXu8Fpm62RGJR136v-qEu3Fu5kEW0lJBYaTyW7nzuKjRspHzjbnSGAmirGFA1EMxJkCPu_viWYFT1tWgEF-8eISoiWUhMiY-ZvkM3WiS3U_fQbWVilZuDeX-uYLr3D0CligikuASYSGDS6Tu0KyiBFBmv2e88N4RriVkOm1KIdtIn_s0-3UVJG95wSRHSEDeF2m6jefDlu4-eD8MkWOm9OaU6A47iWElfD44ZTxF"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '95' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "PS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab","value":"NENN1E8Pj8jd876NG9XkbzQBmuFG4cZGYQjVp-2zoFtvsVxmSsrLqaF-xxybrvx8goci07R96p5sbzHgvbzk2uFx3NgUYvSdH9z9VLnn777LV81myiAdsUbBSclvbN8KV6hJzSEHO2cfheQszlciY8trP8tw6b-l9wRuMrt3MGOL_xm_2sFOd4aELHAq9dM9Er5jSCltXrrGuFFC7NtNAIbu_X64Qwn37w2lmo4lWuhhDXsMbjwaEnr6oAT9-IEw-b-U_XzFJI0GGPS9UZdGsJPlpe5aMwkW8CLhDNoUcUE2qwHHXuB0T0J6Cd9UDE6Q1tTv_ud3Fhs9YISnidZrmvva55dtxe3F6_Lf9EktbvXEiFITCNQXPpEpwXuWXjvFF6_SV0DKoRcSpjuVDd14qD22moAZ3pXnuDU_pC7BYRwMX19roXorLH8emEjgLchTMwnwWroMe2NOSD7TSfkPkkoqV_BD__EcDf6IxoMY91aBqIoOSwSmFibnt5O852x5"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "PS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab","value":"Sgt3LJv_nYT9K1hDHVDXuK3mdmFUCF8MC5GD98I8m8t7ZDO1kzeu841Vi6bfPkDeI2zFXRmA4BwaVBuxBEXBp9nDR6-RvKPip9-zw6UYkEtrsE0uOPtIuMi-SEkySLnd2pugZGufVWmDRPln8RSDEOVBIMwH7ru4kM_oc4SVznpklq1-ECXPFsntCMD1_1SVeKKD5z2Fp5T9o1YA6KXA8oIgCCa1ewwwhiUdi0GTuaMF6XgCKo8D8m_zWKL1eOQlRi7G2jMIbdgUf9n21-sCFVaQ5LgyCpdB6YSN_E39HOLk0S6g94DUH2mW5-Ykf_yOSuoR1Ft2AnJni5eNTls4-oH8opYgNEWQ8jeRQgkugwITl7_Hym9AaQLkLjfavYQisnitfAsqjn_eIiSbPv15uE_v6VvRMDH8uWTGWT4v9-5tEMwJKGOsYICKz8Tai1YFKdt5xKbwK2cXP312zPxFqHdXTfETVAH9i0Lsg6OFw9OglGSXGG-f1pNeXL1WqtWY"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab","value":"bBHpX_ILwpKs9N7ZWMlpibY3iTHJIZX2U7lPJmmDEPUo9W2W_e6Sx00X_UCcckostOsGj0sYCXNMjPukduugxRRnNjlrjwjf8IUX86JWX5Go2FIL-y0MH9Q43DtOcYVi5Ao1A5pPJybJuOwqL7LzmIpz8a478FAL3sVo1RLIkJhGBaerulRHAk0gj_XriLPKrlSVwzzAR21Quoy2Zvvcfd_JufUxNqxwKkq3AZBQiY7wBLS4kh2mLhM4bWBEj-xv0nxyx_H_EVga6hVGoqppJiAXrVz6rjxF12rNfO79cZCXcvyZJFJdWpoQjOoGo-rD8wbsXPwaWNMnP26n1p9C-w__h90OcLHutJXc7xW0ugT8YYESf2RA7HChWk3WdZOLC_9JqTnZxR89HQhA5KIk6Mi6DzHTt_VV6nKIM4sCOY-uwKJkierV6iBswN4yrkoVP_8ykUsSQscatIJ0YjggbfMAyBPlqKfC15K1SA1qjNVynSBfo9z8NQcjBU5bOCvB"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "RS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab","value":"UuU5jv62C0PBNoi7El7Rk2b5Ya7vo-Q51518BDvlbe0A-iUXNiOfW4ZzMap-P-TbQ3m6UoUBNl9pijfhROIgcKk4KVBdFu5oq0NUQzVTy9M2mz5rIVhQXgted43XBpHiXpMv21o14CD5m_ppixKdI9S5Eo5SpqkmYr-vaStXB61rHOAKrdaMIeVeK3MBLg_E0icG7nY8Jo5QxNivAUQs6leAlitvr2NKeBWAGUqMd1jiU8_0e3xJQ1AfyJrCHHXhKhHGLyHT53nR5UppK6IBg6OJW7Ng8rx1inQCaUF7Qzz0ev-XgzpuU6aznQyx3hhqFaw1rkQp-oxPH4ZxOhDWq3wjvXKuP7Vvl4_J3i4SdzJsQY-ArDNeyCnuBA8QXL8zSvIW7zRjWOxPMYee7DusEA5TINKRU459rm6jcIDSRra_4lldp0qcUE-uPzrKpjcbAFLdwGBgX2OwSdBRB3n77XbRXbpQfNtZoq-XidCO7mGn0I8fDkS4k9654eXWBrA9"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "RS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-307268f61662/7d785483f19b4b7a9986938a42df0eab","value":"Ll_JnRSZtQCT3wo4iQO6t-vV8QPcX1GkbSAloAfB1vGdMQ1QaplnA3bvYN2wqqJFHgXjUATCMLycir5YCI5bwQ3BFhI-wvqyRm4YPkoItv_fSLUa8J1VRc4QBmyuFFjsXSzgiob0q1e6dUpFLPeJ5B8QvWMgtV9TgPcLmu0SsKCI_PtsRxu9tswAQvBNCTWu37UqwCXw9M1dIF1V8pCBZAhYyS9uyUGyduRoESAKdL7Ws6lb-y4qqrg8lRZHT4Wi6m_X1tSrta71689-ClfYYr8FJ2ip0OzHWXcxoYIfvtTI97-oyXOKu7spi2kvlAdKjJq9EcKqy-h-ADjp62_jodby1mYZ2wtaVHVEQHveIuJiTZTN2MGHewp6BTf7wKzBzTsFC9P2s69rJXR3MSmzWj-cZgVr4rBK0AgwdlTtBarIJDGmBM1MOVvGyyuOeP2a3QtcE6QjbM9QzFLVkrIY2FXxDCVDYA3lY8oD7pxZ4_L7GZML4eGJ8HSCqekh9JFU"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195077,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195077},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf","kty":"RSA-HSM","n":"hr3ItFoz12OkpdXSYgh6oz_13LdbFsMNzYG_5dIaj69QLqcl75OqCg62rwolnjwqx1DqkfdTmE047PkxKLSxLGAS9OMJYa-3Qe4g2FpZtojSRvDJqp5GsudLJLa_WcWirgOKQaZ2hRsCaMbg4K0W7JJCUNUuMAtROXvkB40LTfw_eBl6jCmWEA6K5cFl3ytwzsKtT0Arj3YsoGE7_TRpq-DPxdjDLd_f4Q1HYqpcBzvC9XMVUJufR3oA544Qh7rcKvNXKFaWHeKAnCtc4IK2j9rJ0T5QiHyX-4NTkZgBxg1gwOkL5u0Qfvz_meyIMffxg8zipPjZ6RrLBqYWjlq_hcd-p-DLbetCODir4OEqzg12mtOoF_lt1YNV6fYvgNCq1qi-ynt4kayt9nIpytGRl4BO2Ee3ZzUIUnJfgv2Bw3k1fwSe7n60BBaKm-XCqEYavqjtO-qh0IWcu3OraJSjn7m9fKNCcx11S9ZeJoD6T6E6J0RqLJn1BqgQgnKd9ZNewYN2ZeCR02mLO62Y1enqbLzfxMhnbQsFUXWT6CFrTUddJiI1vZJFTcez_FW_ZDj9_UWPXkXiLgniMopQ8LmqeokfsEoNFzFCinVbLK5R0Qn6XPpDy6oR7ovkK7fUsDKmFVVTZsX2ODJOLZm_z93oDj3sG56w2ihUdiY6QrhbpDk"}}' + headers: + cache-control: + - no-cache + content-length: + - '1073' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '246' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "PS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf","value":"BBdQPc9v____Ule2gEuO2edAoztvNQgbn37SpnRyuPngZ7QQMzYObvsPkYCxQJML_gAo8l6qTC23wFKEFfngpjxJHKnjdt6sZtqJ1aDy05ZLVZErFqM8eZgMPXIVsvtfxV-70CiYVfOAx4bCzafCg4wDUUNQuokE-jO4VpeMB10kS_KDLCAHDp9qXrHNZFMxhGFhqwGSV6L3vMJZbX9d_DYB7Ne32cCty_22aFuK67ooMQaqJ6tBdVbe5H52HhnkKSZfaCvk2Q41571g7er7NyYuxSg_6BbVEE7EwTKDin95UilbVWtEx-s0aqIJNB9wpEITP93f-bD6fkXKsoOMBjJNijDwpIbGkogL98kWhRNq2-PLVp633nICxxib99iC19Ey4HpXsf4FPoR1N8Qe2aNODFyjgs5hy2rkSyfav3VbvQmKEYaK7VYpZagCm71qkENo5HVYYvHig9ep24tE9cmpkfkPAtgLzQyQqyTFrhhG0Z8I33OHV-S1cfhputfiNovxnyof0wzv9it6SnKj3UriEZzYnWtBIAHh88wKSPYTl9Q19gJ9xX3PiznLMf6owFIHF_2ztuPSVblUzylUKyOpDBbRHuFcVbWOVAo60IftGA6MVlRxh5u6LCb9YVHwirJjhR1Sixemvk_gJXDMsEo0ry8gXXKeJmmURiUmSnY"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '111' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "PS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf","value":"IGvOnQV1PUPAekwn2t5Yoal21L4hDf1E7F_cLh443aHiPgLTmR1tZ9tp4kStdSeD7qBBGc0X-CLXRfsZmB8Q-VHSVxrBRs-LRVuKFF7ApofOvN_YyuDI8kOcXucQ1WCi0yFIxIe3aYdlHX0GPzaaGagvFo0AbFEq7jY4Kab2Lmc1n0ubbpfWqQdqtTjUrdrFGP0GrNhm5P-nojHrnYgMS_BtLxBEkh9mgU2IYdHfwWFhWS04MQJB0CXhYENw_w9LC7ijiBJB6IiVgbwGD3xEOS0a_x6mbdSxpbUBRmCyPUznrX3qyx7BPDfVhrtKyJSwNvIhg1dWo25Wyz687WdaxLaLznultAo-DGHMmTb_hHcSDEi7E4lbeD5oatURQhZv6-QnVyAV2Pf6XnReVkZOFtqG1BSrtBqSJ1XZhaL5wmQtDjGz0_tTLxLpQW1cB5_HqPdPW3nLwAKBIjImno9owUusllt89R7VXOvZwocABkROg96dDY2zREelOIVItQ_GZ74ZRIPWZLv91wTOm0bGzfdoQu_mC-10B5rsuUnenCzviDT54Alu89RZiIWEt8KcVCIBh9SByah4vAoHGf3nKKfmCV05cryofargPho5tU8_unCKnZw8NELhBN0eY0i-WJ7RJRfO5aDCmT-3GzkQvYAybiAcwNFKhATkUmgfGaQ"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "PS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf","value":"LBclt6o-BONxrYU1u_ulZ_ThsWGsdrTeQwp50KnoX4b5tgPQ43bRUGbA3L7wuKnulQDbjBx7I07vE2LiinxaEwmi-CO5MJefOpdsCrMAnJz2J2QQzBu0sSoSpKtHPBLvmPfrx4qEOyZempzHa8wknQyzm-mhAkmfLq1u9b8kHRdixrh9JA8gn6WPIx4ivEeQWrG5wvoH05j1W6KRWr5Ku_kALsU1fKoh6NZZ1L4ywQOLj4DV48gtTR8IAILwgiCijQftuiMEEQyR6dh_cCaYa8iKzHCBpYXoaevLzHc0yYU_ZVSDUvNeOqVoQ4Rhj0KYrMV2xxMSsmpv6GnnTHHQPCD7SFMjMveTi2DHPltH13gscpea8RVcij3-hdlGIAAnx_0o5zMn-elocB7ZXuXo_h5oxAEyrVzbb6n350yOLfLiac2Bo5aCiZhpvNBkUrfuvvWzjEPeRbS71YjcPIF5NbcMLf0fR85fJl4eyJWOewGizAyAQ2nAGhXLPsY1zuj0DG8bh_5NYszyZpuJENaSOaRsiNi2yivT07p0q6i0pzfiE4Kcv53qW47CFvV10oMgLw1q4HORxZ0JC_Fie94L7pFkMEIbgCucxZQNiUbnE4GR3z8USh0lpkPBif8_qIXRkyxXQZg6rWkmJ62wH1kvz_UIIKIzq8rxjStT5B4f9Ig"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '12' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf","value":"UNeT7xX5F9yVdkinVZEGg9CU7euVmX1-zn4QU1BSPdSQGe31jNjq4sP1HVlreyNG2VJEqU1hsq812Q2y0KLr4J_H8fPfY08rO8GFrxAaTHpFXOpdaWHivZJlCYnQrVuO0mqwhOdR5LCGwnzb2mpLxUkQd4FusUlqfg6A7NppkK8qW5rmx7CF1WFHqfCTt7_sUJ_y_kPy_Lx7vsCtpFyBQbTyrK_pylbKjj6bMuwGHTROO3dTsy6WQxxdO0wBagiT1mmBu_EsPqU0CCiFLKtZTaH7TLWw9s3k-AEQ_vc0pE7mPnd29zqfNzxc_JQMqvcgiGlNMP8VQ8uHob_mDIhjgsDVdOKIPYtlP8bT3OHRT1-TcDsIOZg-qYiC_R22ClBx3m56RHvIoIvYP-0dEz97o7hj_RjxCFgz0_BFfmC_w_5wiDI8Sud-bipi3cLNdmb9sRqUpNw7xh6-l6oNN4TRTC3s3Hgcjr7YbRYeH_F1L4srfkHsk6t72fVZc30g0ORPRzAtiF3J0ORJiqw9SfcaZyE0zNisSvIbw-oO3VZZAqsTwwz-8PTQESjnDOOV516lo_8QuM6TpQSNt7pfUfCd9R3dPrhyhYYAAsljpiOS3DY8psrfouD9O4bIs-DEZe162nx2KNWbk91zffJ1rhgmUTBjfUN9NtYno6vsIqFQZsw"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "RS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf","value":"DYMHrmzBq3I1DM_AOIOUbXqtmCR_JRHoUjnbzgEVRuWyV1yd6k6YcEEDvWK7503HZdl8k4i9Eko8cY9489N9-0vT3GGYnJSPV99lNO3kZyxpwF5fqKx2Cp4NWu6MKsERq2Kk36Dn6y-bXP6_282pFw8mLQr9euYHPmBuiFWqdNayjtiPqJmo_gaqG1mF2NDhguyow6cVJuvNakoOOyfbH8CKGbi2yYh4MOzOCx_xr-wbj-I15q-AgoyDvpLfj8RkcMUv-_9sr1B-OhGy1Ygakw_aLNcvDEqmcQqaBp6jaahGU2BJOwJmagTWmR1c0_XQYCVp_Z0zOyEXvnZ5Q1nkVcM2uW4V4G5_BnvQDVhdS6az26nYh61-u63FqapWxCTgL3ZA7lDXsrI4uBfarSV5Y1EAsYifJClUddKMZRqv8oQkOBJv2z-FNWGHabBsi0MOjRTffR5lk1E9hbVHTyMzW5ttr4CRFfcQfixDo1oVW3dobSzvWL97f1SFScjqP1rZTZs84B4ehuN8d5Y8q6udApOBWZgyiTwia52x2rO_Mk_bkw8BXoKhDdm95CGES6oIiomb1X60Vl7sJl8kVW0BAHk4aarh0UngYgrMvafn7MpOU9wKUaMCh1zIm8rdndK5R-twqNu6oL3HDZsX3SDseLPzdx_UR_2EhUC0t0V0m9w"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '12' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "RS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-409668f61662/a70de6ec35b74b9139055d51e1f3dccf","value":"f2g1qVdFga9tbFK5cmy9xDnXHs60U2ZdYh6RwZFGSRbg3nhe7ItAz_3B1bPISvUby3KqliG80zNBFRDnjDJ0Rah7QV99-udxVZzRPGU9Mcihz02-b9yKMK24UpVHCKqsi-mLogANYCF12Z9LAGT06DjS2XEkgHt6VDjKVgaLPv_3N9yppqDlheTPqWPU3Y6krXuBXmjWxYv0hcu8wnmhxlQHXc3U-bqQdkUWrlYo7BiJFRPwZLqYeaytoJU9Q_ltu-QLlKKL-ZWdBBKq5RLEzp20CZbU45wPPsr1UshXd6rQHupt3Ehzd2mwJzV-Ni-7VfVl8uygNL7MVFhELqcDPRliTShHJK0Yh0JSJIc3CJdWH8N97ZFFT4Qaj_uxh2_ElCc0M1aA4zg2x4Us3tScCoXDidIgYpFa2-rvFzdYL964SSnZSmjH1cd-h6mDMEUAv3b0bTtB9toBXCPWN7Qot4HbmigA7EtG7cCsINq0pcBzBOzhe3Ow7ccG4vgN_yHDOt-yUSDiaIPY8YMqKPNBQelDDz63982Brg-FEohOzesbirMt2HgHHIGVdBcOL3w148_g5DDycz5kZe-S-vym1yzE_5uDKcoidpFNtgBDAEC6AghhWb8NWy_nJobLZw01py3mB7SrHAj0anpMeGKWGy6yWKnDTTKH19Eatg4P818"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk_vault.yaml similarity index 58% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk_vault.yaml index 46aaa9b2f640..f7a71c4b5237 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_from_jwk_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:42 GMT + - Fri, 19 Mar 2021 23:04:42 GMT expires: - '-1' pragma: @@ -43,16 +43,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"kty": "RSA", "key_size": 2048}' + body: '{"key_size": 2048, "kty": "RSA"}' headers: Accept: - application/json @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yZk30sWgiyrlP36OBUbhGdTcl6rDdvuWmOIYWhzCK6bQi2XxuQZaWDUTSoK4E9584Qz1yOyFyc8Awgj_t17_l8ZZo5f6GinmXXod7pZoumlfOQPaoqxFPNOTWDZtI-8AMiqExsoEu2kH0S22xw5a_tOrqSl4swpdkMtqM6i_HzPcXqeezL_ReSgvBLvjSbrwuzHjvBVP2OuWxX-_xSLkuXrhLYfq7eJ-em_q9MGRGuyWjw_WNU1vlr1CJT7vOkkUvK_W9dkJno9-Tjkf-ZpJyNYOFhdSaKXZZLwaOoVWAewIVhBUDk7r9yXmaZMKMHAfpI-crgOAhMX0oFKB5BknzQ","e":"AQAB"},"attributes":{"enabled":true,"created":1614986803,"updated":1614986803,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5-8rgMPaDIYCNImIh9dCGQFRN5zxCSWtKQADYTvnxKiLvfoM1snkiHKgDq2Y1k_yI6BkYfd3B5t5KvLKhx690u9L8BODMKLCUp9TorFRCTCzDo3RiTxPaEki4maAaA0KuXQHEGHT3UONT8IBu-WlGoxsdN7VgFj7eDDVUViYTFhXyCqz5DMD6g2JF7yGM458AbP1kpQ7nZY-fknRioDTHh8jvYAFLTl-T4NFuu7aIHU20LRJwBvlCOlDrVNiKEI-2-yiLix0Jon5sA-wZhU8MBywpULGvRYhKWeltXRsZP53gV9F0heuHiNPUatguaK0oGhMS1_AwbL0q7bUgYUFXQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616195082,"updated":1616195082,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '699' + - '701' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:43 GMT + - Fri, 19 Mar 2021 23:04:42 GMT expires: - '-1' pragma: @@ -91,9 +91,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -113,21 +113,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396","value":"rklQ7e__x5CM9QOPPszq9OrT3AUnussLl7rOr8_-fdc-7j9RLNJI_CybhnvniqAKz2G964YTV_x2vYxQvWvF5C32u8OU3H9axQzp1MOkQjB72B452bqz9m4ns-kmmjjr6-CxB3jnJIwlYTshAPk-BDalPeDS4WUFLhIDm8IkYG2zg1TY3vW5ytmYL8m5yYoqdpB_H4ZWhR2yv99Pl-vPa6VhcERYXwF7xnvgH-pqzdcQNHfqFVbVXvlM6-y09wkeesyDHSiwZHEZ5y-II636sXPv9D8hZOkoHFuB6WClyVXiQgtbrZFA3d2ZpNPyNBzb7EV1sVmjVKzzGw2LbdKzIQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec","value":"QqYbYrk-uuJx8V1iUJX5276-24oL78KrvEjQHhhsui9Uwq4rAz3MTn_bVAj3owdv8G7471YJG4fSSx8-zQSmFq61acReYrY3OMvsgA_KZ3kVfS_EPyjaZuqytkvHVA0zhlytxLfP26KrxPjPcaWH0F_ImhUz-Lr4K8p7AECHlflpffNzzvYBxpbUwYCqavrs_tAjVVtN3U8TQa-A3d8f7j8YD6HXpirhb9O4LN5TAcgOP9ZB05tL3St0k90cS0kVOc4z-vgmT0UWONPGM_Pl7HQiLW--e-LMap244sA4zB42VddYHjkLo4xhguENudJjGzoqE82H-L3LK0a2Kcg-Dw"}' headers: cache-control: - no-cache content-length: - - '469' + - '471' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:44 GMT + - Fri, 19 Mar 2021 23:04:43 GMT expires: - '-1' pragma: @@ -139,9 +139,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -162,21 +162,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396","value":"wrHGT7IaeEiSQOCPA27K9mHqtgtOXZ5jX29d2c1mQz0PTFDQ_apuDQNS6wmHO6oYEqvebxn8Wa7bOmZe-mWYOv-gVo3pEjbDyjfIS4BzvwBhPnUSnMexkrGcm-5tv3iNwUi_h1qAkE-Po5XZjOZv_HQGBI5DCN_J89Z5D7DMP2xdxdjIo-tYuVJVaxG_dvYpvRIt2JiQUqXdCFpbJGJS7rvbFEMp97u7Wk0fGE6HlVuypvpapPyHCQtzoSZLL57DmcZqvfoyc147tcffKgfqGK8daR47W1kyrI8kuubTDe4s0APa6yRDKRjgUge9KtuUARFWG2GtYBrn8TRZ5AsV4g"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec","value":"s6UpsahDWjAZdAKoc62n0D-mV5TVWhJoDmHEdXjEZChPSZoIN2RLBbneBvtmq61ietowH-m6l-y3muzj93NXNM_P43yy5hBHJ2O74vQKJW2AKZIo6E24sTBx9TVMnh7k8CbhWrTG0hpxO07azHJt54PMsH15JDzDFvGsO8TbHD1mhmcXjt5ZuDcUfGGOzORNnxdRJ5Vj1ApCKY9O8S6JF5TOpo1IdBKTf5q4RBJQ1gWl7c7GUhldQpZjqIuBZ_5fu5q7wivQXOBwiaE0u-IfK8j79nOmPVesHrtvMQcexC2CUTrC_yvaZ13-4vUjXGVjB5LohNprOm5_DbBJhNM0Tw"}' headers: cache-control: - no-cache content-length: - - '469' + - '471' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:44 GMT + - Fri, 19 Mar 2021 23:04:43 GMT expires: - '-1' pragma: @@ -188,9 +188,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -211,21 +211,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396","value":"t9YMtaAWVtZOsOu7H0EV4v_tSGMHH4-wHFqCVJoWZPYhQ7GuASgMJSq_4vc8InqaNiW70ZPQt3IwaX4vlq8avd6OdR4dOnd-bNIUsELmhpMAQ4sEk6p2bDnnfrGHopRP6LhtGQY8aswFU2cD_8BQbStaBB659RnALQVjmTLjst37uAkQBulBn-ySnSjC4nn-KB6Xy8TZe61A6cJ3KXZJ6vvD0IT-nBzka43T65jO6EXE5_tdMqdUS7L-4dGL683BzIofrxceDCCYrithtfVbp5xwW6djeg7LSn7bucUe7w8w8biw6w2seey5LDbneOhrbSXzDryI1HzGVKJYEDhitQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec","value":"U0qTd6lovzLor3Jc-VnEZzlV68O26WVaWT6mmH5ts-uZ-PVzUuYTUg2mYFaJD5y7zAO9REi_v2_H4DZtLhc9pwtUzlLmlj3CrqZJGow9xPxhQWnkcE3uysZ7L42CiIBxO6GzdU75sX6rCot0_hNrS_FdwLHSy9gMVpLQYPskkKNrJZsZ9Wk9hPJgRQEzehyjze71svie4JDQmGyI16p8BIuPPDkhhcSoWiOuWTP41j1Jun4tliY7Y0QGrLiInY7K3ImD9zlQBIvhlk--GIufUU6eGD5foEU9vYXuspskFxm4yIZR1l8U2_tmlaewFXxIkMtPFEQNv8ypda-MeoHmaQ"}' headers: cache-control: - no-cache content-length: - - '469' + - '471' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:44 GMT + - Fri, 19 Mar 2021 23:04:43 GMT expires: - '-1' pragma: @@ -237,9 +237,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -259,21 +259,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396","value":"oPgF1vtxYg8x6TTq7lBh-M6g_Uozf6_f6Y59Jq1EGCW0Y2vvPB8L6nfXxbJc6eQnqdmJy_aTfUZRnY1oDGKahbjCr47MJ8vUtgy3AGAiXEq30DY9sOa-VrGkYKJwZQbcNUNYz5IZNs_x0gn8gzGNIDxyQcmR0IupSLG1b_GqFFrCPKeSaa9wanKWQHyLnija4PmTMojs3EEvmXoOPaxLg3bUtvNtYA5HPKZlhi84VDCz8h88joYj_0hibCfyhXDviXJJ7dkxOZK-4M-C_yMwdOAiFSPnudNTOiCem8bJR369pYKQCFxLWN4Qt-e1uRITDUV4bieiOcVstIAlypPuiQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec","value":"su1yImkz98tkaxmaZEtKsYtNsGtnfFi5Dm-rfISGYpw1SnJopWePYE7wi1eV_3Ec_PIbjh0AncoQzLh5VCh4PQ8gRkWhc7S5CfmLOA_amY2u_n9sjdPOSaq12bJ1xYNcGz3xBnLowd7FU5HwC4NC3t0APSmiuZaDkWAOHvTzTwcGFUwXt3LU93ag2EsfepE5Cta8jg0Qb8ksXd-BIPdvUhgumrNM_90YNSY0-f77ITQKkoGhM1KnPNzux3fezKq74WfomLi6UHj6kYwwpSsEF2GnS4dXP_OLID34l2estumwlA7ySyF-YskO7LLGEjalJmTl2t1Tzl67H04sgmm68g"}' headers: cache-control: - no-cache content-length: - - '469' + - '471' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:44 GMT + - Fri, 19 Mar 2021 23:04:43 GMT expires: - '-1' pragma: @@ -285,9 +285,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -308,21 +308,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396","value":"su0uOathq-nmAyBw81ppH3YY5eN1sGWzAWLTeCx_ZUR1-sIpGuyfYT1HByP5Z5VwDq9KaK14n0cO3u2dVn4zPyUK1bLS5zuPyA2F28aQIBXu2vNNxDgeQQifojmtV9cXnxaQGsA3i2sIKsF-X51QuUVkEcz3LK7sr3FNDwBdFB1zhnHi8d5Kw3DDQUSpKY3KGWVJFJatVNY8ibZwOr45J9sbuJGBVPZnegou12txgIS5p7VGJ_5v4DF6Cdn8SheUjpcuEobEto-86T7npt4r5EGbYqddpo4ixSpQZ7lhekWNq-vzPF1x_7DPVqy3JUuAh9kNiLJ5aomoVY9bI59Hsw"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec","value":"LY0NfT54ccz6bavBOYBGuK_grZ_oipclsbJT1EJogVIDt-smkAdUs-BmO47gk29hAcWBqfoZ5Sd2PS959i06J_kWs__zBcJyYQP-PSTVwRSz8zycrRv8uD8yfMx5qo4a0MNodA99ZNIm_5Y4_7bCciLUyYkLW1kLle8fzFtxdUYOdz_UJrAlAi0FQ2BlSjM7ago2LVJNFbAoiok5C2tTf4jnlIa5mONJcRrNurEGxzZBvPAdt-nPX_8-gWsQnOa_d0y5AkGanF0KKpvXSabWcnDL9s7odPrpI4hOGMoovrOIZtyqCNcsHRQNdANRFS3wWc8WozhCgXOrrXD4-lby8A"}' headers: cache-control: - no-cache content-length: - - '469' + - '471' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:44 GMT + - Fri, 19 Mar 2021 23:04:43 GMT expires: - '-1' pragma: @@ -334,9 +334,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -357,21 +357,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048fd47144e/93cf1f195576493d8cf03b796a1d9396","value":"Ris2fengQp0FQGHP07WCX65rsjuWaGhZZ_Z4PlcBc2ybvp5p61GdsivFYiRlsM_kbO7i19IGshZiXoYr-plIaUR9C2m-xVptc4W_sYpucD9FzUtwC_h8CtotKJzYrBG4tZilLsG3pNuqE4f47xaxHM27Q_tYsHzcWKU82GGoTbgdLZcFUmhKqEO3xbJWzpuiHlmeYk9x7ohYfFdR1KrR3yREX2vvUuFFdB2TPuhszAw0SEf4q3iDGQpAmx-uOD1mlasU8tApeFmVJqWwYJrgGJ-tcBhYWbLTvTN7z021ThP4WL55tXBw96FW9eMqjrZrbSDuDRxPRL_rHhM4nkj-1w"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20487fe116d9/5ddb492446d94ec98b2b5810b77dddec","value":"dShFjwJAuy-N3tDFq_gL6AX-ylH4-L_iOmwgRR2tFh1JZmGb1pr6u4wP80QSUy8t_r0NrsnN3nKiKvx05DIxyerK2bkGtIzrE4ksbJu9IyP258-tzvBmUt9fZwGyicGv6DtGcPIrSsbeBZUVnj29zzdeYh8Mzhm1E6SRNOqRALaD-b9yZitJxQQ8FLCdCi-yNVUPvwmOVKiDkxAXOrFiIlTob5ZezB88buujf4wU7hnxN0XCcipdXlMTv7dwpBWW35PFr3RVvd8AEshjaauMAFYfgmNJoNNlBYUcNqqkVIxQAZjVukVK-6E0NstHhTXE02edLJ5RElx3FNCwr_Mgag"}' headers: cache-control: - no-cache content-length: - - '469' + - '471' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:44 GMT + - Fri, 19 Mar 2021 23:04:43 GMT expires: - '-1' pragma: @@ -383,16 +383,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"kty": "RSA", "key_size": 3072}' + body: '{"key_size": 3072, "kty": "RSA"}' headers: Accept: - application/json @@ -405,21 +405,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"y-ODCkBkLFW3xWEnV9IEkpoXSNavUSuHlYmHPZHQWYeb3NE-12fqP2DeuQkbyU6Uk02Lc-J8zRTifDqhiGGDl47MIt9jdo4-E9AkX_81Ab8Zo-Zr_yiFMP1_Z4xnJnDkQrvixKcPEUBI89IEZYKMGS_OroimnEC_PeNYqA3FBc4LkGBwH44hK24jS_IE70603xQvJDomyQnVmra6wQoBYa7qeKYEZAsBrtmEyS48sgEbMTUlbpAlQ4orqgKoielqNIE4KivPOcAeFAyE-RH5DwNG2tRpit3wB0aesB4DH-KkRlbxuTMcy9G1ObhUSPNf1sJhZbGtnecJK1N6kIZR2XfzC5rTZcUcFCp6jO67P7jSAat2HmtD6G7ZKyer5mMvq9bdXjLLmbu-xMKqfUdz_pl9_KqmyrcurbnWuk38qeUORHyf94dtH_yBKpYKHm3KWMKB39Tve6vjOL1X70dDMGX4xqyTt-lbn9P7XMHRkvuU2fz2dGIcYs9GTg8NYvBZ","e":"AQAB"},"attributes":{"enabled":true,"created":1614986805,"updated":1614986805,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"4ioqrvGhrO8v3AOCAF9QRj-eCntxBKUjX2Bl2C7oVUIBkRWQlWEArThTw9ZxvN-BObAmGc-OkJaDJE8njdMW_zsWbRP7bEj7p0571rSsO81vyPQyAsz5EGRQmxeOR3i6a6KdStFcFsiC13yx5Anqld2z3xy-jkQYDihPluouidRspOde7DAS3bFdJIz1-AHQkZM3S-l7pVaTa4MlNhnOAOwFQggYLS37Nl9G61tFQaJccTua3pjzZo2yP_FSD8dayVpVT5NmtAzm1_iqtZ0edkP8eUN6LrjJLA3TJBqSx9fjhykM8jfywj1x25nCDN6Ua7bJzmO4VFaKjjck3Dt72fm9lffpDs3jNBdu2P-ED0ZOUAqCgQ4qtc5bJvlH2H7H60OL0ok1xPMOxk3GJVyORplRg1-stWnxfek3PW8FZknDNBBpmLL6oXxV4JALvCsyFDrFukGI10y8WQPWtI2itJJhDMwARtXHQeF6ss0F9WucBmAN0EPOuEjsRUEh9CXd","e":"AQAB"},"attributes":{"enabled":true,"created":1616195086,"updated":1616195086,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '869' + - '871' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:44 GMT + - Fri, 19 Mar 2021 23:04:46 GMT expires: - '-1' pragma: @@ -431,9 +431,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -453,21 +453,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78","value":"KAx-eN_rA28woaAqtWOJeID3vKL7P81iGXmuLH5jqhTQeBfzFCp6lPPoKjz-ur3XCiUBM67Pn5DJ2eM_2c0QtYzBPFYd_V4O3UJpPy-8I2RiDva_vCK04BeIvnIVgLvfpg_199UdAvfvjupROvMUcrytdLZAW8tOkQSwQHj2lYa3LNi3hQ-xpst1NmoKx3METNSG5uKIusZQX59jf878DG_2276zE_hrOXFhEA6lCsGhKpGs3jS__59ZqoMzwq2CSGpw-QeSppTDsNb7BUXVCOvQl9BexVLk75tvuPktiVbAruKhTOs4RMLLFjIPkGFMk5MHTisKGHSFbN69TkYHeUI36iZqRcT3cDNmyZejYJxtXacFjmQEn0qvGdXomUsZuR7jmiLZYiC0tHXaSlQj0A3OgngCATMk-WCgNEMO3HQmPH8rUoCORQq9aLhZJrS3WV9-qnMRZNGciB50ksrXOPRRDdkHkjGmN0NSUeAhyHcFT_twUuxWFHOz37IHeBiM"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9","value":"JIsqHNUKbECzIrDGcYDQ0V1xGNgb2pFGnBHYegRJIuGDwXNd2H2OIDdH-isb89wivE4on_WXh9xQD1IKHKP4BaO0ZDbpGjPoLPASiwxsffr_IPPyXVdUlLLJ0cOV-NqDu2zxOxnzhZt1svLTv3BbeixfF1n1R-hAFlk3DASc2Vq7U3kJl57niAPZjA-AWIwJINrh6YU7y0U-RCk5of-gyVhgtpi6y-fhItNnWQXprKv5J4mM3EdoR6_Q7x_V53ktFoQZLJqnCqkdp0BzTtFNjXM2-UVj0drhVdrNVHU6Zt9uQjPI_7V4Ri9S-CkieWh-sdT1REyjDc3Dqj01jXj5FwVQIDBEuJRytEtw-wWYCFH8WI8YIKVYBbu8WpM_PNrIFtsXuabVTkuC-xLn7osH-qGNLCh-14TewwjpbyRZy1p2qiQXHXUISxT09Exh7kPaQsTqNxIM1zdqnNA02vZlzlPY3kVBIxYRZMDa4UQeUwM9flgtYfr28ANaCkWpVJIe"}' headers: cache-control: - no-cache content-length: - - '639' + - '641' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:45 GMT + - Fri, 19 Mar 2021 23:04:46 GMT expires: - '-1' pragma: @@ -479,9 +479,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -502,21 +502,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78","value":"cF9OzPr0u1SiSz9Uccg3nCvp44auGYw5z4UXakJ2mA9qdFgutXK8MSGn79DOfUzK4PGQqe4OKqM2JGWPLXlN4kH4zMinpYnKMe6RCyqocrcRGy9Yhxe6yppj5IniWy94beiv7xi1Z0p3dAUH4sSzJmPzYxcl97yei6K6LmWzGpklEeoMoaJxgnIRMaKAGdpWg4qagUExf4tclAxsWZOQJTP_Xe1ZBudg6JhiAQ0tWPvHyrEUhDdsZX7SOAPwgmdALEXFNWRIF0wRL2M14-fzXsiUG0nG_g5eROKd8ZuzGap8DIRBVPnzWrOFY7IlTVqnIqLbvwqgB06pz0ulmdp_GK2fFOkv33kqinf028iGtfW5iXyR2uD8V_LddRxS3xnBGguDwjJ87yLSVdMaRBWFq68DAw36kVA5h1ih6BK8XtMXEUBlOo9Uo1z4Ms3XtkuY70jbCoNkDq-pi7j79q_97AhSojvhrIxhnXmdsxpmsChbBZAitOOyq6CIvlUAB-gC"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9","value":"Tac9qULAYcElJNBzpx7lf9zJpdlbRWm-AQOdtkl8GiZK5E8olHfrJZrjRkocVDcstc7__eA6LiamfDy07tXJMe2jffYfSCJz-DHJu0rZBU76pcyjSR_0em-ZrE70uUU3f9QCZUzSFYzyHv6FZ6f175_nL0BSPqHjeSmM2j-nMMyrkwDl2CEf94kKJ2lwnuxsVO_IQPZ2_uWoFN8eXCANxlaZC9fbhtLKDW6hOIDSUEzhdFeDw8bThbU5elstOlPjMBs9QiOG3KZW8tuia2mgsde3lAAibkGpThpCiVqSqS8kI1BT2pdK2GKFih_ZGvCHLGPF5D5GGWcrIibfZ1noU4i-V6md0-Bajh0XSQ0TqNjye7jkdZQm8wCQ5GQxkdDD-teIsAo9TePoWLRUqwA2lICyRC_vjL2PdnfcioUEAJI-JLF_vEnEaslZIIuzmp1F4TKLrKqmauYDBLO35jP8ap567eCYJ1rZp2I7fEIgYBB4xrXNStKRHJ6gZV4FIpkz"}' headers: cache-control: - no-cache content-length: - - '639' + - '641' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:45 GMT + - Fri, 19 Mar 2021 23:04:47 GMT expires: - '-1' pragma: @@ -528,9 +528,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -551,21 +551,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78","value":"JbSIqWs98iz8M3MWh1f_9FK6VNBbjPTVqoGBoesB-u87-GAZuWzTqMaL9J5ETN2HO4rJTgSB6F-glIXrwtq7jYhHxxrblyVR8tFGtiSAmF7V72cbxBFi0tgp0eeIqK3joDUmdC0AiVfCAxSIYkD9lSz8Ow75lmuhx3vQXvKJLMbFkNFi_3N7FYLT7BVSGkkydujuyVN8MezOKaFharwdLc79fRWAIwlHB8qGCXoYAkrPG4TiDp7gFcIR6bown9nQ0sfxsrCDCRvrg38r00P_TNYwEY7Vi6IeT4FPpJtEaaoHWqS3U5It-SH1L4I76b4U4qYo7CO1C-2ghEVUDtmUq2TtiZLLjkLya2Ri61_gtwptwTE360OzPpgsBqsdDkYkLRM8L2S0ZVEyL3Lv9ikOL3QOCc3wjIV37V9nT3ggmwtfa70p3CwQPGi0P4MpHB58u5ZhJjtGnGfp0R2VdcPD2HcnAqgYg9nHOfVh1MVdm6mnNXvSnBldaYKriEEc9qg5"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9","value":"P8zVplUWOXCZJ0N3f-9pImiGuxBdqHM0on8wu5OJfj1KU9aF1n8bsrsk8ldoTxKq41uSRDmhg1gDpqu_iav_z7Cv_OFJdN8IE03FPzThvsecoXLkMHuEfVPEdHIcok3yT3Ekj7M-Doi9SY-trT9oZIfAEmZwyjI_itM9TXg81bwprJyDrToZtKc_QoCYw38T1qx7mLfoDiJfUwgtmLuTV7qttrcDbg-9b0ciw2W6bLuzpFg9GGCmIptfrW0oSptn96ZBoyUh1vn8A2sP_AE8tmWzPRHjH5q4cltBhosHn7GddadMF1bRu7yGSQ1mudro_UQGqvjbYt-d4ZDDxY0UxdmcdAWEnTTermmLB83WAljKtcDvqfUZn9H09bavEmhitFnYLZvygJ5Nr1dDoPfgs0ko1Ig1QXODgmW4NjnUbzHuEJn7SaLyjaPEbEu5Rz_x66ot_8hEqe5QdCmM1ABp1RNkRk__1gmgHs17bg4Ars6aLPjfahg6IPsvFeUDsspw"}' headers: cache-control: - no-cache content-length: - - '639' + - '641' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:45 GMT + - Fri, 19 Mar 2021 23:04:47 GMT expires: - '-1' pragma: @@ -577,9 +577,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -599,21 +599,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78","value":"J_4zTcpP6V16Nmpx5YGY7_NbHfg77GfOrciK5UsJrgNUBTMP1qCwc7nvSekVooZfdDJ-JaB_svWoKyyJBIGzbz5YcsHCAKbsjrNRyA6MFcIcNf5M-PiC02sdcRgtf5X0VXjVRG9Vksn2gg4ZbEf6-85G4S1yUoH4CwS4uVqFGBFaqiFy5ZMJItYidirpEHXrJ-UykeM4wADRRT8qmtzAQ4CzuKjqT4p5QfBfLtYIFEFVdAFU0ILOZWnq-dK2Zvydp30Tc8k1IfJH_skQ2xr1H6nEezE8byXBMjHvn4k-LPJkHnkvXzRtl2P-XPtrVB51g0tlQBWxpIo9orygmMAjTKkVjDC0CeN4cckQpKyVlmiVDbN1n3zBFET9_aq3nGXy6MSG7vX4hbKuIiTGCEKAd4aSbCJGxJUxdGUL1V28ffJU00LP61csur6-zH8_BdFHsGp8YFv-wamJzkKY0Os4MwU89ZPsbvE8nuo_zyzYwlOx9Q-Jm73OOMJiT7aR6RvM"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9","value":"LKFpYvCfOzJ69Zvz_N9jTySRfiMjLd3swCcyt_O03S5ccrjN04OSQHSRMidzH7mp6TC2iNScTlUHGpOW1AbikLHt7twWgc77PWVWxKAm5MlZJqACOmll9qGFbPBNUphDSXE1GZPFrOtJXCLKbAC2tEcyMa57X4x2ca9MZS-jJBkits9a7btGC9fyOWP17w1pWInsqVPLJd5afaQwsaKQrU2bPH3bWfEDv7FDw880NtV5QnlhVAxMTsdjyKC-tHkPJr3VUKiLE9npPI4UY8rwfPRKtG_JBwV-Y6_iyVfegBdnXryPKsq5IGygRJsUhl6LZSsL2tE9ZyH7LoUjdxGefIn_KgD9pquNT-qHVPqeZW-AaG-4dksnmdf-hIV37PfxhCvzCyR13yznE2VV6BCG4ftKRaZ0jkvPOi660TafwIBNuQEF7uT_2DkbS2MKEsCK8CJYswP6r0zeGaf3DZgPH3xQ_MjPhIxz0OF06VJv9-jkui0UUtXv8NMRThdSLhF9"}' headers: cache-control: - no-cache content-length: - - '639' + - '641' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:45 GMT + - Fri, 19 Mar 2021 23:04:47 GMT expires: - '-1' pragma: @@ -625,9 +625,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -648,21 +648,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78","value":"yTl8WVg5hr6tzvQ9PM9RX4dCy6K5ijeMFp6JwfLPUXBewml9k9ioFAOtDoT61kuJr-MOm5qi2aOrplhhIth8OkoYxuk9m9SpFMwzMFtFv5A5-rh-rVV5xF37r4YUHICHasgJzTr_oFEQXRP3Iw4wpuaBhGnNAoqZVeGHn7uhFVlK6clHB3sMxkvIPsLG30DaVxV_TS6FhNeMc1hDPPdX-Xgx6b6Q_Zdg59NSTxbO4Xbtkhv1PHQWJbzN8lJFaJZjJY9hC-KrOeTjNhEd0XqIxwe8viyrX4Jkvk2PUdixcx36aYisZaJmzKtApRRv6h4_vKQYtU2ZWLwf0JJmAPa4wnDK9H81po7ZChYkpMOjc6932FKVqaXPeTq-FwJH_emb5skj4d7QzUYmYiFZIBl2YKKM62T_XcXuU3sBLtR4-7OylkI80FCR0YW6gnIPxynXYizwEYEx7tY_rDK722r5_vOiTTWnp3lz8SkeYyvStMbJ8VPzrU1I9xy_4EIXYGvS"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9","value":"qLxgU1Gr-sVvALdsq82goK6BspjEOJITW57QiWIpY8qfPncd9JZjv71jCISrCrdCMgHXimpN6CbndU09hK-9wMy0Ytte3fRGma-qzxxr90I2OOAVSykGwWA6hs_EyZQeRS26ybyjbJcEx9InRvvyAZi7DtWYybBie_w3p7lnewHLVqrZvUhmX9sp1HC490jvufcoddFq2oYqdBETRY0lpwnNbtTZf6ZjJ2C3pZwgbX_wnNl3fvHdZJU7v-Rz-0urcvM2RtxOA7aYUvqyftbIBjYoFSQDDoxOaRoBtXuenEP9Nc5qOC8ss8xunx4viDwQVco-7w9QDtgupE8J2_4tbvdYszXjqYPR6RRJaRIdHm2U3NGtW9ZRU3NA7LJKy8s_ievDWeGw3W9cWD-ViSHDP3_YGgakdUV4kM1mIxU6tLVDk3yim_inYa8uFtyPnPQ5XkXVRvaO9ojwDIHc0yg34pNGu5dIu-yWNF5ZGL7UDx-SZyrr3LY6T_9GN78NedG7"}' headers: cache-control: - no-cache content-length: - - '639' + - '641' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:45 GMT + - Fri, 19 Mar 2021 23:04:47 GMT expires: - '-1' pragma: @@ -674,9 +674,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -697,21 +697,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072fd47144e/86092d9c420f4bdda6de5e2f9b125a78","value":"FEaWrEARG7CIyIx98lGMk63a2sWskE9scOheRU7bqRGb1Klc1x0jSzGfqyYNxLkktqRs5rz7653bGdPW8sHsYz9VuJwOMtxX2BtwqHegCp7u4OFkNxHHZMkqjoL0HfOlhH-G9teQfaCQjBr6CaYoon1299v_jT9lp0CAVYifgwE9fYVDkMeDQWSJMRuChE0X2Gan90DOAm2jyU7AVYgqprzRLUsh9WokMLM_g8Mgwjt8HCdmuTIh01STNYlncRxtcNSaxsYYeWXpXIys1l3w2Wk8jHQtfoxjqFqnKIP_Ji1wW8isPkLI7BX1UZOfEpwdFBtDlVI9u57WyIZRSP4lU3V-kNMYCXexWu5UeXZlTpO4FWW9gMV30_BTzgtnuCPxpLhlcjs2mvjI6Z9wScb7eoB4WoYdIm_wicHF9FiIqeZEg7JpesRFxecqqtDxIziiVW_1iGjox9QtIMnIkD9sR6Xm2VauTc4_2auzui8XxDHEEW48Gv6-pqCenky4rmsY"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30727fe116d9/1ed6ec4b28054d9f9cf3384f5548d3f9","value":"BSA4X4N6508YKH4OCyEGWMjmWyYI0qxGtMK3znX2V5rQmiRpchFeVtIoPj5-2fD3Ga2rFbGTeK79U3fDrU6O63pJr1Hn_U4MUQ2I3mT-B7C_t-laX0C5BCP3kwQTc-kfZNpq8FMXq20ncOGjwDCgD9I_s82wafGasYxkdD6H33O_C0Y6GWiUHdNVlYkpKpfNYXraaJSkEym59gfODn5EWAKhbWlZKqjYDD9ytYrwzxsc83JWpCQZz-6osiQxjefaSfKbChyp0o4cxpCiyV4ynBUldZ6tr0i-zh-ThmlHMmLXe5p_u8-gy5sLq82ZVeKMwNM6yg5rIZEYif1XnDDmFvdq4NJLQrUxK5aOkwGhqlSWlLmmr2PL0Bk-bC7Xn0yvMfQj1RbapqX4mZ0m7ZeGdWAS5ClIZwqrV1K2JDU_3lejal8Ui1sYl1AJGc8f5DkytKkUza6aqZ1PTb_h30Z7ewoTFXx-wNGr6eh6jDxTwYjR7RoYrSb_7AAGEEBWnof6"}' headers: cache-control: - no-cache content-length: - - '639' + - '641' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:45 GMT + - Fri, 19 Mar 2021 23:04:47 GMT expires: - '-1' pragma: @@ -723,16 +723,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"kty": "RSA", "key_size": 4096}' + body: '{"key_size": 4096, "kty": "RSA"}' headers: Accept: - application/json @@ -745,21 +745,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zXNiMb6_Wd39ij9H2isTKJpJDnCSBALE3Kihrx2C7hq0R9p2NSFCQ4KT2KCFJZ_aPZUv486FclymgbTa3RWpRlFD7MoqRFrdtYjYKIMME4iBtjxZy89ZHhlU2O7JhnYYzay5GXw6ec-ZpLOK0D99rESNeqrSHGI1Jlzj6y8Tdpjasjq88On9bLSVTdi6le8KlmVzZAlK5GIz4U5uniE77-WUU2vGfF6TEghBpWNZ2-1q2cQboceGx2L6gQOnkdtAkwvCctQLGayooojVXZdpVpr3vamcr5Pd1t6KXntekvMZhJntPmfusX9J0Dd3nzSEGHgpMWvtf1ZkAIRoBFzHij1w4w4Sxs9NzFGebQNnUYzx552WLnjbEV0PX9td0BmwrUIOAWJfw_5lGxdDfhLeDLnJAMbIVA4QxiCP8kSfwV9sWVxpArN0uwBusq6Aqv1bfcmuBCEPBijnP_PGQf4PG_bjvcds5DQUXj5pRxJMUNIOKHy7R79ymWvbQEz066MmHuVwbp0aPatcKhhA64LcXGCO1yASxsmMjSxsYc1RvoKEMesGgcwjYlyfHZr_wkTkAJmSwLC7TTbf19kSVDFp0C9C_aULmWtv7tuI6lzBnaYClPAhG4ne1T8PcdR7yS4gdGMnMiUL9d8aYRVDRPW91DoxbxiAkeU3LOT3eoOeEDk","e":"AQAB"},"attributes":{"enabled":true,"created":1614986806,"updated":1614986806,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"pTlS7NW9IQ9QTFXFF_VqajE5JiXhmplwX4OirYjDDpXxD6zbuGmy1Di1XELOXoyC91dcDCfkbSAGD_DdL9aFh028lNsrkGUlLLsALx7v6gcxm4xNv4P4YnPekjTorm8fsfHIs7d_Fhzx1V6yaKf05LXbvajlWfZCNLDC63YFrdyB_bY9jW3Aq5e_xGu8gD_q6yblZ2bu7aK8RHOLI07ZwATHzqTjC2ciTU7o6x4ICvdh6pfkDPEOBmvy9mLor1fsr5rCBnsqzXMgvzf3GJ-Dndt-vCRkL8lG1tYs9dPMD2pjMxJPEKuPQ3MJZ9mdGmT_7uJ-BnhXjKM7bYeAMUj6baXOrfDazujv-mf231HcmmzyueJTCnYfOkOFchOJMt4ytWfDS5fhl2LkMoOVjnL2TZEZp8FOTJcoSUsj7CCnvx1vQ0MRZbmP0uCnKkJYRZ0Hq3zN1UVCYZJFOHnysYirTPPl3kMWGcU6O70YZFi1dVCS2bc4Bb28xFLIO3HDrud0OhLKLbnImyLmQktEkwgwuNf4uTXjMf2TGcq91YebQx9625xgpd9-2eFr1NxBjowfWHB24pU9F3QBfnAbS-uP5igqrmYRDLD-HCtZPaihWx9fsaikj0xY0afkPoLBfTWv87gQprTCX3Frlv-xZ2dpHw_SnqebewrCpGIHrT4uyxU","e":"AQAB"},"attributes":{"enabled":true,"created":1616195090,"updated":1616195090,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '1040' + - '1042' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:46 GMT + - Fri, 19 Mar 2021 23:04:50 GMT expires: - '-1' pragma: @@ -771,9 +771,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -793,21 +793,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec","value":"AZ7a9iVelhU3dQZHgePpj67HSrtQuPxMboNak9yO4aPY-6Vysw78keA_dsJIIb3Q44AqA9NoCgcqDByi5d516uLeNgVydvpGP_jP8Key4nCCCYcJdnT2QOldE7-qnIBzkCGAvhCuJpDtWItATodzcoUJx4JbCeSO7vYsTtPJlXdDs8-Ph83GAgKV1SS36xEmEIpe9L-f6YJwn0Ix4wyxg5OTSuyFj9p5m2D6vvyMrlJjbro-1bnmXFChTgiE0g0oatJeVRQ0dzxJ8Xm_seJM4ag3xiU9ALj8ImDp1WkKqw6hIKIOscSDOxDTR1tYiHGVoSMSZzCl_FlUTFK5GdUkJyTumfoXJxuTK5Mnd-uMaz4VWnw6Y-ZUiEalrfg4jGNZSlYDPVDntiRVYem9bvpcUf3DTISJ5hgxDbwe8la1WP2TIqiW108S2vnnCpCEaBxcQOxRN4ffaC-5cyA1y9_1rR8oIoCaZmH1Ryi95HWzKRtH6ybUFwlKvmx8TM6X_-yBgqJnvofT2v3L8kMh7Jf85qqEPgy0pQQfhocpYzL8C-RcVT9hMa_oW6x3W4nI5LJ7o75Dr1AXxZNkglzuiTMQBpcRy4kryYGCW_HOxRfcVB5fPXUlPp3kp_3BZDivjwtEYl7JRAoMUAp_LbWRH6li8nlo3YJMXGZHPjNcyQhXANg"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c","value":"QvdaLPGq4rWORT1o45QdF-qEkwzVgVwziJZ42Oj13qrTJ85-ORqkfYT6NB-V7uf0DDPK8s9tRMEgPBHSeIkCSrDaTI3gs-Ey8_IA71LbQs0t5UddyETmCuX7WkDWiRVIpu58dv5Zoh9M9V8P-Ui332NV191vN86VFDxB_iXvDIpy_lChuxXVW8V9sVd2kvgwfj3QUefOAIKzrJQK4u09nT_ZqMzF-YQI2oOtN75MNEN15fuXrwIeXNxrBnOYcXRCghdau1vh2tRNhPz8DWV_Kv3EiVj79xhfbYkk6hprE2w95R8mfb8G0WAKWrlioqInCv28qtuxQUWSNZ48qZ66wEPqli03XMImci-55hx5SepmSIZjI40Sr0NzOBYXyfqo-v3pqSxAh7VqFurJ7dZoKNzk7X8IyEDjnVlC7mmCKr6XRIr3wXVxEOU9KKXJtx65bbBulVd4mmldBPoM8znHyHb4FjZG8yMQPERYC77QjUoPCk0Nv6o3vOgfdmxD2QpIjeoYsxQRChJCz36Rr-dZVhb1ZJj1HFt0myk2JdGJxqBvKpvoG8L3FSWyphVBZaCIb8egIy9MJ8MnxFlGy_VmTz_CP6ELscdVQv9c2mOnRJM8gzxt4YgLb92aFbihPTdHRPIsVDg2sZ_IVXD9ihyMpPAPLkKemxxFPieziueAwvI"}' headers: cache-control: - no-cache content-length: - - '810' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:47 GMT + - Fri, 19 Mar 2021 23:04:50 GMT expires: - '-1' pragma: @@ -819,9 +819,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -842,21 +842,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec","value":"RtPgxVV4EGQTfB93GDH6rLBj2UjzQJOKX-y0u-RbmmVoaiXkwQIeTVlkJmd06APgQReAbpWf9D_HM0sMyR2Bp1HvsKc2zdgyL2MK0JoShbxyMM0ozJ8TPp9jW7ycNTJJGZb4skyrS8fH1GL9ehRAJ4XHqz1kgH21I3yftuTGHiJgIyc_nX4LCqrEjxKk00_UDNz_nZLHWUw14OQU77mr7wJWDIvSpnbYG0wam_ZrZU-0_6UAwrGezd-gw6SZUiqA3kc7HODpZ7pAISgZZF8SqUx2F3IFcaZzthSpzN8e9k452n4jo3oaCUvLWnyHP9aa1bDJVaysxKZ_67j2ULR1oY1SKL1j0CChO_asq2Fe5ulGNsUczS8R6Tkg0svgURaOcOTbbpJK4x6d2C0XmX_96YBSl-p1vjOXFzOitCp0xVxSxhED0EN0SEMfTw40bx6RLDbU7ctuZ7KPyen34-F5JT3BYGavkJd5jw6TBpbluqMd-mMTCAQZC3D6-0xZtrXxH0R1CA9rMcN7TvR44934NXFNZS8chWkN1JuHYZpMojMenKYgNLMpOuGrSBwRJcrLvB8ClxumiPX97eszyUzj09VApRwS0qPQ84O3nUWu7Gk2PbBWR8Q0REqleSTn5zogNYEIR2KS2Cx3brjKzRL4kNLQeTrC1gYWmsqvyfiujIg"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c","value":"JAajH_WvjToNYdWu6KhtI7X6gVu2Odsk7p5q_skhzZLO7MasE6QncZWqxyfvCe1zyJj1boNtf_elt-PlmHbJTllf_x0AvKEPzoVUFYvfTZ6wgC5S2aTqdfziAPPepeiFYXQIbjDZt8y_LZclslsU4rTQMEPNez78cHXpdecczVUmC7eWaxf2PnED_iXCSK4HeB0oAhc9xbFhtAIzeJC9QERw3QCQdgCcmiAwewX7pK_oFeHLSGpxUlu_2ewGMUz7XjbaRjouYAaTzFpuVTCbDCtRjX7IFIxjbLM3cFzZpA1ymki9_803khTvRKQ-j-XULA2QoyLBZXrymxPwi-bCjkrKCNzqLL2dEA0Mn0YwF3v5R_k_F1pvNVc40WW4oB6jsMoM621te4BAiuOkf6PHw6sDnK-OHUfaRXU3XuPVGveRIv0FIMA88p7DBmVdbcKGEDoFh-g86pHu8PAjXrfslkNOFzFnvx082Fm4I9EaNkWivwlFZeav2lx7szHlnGt6zPC4Ax3z04KeDS8I-ymZ7LaOLAbi4r6W_VFiNayN4t2kCF3-kJ05GICe_35dFSCI3UlEjb7eVHJ6U9UHcWDbQRKblRsx2w1WZ-fG4EeCym4149zr5sxmDOAyNsHn0KRw-SEFY33glOIRPkAKqKel7ngh_aTfpy-i0Cym7XbBiV0"}' headers: cache-control: - no-cache content-length: - - '810' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:47 GMT + - Fri, 19 Mar 2021 23:04:51 GMT expires: - '-1' pragma: @@ -868,9 +868,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -891,21 +891,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec","value":"wOb3g2sttYUvpz3bAyueUUJxVhbO4P-zzgzH91D2wrUKkOf0W4k-TcvDzi9DCbgS9R-U8sZ75NzVnlAK9AWJTZg3bfUDilDypTs5mUW_aPNiBsSQC78F-CUXQeHz_eNfAfFTB53vLOSFpnfjsZUj7eGyAKUNbqF_Nt4pcu7OJQKMEpLUINhuhtMvXBrhSR8LzU4ekzSEpThhYmG7I8PQL1EBCPwOZTiQqcPeojHO_DvMo9GRKfD_m12YKq958TNxl0GGMhBgIxU0QOu8T_ag5eHMcYYoX4JloQneRe5RVh694Kr5aFs8GrkP90Qv_Ayxy5jSAhyA9Sj4T7zuO-wziwCf7tPEUnPINYNj2zMV9PpWDumfwNIkJrAO5g4LBROXAnStWTTLk1fhLM0plirT1lrSfFWw6prT-cW_WNKVQ4M9ezWQPxhBi-GC3b0XJRAwUh_fRTqsJ2IFUPBYaqWYkyM9sVr43JXmj09llnrxh5LYui1xYuAh6LUTp7q-i2-QNcsJqeUaM20IaI21CSjiRTwLCVAI8SWW6lMDcG9aEBhkC7_ArxsYdZfiTnmBcZkF0pzTWJPmEo7xyniUZ6dc3zq2y15YphS_PbQC9gjstrGj13aTUZy45Szc8jnvhi1KOJRWzPWNoSZCUqdOkBdPfUxoKr2YvQHsQhbc_8wfLwY"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c","value":"bfLZqlQ80ahZNnPg7Ismzk_Ma6695-8bIPre9jeqXIG-1wadeOLGlFVTeKExmAAjF0Az1W0KSU_xxef39HphzXIiZQ5_COf2BQ2KElw4RtWUjYdlXdBbLpCEpsK_kEyYp-Z0lC1RVfaex4oaZhK3H8ue1cdkdrni4AXlvtmgGnvDJpZBnK-wmCiX2B_WGS5x-ClqY8jVA2ZfY0_0A-7Vutw87DrHZr25sM8N03-PynUaAHPSCQfEQeRqmoNVMbssnFK6nfGJctLP4pOcoE6sWC1yTkx_wXMpW1lKsqJwG3wKtdfaMhQv-hkfMd-inXQ04oPMVsWGsq_-uVIJq7EReq1QavvrHrRigXk7pmsZp_ro8KkzUyqxd3LCawXwY-BC3oRub69x-567eP96dxEsUQm-84dDjiumvlRua7oIgGiKkvNEmtXx9rnzqzYHGuXCBds8EkDz00BqK4eWvC_xgDYG8imT1fM7y2b3iWOKDaiTCrtrH0Rclr8Le_T73_-MNPHb2d9OGEuqQtS5wImFTrHvWf58HQ4CtcmfK_UANdRromSvamD9OO1yhqNr8uxevF2y3OqFOrfdKJmOML48Gsrd7EsjQFPb1GdUvbDFttmqMKblEOugb_a9uyFY-1KbHlj6dyUbgEmKraJJLA3sl7j58hx8AYCfedadg11qS5c"}' headers: cache-control: - no-cache content-length: - - '810' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:47 GMT + - Fri, 19 Mar 2021 23:04:51 GMT expires: - '-1' pragma: @@ -917,9 +917,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -939,21 +939,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec","value":"utdR-hUyHrXVlycqlxR4bgt4sJ6nyZJuAJ8LsBKEQHW8sfzcPDdS7lrSUdSXhQVzCbAqTsCzD9eUWxLu1wZ31xoIip9UUFeGiNVmcnmupKw7POKlfLvjlVj7Fm2CB3n9IMozB1IygmbItJl9cFmX_9eDTA2Sob9ztzDD3-b1QyXq0VhW5NfkoGG-VInPvo9m3rFV24LBuO4LkvlHsULjUkPnrx8aeBOWVBIvK3eNfmIKk0C6GmQTMaiz0ee9bPk1TpzMd_eq9nKbzI1uhsYPjSPlx78QF4FL25-AhWheqjrKZmIfklpeAZs4CkkLwGknb0DeJFOY-Hjkx4WxHKuk6Yq8Yxi3ov1W3anfUOmTDwpxSMv8L3IJ7u0fCvETDp4ReFvU5YM_lAO91Ud9zcRwGGo-YaKuuj4LK4bdPtwzslmbhLgmWmmU1LhA_EWg5X4qcvhuBX3w-gqjFAfPacCmsUFvT7S4eN3TyZMvric78Y9pSHFYDoFNSPO9oDV6vRK8j0qEDdzqsYUU3ArAHp13ZWqNHYmHAVmgdF7gEuZF-6tMtu1YiCzRxUYS9wy50lOBAm1vncKs7WkysOhQJYGKRc-FYvlAG_jP7ecuuRXbeZ1fHZIqIfCeEuEElTrwox6gDPdoMa31jE44tnY_GD5Aj1ZxFDHnB-_jMfB32rPq4eA"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c","value":"YmnrGFAy9p3v9a-lcYQfW0H3BblYriN9_6oBp_bEK0RI1Ds57dMYnR03e43XNBxBOhNgdp6FY69RL3wjLbJu7BWGOw8PfZ2-xa-7Qd-j3B7FUXbFBnY0pdZebcghg-szjBZncp_es8sIk976wS_oeJwSmC4HBMjTd9-sscroItdcnLyZ6XHOUaKl1lIrmfo_jwS9Tshdac03md-2Ci1L8YtVt94uSSX1dqXziN4jLpGkf0qrtd-KegLuFdUsryaOIh9Gs58LNlfcQGNnyVJ7hPu4dTtSABtObQNU39Tk_NuQwT1Il07RafTK0C__BdoIpd0vaXEGZLVM8dsiQQYDvwGd7WsUSZuU17QnHETsqNSf0irvpYboKUZVdsQgckSdqSPHsJdJ5_vgxssObsTJjQLzzw0QuAFJrgFpQPeEgd_pNQokJmuZDRT8v1CxJNsTil47e8eisBII9MQtcX3UbVs1GtpmAItzPuEgDHXcMvJYVF33nn2FTsfUJ9lLchbBxaNJ0p_Q1p-nN0SLGphUGu-lv9ZqgHZRGD7NXQQJUt5QGEjrHb7OrNJL0VqVOqptmaqrXt1PHvy9D_mO8VPSEwr8nIPGG92mJS_UVdKxjiwi8zMYrLNYRcQTV65Fq66jq9yKBqIWxaTn5np3KuqTHf6uXdMUqEvgySIoubgh_vk"}' headers: cache-control: - no-cache content-length: - - '810' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:48 GMT + - Fri, 19 Mar 2021 23:04:51 GMT expires: - '-1' pragma: @@ -965,9 +965,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -988,21 +988,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec","value":"B4-anrRSO-TIlGvLRzRQHqKmpNOTAwaKmotLjCiOziiXDvS9r7mzWF7lka1li_k1de26IyngD8YburbXEg0EP6xqRfQUrvKCyk_xhPBlCj0WfnAEiTjNDL_rPjCZCcYn6qL5aAozs7oN8SYH53iR61cJeOfyBs9rNoh54zXa5Hs8MPZ1mfDPIKqaGVAgHsfEvbZa1AQ6MbWYOncLwhme9UXHxfttmR5JOsTWM4cbH_PNN7AZBRIRvQdlZkLharptw0xJXsMoLnyu-9u5SCMy8LvEQA7PFQbXOZcawgnfF0LnzLeSpd2boKJREzQZ_2WU59yQ2KOGgB1NjeogVh7tWoTRNb8PlgL4uUfglXKpbrQBhPLrsfTPyAdGCa4IYQyHCKppLoiUbIxSHmU3qAJi4gdpUihUl7D9n73YB5jDhA_OpJt03IfqQctCl3K6oofS2h0fLOZahcWSiANB3x1pjW1t_DTw3n-yk86p08Qn3ixTj2uxalu5u58x1hBJvz9pdgawGial-WWgc-fBokl7ZQmyMIhGK1u9tzH6D9CWAbxNkp9W5zzsNTfHLW8Gd1XoDctGdDe51z7DJdI8C0O06Meozu1BYGEQmIryBTAgRTii2VGMo4_ftqGXHHimYSATXu0oPrca40l4KXglLW3RtSmSb8gKvipzfTv3zHumEQM"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c","value":"AiEGv-7JTrvjMPrYqIJY1VgDg51Enx3W9KvHP8Jk7ENtDUTGoptyqdHqGIDaLYsESwjLxLaDE21zg5n2i-jZctZIGGMivFdNyFP8VnzQ-sc8SL_rMc5UQgR0YFVhDwM48NYW-eoE2A4V0eFWBkF-PMte3eQgApj4iyXv8pLfapqoYkYRJJZKcuofiB_yu13adq9yAvg3PihPXMOb8qqZWIPSlsB6fNdSRHWTmXLWC3gBHZ7_-bdtO2cI9sS9qokH4EOT3nrbEg-2mx2Wv7eDXGafE4vrdjL-KpHGum_0G7F1KfphJlgUxKpvk0svdDBVCM5b_FhHx68ELXLq6C26wb6X5uwxFRHiCi4y5cCOXccYgz_HcZVhJ--OecYV8sLKxg3HDIY6ilEDt4L59LFkTptwnCrKA92EMciPWKM6K9QMPUe7566yZdwpygaQKmLf8-tnpGzYYuOBR7G_y3wBcaryG-LEKR0TVtswQRo1CXzbUz_Wm8oIk9EIhKJsyneUEoAKTTLGeaiybAcgzK8o6t4jYD5Q1n0GXzDFTlBjlOSNXH_apxdAS9BtC6QV1hXWIdPFl1eXvrQoXy6sWwgECSdUtfVRD3xhEq0FemLIqcVPDr9TemhjXsU2NqfmrxxydPVeBR6yI793f5vcprXCYLN_7479-wmgEahc9i3VJLU"}' headers: cache-control: - no-cache content-length: - - '810' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:48 GMT + - Fri, 19 Mar 2021 23:04:51 GMT expires: - '-1' pragma: @@ -1014,9 +1014,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1037,21 +1037,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096fd47144e/4cfe37a45d1c46158208f9bcfb19dfec","value":"yRtarVmxe7K5UXCTOwByyJ3fjbJQQ0aTz2mqpY_jiK2upFwHuyPbYJ5yF1OJ9Qgbk9EQXuYYwfuLS4Q--BLfloDDV_9cEHQ8MbGddieL9oD1_nVvq5p2Woaxb2NFDwjhrlwOl3u1znRepVM_6GdYJvD84Nu0b3Ez8w71kBA_xjz4Nerplm9N_N7GGkqGCL-dYNq_nJi4grQp5NAP3u63e4gQBvIAdDQ1sg2W8k3U5I3AWZGsbEo02VMUXi32HWh3IpXeyZGVbOi4bumLS4JTLqMXp9tGbUPteyhjuceJY1fjs9dUSjPOVS3ADZpUsapaHm4wKI_6U8Og8_uZ5FMY6MIEU0X1RQ32bDon9hBYwPSKzaZPmSuRO0ccMJ_goX6nwLODCG2qYy-g77ZTeo7eqmCrKXlZ6iCnAF_PzRkysRh-4J9M8YtH0Td5iZ5ChjDYYYGvHB56TqPDcaMs280RC3pdh6UwgVNFkZe1hOqKL40Bipe8TmuqTtYWz9s6Q92iaa3yFcKldl9kJZzLir_81zUQYKTTSeo-3EjXQYPXi5MUl4pVKXcZhb_ZecBHz6SEfLP4zjYPfHzdPTA-t6mumAuqxoSI24DcIaOlywHfrDlN8K560GBVOKj8eXPFR4bPdXChivk4hujgyC9wr-s1YzA05jat9kjIlgetZINbnY4"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40967fe116d9/958895978bb84ecc9bddb1b963aa475c","value":"ZBX99M72aLtdZ4JA1MNbRHDw_IKS7sYoYF0wYPExwbluXSXblxq6bSGlWUuVBlwbB4NxKbx4FipK321hVjFI6n1LVk-6he9PdCRtg8Z9VIxAh5ITtPB3WbKQct3D3DGO8jhRrfFKCP117rQLqhhjRzfxl3MThWeX1zVFMbGqyHQeHrzn8zMlcDtFkVN8GUa63-MpKMZBg35liTptCpLq9Jahtt4gzWSiTfY00hjF_3gGD0bw2wRYvufiOCsc2OvhVnRdxGzs5iLKTDgyTsu7MPa9OaMoCtSP1CaODw7kWDn0-AQ5Q9VYLezAapX6NY1RQoYCWZaDlMItsfO1-SiV48Kc9HDUao0cvwGim1A5P8cQR7pL6Qn5463oIYKEd8VGh_AdsTuHTSyhp_RGUYyRSmmpbI64uejHGqnVSvC_HTQTs9nyHSK9nmyO2jhh2_kc8GsNnlfspyYS9tplaPBw15sgF4R7r_4HvFvxyYueqYXUd3drgC7Rs4WBfb_00reIi7lzDe6XNwdoPZricpFrz_ouLSpIFMSgX4qKfVG6pIPFV-4ng4nht6yUBs5K29cfrabjAXj3Ebwg0nbG4tPBUMrG_Kc96Fuds4fOZQWvphKEfEXlN37rFwX-k0g_HZTcDcwJvZQZD-RsGI-EWGfwYMds8_FHNgYkP7-fRQjX_O8"}' headers: cache-control: - no-cache content-length: - - '810' + - '812' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:48 GMT + - Fri, 19 Mar 2021 23:04:51 GMT expires: - '-1' pragma: @@ -1063,9 +1063,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_mhsm.yaml new file mode 100644 index 000000000000..bdd897fe49ba --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_mhsm.yaml @@ -0,0 +1,981 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '0' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key_size": 2048, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195095,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195095},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28","kty":"RSA-HSM","n":"tUsiIvfSRYnk71-u1ACiGMDVHVQF9eZCfZ9iDlZ-M270afMKTXMAZEM4MyVuBm_GjDmmpBtz011kCfsUm8TxbiOPjkNGcVZOxZ6JNJVPoBg1N_H27mMjPAZGUlXoHiYmtWpROTQ1A6JPFUV1m52fFd2e10j-EshLr9E1VSNUULCXI8UFXW-SA_F9MMw1Jvy-mduntIrRDdDRU3DGks-dHbkxRsE3EK3ZCfe-8GlCNQ8yQ4GgMS8hSrfRH_tyjXqvlMtn9MKoX2h97myJhNWvv_nPGZBta8IhoBPGQILLhnHgMTUuNDvutGc_ziP5Xszlk5gAyV2HU7VHN11uUUxthw"}}' + headers: + cache-control: + - no-cache + content-length: + - '732' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '242' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "PS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28","value":"UlKQz5O-bUjoLnWt2A1NGAhp8GylAKe8jA8Cj_pixF3mC2WgiULUomtM_Ekft-kjned1Foa_3tlN_UpUIOVsUb0QRKTZRIKjBJ7_1GiyUw2M5Lp26oGyZFNqhtJeKT54Bt8gOQ_DAbDuThHG7ohIOrg9CMDRaM-mFZHYuTmEwIArn-eAvMsTTd3Nyuu3U2Vd4huoVVRfkQ1fqwabK7-0Gjcl0J1TVV8_gVqSSStrtgk_p89k-DRCGhsFcY0eNfQVi-S2jcaTgAi3eGMrLb7R92JmLzg92Tyagf2tjK073kGt6dZ_pk-cxrlvHJ156j0rim8pPDI6XLUcI0TfZLD7WQ"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '87' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "PS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28","value":"se7zOXRnuSBdsO3EMEOY4Motf1DuHbI39GhLOcqEJNG1Ry5GoszhHnnKFCiiVow77G5f8sOUnPzkLDR38CBv4RUdnAzsyQI-Z_OF_VMVpA7WsXkJO-CCYbmMfbbFXHcek9iFEW-0FRTyRT5ix3I9n2wMKEaZRDcRt3keIcwBuynQde06eUt9cjefuYlS6wyjELd7PF8ner87l4RwD5PjH8IVqHs4YPwlId4Mvji1aNnHuYtmNdYr9O1uEBchwq9ijytsBaklLIDZgm2kFsScNfQ3HEQrX0Abokq1VM3s66e3GWiBOcP6KLbaAcG-aaPccFXtp5zSFIjtgwcSEKSa0Q"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '3' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "PS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28","value":"L0G6qfixda86ISD03aXatwgycp3wTTjDPShkvrVAsp5LsWMlu46V0g3EQc_x-PH-vpfV6z3v4iCBcs7ChF0tS_IbI6Dd3QsB-9pWc4mSl4JcUZfBzBStnvVGf2KDD0yqTkpQG4qbX5bDnMMJAk7I3vtqWf6o6FhDCo5c8onEm5K-wONupgrGw9Je8KDo7DrkDnpRVPsnwlG8tvQUJObC3m1T2-UEWfQ9eg8f4iV4NOijyRvS93BXusXtErV1jljnjdV08LO8PbsTJz7G4t89y6RH54im2ljOh1T5C666CKxX8rNsoDsh7AwH23C6HY5eVgYwUsRhpmNmmv-o4YMnMA"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '2' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28","value":"D4nMnmU9Xx-j84eCUw94FLU7XsUwPYFmOhEfPAqPQJ6TTpdl4cYF0zM-1cK09LfEQFm0udXiW3BfkxUFB9_A-LLgGSIyxnPzEtE68evJbEYbQ6MyuRpcSqsY8BCaq2c-H1JgmsDyv6iBdDZPM2jv99NgYV1GDv61cpphjGT5jxKpyhOIGy_ncEszAeukoxTmA6EKyVygQXf0e71GGOIYs_o45gBoK5hcbvhZvTPXlqmgr0uYRbbJvF3kAmhgNTacalG9lfzj_S0A3vz-ApHsU5d79az8qjMSvdBALN4zp8NoMSCt2ECoha45wY7yrYR21t19TGoKXccIUI-5_-mUhA"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '3' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "RS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28","value":"XBgbfTc5FU0WXZNefKDHAtg0grUcWP2C2J8CMgDL4D0f70-OyAWkj_tgueKePFpOVdt7_OvMXcKsRCdLzxV2brqw4UTwNA37Yknfcb4Acj33XllP3IsW02P1Wg6z46-E1G2uvgEmVsarAzPU9qJFqvFSEZuBAw9jQe5xOJEN8clif97-_dgho9IXa9eEYof7Gv4sVCFDIIxypORn466_rZe9swVbfZe5e0kNOyyXjgzlHNM3Q7gKASrDqKgijXUP1Qb2dopRDyBKaOatlacWmNcht5uOj1ns-CJ465Qtc8_8wopOjM-XmZWAnxw2lo6ukZ7babpnfSr2pOnYQ1Pw0Q"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '2' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "RS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048aeae12a4/f11cbe714b164e7d3b25d46ce2843f28","value":"KoPq8XIJwiLJe4IWtLEioBp1Ub6cQefzWMqY6iP14LIjogfTwDrWNdbPINjSsGmM_Eq3n7VhuSKpKaccvBUOFqm3RGeBimmUIrT2F3KF4vXLXtKRNW8WCC05dgtg-ksdjV35AkPI9LYidKGWK5LNijoolPsfqDRJS_9wEfYzRWA_1GZaKnWSyVUjRxD-fjeAqzHZ2andPFI_izTsM4_OyFPaJa91c0mxKiMngoXnAQlAuw5Fkxv4nfOzrGSMYb9Hc4eJvo9bxnaz-fg-A5mFQx-B4z4HBJk4w3Xj-smYn1ru-A2V2ZpkdwoSPO2YXHYiWPlI6eUqPOB5hkR56VdCoA"}' + headers: + cache-control: + - no-cache + content-length: + - '493' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '3' + status: + code: 200 + message: OK +- request: + body: '{"key_size": 3072, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195099,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195099},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029","kty":"RSA-HSM","n":"0yp4EQzDe5VZe47yIqHuHrCWjzUffooVa82XwsryVCp5KtYr4YZxVeq1wX-4SlI0P7MnAAZwRfCpbYXRVsfBnDAIxva5Wtfr_GB0cVMFP0QNRN4K0HAVS141Q_TNn_SfFgxGoxTtcVEkafMCdE-ald9UAhf4bi_VgwNo9VOW6OYRBOKlEqo7A-n5nd0QT6UcEKF2Nn8G6jastOco8T_In0wGb8TKqZpre-eM6lhyao0VMThI7zmlF4dbeFW5ULZgQ-oBAQoukDITGILnmbwGQflrWx6gAMzrq9VPUqCsLdBRP50KzBeilAO8yp9g431m2AH46ll0NB8FHrpMIP4sw7JPGNHbHj5M7khMEar_SDxzf2Bwi9e_nripuJ6agv51LhzqU1Xojo78PRfpnPXWtyAsJe7QNqWqSlCtZLJU_nqzLwZ1V5VJyixFlMtasISN6gzP_UjjGKUShbDUzfQ3w7hl13QQby5-xjN6bha_u7TsJDSeSy-a2ut6HMEiEy67"}}' + headers: + cache-control: + - no-cache + content-length: + - '902' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '241' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "PS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029","value":"0EY1UhgIlqLa5ghLowzlYrPHrGTeOc7nGB0DKOIFfTNkgOGVh1OtpyTVKaSYSAqigCUu6fsPj4Zco3uPPZ_WvhQrEZ46OS0P8L2LOxebf_-SIpjOjuFJIRX2y_ouFDTGYBbg5SN2BPFa1x5SbVVfxWTo_TJDejLKzljvH-iyLvwgY86MSOhcSwWR0GByCRHebWUdUA7E2nLu7-5U96vMP14qEmz1ED7nKIeYaUGDU2NPdapiFgnji1DbuZ87flyKbJE43MT-1yYEgymWpdUr-WE5J3AYiQ7zB_QfJ_T5qxjEaXjezSuWdugX0gyaXZtoHJwsTwJpJm_i2Llz_ZrmyjAaonuO1r9o0UR01YkpxQqZ2EH8W7QqM2b-m9V1Si0_s5ee7bXlDLUf-SeiQmW3cXp4AtH9rTPBtMWUFE2NdTmoUtfm_9zNciYp1GZYlGr3grvCdEJoiA5SdllDQnM6YhLrV-7ckmA-Br4uPlj3HcfEMKnhL1EU1Vu0UaUb61eK"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '93' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "PS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029","value":"x3tBKhqBfnsxGJbNtdi9uLow1kRIYfopS5TOtYxYhxgwNDJL85XCjxoz1RkeU5ijVCLg76PH-T5gZw8mBPi2C1KrXj0yU2J2Y2wUEMz-JtZetdXDs6tnEkRgabmlgkOitEQNDt1t3hanZ6ANtcw3ME0trqJbZbRNuiQOmR8-7hPO1K0yvDjLrpm7NVUGMgGrHT8FNSmOsJ1wFTsbsudhPckIjmkEr_FZ_PHaPrFpflb5obYDfM_sJ6Lj2cWSobcRO-bce7x6rvWXsD9Leme_Wz--sZS4DNszmqToSUKbJkx-i9TxJDhjJFEkXv0FEXaTxUA_3OWC-bitBHj99IFh6gRcl0nNTHjZUy2AqxqT0aSA4lUCStZRk9AXnVFh5HdRv4UM9-KMK3Sd5p2dWWH1FrQLbtHHI8hsKxgJPYtIE35eTGm4AMtmGj8mq3mAc--U1y1sykLsRiyv1GXiLgqC4-guSscQ-lKX4dH4ux4BN5_cgV8XnffVN5vYlFerRjV6"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "PS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029","value":"dzYLmILswCJP_kI7C5pV_FbOQqWERRE8fy5e9WNTXaabQpOs_nA3BXwTryzdcejklEWP7TagLJMGv5R03M9WOyIdY4Tc_rj52BK3f8eWaNLrT6DPIVLqI13P42AMQFsqc6AMQUgUqrld1sz93DmWsvmOoaVFN2GuUgz36f88T6i9j8WyqCfWlgh3YNcMm_FkA3nWcU6TO3iniUiLWuMWgKouSTYbVl-ZzRjesjXflMggHVEUMJlhDiUBbAZ1_KqC8dlLTq4Et0s1Ffn1QggmlQPAm6iK9ha4Bd9gTSBsLhDSzH5XGcv3T2s8F62NBdYf3BxValAlSS_nDtozeKK6ny7gmtbaZCvaf-E0UQbM-kTjn6Q6XmtN4bYt_jx57xwGCP__31EB9SymDz-6XwfQ8V-kVt3YAuuc32tvIlmhVib9Vm_LH_R2xZj5bb7mID-mWESG8FNY1OUTrdOa5DeMi75XujGJNRWoozcMB1GBattFKQgIr-WuvhpIV0_YJ8mS"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029","value":"EsUSo9znk0Z3hfpH_TQFnZNyRW2CXD-lpsLrxwCeR7jVshkBJzO-hwUNw2NeyjtbjlaT-vgG7pzIJvrzniwlQ9GR-wR7oAWYId9etPoQ1ifPCe8XWJ_iE5FDOF1vBIxoDczGgvu7pGsRBsRtsg-K4Y3AznZ3QyLjTFRLRvnOG03r3ewg5-3f2mkbc87BXAHQUjtDLZwcM1KZUJj6fEisbz2OKy6bawmy1BoW77aSRIvk2vn_1JaAlZK2XYa9j0iage6Sg4Ya1NExeOR4sxPg0YyNESP13pi9xKqqawQhBA_vJI1FhXJQGFa8HerzA6SkKkFyFslCQYQfj1veDDm9XtIGZAsdBDNslv66C09BSE74ZGbX4oswY7glLsOqniRSM_udS-tDlEdPVeeHL4T063q5ci9W5pmUGn4TeR9szHDPMTIj1ekXz7Wnwzc0zCZ_VAtuf5dcsVSlq7jyhyYxCvLAJBVwn7waDy7v68cZ9NAf5FZDVMzdicrI-lhD9hhP"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "RS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029","value":"w5eXfQSezn3xf0ODM46yygl3y3cj8fQ6lmx2BDV3oNSQrkvUHOt7n8jyPN-yiyJrXizcjPlWhrgNmvWd-gAavrDzOfQGpnGqqkuU4hGSFGmNxrB-zkWUkE9-rEtO_7chMhjIURFRz46GxNBj-bhBi_pJ_U761GMw1AuGrJKLvMzcwpHPp5MF7VtpkzWQANS1rfaxIgQhdppbK8Q2kjUFGA8aAnHecpz3-VSogR9vTXEQ9E1dQAxuEQM-Cpw3O4lQas4M4AME-sTe1cCYyZEmwSYogquuWEpV4LKODMT0haz3O-SgyP5ufa4t9Uj9IXSZs3U22-xmJ5-J5dRyhvsLdvKaLUOKrF3lu-Boi1QA8usFBHv4W-DIl_UdRtJLY5PxoPZIrYO0qrV3hCU_YCTPXwLzUM7YEffSei--d8PGtbH7x2A3_qp9GhcwV2D6kD7n_bJtQ4OxACZeiQiYASs-9cVuG-QtIkFSVWMvRkptPu-880LoSxG623DRDIfrzvw7"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "RS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072aeae12a4/349d7db87be44cbb309d3284d6ef1029","value":"fSbl3vtGLjO8httmfb9KHDGRzA_xU0kLyAzfaI858TMfpYTx0zG5TGKuwNm0hW5BrRoh2Es5ugc1OFd4r4Mbe6P1JM_Lcm1d0QTWBe3E6F6nU0B_nULVlabRsnWw0G0u354WhJcfvEVCAKv0lngO-JFdUpSpusbgQK6KDvX_p3QakYeZCMA4G07eO5EGRRiB9KPzEpT3ll56w3miZKoVg1CiA59majRIgnJgZ5G8MOUE8eyVZusgF0UI9NZNiYa7l1-4F253bne0X8iW8sK6ROKGMYVW-hzPRozl8afzcn6R2nxJcMlVT0njtFldca0rIrmUrQlAq2D0upkC44X7wxPzJfLLUbuGmgwp6E98D-1MGnmriTu-95nUVxpv45JaBTkjPp7jB8_s37Dacrnf2VTz9PMimFb3P9x8uQD-zbuh9nXK-kLfHm3PhVBNJP1DDDHEDJ3q6QMOFHfYgGBqC_Wo37hYpT2dxO-50cbltN0OQaYvdFROmrkJXpBicBUG"}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '6' + status: + code: 200 + message: OK +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195103,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195103},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b","kty":"RSA-HSM","n":"t2NZLIHkcXx0HWtVtt9cv8jloWMkszErj9PTbZT-8_rwih6JBVVa3WTPyPVYJd6U1KoUHW37HQhkIRtZvnZYN_CFVIxHFdbwnZgsRP-FcG1vsb-JoCQkOvZMdlNQmvPA055V4Hh8Sd4aRfd0lAL1XMIzQO7NWVVaBVaZadR2J-DDvy5njjuzshKbBwS8p2yVx_jIUob-abdkRjGDwmnn_PSb5-9X_L1Sip92VKntJi5sn3_wbuUqAQ8rKGi3k5m_LWXF4Jkm3yK9Aos8YzxYVM7wGCGeBP2gYclOXdB_xoWbjen1C63BtqmgSbBY6TaTokhf6nNjAwJsjGQNZ8kOXl2ZzPUiZvb3fR-opf5E_RQXs2ayQnEdaMbMZRTnCWco3nTy8HNN5o5WlBK7PQ7R8hmyWOWIzJ8yTGgcNMcjfNOzVYyur4qxXUsh7J8lDtSKyjSIoYrzyp9BMceljs8W8XMBPPiH0hyoCmakE2AWMjqFt73tkqA9NbP_458Pqdg66f7SaU0WxHDpJ2gyXLnetPFbdLaCdCL0fhIKB0b5DB9nVBw4Z2RgOV1fuu_9h17q7NTSFvSlYgjpgmSTPFjG2uhGdR97HwrdvH7u5lRMtQbP1xcwMrbqop58PmC0Es_4UJHhbmYFTVFZEe57lLOotYi-Ul1dq-0gr5OQUAbP5o8"}}' + headers: + cache-control: + - no-cache + content-length: + - '1073' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '225' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "PS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b","value":"L1q0eTcds0N03J4mjIv0RNrMET-z_Ykx4qx8vcxToHFd_c9XGB1XCUVnuVlFs5wiDuAn7Ash2amHaysYgn_co0tcUS7XQ8FQ_TbeK4LKbJ_3qXhoWoH8s2yqo2TH2YS9p6bkCkQzlYWXn3HpsqogiLEFEZoO5SMl9jo1DRpQKmW5XH7PfxWFhn5__6WhXHi6qyHl2ma9wHGMVzlTJ_7rh07gU1qFKS7-4-UnyH-nkJ3A11zwnox5gOE8u8A4rNqT4CL3g6o-j60oL2O_eWbXw6QcY2lJWcZtuDzQw-k0g9DNYf2MVjOgEClwn5sWXW4in89K3qfttRiEl9SdsZwsrF5RhGIdVPUTXyfnfAsrhGo9YcIy-RdWK8Rc_UCNEMOnfIDHEUKI6xxLRnAyh-vyBNzjbOsuQiqfwnuPAggqnLp-Izb_3Gk4rfIsTAVYeVR79RZ2Ee7FHjXGH-J4JLrR8vPhUcThQW-RM0BJ9w1EBuuf8xP-T06O0EK3ZAp6s_0FGP8zS_gSQke0wC29dUai9EErz-YioB09SpoyzCH8PGMdnKq-q1e1mB1wTjx8WrKcg9qk5VR1Wmlc1LR3eZAvkIaW9c7_yQMyducjiVLlzlMTLUEAkpZ_Y6UR6oEBdBfTMy0Pndk9fTimmGEq-HLr2V7_XYNkeRXJhQwg06f6c6k"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '101' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "PS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b","value":"bcU7ho3jUdfDCcZc0JDpNc4p6L6mToi3wuCe37rpc8nQCBkE6tQJBP3ia_tfLn6WHop_gdGLzDNieCYEmSyx4xSoOUdpwoLiEnLhT9vCl5iF7IimizXfVAivHrNbVZShl4XMRBlgypFlUZBw7UtP-ECe80PZAVRGniegSh53cAb4gxoQeZUEuneycsKNaVrjNi--aB24XolSaAhtQTQ2kVjTiE9D84Bg3Q-syTlYTLz5ktqrXqYPsGDYZXRM6SKsY-6gtdWH0F3hAWCRuvHJs2KdEQpwlk6je1wVzrdqfAxDi9Y0nwcn0SaibWIRjrQ77qQTorkPBvgVH8clA2uWlqaA5vA5EwK8lpqi61ID-jmWVSMA38GmL0820uvYgHgUEa0PijqhsVWdRtqJGpIyHZzMSn2HVB9ZEzJ1iMR4H2XMolKp8wrspWkcCrdCe7PIzqI_EcUtu44Ha0AmIl13KsqHikZkctxXY7xDLVrEdLqaAA-WVYrdV1B01S1TJKRtvwLlzz1xX7yFpKl1npSUo30S6kMXpXZP38q1cHekoo6qaI330gKbUqhycRdhMqFrMYBHBib0xh6YX_eb6LZkHDlEfby8pfEgbQVgNsghW5OcD2sh8frlS_wgQdYgAmSEDNnRz7uaBIowoZgjZ4qmZoSigG_yYu4u95PzgA4okf0"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "PS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b","value":"E6mNd-00nq9g50IGY6oI2cRYfYB7BhVZhZw89CGDjs7BJ3t3dd1O2XvhzOwswwq71tz5bq5woGJvnA74Tfj0veeRxuoMOS3rWJk8evPScAxOy32e6sunj5_GYtB9OfHvioPwJGjMUu5eR0lCnZTIhdNFPRYMFfh5EIIRB9RxEpSigwhTcZiTTI50xS9_X74Jrwj-nEQgatHIW6f2VsmAtixUz1-X0es3I8PhGINUkoaGDgyavFfZdYEKyDPsdzuT1eY2igRCieBo8hT1PJIvvDp233Qxhxdj8iS0ll3sM11n4-xBioTJsvJKZj0_1nxn0dAcIRi1JsIjybzh24teIENFwunIyzzb7H6ZWUC_Brqe8la5k_IABNWexfWp4VlCtMH2seRwEgsKA-gOeZ308YXowls-bCHG8CBObc0tOzOH6CjVl3eE4ghOP6rm-T2KidujAz8rk1vNf5jhGZrpzBx733C0u-05dMm7KetDooLrXvS8LbB2JXIGoYtwMQPcdbjJk-r8Trc46GXgo7op26dLIjDCFBb04cvirfFKeSbzkggv03xpLe9hgOjoOJhwjA5JYdXJQm3PgcxrzIhjX6N3hTyFALc8rh8yFe-GmJzmN_JCsV6_yCh19lny1f2DIfxEhP6cmqDoQ73o5-J0q3VoOUfV9CJLkFKq53zrbsk"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b","value":"NsAUKnp3UagS6ZyB3KEc_PRel5AD-VDxIaazIQ8mh79ymMYvO87frJOOsew37JqJQghnC_twhinpMuSQbN8z5I_a6T_DJNNoCiHAolkxSnIgWbgVVdawXdq6Tdz3OpBAjSTbXGYjXZBOJxOhBygVZFMxazDwOoXth8dyEhRL5IYxua7qKfe6vTIO9TVYvxoiL90L6jWAYPdG6ByBn3mJHtwBabWw8aPOzEDM1UmrfBLTqUOU9J8AE8PuFPCRXiu940I-PotHKUebYzbes1ZePjtGoCRgF-1KF0ZSEQJjn0j3uwqzqzm4zY8--tDPSDEppqSVFIiiYNOf3E7SlqE5C32LCP5DJzP5Mo_8XHObTybcZ2nvpIrtSNo56--k16LQAmDLDnlGecokqWp-7k-Q5lTSunJ_Lb-SzTbuAGOdfCfnW42l_xdSnsrFicpckFu0tKnj26Nqmcs801tHnlBAUlI1NvejcDrW7Ut6iC2cXq4yXnClxyjL7GtyCAzYV0WWUAqZt_JIrd4WA5yp-hVwUEu7xcOX2KJp3mEsHyRbMZl2hzcZRiqz86P2T2KzotoTN57NSj4gjm6o9Sp1CQaxjVzyFDnZH0NYirx3g1ZW9AlxfHO4vtr47vTFoPnYlruE_ilcS30tHqVDwMee8pXPsgpZoRIan447Hza5p_AN-qY"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "RS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b","value":"Awr3SX_FAP11xLul3MiQ59LwBkpBwBpY0nQyzUe9ok-7rVoAklAdSBfXVrlQJjvDzvmFpMzqo81nqff6c3zeZBeWhz4rFE3OcZnUX6dQ61ldFuYRReaC1H0oAI4V-sVcfvznILcKAtW1uSMpSiIxiGjedY3fvLMVUn-nLEtq4KLJ06XF0jUu4gszYz--ER6Ga6tPdy1ie99AKpdsSTRZ3aQr3OG0g2tBGY3IZxDFvxIkIfWRjkdFomJ2F3rbOPt-7ASDNknyDuGjO6QSNexsvYkhTj7E8UBxYVP-83lQ4c6EUFGVNQDmnYDjVGLxKiwdcbidnYQMJtCaImmKDlr-WXr7QTiSwaxOhRm7Dp9rEduPMYgoMSs6ioUtP8VP0--zZf4cPfLiFdpWDnP3w50xV5HpFtmWCdbgW14r3JcxT3vv4rNEMzMOlLKUBtW68TDFBZuz54svazoZb-uC62p-JOhR_tYTTRuIsABD8iaJ8odWFv47hApa_BmxNiLjdqQPtGtWpyReISpxSRkUwRId4YnSrHvYUahoiTEDq-ekoPQ4l09eenqmKo9NjFtJLql58SynwYcLWsrmUwAN6x_v595K37JHi3Kae8k2GyaotvgVZUmYWHBHbyIqHh1Sg88x0e88muMJzlZrgn6ap8eNPGIevbMKRxYUiRMklyrTmg4"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "RS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096aeae12a4/0f8df4e99a7d4aa52cfce6d6b0a1544b","value":"U89HIoMBrMgmaK1UYygJpMCSveTr6D_n3aA-ggfyTVeACss9aTKmzQmVQ058Xt5NjEw1A_nld3qP031jd-8UMO_oUtS42c94heuNFN1MJMuecXdc3FNlxFrhUrGAfEgeGnf3gtocn60oO1OKdhruWv5E-okvzTrHi3-VAkJRopRGVUQMYOdvLNPWteXw8M4xDTbomX8_rj785PZqsBtpzMmbP2kOM2-pdS4Nr6eg76GtiP1sUStaP-JyMkyz0RW5oNh4v_RkH9f64L6cmFU7i3oZXU8h9u_EAy7R2Q9AUHkqHlE_1EHndIeK-biVrEliiORaiWJyq5DUAkN0SZOy9gxg2SK4ADcFgthUBr1DJZimwPNKu4XdldgywkMFypV4et80Ubu15w3_oYMOnVI65pwbtiJCb7YbQ9cJrrmzbT4lF8sRRcky15H94zIY4IJK3AN14h8tQEfuQgBahqIjx8BCClnbHDuy4XjOpLA9WNz2gnyd1tI0aKRcX5oXcTR0d_f-x6DlVA0cuYkoMjZsBaQq9DnFSEQwmUUieAIGqq-3hEpkDw15AS2bVvUB7TGC8n0Zo5emdqI3B7nB2gZCtkIzb5XJscrDZJigl0AcyWMyXDRcSRmvvgf8n5zyvwo_PnBOjq0XYWJ-LA87glUhqC_7JO2zSzPPO_ZW-pqGFyI"}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_vault.yaml new file mode 100644 index 000000000000..0d606e8c5dc0 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_rsa_verify_local_vault.yaml @@ -0,0 +1,1074 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/create?api-version=7.2-preview + 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: + - Fri, 19 Mar 2021 23:05:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 401 + message: Unauthorized +- request: + body: '{"key_size": 2048, "kty": "RSA"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"7U8FhVIzi-2Oa_RlLmx6TBh11AHT3LMm-5I5ozQlk70O8Kvn_Ax8SRTaJmWmZLR3CpgQgzPmS20Uc3N01sCGYHU2kYbSxUdE1dgar9EUNQ_UD-jmrVvFEb8yFYmjov5WewI0198ctQfr-C-Gzmz9KP9mMRw5JJJxFftuQOLRQyQgiUlWiK2Wbw1YJUiwhD0BxB-DhpYyTzetguM18GLW5-5zc-_F2j0rHiObWgdY59meEZ2x4CHfPdQMgAdYP1pXcL58RuMEP3E0jEbjneD9s_vJ7_KVg6u0p3duPKLFNdUHx9uUL5FLzPKIV45si4jRGyLeJnycYFZPTdAJKNf0mQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616195108,"updated":1616195108,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '701' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "PS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0","value":"oaq4rT_CgOdMzYdm7j9uZSZ07OqviFDZhhV3nnePNk5zvpF3lrlSK5X6_ZGkjjWGyQf89DkkCor6i5XkHFZHpiECFyqvLpBaf8NK9Idz5-v7RslwCNr52l1ZzzosydBCLj3CpZoJQlzj5pDUcV-J_ibHvcmw0fVGPSufIQCzTTsvC9qQ_P7aNfkTCI4yUuPeOUqBQkqJRJ74vWDBUUIo2JGm9uFDRzM3YTIObDyNT0A7Qf2syA94F5yuwcuQ06v3zsqauXqhg0-uhjcN0g6yO7u7nk4eQEYp_1iYeOKVFLzDkZvhNWEOvw5pQBmlJ__s_gbtwEH7LX5yshynLH0zSg"}' + headers: + cache-control: + - no-cache + content-length: + - '471' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "PS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0","value":"YTsAT02hfIdqKEnGHJIRnepidBNbgRjNdR47QfuxnlfTnisiXU0hDOtd52YAzikEQW0n-eUCscPQWH2eUwMOKdGQ22vmc1ToiAXLoJpVmlmIsdms6moQxGGO6Avx5ggO8r_xaHqNpCCp14ukdQck6IgJ24tQuJr10F7VEVYiSaf2sybHVVw2kvway3_qQVB8s69OLQ9j1S78GpTDCxlIHuWgJwWRud7DeNb9IRa842USNZE4rFjS-7vnwvX7PXUq5ctiLRtj1Q1AiNb4b5CkJoRom2yWYS19G8e3Zh_gepWITC_0-FaVWKZ-AnXICAO1lEonRSmSh9hyn-n_zuKHcg"}' + headers: + cache-control: + - no-cache + content-length: + - '471' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "PS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0","value":"jMlcaqmcgzc2eRzkzA5NpQKQ1rHNthiGX61_Rn63UaT0tef8CfLW2ly4dboStK3YkZSkB0MJvmKyAXwrw9mbhkXRZGVj6WT2K5xk5N78jZoyxMU0WKXnspX0rZDgugaqm0y19RXQZuXMgG3_-yUI3Iz5HUqr0Rv1KhUPdRGRDQStFJkdV-uWyce95rMFJbrrDbj0eGwYS9uSpAZzlV_TwPsdWPxcUzwKPwLCa7QeaeREGR3qFjGuXlduBalvHNojlMSPeNy1YIpv8x8C1nrYWOqpgO5SHamNNtbPa0YGb5PodGMN8R9Oz4ET_A2McrTAlqQWw0PSq2lnKQoLZtsv3g"}' + headers: + cache-control: + - no-cache + content-length: + - '471' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0","value":"ajdvpW59j8GZW99rm3pjTqoeIDpboyrXwUWjBwsn8hHRiTcjEZQH3qveLw6fMQVnz9ScJMBLzWqjnBwYtS82HF0r8ovAT7t7PgLP56gKwAz_MCQ57-YppwhbWqkKqyGEmBNvvjq5wWpQPYNgB-ACRrQU6i85fknEYimJCtWCCZa6Dvh5pnDRKuaIw73r7TMw_nJFMk_xxql_AzWBXejvuv16_ThbmhZ5dIAsriF99lLhgxjpv7qP9qmYj8mDRjNGYgnGiHBK0c6p4EiT183L1H4NAPgY_D9z8LEjpweFl1PlkJ2maSqhGO4X_aakS6bdmVKLzD9zkbRoxyeAkjdlCQ"}' + headers: + cache-control: + - no-cache + content-length: + - '471' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "RS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0","value":"tQs_IXvbeCtn3nSpoDotCgD4WaRHWYS90_-4iyh3evgKL82_AOEX_GTlo4oN-YaFdjdVh_opUXRctCMq3Awbe41V3jMDvUC0VvMmFGX29nTxuKz-skkBPW8ETFCLGL8HJYvNLvZG_weQQW8keYaOOGDFjhRIMHeQQG5jkYGIXmYzZI5-NVg9v4ksRjoAJ64vkQ-Uw2DE4umrlw7BBd3qJzUha3EzJhRpxGJitze5az_z95rYAVrmrKSylmAMTZWWQHMyiR-r6Sm8cAydEvYSNY1Fx4XWP2HnI-PPol1NQwvY8lq0LiYVNK31EO5oqdqJpq4vpwh02Tp4j8iBf5Bzag"}' + headers: + cache-control: + - no-cache + content-length: + - '471' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "RS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c1db131b/ece43377c68b4ca894d2a5e03c640da0","value":"J3HF30ak-lN5UmwpKbUt2c7SgMWa-8FCxodx47eRyrj-d8Tf49Ol4gsc5LNEEZkVXM0EkgxcWgCimwmYQn6PZrIHhIbY7V0ZyVpD4vMskvotRBlaMbwL9HE08Ydk_abrs8cJkLX5jrSynFX0NH9Jx66E13p4ap1Nzrk0pjL0F7Ou7NNwAAH6hC8quSCbj6fMpOwoZerviSoWt8NhAF9Wq10g_TFz0p4UEpchfG6P6h1TbP8O0MH-uUzBG48eqkNxPgAMCb818h8OuWvJOUvMfYuRV0UklbA96tdaYayf3rbulYlZxDdI7FY2omEejD3F4tjnRQGAV9vcN6GsGYbawg"}' + headers: + cache-control: + - no-cache + content-length: + - '471' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"key_size": 3072, "kty": "RSA"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rVFhEAJmTdh33he33CHRioYpiLmcWH1x4sGDeRpvze5rkOCEL4wVWoR9pGHKDOHjX-P_QAp6ttftbK5mgbxYLIbaQE5lBs6sqwLop6Fg_DAXGqpgCxloPYqoiVJSwZdxjaa0msMpcmlJ4kpQDOCKNBM2s6maYbtDyYfUF3O459hALTC58nCfNfpnDFOfutNKKP6avstHAiBQiDSGveX49-DsTStG8_e6Xb_K2MAXVv75vMTEvZpBnsE3fZtvfRdfJ8YyORmUGUy_zxhOorltP-VjZDEfriCpbJ0Ou2VF0ogC1uwDh5hbzjba9IHwAzHvFBQ-5rdf7Gdbb0J2jQetR2Sp9BmMojzfmIcUBxnWPGpxrGDypI_ZKBvsdo-pf9RSDe--TaPs_JN7e81-Joz-OE0AzDQeS_Abx3KQJzDv7a5DA9GZ7S74rghEZONqLu-5M1c2eQYV0cyHpZUhJW8MnqXKq26vcMufejpewDfGGweKo8fV5x5m-biV_T5hkJD1","e":"AQAB"},"attributes":{"enabled":true,"created":1616195112,"updated":1616195112,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '871' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "PS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131","value":"E_xL4besy4dryDZ2dFn8rMFOydjqx13FLvUK8B_LD4MjUmGnNpApeZCdY2nlnuK-rJfr-xi-vQibL8k8HNCeNLWY7kv55kxSTCPNLCyM70MLZScVmJSoksyvl9Wgmo7Rg6cvG3bVfvtnAixrPwTrz4fb0eI969txkfbwoMxbUZRfIldNwbRwBshxIPuho26QDFBrwATpM08UGbffPImNQnM_qEiMUzZ4uT4n_jSgFo_h0U7XuOV1wBvCWTqhzpv4CqRBsetXD1THitqeJqiInc1AiQOK0gCvbbekUuIgXuYd6pESvWzsnyhqp3x-K46BHDcLjUVp7sGmrPJTLxHakre8phvPQiJpDkgCW2ILzpuvGytuLMOfTD5OTkmCWq3NxxcIyItksnIciIy0bGF8SF5MLUxtuSG0ZrKa8ushL1qxNmiNlFpAIxXumFJMjmnFuaN3T_RhhVl5buZgQG2E1xvzOv7Hf7d7IZ8ui2r-JKeN8FCFarcQ1wNhFhuyY7aY"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "PS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131","value":"Q8uuMhxmOpn7WzZsPFWonwIkl1v_qhpQTGbJXXeMmA_rBN8MvUGlcYI2lxmT9FvWagEQSyT1YMDYvQNd_IJqTG8-xnFBAP3nJbkFVjHdBbW6RO_Kd05tH6Jx48jKFjmEiXdutOJeP9tB1HglbLEZkhN9DSn5ZzZFMPl2xY72UpxE02vUViJSqBrLajBfbjuNQ_6xi50b1VoYfKUQG48SqXHqxNZSmxZJ_N5MbIZrrsWJ09R4sggObJNS6vEQ8LvXX5EITcDpMqphxuu742FFPb-Xn2G7Tr8kixWb2flCAoYkk1L3n2DJWHxdHzHSyRlXJmIWo5LwEljlJjxi7JZYjScuG3rDqhFntVf1WRRdnN58OGOHz7hf-U7X_vysZcxN4einW4poRO4qvg9Z8aOaJWu94yvVuwYJcUyUso76QIusuZARkbyT0qG3zs-bUD1SyyGyKyIkpd1izxZvtvi0mUaboEkMU181AuSAyplBK8qw2S05mvhG1tg-OVs1MB3r"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "PS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131","value":"Z2Ba-6E_p87l_8VAtsp6ROIRaDjif4Le5tESEXvW5rBB3cV_8i3n6kkXY7CSWI7t5gWgGwy33Xyhy7U1TIHTQqITMxkfNej0ZbfFc_zBUXGOtXtR-l1Kdan0ILFxl6sE5p7Zu0611pwEr2Z8uuK0s1KtwEDkrtMyTZZfSeXIUkbK05fnjqpOU7goqgooTGsCkjDWFeOFOKZwomphTJY8RDCKfhvyaBcWBmqh3WOGQ6BBQqidHv8hJGQPxuraKwR-a5u8VJHSC8mXQX_G4ZCQk4SGseH-Z6jCE_X3mwOcGrZumxDyi6ybO2i2ejtA1bkmhR9oz61fUUxFjXjPu65qOAbecNEtG-BeeKRJ2QGfesoWzWgmoGYoEP1IjzoNHpkF9DW82HFXZklrbexEFoEUZexfusBUiAj-xrJUsfEGkLZrBxLfTVcxsx5Xq_8KYE5j1uyJFN-DDmKroy49iVCF66FGsYSR_w5mC8K1Qghi0b95daN6f2txN4mnsYcK6HEf"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131","value":"WGnqaKgVKE8-PNtPw61rK1-HadIQfuP3fKimkpGan9opIRKLyaP6xDECyp-5d0FMFdEbiaTr6XuGS7RKV0v0V5EA3T5RW3wOwJfAWQAL0UW02AHrrgyMMH00mADF3SiSegC_imAbwedq2Y0hKTHAfRyKtED8sjYZPV40eQUm9-IsClwqEB0xHDa40DzrFNJ7VZhmROm7obYrGIuSnGLbWsDrz-iJfkL-j5LVeWwii1vUtOEckxIsJucTV-4VqFyaXKqwk9QD0qNpcfyIIiO-fSDYy2vgy_ZodihGM3CNKwt2mlAk5OsgNiGljwcpdckPztufhqxtr2XaYJ5xYaV3ErpYptW1L4Ybj6vgms1YnufkF7RYmuvgPCJ1psEL3f-Ks-aplLkYTzrkjA7P0k3z0mjmkEqQ-L3bcTv8bVgHClMZ6XwKnG2_ZKz5UlPqa7CRbSHigYkD4sC0iws6ZMNiCzLfaWJAn69I7kSXKJA6_rXZjy2bx3XQqAKSNhdcmg-s"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "RS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131","value":"anWIe72vArULvpnkJ10fNsa_JUNW5vFFX4yH1AAVJGZqMwSZyOs5zhrUjarknDg3PuP2hXcDZjIA6Ls6W1veJIIMqmtztkvRewyC79MfRaIHo8qNq3ud0wRoBxO81zx-mGPWWvv6EdAPr7qpK1C1usPshJ8Vie3ZAzKxO7ILi02G6oQXlgKyBDmUtHy2ZJ7oXW9rK_0GycGDzJtvrnNa5N6tF2QvGcn0SEFOe3T-w5b4-BkDUWTa9r-mAJ9_PWy42Wq8QpU-uDxvXcHwnsx8qzO6zUyGF-w45H6G1ClpxwOHfSuy96vuvhBa2rzWrJSebV0kJhE4X3104K3jQ72whtnjfzYKMCEWnkX-TQoLjQm_TNNkr8Ez9M_I20iV3EwP6fhG2Jq_6V4d1xaVycVlTayJ49vZ_WZG1GdOISMUZkUPaB2gpn2r2WxUatagR4b0aLxe0f-_bjzJNmp4SKtS7L-yxnpRfJr-DRkoKzvB_5lnMbkD0gtE4J83jpWfS54W"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "RS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c1db131b/8ef14c7cf6bd441898f74a92c0ae7131","value":"RjcpT0J2gFdxfMBtFZw7ShRPZnqGFckGY5wjd5qctWYxjizBPYPRXmODUlWY17wxCrG7AT9CgdN1d0c1j8cDK34y4HhCXzNMKFPpe9iSo6zcB8zuQpbjiwGuZ0VMXJU9oZVsuAKIcO04sneP8V-BP6HDN_MzfzA0ibRj0zNd-wpcmBlX79yCsMMX5mT7xTA8LVd8GWeK9x9fZArVnP23fjM5-OKkDu8chMoCfgRxEcU34kgTi9B5HLia6RE1RJkk-XHwXfTy5y7gxtfSvG2Ad5QmjTYlHGvlGL6PV_YuLt3wH87tIOVHp7Zj_dxCkL-fVbDM4TNhWFAOsrmMSLVptEpCEejUihRXwv5Hqd8CPh_04NVzEkCrBDImXElmjlTz8khXBFpL-MSG3ecqWr1PbDf8C4QTMSCZ2A0bzx50I0p6A36LcqyNTcDqJzB47NZPvbd1sBZkQRdLtm48m3WmF0vs_1KGRkxd61wzMRDTXwG0UDhFCyy2faKIGjP0yu-v"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:14 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"key_size": 4096, "kty": "RSA"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"07oqIdzJx61374s4xOkf3C4eWhKJg95dEbd9p60ibSFa_VHAuGWy7lcWDahf0yTDPrPbEgW02RtylAy-pQrL9HOiIvU-2aFTVxyRuv3Koes2yrt1qHaGJLzit9YPHVOGOnuHw5GFEJNhfsYC7XJVfwk4uZejCR1MkAO_EdHKKdRlhZLb85ZulTNbWRzzei5F57HZzHBwGacziVT3Qhy3HIN7uLgPkRWDzBrr4MTkJWFgx0Ic1KRxRornsvo2V9hXATz1tXi3rb8kMrBCyPj1mCvmvMk91hG7PxR6qRFV631qrODdNfuWrCh9SeRuAXtWvwZ0KQg-G48e_6M_3kje-KGt5UbeOgeVjnSqOK2b9gFUbVcwi5sbMMXdQ34aPfI7BzdkrdwVYKYrO1uGkV-htwIuN50tpOSVmDQN3rcadCBMSezK2uYO_vrFZFbDG6rnIIuevSGtyiC73Fp5TQzdbZGb2K9Bnuo0eBWHnNOLvIRc_SJHgFx-wh6oNqUyB2FonwPda3jBT1LQPXTCK7MUZCqXgPtCNztpKX6Xw033EFNPRcd6R6b3OzuC2pVqlpC8Ui6tsjiuvnNDI7-XGXUqdI9B_5rzGlxy7y-GsaaLaBqqw8dFqzj3Gr3NLxTtAVAQ3fAC1REIfRKtDJrGeftiOM8T4V8qQoW_taXDhruU2uU","e":"AQAB"},"attributes":{"enabled":true,"created":1616195116,"updated":1616195116,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: + - no-cache + content-length: + - '1042' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "PS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c","value":"r6xlahbNQSOz0qt8tLWQS4VTYCFk3qcWnEd-G4nAoHhuUvs22BidGSo7LbcXxqXkHr2Z25mft5g3NjKyMl2xd3W1aeuVpoPuUSgWviBMjpFKPxU6Ow69JHp7Gx8TPl-flKs3iyzdJzZ6D8P21kTCwsyu_z8kl7vDCFYss-_dAXK7mtMfVas3Yx0NC7mMyZg6_Tl-MBQ3-Ml_gx7StJkYwoj5XyHDTKg0GomrHG_zHpcdRTyYWd0-iJEjeRLB-z4hLWRf_ln4GZ5LEm8yIsGzg_KXl5-rsLz2gd8vpESX8SIPv5CkkfQsde1M9Gq2c0AW9U2pc0agzm9aL8JOVip7bWWyeZk93k0ztYPeB3f9SVQ_rg_RSch2RwGFFK8IeS3BkqujXsbxcKPrWGmaLTmtNf45R4RnqdGMfwC8JTHI6JpJnRT4drU2CuA5_ofcyiuUJRHb6JABt6Helq2AuTBcU3K-1yMUqQwlhQ39Ccge1KZrQWvoK49LCJE2b_og2iAxUhIYt1zsChA2Piz6QTtCa5m3gFTIZNnXtbTveSb6TdYjCJdthAuHpLOSDwvaJqkvJSVa6FxI4jZ8DNg9O4s1OlbX87SbYyy6757tCHAOYL-oLcTGM-K-4eltDSMOCJV_wczt-8hexO7yFoj5dHyAN2RwwdxuaDBgq1-3sLbXDIw"}' + headers: + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:16 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "PS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c","value":"iMaPL4jLDveIgiBWvFCTheSu1gcWpirSD6dn5PZlB3vjqyBKRUEVD0aLSJKvYVJT-VZco1T1PxXpoznNifMa3OhIExoP61SsqP9jqpzb5kCoYMUNdwYzo63DWRy387viQEHd6F4bxGf7T53O6mp6gVTYpkdoij3MGFpItU2oGy5p7-9Tjt4URrU269dg4OnUsTrB3bGFB-5-_EytBXVWFiyOkAEoOpMVUNBEczu8q5WRW1UPXnSTXz3yUgGZ9A76_LhJcD4elP2sUvr9MI9Xe-3pbaSfwIdiosgaIYneHv8O9y1Lq8NZ-6ylnuBYbvJy_zK--sL24IEtvyvqpPjZ6Si02Nf2wM_VfVu4uUsBKIXmSL-ROSlxLTkbMlAFa7lOeOx5Ll6keDv9OIPL0qGBHps0reoSf0LqN98jw0OHzr0TyKYYF1XyP00lbPl8FbFpazEs728pyk2_vKaC_PP1KtQIafhD_-qByIORHOa4LVwiNQVieYb0HNX-QZGsXHynXPnn6QXR_QU7gPWNNPKzgASnh8iOadYrAi7nhldDgpbBvcHo5QRKlm9IJwjKXIOTx3zw_KsB8V2-BQJYNwnWNE6VyjzRtqQAASrl-2l_xymQS0ReL35rpGbRPwvfvDVtPDHv-Ipro4DpF-8DDD7Jh2m2QJmNF6pO-PpJsgBgTuI"}' + headers: + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "PS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c","value":"peJG0p3wcn7xLvc2ybjnTLBRu40d0t4tzuPFV4NshdlJKkHAblF5qH9xFlTEEhrCVgDD8vVuagZUy9cTe6Tq-0QbhpHvx8Ab9oXWTrbcqv5XBR85cmBIhQM3gSYfRYDoG-tORTKj5msxo1Ey_nsEl-R7mONCS-pyeeoe06cyTSvCkIuzhvCO-IyNfozYBH-PFVt8E3PtTOx9B3CLJN47QGpwBzim6gYDWRrqiRdo-Oaa8_MWyQKI4JQLuL8hv_PHfNRsSAQueAYww0b1efHd5esEOb8apC5p3Dde_Y9BR42dFiN__yMXyu7WF3hha-ZX87vxhsmmqFJX-aL2-Z8h-yty09KYCJ-bxDjJ6mwS9ckcht8ovSA8zPMXKXD1eXW-mwQWaJYILRKONcFwaaOB2j1nd_AOhf2LTI5mceJV84kF2d3JVJfEDk90CgQtDNsfk4HbznScZuPKDMxkbc2uJ4LWOc4YWntdSxq97Symep7n6t3CsosHZn5Zltt3JozpdN-vgEvuJDnxhZUm56wqYmEGEpjH_sQ8YcHKa77PCt1XDn17hiP1PnoTteuTRM4sL0RozTtYVdosOff3seUYLfUwe8yOOi-FxgiohgNHyHsm2AsJCSr1NWCcNjMr7wwTqNJVhlIx_WqvgTVFOuZnHg4gDItrWxm9ryPWMT1P8dY"}' + headers: + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c","value":"KruPVV4hzWIlaHunWllX_1DKDAzjU3u96PvA8Wb1s2nwz9H01Ijrcc_LguRsdlVbYRWLMgn3rvo893JJ9TvllZB_O3yY8bRPbr1BRwywHpI89l1zg7l1ph3GnWDRGNcuTaOjGNumb-n9KcXtPLvyvbxE1nXe8rMzJEtrbTvNiUv2srUvA0IxnkslDJPGzgDBLMRlP96H-BY0zp4NE_qHlge5oclMzNF0O8Zqt6WXRNAy75kPrCtbM0aUjmd5dAx-ePBWemG38N4uaZW43BTfZPHvL8GbHrSOPxNIp-I7EZEJq1jHzRhOrJ7ln-3bwTqgUOWLHWvr4VBjm6r4XDc8_43gZ67hBguVg35MWTYD7UFZgW4mVJVkvZf8PuACHZnegmXLb_72MqMQHNhPYtDPoBXLCIgUbpSSyPU-U5XdA_HmU4Xeo1I5BPViHhZ2UMMqzFXupECfa_39JINOUsmkoySuK8PFzZuejQKpLCPewLFu3LpshCQqJi8qQzVciJcxx8ZxYiASQtc8fizJK6_ynlmwV-9P-UsH4t8bd7sxAFKuHztePFhtFcaVYs4H_XIif2EAWDK560brC33b7_qMFswXN2Q7totcjC1Ut2jAU28teJChNrF3R3Zw-12M0mlEmdbqO-BQnZTRxMFQlvy7-GTewT49l2n0kjQ0WxR-TSo"}' + headers: + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB", + "alg": "RS384"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c","value":"WHV4z0xX1sYiqJSSXL-hspxVoomgTGX2qyp4vnSqdxAUzG9M8ylr39nrA7LwvEIapIAxxp9ZWbrNF2fOccABtHd9Onneo6dpW1uv3sl-WykJt67MOSXk2HHBb4e7Opf3JhdJAiS7lsa4-YB-GnWDEXfVIjpnjlxA1yUSEjjGFJKD7mvS1_2hE6_jrtvjfcqcHwNcGs8M-KFY2B2nFe5VmpBSEL49UyNadj-p9TRedPOrHadpcHtBbWrwMEUBbllEFhNxktqjpQxt8VH0hnVTElKjkRujTpCbdGG1KJgC_h1cS8Zp59sGTImI0kwxZzI3hIDc0U05juT18XBYBzfom-SWnB1wO9mt3dCh47C4OctSHZRO6rAfXI7MuGtqcpriWbSN-_Xb9hVRa1zDsyg_DksKE8rtY2AfZGMrFLUB21kdWkhokldHT5iMw3ti-B6EFlWn2d_iDAPUWmylCxXMOx4S15gpKVaXL-oND6-cV2D06002dEzvJVRaP2wCEH5lEIAH8mkUvq69r9YbZ2EkkySY-lbPloCFsbH8Id5QaPa6duyS2gORrqqx9GUaPcotIxv6MguIvyyNEHNrgKkN07W3AnmNbJdGAZsbt4EL2K7VsmWzCifeFSskBe584A8y1xkSYQB8tLIUem1pY6FBowa8P1wPHj9kQuSRZ3yu6vo"}' + headers: + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ", + "alg": "RS512"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c1db131b/02241c14335b45e6b70684cffc40bf0c","value":"uhQh_ZRbQCiBqYWt0rHWPNGbEGJfp0vS8xaAM1qjgSj5Viw64ciesNF22DXe7MjwYZN2Vr0FSv9e2TNNpDsfv9rdRzbFHu39LUpBbg5sIr8pq2i_DNdEot5a0w4ju9EAqbzY7IZzngn8NIQQnuqE7AOi5HoztxXNgg4BmtSSI_v48jswreKGdmQSrWGc80B4S_6QJHomfCky7pym17ZWkmpPV3Bi2ZvVahjaO6uwngqUL9NgttYwUARc_esSXstZ_ICyCF2I22zQJtpsUJ7oimtJ7iMoJrCjoMon7c1Ycjb1RDsyEJB1FyapnSRnR8Mr7wSHdGFHag2Sy7iAPbVr5xYD0xbWjssUG5GbatpqEJ_rRGrHlzHzfs0CO1ufr25-cJPzNi-opI4qC38eD3U_HuwELW0cDrS_J4IPbLwZSKTYTpSuY9K0uMK7uzPlTzT9RQhwPaE98bORC_Z-fEZJa9LCqeRu29s_ON_LBwKVhGapwfIAVEEbHzetYnl1lB0vpmIY953Z7AJH5WpodIL7zvs4K1-dRyVIKIt0mS9EOwftygL46yTGSL97F28iFWMb6GhHq9FgQGbBOrcGMIMGmUokm1CaeXYj4q-f7S0xW-ondk910aX42_qoZBayC1j3q0AaDqGlTfxVhcdmCKUllauo1GV-CQHbQzmqiSyQrs0"}' + headers: + cache-control: + - no-cache + content-length: + - '812' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 19 Mar 2021 23:05:17 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus2 + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify_mhsm.yaml new file mode 100644 index 000000000000..41d2dafbcc70 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify_mhsm.yaml @@ -0,0 +1,183 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign9b101237?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '0' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key": {"q": "AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3", + "dq": "AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0wYawzUJzoyuXBH0zS6D9BqCZPeF543AmWB27iPf38Q9Z8Rjr6oB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4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ", + "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], + "e": "AQAB"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1728' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign9b101237?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195119,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195119},"key":{"e":"AQAB","key_ops":["decrypt","encrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign9b101237/f9d1b592671208d6aa441d22666b345c","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '311' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign9b101237/f9d1b592671208d6aa441d22666b345c?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195119,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195119},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign9b101237/f9d1b592671208d6aa441d22666b345c","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '95' + status: + code: 200 + message: OK +- request: + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign9b101237/f9d1b592671208d6aa441d22666b345c/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign9b101237/f9d1b592671208d6aa441d22666b345c","value":"YX0IOuHlYW7IEVboW0c8M_geUfp2pKoCw7ujVZfXZOy0890603_QcjCSzuw_qUWehJ8IYVlfaXeF3Ebu36oB6cD8oG8OfI6rLM9BKQUR2KE5VoCBKAGit7FxhAnLRFGP69dF6gyO_wv_-zCJnXLIOg1Pu0K80WVSYkj6Wzczj35OQHEptDqRmxdwQoDYoEk5iYcb3JOeWC1frcGVEf9qs0yzwx1AbgkAOPElweovZZlleS6MALP0HTt7L5zJg7kjnCsuksVsEfM2R0_Mzt8nT24LczCNyZac50hHVkCepaZDRs26KodYnSs3doFlYOUJpCu8sxil7VBTEtFY38dENg"}' + headers: + cache-control: + - no-cache + content-length: + - '485' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '3' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify_vault.yaml similarity index 59% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify_vault.yaml index 31157c576a30..387b185a3cc2 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_sign_and_verify_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestkeysign44471023?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeysignadd012ae?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:47 GMT + - Fri, 19 Mar 2021 23:05:21 GMT expires: - '-1' pragma: @@ -41,25 +41,25 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"key": {"key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", - "unwrapKey"], "p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l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TRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU", + "kty": "RSA", "d": "Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ", + "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], "e": "AQAB"}}' headers: Accept: @@ -73,21 +73,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestkeysign44471023?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeysignadd012ae?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysign44471023/c44008dcac634e5188705b7dd4f3b0c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578048,"updated":1612578048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysignadd012ae/b89b8af157f745918be346f199e0934c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616195122,"updated":1616195122,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '694' + - '693' content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:48 GMT + - Fri, 19 Mar 2021 23:05:22 GMT expires: - '-1' pragma: @@ -97,11 +97,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -117,21 +117,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkeysign44471023/c44008dcac634e5188705b7dd4f3b0c9?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeysignadd012ae/b89b8af157f745918be346f199e0934c?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysign44471023/c44008dcac634e5188705b7dd4f3b0c9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578048,"updated":1612578048,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysignadd012ae/b89b8af157f745918be346f199e0934c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616195122,"updated":1616195122,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '694' + - '693' content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:49 GMT + - Fri, 19 Mar 2021 23:05:22 GMT expires: - '-1' pragma: @@ -141,18 +141,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + body: '{"value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg", "alg": "RS256"}' headers: Accept: - application/json @@ -165,12 +165,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeysign44471023/c44008dcac634e5188705b7dd4f3b0c9/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeysignadd012ae/b89b8af157f745918be346f199e0934c/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysign44471023/c44008dcac634e5188705b7dd4f3b0c9","value":"YX0IOuHlYW7IEVboW0c8M_geUfp2pKoCw7ujVZfXZOy0890603_QcjCSzuw_qUWehJ8IYVlfaXeF3Ebu36oB6cD8oG8OfI6rLM9BKQUR2KE5VoCBKAGit7FxhAnLRFGP69dF6gyO_wv_-zCJnXLIOg1Pu0K80WVSYkj6Wzczj35OQHEptDqRmxdwQoDYoEk5iYcb3JOeWC1frcGVEf9qs0yzwx1AbgkAOPElweovZZlleS6MALP0HTt7L5zJg7kjnCsuksVsEfM2R0_Mzt8nT24LczCNyZac50hHVkCepaZDRs26KodYnSs3doFlYOUJpCu8sxil7VBTEtFY38dENg"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysignadd012ae/b89b8af157f745918be346f199e0934c","value":"YX0IOuHlYW7IEVboW0c8M_geUfp2pKoCw7ujVZfXZOy0890603_QcjCSzuw_qUWehJ8IYVlfaXeF3Ebu36oB6cD8oG8OfI6rLM9BKQUR2KE5VoCBKAGit7FxhAnLRFGP69dF6gyO_wv_-zCJnXLIOg1Pu0K80WVSYkj6Wzczj35OQHEptDqRmxdwQoDYoEk5iYcb3JOeWC1frcGVEf9qs0yzwx1AbgkAOPElweovZZlleS6MALP0HTt7L5zJg7kjnCsuksVsEfM2R0_Mzt8nT24LczCNyZac50hHVkCepaZDRs26KodYnSs3doFlYOUJpCu8sxil7VBTEtFY38dENg"}' headers: cache-control: - no-cache @@ -179,7 +179,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:49 GMT + - Fri, 19 Mar 2021 23:05:22 GMT expires: - '-1' pragma: @@ -189,11 +189,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_encrypt_and_decrypt.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_encrypt_and_decrypt.yaml deleted file mode 100644 index 3ddb44844560..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_encrypt_and_decrypt.yaml +++ /dev/null @@ -1,402 +0,0 @@ -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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - content-security-policy: - - default-src 'self' - content-type: - - application/json; charset=utf-8 - strict-transport-security: - - max-age=31536000; includeSubDomains - www-authenticate: - - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://managedhsm.azure.net" - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-ms-server-latency: - - '1' - status: - code: 401 - message: Unauthorized -- request: - body: '{"key": {"k": "4n7QyEUSu9VbavQ00jfBH-ujEYcPgPLC4zZCYPMcgsg", "kty": "oct-HSM", - "key_ops": ["encrypt", "decrypt", "wrapKey", "unwrapKey"]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '138' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619?api-version=7.2-preview - response: - body: - string: '{"attributes":{"created":1612911377,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1612911377},"key":{"key_ops":["encrypt","decrypt","wrapKey","unwrapKey"],"kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35","kty":"oct-HSM"}}' - headers: - cache-control: - - no-cache - content-length: - - '358' - content-security-policy: - - default-src 'self' - content-type: - - application/json; charset=utf-8 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-ms-keyvault-network-info: - - addr=174.127.232.53 - x-ms-keyvault-region: - - northeurope - x-ms-server-latency: - - '247' - 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.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35?api-version=7.2-preview - response: - body: - string: '{"attributes":{"created":1612911377,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1612911377},"key":{"key_ops":["decrypt","encrypt","wrapKey","unwrapKey"],"kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35","kty":"oct-HSM"}}' - headers: - cache-control: - - no-cache - content-length: - - '358' - content-security-policy: - - default-src 'self' - content-type: - - application/json; charset=utf-8 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-ms-build-version: - - 1.0.20210204-1-c9f88df4-develop - x-ms-keyvault-network-info: - - addr=174.127.232.53 - x-ms-keyvault-region: - - northeurope - x-ms-server-latency: - - '63' - status: - code: 200 - message: OK -- request: - body: '{"aad": "dGVzdA", "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ", - "alg": "A256GCM"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '315' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35/encrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256GCM","iv":"qF05HscAdwTlzad8AAAAAA","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35","tag":"DoRTRC-o7sSxA8MRCGW3fg","value":"je22A9EQJedd0iI72lkl08YajQzliL1QU7GyHKMZO0AMORLheNrCPlhGOukvxTh-db8BLhY6PWGK5cPVl0dYxUSngCEhJQcPqJQIdjYqKXMOuYorw3A05SjpnPPLclWhkCDUXZJ05WRXmoVD5DNUx1mYRZIrjLqRUY2RSZnL3K1ATA9yhkwY6urvkEcH8gbWNHvaIz6V8IP1Eq0eYN3iBe4iUu0d_3tmUxmhOuVNiDyrNDav35_EuMMVyJiAcleVFmIojZMV9ok"}' - headers: - cache-control: - - no-cache - content-length: - - '483' - content-security-policy: - - default-src 'self' - content-type: - - application/json; charset=utf-8 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-ms-keyvault-network-info: - - addr=174.127.232.53 - x-ms-keyvault-region: - - northeurope - x-ms-server-latency: - - '1' - status: - code: 200 - message: OK -- request: - body: '{"aad": "dGVzdA", "alg": "A256GCM", "value": "je22A9EQJedd0iI72lkl08YajQzliL1QU7GyHKMZO0AMORLheNrCPlhGOukvxTh-db8BLhY6PWGK5cPVl0dYxUSngCEhJQcPqJQIdjYqKXMOuYorw3A05SjpnPPLclWhkCDUXZJ05WRXmoVD5DNUx1mYRZIrjLqRUY2RSZnL3K1ATA9yhkwY6urvkEcH8gbWNHvaIz6V8IP1Eq0eYN3iBe4iUu0d_3tmUxmhOuVNiDyrNDav35_EuMMVyJiAcleVFmIojZMV9ok", - "iv": "qF05HscAdwTlzad8AAAAAA", "tag": "DoRTRC-o7sSxA8MRCGW3fg"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '380' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35/decrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256GCM","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: - - no-cache - content-length: - - '422' - content-security-policy: - - default-src 'self' - content-type: - - application/json; charset=utf-8 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-ms-keyvault-network-info: - - addr=174.127.232.53 - x-ms-keyvault-region: - - northeurope - x-ms-server-latency: - - '1' - status: - code: 200 - message: OK -- request: - body: '{"aad": "dGVzdA", "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ", - "iv": "ibitv7BzReNZiTKgnFF0QQ", "alg": "A256CBC"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '347' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35/encrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256CBC","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35","value":"LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCJfUmfl8S8IDlUyQKOpqmtA"}' - headers: - cache-control: - - no-cache - content-length: - - '433' - content-security-policy: - - default-src 'self' - content-type: - - application/json; charset=utf-8 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-ms-keyvault-network-info: - - addr=174.127.232.53 - x-ms-keyvault-region: - - northeurope - x-ms-server-latency: - - '0' - status: - code: 200 - message: OK -- request: - body: '{"aad": "dGVzdA", "value": "LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCJfUmfl8S8IDlUyQKOpqmtA", - "iv": "ibitv7BzReNZiTKgnFF0QQ", "alg": "A256CBC"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35/decrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256CBC","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQAAAAAAAAAAA"}' - headers: - cache-control: - - no-cache - content-length: - - '433' - content-security-policy: - - default-src 'self' - content-type: - - application/json; charset=utf-8 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-ms-keyvault-network-info: - - addr=174.127.232.53 - x-ms-keyvault-region: - - northeurope - x-ms-server-latency: - - '1' - status: - code: 200 - message: OK -- request: - body: '{"aad": "dGVzdA", "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ", - "iv": "ibitv7BzReNZiTKgnFF0QQ", "alg": "A256CBCPAD"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '350' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35/encrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256CBCPAD","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35","value":"LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCiqWw_oS3hdD48u_EhIUSvg"}' - headers: - cache-control: - - no-cache - content-length: - - '436' - content-security-policy: - - default-src 'self' - content-type: - - application/json; charset=utf-8 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-ms-keyvault-network-info: - - addr=174.127.232.53 - x-ms-keyvault-region: - - northeurope - x-ms-server-latency: - - '0' - status: - code: 200 - message: OK -- request: - body: '{"aad": "dGVzdA", "value": "LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCiqWw_oS3hdD48u_EhIUSvg", - "iv": "ibitv7BzReNZiTKgnFF0QQ", "alg": "A256CBCPAD"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '361' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35/decrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256CBCPAD","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypt55451619/b932d3eb22560810171bfa30179d7b35","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: - - no-cache - content-length: - - '425' - content-security-policy: - - default-src 'self' - content-type: - - application/json; charset=utf-8 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-ms-keyvault-network-info: - - addr=174.127.232.53 - x-ms-keyvault-region: - - northeurope - x-ms-server-latency: - - '4' - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_encrypt_and_decrypt_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_encrypt_and_decrypt_mhsm.yaml new file mode 100644 index 000000000000..799c209da7ef --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_encrypt_and_decrypt_mhsm.yaml @@ -0,0 +1,402 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '0' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key": {"kty": "oct-HSM", "key_ops": ["encrypt", "decrypt", "wrapKey", + "unwrapKey"], "k": "4n7QyEUSu9VbavQ00jfBH-ujEYcPgPLC4zZCYPMcgsg"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '138' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195124,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195124},"key":{"key_ops":["encrypt","decrypt","unwrapKey","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c","kty":"oct-HSM"}}' + headers: + cache-control: + - no-cache + content-length: + - '358' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '242' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195124,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195124},"key":{"key_ops":["decrypt","encrypt","wrapKey","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c","kty":"oct-HSM"}}' + headers: + cache-control: + - no-cache + content-length: + - '358' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '61' + status: + code: 200 + message: OK +- request: + body: '{"value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ", + "aad": "dGVzdA", "alg": "A256GCM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '315' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c/encrypt?api-version=7.2-preview + response: + body: + string: '{"aad":"dGVzdA","alg":"A256GCM","iv":"uRNqquCo21a9pqzlAAAAAA","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c","tag":"E-xsCKMPNr32JDtZQ73uNQ","value":"Ft-3lY60A2osYILTDGdyoaGnwN6nG8LtNI1TlKw_qKwbFqgtxSwLCAEL6fCHK2KDl1oZ_8-MeOUU0FpHMQytN78cWv9OtbZB-jOoGIekqKfIEykcMtiNQEGBPzccoSLtMB9HiK33gNnEJbil8wy9BxsuLP-hjdsPRfrj1Li8kcgEF-QAydDs24T8ffIkiLn8Kh_-14v-rjJ3YVjH9zVjluTu7JSDEWezZSeO3aT_7RtJKiZytd1O7uDX1SJSXp0a50Of-uhMx5U"}' + headers: + cache-control: + - no-cache + content-length: + - '498' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '1' + status: + code: 200 + message: OK +- request: + body: '{"value": "Ft-3lY60A2osYILTDGdyoaGnwN6nG8LtNI1TlKw_qKwbFqgtxSwLCAEL6fCHK2KDl1oZ_8-MeOUU0FpHMQytN78cWv9OtbZB-jOoGIekqKfIEykcMtiNQEGBPzccoSLtMB9HiK33gNnEJbil8wy9BxsuLP-hjdsPRfrj1Li8kcgEF-QAydDs24T8ffIkiLn8Kh_-14v-rjJ3YVjH9zVjluTu7JSDEWezZSeO3aT_7RtJKiZytd1O7uDX1SJSXp0a50Of-uhMx5U", + "aad": "dGVzdA", "iv": "uRNqquCo21a9pqzlAAAAAA", "alg": "A256GCM", "tag": "E-xsCKMPNr32JDtZQ73uNQ"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '380' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256GCM","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '422' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '1' + status: + code: 200 + message: OK +- request: + body: '{"value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ", + "aad": "dGVzdA", "iv": "ibitv7BzReNZiTKgnFF0QQ", "alg": "A256CBC"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '347' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c/encrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256CBC","iv":"ibitv7BzReNZiTKgnFF0QQ","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c","value":"LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCJfUmfl8S8IDlUyQKOpqmtA"}' + headers: + cache-control: + - no-cache + content-length: + - '463' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '1' + status: + code: 200 + message: OK +- request: + body: '{"value": "LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCJfUmfl8S8IDlUyQKOpqmtA", + "aad": "dGVzdA", "iv": "ibitv7BzReNZiTKgnFF0QQ", "alg": "A256CBC"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256CBC","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQAAAAAAAAAAA"}' + headers: + cache-control: + - no-cache + content-length: + - '433' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '0' + status: + code: 200 + message: OK +- request: + body: '{"value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ", + "aad": "dGVzdA", "iv": "ibitv7BzReNZiTKgnFF0QQ", "alg": "A256CBCPAD"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '350' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c/encrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256CBCPAD","iv":"ibitv7BzReNZiTKgnFF0QQ","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c","value":"LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCiqWw_oS3hdD48u_EhIUSvg"}' + headers: + cache-control: + - no-cache + content-length: + - '466' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '0' + status: + code: 200 + message: OK +- request: + body: '{"value": "LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCiqWw_oS3hdD48u_EhIUSvg", + "aad": "dGVzdA", "iv": "ibitv7BzReNZiTKgnFF0QQ", "alg": "A256CBCPAD"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '361' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256CBCPAD","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encryptc9dc182d/deb6a5210ef34a888a2c4010b8503d7c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '425' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '1' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_wrap_and_unwrap.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_wrap_and_unwrap_mhsm.yaml similarity index 63% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_wrap_and_unwrap.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_wrap_and_unwrap_mhsm.yaml index 8f452dee74b2..08edba1be9aa 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_wrap_and_unwrap.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_symmetric_wrap_and_unwrap_mhsm.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kwffb61470?api-version=7.2-preview + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kw6c0f1684?api-version=7.2-preview response: body: string: '' @@ -38,13 +38,13 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-server-latency: - - '2' + - '0' status: code: 401 message: Unauthorized - request: - body: '{"key": {"kty": "oct-HSM", "k": "4n7QyEUSu9VbavQ00jfBH-ujEYcPgPLC4zZCYPMcgsg", - "key_ops": ["encrypt", "decrypt", "wrapKey", "unwrapKey"]}}' + body: '{"key": {"kty": "oct-HSM", "key_ops": ["encrypt", "decrypt", "wrapKey", + "unwrapKey"], "k": "4n7QyEUSu9VbavQ00jfBH-ujEYcPgPLC4zZCYPMcgsg"}}' headers: Accept: - application/json @@ -57,12 +57,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kwffb61470?api-version=7.2-preview + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kw6c0f1684?api-version=7.2-preview response: body: - string: '{"attributes":{"created":1612850211,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1612850211},"key":{"key_ops":["encrypt","decrypt","wrapKey","unwrapKey"],"kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kwffb61470/f5ce740200da41178a09368a49352091","kty":"oct-HSM"}}' + string: '{"attributes":{"created":1616195127,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195127},"key":{"key_ops":["encrypt","decrypt","unwrapKey","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kw6c0f1684/487b6e1ac75c00642fe22cbc5e295fec","kty":"oct-HSM"}}' headers: cache-control: - no-cache @@ -79,11 +79,11 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-keyvault-network-info: - - addr=174.127.232.53 + - addr=172.92.159.124 x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-server-latency: - - '261' + - '203' status: code: 200 message: OK @@ -97,12 +97,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kwffb61470/f5ce740200da41178a09368a49352091?api-version=7.2-preview + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kw6c0f1684/487b6e1ac75c00642fe22cbc5e295fec?api-version=7.2-preview response: body: - string: '{"attributes":{"created":1612850211,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1612850211},"key":{"key_ops":["decrypt","encrypt","wrapKey","unwrapKey"],"kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kwffb61470/f5ce740200da41178a09368a49352091","kty":"oct-HSM"}}' + string: '{"attributes":{"created":1616195127,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195127},"key":{"key_ops":["decrypt","encrypt","wrapKey","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kw6c0f1684/487b6e1ac75c00642fe22cbc5e295fec","kty":"oct-HSM"}}' headers: cache-control: - no-cache @@ -119,11 +119,11 @@ interactions: x-frame-options: - SAMEORIGIN x-ms-build-version: - - 1.0.20210204-1-c9f88df4-develop + - 1.0.20210306-1-6fb7c19a-develop x-ms-keyvault-network-info: - - addr=174.127.232.53 + - addr=172.92.159.124 x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-server-latency: - '58' status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap_mhsm.yaml new file mode 100644 index 000000000000..03c38d789ee8 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap_mhsm.yaml @@ -0,0 +1,176 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap9c2c1248/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '0' + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap9c2c1248/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195131,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195131},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap9c2c1248/0d2630cf3fe4081f85ae3104208f2758","kty":"RSA-HSM","n":"icnHUFNp_9SPhzJy10o6ez49M54H2n3X3vGl0mQYvOicX-mTaLCYyPBL8_vghAWDeTbojMU01avED05LFJD0GC9oX7dFSFlOoRuH6Zrpa3XnSydTXs4_1ULwgiwJ_ed-_UTuTSf3qSwRUgojjpqCcvsikmHyOCtIxqq5sQ0wvIZqdmU8a6GYPfg94ussINnPnbX_2MabWAK9MFRZFJTMsMxDyYtIBpV_KycTUy8UKWtwwAQBeS3wTJKO-F-z1fEFLeKytcwD7Rqkl17biwkn8bYWdTzbbBntAT36lkQxb1RDgEiWd7PhdUeQ0phH7aSUoPZsrcWfeU_IyMdd_xBfWw"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '217' + 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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap9c2c1248/0d2630cf3fe4081f85ae3104208f2758?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195131,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195131},"key":{"e":"AQAB","key_ops":["wrapKey","verify","sign","unwrapKey","encrypt","decrypt"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap9c2c1248/0d2630cf3fe4081f85ae3104208f2758","kty":"RSA-HSM","n":"icnHUFNp_9SPhzJy10o6ez49M54H2n3X3vGl0mQYvOicX-mTaLCYyPBL8_vghAWDeTbojMU01avED05LFJD0GC9oX7dFSFlOoRuH6Zrpa3XnSydTXs4_1ULwgiwJ_ed-_UTuTSf3qSwRUgojjpqCcvsikmHyOCtIxqq5sQ0wvIZqdmU8a6GYPfg94ussINnPnbX_2MabWAK9MFRZFJTMsMxDyYtIBpV_KycTUy8UKWtwwAQBeS3wTJKO-F-z1fEFLeKytcwD7Rqkl17biwkn8bYWdTzbbBntAT36lkQxb1RDgEiWd7PhdUeQ0phH7aSUoPZsrcWfeU_IyMdd_xBfWw"}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-build-version: + - 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '77' + status: + code: 200 + message: OK +- request: + body: '{"value": "fye4J2vpX5z8HTZl1JFMJuEWA-pGSgOMI5y8ymuvSrBzbnrkVcSmerhyUEkzy_c-nu4rdlzsUPpMk6c3gBBXPlSCmDnuW-qYqxTPJ_JINf747cAu5ihenepTcJ6aL4X-PtsaL2IfvwdqJ-0fSWdccH3Vt56nEQM8QfPV6jVJ4v_biGzFMiGKhwg3pw1-rCVXQ-8BvA_WOXz-EEbPZYxAmHyCoo8jzxdGt-kiCvhTpdq5rOggRV0mr1-F30gPeuuO402wAkIEVL9dcaR3uTNXUx9ZjIqZAdJECIUwlV85y9AzsD0rIB4wnJrVt5IdI21nSFZeLFNCRsV63RqZnljEjA", + "alg": "RSA-OAEP"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '374' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap9c2c1248/0d2630cf3fe4081f85ae3104208f2758/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap9c2c1248/0d2630cf3fe4081f85ae3104208f2758","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '413' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '3' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap_vault.yaml similarity index 61% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap_vault.yaml index f8b275a1c310..282d61574295 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_and_unwrap_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrap450e1034/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrapaefd12bf/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:50 GMT + - Fri, 19 Mar 2021 23:05:35 GMT expires: - '-1' pragma: @@ -41,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrap450e1034/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrapaefd12bf/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrap450e1034/365e134477a64cbba18c2260d1e404e5","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rKK4WdOGUEplHZeVrbQv8f3Fwmj_4SscFifak2ch-krmA-ntElIp45fyO6hlI6ONrG8VD3MUhp7AepUBTtQHSJYJ4VMTuQINi1TcYTpGGbjrSy8HPMBuEzTCfrUdlHLqdY4vC0Kth00YpQzMufWtQDHqRqjRRt1tUIYROgdUyGRuOEiTRJHRZVgppfcfi3saPAsXFFVM3dBSjwNgRraeir1NAFFuAng33_uHZxr3LGhX3QaUYrZ8-8tfUmXaZ8CWBTNf22Mor9dilUkok5cbnGCt30gJXg0L_g3RYui4LjW9_jbAqdlhaUgw38TspHcTLETBflb9RLZgWdegGSbVPQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578052,"updated":1612578052,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrapaefd12bf/69d0de9a8e5849b79f62148ba0249fed","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wbxwORwe9b4bayD5OQxY8IGryGfy-VG9lhBQ6u4c22wLzVQldi8gwGKRVuct92Z-PI3yR27wf2Oo2arGuF71j20PLb94G8T9ho7Jsns78zedadfQ4X-LxLpKL3x-mmLJF59_YTMZahK5I-41twnE4cXzGf5uglEE6xrdIOjH7T-9M3CjuWaEwp-giX4oqm-NoMHZDrW46y6zTxr-kJ0EFwwtqe7Pst9Iupz9fnY68QFQlXbURZSGzyo7GvtVhmyD18P-0s5A7OoOhhmhAYy4kls8J_w8ySu_If81V3WL9HH26S7vN983nGIkTg-QMJbtPFMY3jvjESQ0O86R-G2n6Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616195136,"updated":1616195136,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:51 GMT + - Fri, 19 Mar 2021 23:05:36 GMT expires: - '-1' pragma: @@ -89,11 +89,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -109,12 +109,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrap450e1034/365e134477a64cbba18c2260d1e404e5?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrapaefd12bf/69d0de9a8e5849b79f62148ba0249fed?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrap450e1034/365e134477a64cbba18c2260d1e404e5","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rKK4WdOGUEplHZeVrbQv8f3Fwmj_4SscFifak2ch-krmA-ntElIp45fyO6hlI6ONrG8VD3MUhp7AepUBTtQHSJYJ4VMTuQINi1TcYTpGGbjrSy8HPMBuEzTCfrUdlHLqdY4vC0Kth00YpQzMufWtQDHqRqjRRt1tUIYROgdUyGRuOEiTRJHRZVgppfcfi3saPAsXFFVM3dBSjwNgRraeir1NAFFuAng33_uHZxr3LGhX3QaUYrZ8-8tfUmXaZ8CWBTNf22Mor9dilUkok5cbnGCt30gJXg0L_g3RYui4LjW9_jbAqdlhaUgw38TspHcTLETBflb9RLZgWdegGSbVPQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578052,"updated":1612578052,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrapaefd12bf/69d0de9a8e5849b79f62148ba0249fed","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wbxwORwe9b4bayD5OQxY8IGryGfy-VG9lhBQ6u4c22wLzVQldi8gwGKRVuct92Z-PI3yR27wf2Oo2arGuF71j20PLb94G8T9ho7Jsns78zedadfQ4X-LxLpKL3x-mmLJF59_YTMZahK5I-41twnE4cXzGf5uglEE6xrdIOjH7T-9M3CjuWaEwp-giX4oqm-NoMHZDrW46y6zTxr-kJ0EFwwtqe7Pst9Iupz9fnY68QFQlXbURZSGzyo7GvtVhmyD18P-0s5A7OoOhhmhAYy4kls8J_w8ySu_If81V3WL9HH26S7vN983nGIkTg-QMJbtPFMY3jvjESQ0O86R-G2n6Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616195136,"updated":1616195136,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -123,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:53 GMT + - Fri, 19 Mar 2021 23:05:36 GMT expires: - '-1' pragma: @@ -133,18 +133,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RSA-OAEP", "value": "OSCxcm1UGMabKzX9hYJ6DfCBYRdbazIp1iYYfLodCVO7AnV6fUMfvf9OJgLSrTerDzzv0mXnB4C0lluurEz9T6SrIPyOcW6apa2xnXN58KnpXuakBuQgLbsbdHy22E34_y8ZrDOCBzegzwKA2eiuV0KuNQotFin7j-h9qsnYwTNLSTxcBpyyj_XZZoGRAug8XJ9kjPgWJpauH6wUtuWZd_jTnrFQCozdvmBfvjBZ4jYAXNe-1y4byGD_Ex7AjsgOWCFvBG5LT1zNHAmnBBpoFfPjoxMSOA-N2VR0FvE2fGgrpCZ4TRPgfxvjOmk1v7h0UU7x1tgatHuAZLdJi-pMuA"}' + body: '{"value": "Va9nv7jB6SzIJRTL7iLud-AJkwwQ67xMUuRgbyiBIsddyT4JTBrKgXW64Qgql0Mb7Jfg7Kmssj4LfA2ZzWQqbA97V253p0Etc505Nm2Jo-FC3lOX3Kds_eRI9Ty0sQnkCLzkqUmF2e6OOm3yF6ms8pw74rzKCg8cXLOyML5kimixrfw4ZyUnv69N6eggQHTygBzxPx-cX6zx3oSdJlZlqswCfamVyJCNaYTSlv0wQJiaVG3MpXrAJ20o3DxQFDT6PdDkmdMAomoobhakgAw_I85AXW158hKwSGzyEkE_EqU1uymm6EMMiLVGev4-OfgZlbSg3mVd-ofGWU3ZgqXpQg", + "alg": "RSA-OAEP"}' headers: Accept: - application/json @@ -157,12 +158,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrap450e1034/365e134477a64cbba18c2260d1e404e5/unwrapkey?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrapaefd12bf/69d0de9a8e5849b79f62148ba0249fed/unwrapkey?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrap450e1034/365e134477a64cbba18c2260d1e404e5","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrapaefd12bf/69d0de9a8e5849b79f62148ba0249fed","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache @@ -171,7 +172,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:53 GMT + - Fri, 19 Mar 2021 23:05:36 GMT expires: - '-1' pragma: @@ -181,11 +182,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk_mhsm.yaml new file mode 100644 index 000000000000..5ec1adc40715 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk_mhsm.yaml @@ -0,0 +1,224 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-locale89e13e2/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-locale89e13e2/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195140,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195140},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-locale89e13e2/5ec1c7001e0101aca33eed4a146974d2","kty":"RSA-HSM","n":"iwzr1kNCC8y1-NA2uxoF9KRMYAddiQaPRe-Ntcxl6smoIlTPzIYdLA-IGqc64qjlkzMCJMWWnigEy0WXQp0G0ldpYscPetXaH97DcIhiPXyA9mJZe65yvCI9HNapIaZvc9URqTKeDdW629sc1TaRPNHZga-zFFQjN5AI8Td0o8U6fjjYbleyJU_Zdc2frAd5XRAgTdgAxCgGd6SNZ3BTUYRw41XQ7EJDui1eBEDEjWGbcwQ03Ok2sdU5dz_ozfcVhruK-jGEF1dh9PDRk3RQxEAfJBMpznsqf4S47ogpxbBNvehDFCmNK_PavkIvxYDKkTn3mmxloQ2PPoMRl0QLzS1C9I2JVX3e6CAOc8ssq4OniriVuDZ7s1XxiHVUaZ5ute8HGELg7X81uj-P-MoMtcyqeHxgwT_QSRAcZM_Lz2pVeAuwiTrejyhmbiH3eEYDx1BF3iIluVpHk5qK23uGtLkdBjEGjsnAImx0m89NJCqSeSzZy9pNiMBenGTx8WAIcTt5SK7Yi2FG6oBjdW5GgzViVILYXOUStyWKYLL3Wn79tvTw0G_YMjHNJUYFpJ7VMaRy5YcGc9rcV5igKVivzAiCzUzC-UNq5zCXNGfCtdqWOfUtFJ4KgdWnzDs43f23nPMDgGGIIKLGSEb-zi1jnftBf4QjLFrvUp2DzjWmFbk"}}' + headers: + cache-control: + - no-cache + content-length: + - '1068' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '236' + status: + code: 200 + message: OK +- request: + body: '{"value": "Uyyr3o_i5mR3xajPDIDZXP5KAKKyk313rQb8BX7DRsIM6qsIdQZMpdiPtaf77S1FSlvMIfGvBR8HcoPAb46WTtxXKZvb4JiylWKPyUK69o3HFBTWTB5_510Aqc6ln2_HtPL5dpuugekGYD5ThTC7EQTy5x5-_EdFG_7RDd3dFXrMLtkn6jToOOHC-59xaXRHZ6zRUKiRUWdDSA1YJqVciVqFtLY_u-k5gzvMYYRmAVMnjAp-lC0lTF6cT3cdB9P28DFRP5YeC06JUsK-ZCsSIuUkj75nsEem-pzGolILU95GfB2sCcPnxvhnIvSMl241uKEp9Bc0WvYDKN580rMuGXG3sD9grHFSLtRIu5sOngg9im_-iv1jsh470nAR4EulJShQ1Xo_R-5HaZ-7mx7zZIwoC6uY65lmJnwtVbfuNLKWxzH5T63QLvd-iulD-oIOC1cQL7bnskwpCtHFTOj_lpr9JDQkADK5iX-pgBu-XmILpSjgwL0QpwJY_ieuwJBp_fXp2uhg4x1uwT0fx69-orBUMa6ynfnDsaFZOr2nrn7wkdRJ6K8nBDp0wotSKe79Mx57YsEhYdUJSWGn3loOcQyFndKhN1vyyYTYhqsJRzI621vdKfFrjfsEv9TKZy5nZCWhGgakTsXTfsuHlGb2FvYaBCiMxj13PhMjA_r15w4", + "alg": "RSA-OAEP"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-locale89e13e2/5ec1c7001e0101aca33eed4a146974d2/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-locale89e13e2/5ec1c7001e0101aca33eed4a146974d2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '416' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '97' + status: + code: 200 + message: OK +- request: + body: '{"value": "gb0VIg8IAXcnP26ddhq_-p8DqSN5qhlPnJVL38Cp4TCJbX5QkJZwhq6opKKZHJk9WbInsjm8_vfzDsDSg8C2sPhSGvsnqPHRSuwr896snAJmng4vFWjVe0qwqqFsCVHhg52ZJPwoLqYiebcI-1Uo4czrR0k52_cazZ0w6cziTQ-hKDkkNu-cFqKOOh7vaBC-5C2arOWnnJ1jqdY4NRxJ2aDMhR7ISSezFvF6lhFWL04vEobfEWTQy1_D0rmX5ktGbYaoX_RkPamxKg-v9Js5APbatLzilqXBRiEWoByRBAStOTI-get_0PkkrT_3MwuWW7pziNZ0tBsedth8Hn19AMyJ2M178DfCXIGvigLvBDP_xO4WV78VMLbbKFB5r7P_ARb1mJ_W5ssl6zKAXscG8jVWdnU73BANtn8ZxwJKLvxfLGhG2u2eTddgb-ULa4-Bhvmk2jZRaV51yrtNuKDhU3x4OKDYTaQ21YaSCiNX4k-fXGndMj_zI0iSKDie5EfDcibV0utGSPd9NJmsZD90R4foO5P58BNEOlVVu8f3IMwZmHLg9OYPKnbPdbxbUoKiqo5EdgxVhtTs-2Pp94MDDp7loSRW-3cbq3QOXP1DTkaaWDMHX41PZFvompLAEGeXUJiANCjj1n3jDtBQRbXf26PRBqS0nZvNVPV3M4R_9qU", + "alg": "RSA-OAEP-256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-locale89e13e2/5ec1c7001e0101aca33eed4a146974d2/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP-256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-locale89e13e2/5ec1c7001e0101aca33eed4a146974d2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '420' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "dyCJ1En4idZIWo9Nxnv8p3b0BKP7cY00im9JwaFHdd3ZSCnq2Y53-eNHBndgMRHFKX1a2cBdxyUNsqJNToK_hZf7uPNmdWh7lL9wS1BR44NVVsDjV4cDIsHWAZAA0LXK-h80RP0qEJ4Mnyn6VQygU-QrotmGBTvV0YCr111l-y0XCC20uqewRl1rhRbGTFpu1704-4x-F9CH6u6r88SDCr4BmHtTiXnSU4tCVa7JpRHZYbGiAuOm8MwH04q7mt8EIxTpb-t0K1GRHImAJvTtz55B6hyDC0rqR--04-JtQrmVBcdttTcmtikdSMKVm1kAs8FUBUQCUncDwPJhmBQE33jXTNTJlCrrZb7idfs5uvAZs5GwSWBBHzB4ka3n-9yBCzaYnm2VXg8ik75QGF5tQ-ShjRf1aU2IAI5446ayJmqfGewUNlAoPOGKZGJ0lDtahPkPv0CvYK_z7XmasWjF8q8phueu35kKpjqEw38QxYVZsSP0lJxVLFrrrQaR5S2JUFMoQp_hh8BtbkKF_fVTWzk-Wq47axci9R3NvWyJ_DtUCxl83-TfjcaNzsRtvfuIaRUOfyqY8A3dNxJbi9jctJWRP1xyj6wJR64mcWSFDtwGFYP7T3LhPizcr3wk1edaz9q7iHxrfgirHVixLdYiwqXMlipjCXKw3_B1ePxmt_A", + "alg": "RSA1_5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-locale89e13e2/5ec1c7001e0101aca33eed4a146974d2/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA1_5","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-locale89e13e2/5ec1c7001e0101aca33eed4a146974d2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '414' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk_vault.yaml similarity index 55% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk_vault.yaml index 46f025fc73c8..1547b03ee7ad 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localf86c0e10/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfd091459/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:54 GMT + - Fri, 19 Mar 2021 23:05:44 GMT expires: - '-1' pragma: @@ -41,18 +41,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"kty": "RSA", "key_size": 4096}' + body: '{"key_size": 4096, "kty": "RSA"}' headers: Accept: - application/json @@ -65,12 +65,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localf86c0e10/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfd091459/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localf86c0e10/d2f73eb69c3f498481dd2222f9e36096","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6xbO29VlP7twjAxSXjvrpf-yQrvT-KsKo2HUCSp55MbvMo-SGkmjUX3_iTEITT1coq4MWYCqeKWFvNXVkMMaUcB8eJkp0Gp0Mp6rAp_0PSigyIcnRyIHIhXVw6qFBtbOvSNutBFk0bYGSKh3s3u9isbOU4IX0CE-4f8GohMVvF-Yz_8AVH1ibYg9TmcwvSGq3ruHw8AVxt96lg2w8NC_-EJISdB6MK2Utm_lJUNRnG0v_RqF8Ah5vviDoZ0JNnTY_eFUWK9mg6uqKnydLJ6ZSRPWr5bRXwrFdSXoUss4YXLhhvB7Ymw4diZSJHF9L7ycoKGLkonzm8MFXcMr2SiyaF17SqPMwj5J203abddgqlJoQFThFA6KqE8rRw3AzT6IaOXyacUdvxFXA42Ll1JLnpF6IRu0A8PQIIbuTltJH8kDkCjo7NqonVAJemRu4gC3VdPBX_qPfrMZ77932CW8ahn8AvwIpiCCRqsfp9jO04fGkxKkqKXKnS4gsgCV7LJ9XjodVYoUCPufEVTC9njoCN4k31qiOodcVY33V4LILG8MuZni_xHdA5-rNti8pgFjUG27lR0ZlInLFPMyobam3hbg8p4aiR-mM2ft_Ks2luUyO0EM2FVGCZtgQq2uVKQmo0IQ76HYonmeFYv5PyX6k7U4iWxwFobIH4EcmLo75HU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578055,"updated":1612578055,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localfd091459/cdaa6c0319ad433b9812bdca6ffa7e4d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1cCKvE6diekLWHZvef_IdAyof1r9KJ637UvdzxWMNZEquBiMcpULzXyB0EnK4yLkaAbLhBAmuDM3QvK1gum3xDj7lRDCBthfPWOoUKAaezVY4Ui67F4W5SMQm9tGv-qvIA6HsHTnqb-fi87yt1pj9gSUoka-5ufMySFdoQo8sGudIySRixRd6WPTrjdNc2ODShbsHtXpBZvwi2Tgn52scv_mAHYrhpnoRX1ZwW4DcorIt0hU0HvUcQFBFpEgTZCrj8sgpbsXYBYfnIT7A5Ju7Gi6NmEI3BgqtzoTyQbFlKoXRevkgNXKq-bAg8xLOpdRwudymJsWPZtkuMIzlDpp_xsVKlJhoEoJFctx85-clZKFxFRJ_rPgBRNACSWtNXXClbf2Yi7IOywwWz3YZKmr0vlkx4UwTga6FIaxFNknVZ3v6Ds6basGhgTSwzYnOmQC0IR6-MqsB2iYhfvoFUaeT4l5kVH8DLR0FeOIK3LDOn--pkeHtnwju0TleS6wVVerlm-NBqDnGjSTCW32oJog5WcwCsxJD8EUlvC6JTOJl3qtLO8m2JXSclJEWP1UTm8qi_TElKxKM21b8Yt1ycFXNFuxLSCPWhIWxE8IeZN3WMHqO36F-6yl6npiu-CuegISWQrT3ywXYwa2ibrX8MO8SDAjmQ320GpgDt8jDOQMQUk","e":"AQAB"},"attributes":{"enabled":true,"created":1616195145,"updated":1616195145,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:55 GMT + - Fri, 19 Mar 2021 23:05:45 GMT expires: - '-1' pragma: @@ -89,18 +89,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RSA-OAEP", "value": "MCPhmun1XEFII0KFifLKLGPFEAgii27qVgKOxV4BZhupjaySWYLygiZtSs0mvykHDAJ2BmcaAL36S5NiCtolysotH8x_mXxGpZ3BOWBYpaG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QAxqLSDu0BtQ5CdmvfeyASeh1xwWz_V06uHtkSOQGF5WJu3el00fc1qtJIEBoXCCwZ4gDCU8ybJKCtxPhY5_j-umEDlzYApqmnKJvT_NdOvCYn9zeCoOYTa9nyIwfePWKiEhvg6h7rlCIFnM6SfvBTultcHr-RptDoK2YgAonaJsKovHc2YN3PNipQbD2h4", + "alg": "RSA-OAEP"}' headers: Accept: - application/json @@ -113,12 +114,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localf86c0e10/d2f73eb69c3f498481dd2222f9e36096/unwrapkey?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfd091459/cdaa6c0319ad433b9812bdca6ffa7e4d/unwrapkey?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localf86c0e10/d2f73eb69c3f498481dd2222f9e36096","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localfd091459/cdaa6c0319ad433b9812bdca6ffa7e4d","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache @@ -127,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:56 GMT + - Fri, 19 Mar 2021 23:05:46 GMT expires: - '-1' pragma: @@ -137,18 +138,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RSA-OAEP-256", "value": "LNSiaaJWlGiaDnRhMnMRFGtLLazfOdV9XnGM4jnrIfTbH0gKcJpbkrwQgByUjiHBV3UeRmbkxAOMcc9SdD7fZYsJbJmNgHi9sDj7hrc7qeGKX66cb2xDYYSjJi4DVYPTUBHCgzM1KN4DzxbJ26CNGEd06TP5iycRsG4Dcn165-mQLbeHkUg70XTAljeOdn9riJ7bsv35-15Wer2-HZVphbwKXaOdYlCxAXpOnpJtdqLWkZaZ8P0FF4cKPSqJkjE748a0d5ysKCRelM4_TA5QeoPcXYVX3jl3kUy3eEg27EZ8qfStFUeZHvCVoiIy5JXPuG1MwpPH_D9NJjGl3j-hOhk3PyU6Al-ghhhQ73KpU8ro0-EtcdwDrrQB4salJcuOGmWUQw433WDsFW-CH-uZSel_8ktmaXPXwwHC4M47RGm3eyBH6AKQ60QB_JllyPBbhnrrv6nLx7uq0639rctPrkr7ipdDcByQosm_CQsT1fqcYqWGB0iMeFiu2WcsrYMIUvuH_uBUrGCpy4l5aFExUqqCmpRHYPuSDZI_2zied6Ye2KP-P1qkzqb6DVMvdPWVach4c9M_lyycqXeEbRUWBZ41L9ndXMUAZwNhCvPrHIhfQHipCXcucluriCDUaE5D3oDfpJt_M3WtuM4n7JYHYTOru5xaVD5CrW-qcf53v8o"}' + body: '{"value": "1L2liX9O18UmcXTe74Uiti-n9ujgt5FeV0RIDshCI5AUgp7k9Su2e1JqcRL18UR7uq6dfJi-as33Jl1kmjtArTMtyVap7xMa6NLwqq79tndHYAWHDi_CKb72KSMLOO2I-ci6LkEZfaDy1t-PHc_6Y_8ulJdAlAeNMC5CzpkFR8BsOJWgI6hZg4_QCUEEUPk0PoDosvEziUJ4F1CQP1QvDmRTFARtLxVl-wokO3Xg_ir3BnCN1_l0OsTSd5BxM6zbmOMH-yyvWZkHvJ1xPse-Frwc5gC-mEK7QUUp_8BRGLRF-YioW_GHT-zK8-M9y2hyuGg5pJz-6cWsT0zYiC2ThO5uhrbmeTGdWbMyaJ5bfr36udEvJaiDWehGuTzh70CYYsvS7cEIfdsceG_nLyoTXi3SLjKT7CD-pxcUDqxjfMmjvmYW9RH9WmjwDZtg2xaeqFrYyvemVoEcSfxCOatVc4Oz7fBU3iWqtY_a6zIhhel9F12exB6ZeX6ktvVV9HaCm1zyO9q70DQ0man3NNk1GEb1G-JEiaiJfJC-V17ef42Ul8NMgXjXuS9KrYC4zUML9AuL0xS4fkFuMqUseHrOMSeOVYUt5vHkpX0AaYKv0UmTVkjxBvaUPk_-UTcIOdJmFsj5LOItFmF5MXwVEsqNAvI0V5yYlhKT5Bck3QUogSU", + "alg": "RSA-OAEP-256"}' headers: Accept: - application/json @@ -161,12 +163,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localf86c0e10/d2f73eb69c3f498481dd2222f9e36096/unwrapkey?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfd091459/cdaa6c0319ad433b9812bdca6ffa7e4d/unwrapkey?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localf86c0e10/d2f73eb69c3f498481dd2222f9e36096","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localfd091459/cdaa6c0319ad433b9812bdca6ffa7e4d","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache @@ -175,7 +177,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:56 GMT + - Fri, 19 Mar 2021 23:05:47 GMT expires: - '-1' pragma: @@ -185,18 +187,19 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"alg": "RSA1_5", "value": "uMk0dX8GLiFzZOLegcMCP7Fl1lXuiZT61rvWJm20WvWl2f1249DnhKs98QJxoOLvy2SnJjc6PzbW_8L7uYj9NDsnb8c6rIimOnQMGBWYcPHR_ZzwIUI2YCgQ7SRzQQCdJ9wwqFyhjIB-VUYui5Q0bNzK7H1KgwJsx9mVOyuJgAF9j7tXBcV8k1OV3wKjnkTfPzX4CzuuSYyZOEywKxt8XPO_kMe8rXoCUua7XACtIX_xtnnII-tMei2uYrBaF_GNWmfjzLa5wdn4-LSDmWuVA99uXsEvj2Sqgqh_-o-tGo9z_J7jLqz8GSSqk030BS9gfnn6zbd220dHL0gK6oBu8t64TOm3R7Jc8nPybaOKd-lvqqAGjiGodxOMnC6fiN7lVjblYSS1F2rASO0slXN6WtBlTcddwxeRatdPOFkED98SgF7RlLvlRuNB05GZnaufqyvCMPZSto35tAhBOB37MpX9PoKcQoE6b_5Ps7Ubko-qgeto9selAW1vuKuxsKTbCSBQNT6m4uUr3nSu-J4wertjYTrQs7TJS3USqLMTIwvWx44lwZJwuBFrtRsswvqFpqSPPu6zdf36AoERCsK2RxdknaLKXbmSVYkO7mlreu1vpdT9XtJ-AV93tHVpJhiDMQC9-9ld2f-3DkihPXonBeVRS2BCgcsOXuOSCfOYMiw"}' + body: '{"value": "SS3nInyjaRkTaW_bzU6_xuK1q-Xbu42Ox43o13FoV2sUt0dbQROxnwl6KyluN37viJRtyTU1Sgaw3L18ZJBDLfFMkgo8OeBWpNez-eKDooqBFrpfgiKT0Y4eUoZJDnBdSJSO9S1XuMPXi9u667dzUAQZ2pYsx6eBtnuIZVHgTJaUdd5-cQlGX_VrhzTHehZJToIaDTxh6ewPVyKlrSqvAztcIt_fw1qHtWi7c7Goyp3H9b7PtNaO6ie_TWNYtvmzK50r4oAHTwpYw1KIVHYrJnFX2l-j3qe_25stEWvnwMunUjXvg6SNhLwwmDNizlamwIzg-_q5PTv7ouFROjrPwrV38gWyFozpkLZY5r_Fy6RN0YzrW_el9avxQloaiO8W5gYZhx7fSewFKwE5PR9ZpARvbvLqLrh-bUR5-4YjZ6x_zfDai-_rG93n3wfBiBrNm2b9RNS-gTNAr8HBUSilr6SIOt7owwU_79ZYHJ3Q1PeqNjw5XqOmDbK9kKM3lUEUy-6DPHFgetFIDar71Sw-BmrW_vvzp6kW8APk8n3PboOplTr3gBIgoHQ0TqQdmy_ygcX7kqMOnfCXl5z3VQ9JmExBy96uhtcmM7MO3H43mTw42Y7k_vTH295Xnb2WC-6ZhhFf1gvWip1dnZwtC3TjdiMjCX4TEsJIBgFAmbxNCyk", + "alg": "RSA1_5"}' headers: Accept: - application/json @@ -209,12 +212,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localf86c0e10/d2f73eb69c3f498481dd2222f9e36096/unwrapkey?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfd091459/cdaa6c0319ad433b9812bdca6ffa7e4d/unwrapkey?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localf86c0e10/d2f73eb69c3f498481dd2222f9e36096","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localfd091459/cdaa6c0319ad433b9812bdca6ffa7e4d","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache @@ -223,7 +226,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 06 Feb 2021 02:20:57 GMT + - Fri, 19 Mar 2021 23:05:47 GMT expires: - '-1' pragma: @@ -233,11 +236,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=174.127.232.53;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - northeurope + - eastus2 x-ms-keyvault-service-version: - - 1.2.164.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_mhsm.yaml new file mode 100644 index 000000000000..97043b2e9a2c --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_mhsm.yaml @@ -0,0 +1,224 @@ +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.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local44e51024/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-server-latency: + - '1' + status: + code: 401 + message: Unauthorized +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local44e51024/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616195150,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616195150},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local44e51024/71e55be77ae6432b1dc1bf1be1b003ce","kty":"RSA-HSM","n":"hXPf2_eWGqgFzwi6QPbppPXqCu-SW0nU9f6OtAJLJxpZjB-r4azRSswvCNqRXAwnLshTUneuIxaUx-U4xHBROuzLXbsWYDuuJNPbKIw5r9QogXmPCla0EXA-5nnw9IsMVV_qrsjKA_DqC7mnwoUcnekEK3NPGsCi0-LPB5PP23AnZQrRqIwL3wRGngJZjCuJHXa145_vHizTy7aytDH-ei8B0RKD3QZ9bR0EnRG0x0jygIxRKUnVttY6WAaje366Xasd3aOvczldTpqPfQo_IssQQFAjAZjfpxUaaWsV2x3ugEZYnBMUF54m3tGuos99DDGlxvktjuw-uH4GripcBPI6PsBbv3Wk-rtrl7A2XzP8WpMWOmfV2vvzk1UZ7f29rlKkg_clFelabu6IDQ9wrEMJFto7bTZOaDNr-EQwE7VGG5EaGCQt-NcFi2R54MBVOnev4nqroQvro39RuKDOUyuNAKkv1bSQLmK3zogivksJAqcIEPAI9jSx6G97UFARQjq4QKrN0ZBc_J3Osv67Abq5ty_QGxG6Eme_8Ps-UQxixrwNsuFp671djH5mzClhv9S19OqHsThFW0hqMsNY3kkB1ODtTnyG6plcAD4ZAeJ8D45xEUVVx_EG4hLFXcfFa4DpdZVjOfhj4qw1RpZduIDNsFA3N6g2RV0_prSOebE"}}' + headers: + cache-control: + - no-cache + content-length: + - '1068' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '272' + status: + code: 200 + message: OK +- request: + body: '{"value": "YfVLOMS2I540icf1QQ0E9gQIefPnyTy3genUsh9QyyaGzbFCwOPSES65Tu7q3k18dO7VrKbMH5M64HfmrOo3dTQ7_Fistvfmx366JE7A-RXsStIetNwC4RcMJMzZono_T0KMMr-5A9x7Sipt3wvFl31EHlPoKlefQNut6gO4uSJ_ZChOI41nf8bKq5cJyg-K8wgaUcCkfCE42ogWSzMHxqPSM2fySnjQx9jmrwWvlak3AB1XjtSFxUVY4lXkhUljJD2texLsg4aq1VMybL0ZlWd5c8_Xio7pfbv7iC9oHn5YCOgrclBhJLMdB-U7pHBFdZoEWflnI5DbyjI0qUbgJoAEMgH8T6T5MVgMTeH7uaKPJOCxe4co7fx4HVvxuZZlVtGEARMsQG8vnVkq7sh3rNFSsbkYUrokQc77yA9BNSchN0p0rnVepO_DYTPhwCkOLzmZB1gWAvMJN7nuJz2BmGJbzStnP_Ad3yyficzhD6Dy_ngLugXtCC8Tn74ziFDCEm6ekUJfHSs-4AANiYx8ShgwAU6VL8ip-2Kli1e_l24hHzfCJzd2BDxodvI4-ls3NqHZh2796Eyey-NQXVrqNqSk5T8YpawMMMD9JE2E2pK4PHE7Kxo3SXOKUxuKXS6jBJ9EH68zjgJX0D3f0eQTZpSVPYpjH6xDGwHVFbHTiUs", + "alg": "RSA-OAEP"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local44e51024/71e55be77ae6432b1dc1bf1be1b003ce/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local44e51024/71e55be77ae6432b1dc1bf1be1b003ce","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '416' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '96' + status: + code: 200 + message: OK +- request: + body: '{"value": "TZYEkeexI1lxKpEJgGYg3sMc5TZITvBBFZGsew-iVzW1YcDI1NXWbtEU8_SrPsFChG7hDTqjwr4-bNvh6rCchmFXHsf5F1p-ReeTbLYMDofQWaIXJxdSiZZigyA6Y-s6NEykGGmGlrsc95nWy1UgJoGriTRF9O-ITXtJ-7sgW4d-0pQcrGEWzfp6WLtrbq-6dTnRnoMVoIfDeUrNrDx9x1YhXNrLYBfPOBwB5ozgTJZtOj5ViSPWUlX7Sv6gPznJ6_6Wf6CFP6mKlhRLNUTBPfYxpN_5kZYC8kb2blfmlynz41nB0Lo0BhG_iP5wpzUaqTwwW7TmdCd4i9gz6V59lSZ1doYQIORfujA2T_p2QQQROlRImPv6XPnCwiSj0l9vsheschMyL3ASaLW_OUNU20d6VKlfMJngtl0-pi5B3um-H-BM9oGa9fwyv2toCQViRN9uuTv10ZjzzSc7mSF6GrIg2a0XaGlX8gpq_a5wyPDNc0l041PiGumE_w1t9oNp9wjjVgmr0d3-MfYCg49OzEtVq214Y_YLpmfaR9zWRhSX5ZSzlfiJrdv074s9Rv8h_hiIvzf5s7ZEN7-k-HoVP_BWn4xSjv7DdohtjxF4cRehEUkRUE9EWJGEjumPcTnZb3cYbQRnYD86b4b4fF5UrhexP5QEYzBJwTUSaCjL4_s", + "alg": "RSA-OAEP-256"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local44e51024/71e55be77ae6432b1dc1bf1be1b003ce/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP-256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local44e51024/71e55be77ae6432b1dc1bf1be1b003ce","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '420' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +- request: + body: '{"value": "IBkED22p5yVjiF0qwMThmvKIfkkSX4Awh55iHQm0PFXIgxeI4lk8tSkG66ChaSc563VX2DYYwLUmPoH__c_sZyXfi3GYQnbKWJNcWpRHlubqSIKNj3g2ypIK1xChUXqsJrPiktlFCD3JXcySQ8aAfefE6TQwjTDby-AMtlkUY1M2g_71wTQp-P0XwDE7NkeNNivUAbjt-FY80tOgVu3xN4NNDVD6ux_KaHrykD08z-ovmbmpSrJkWdV7ktHldIbVLA_-WSIg0NoGBRS0ViKsn1jw3XekKGzSekyJM_bUe7CsaX7LdEPGooALTQCsvxy2X3AuyUITrGz2lbS_zcwRFYMdcHKIXPr0FLXvpfmhS1eNNtDrQa2tSUk2Dy-c-Ri1BhzzYDACjVgBeNzuUQLh8jtdoJhIXFmnvL04e4IrO-6fS-PWZKq6SMhF8RbcOo4enEZqH7Ct6I7IYmbEoQpnfhOsuwbHqJQ2PZUm_fK_EMiv7QuopP4KKWAujyzRneakvWEj5dyYCPMZ9_-2iwRtyDWVuo_yAoPvrr8CgA5Xle_TYvOVMkNzM_2d2pn-6fqj3oM-aaWYACltBrDjp5U9gNe7seQVSmhXs6jgvJvcLe7lXJuIPf0lJAhHaRM7ZeV4olaPK5k4SzvGdUmWpyGE9M1LOVsooTz8MGjnipiLiqs", + "alg": "RSA1_5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local44e51024/71e55be77ae6432b1dc1bf1be1b003ce/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA1_5","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local44e51024/71e55be77ae6432b1dc1bf1be1b003ce","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: + - no-cache + content-length: + - '414' + content-security-policy: + - default-src 'self' + content-type: + - application/json; charset=utf-8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-keyvault-network-info: + - addr=172.92.159.124 + x-ms-keyvault-region: + - eastus2 + x-ms-server-latency: + - '13' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_vault.yaml similarity index 59% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_vault.yaml index 5c7541bbc8e1..2abfdb7f2770 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_from_jwk.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client.test_wrap_local_vault.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local897e11ce/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local5592109b/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:54 GMT + - Fri, 19 Mar 2021 23:05:54 GMT expires: - '-1' pragma: @@ -43,16 +43,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 401 message: Unauthorized - request: - body: '{"kty": "RSA", "key_size": 4096}' + body: '{"key_size": 4096, "kty": "RSA"}' headers: Accept: - application/json @@ -65,21 +65,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local897e11ce/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local5592109b/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local897e11ce/10caab44c2594ab289d8a13c7451a4a2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vc2YTpPqvzGRaGET6dZcj7j7bIFf6x77HFiRgqFVM0ehUSoaYsCmaFohUG5Aud8rpd0FtxDwg-2CYNluKwbERgZL6vUHNV_qzn3HK5oYUoU0X7w2zbUFpNI0K3Aa_pF1z_m73ruEj_A0PwPCS7VfKZ0stsO-HejWVw_OfzQ9IDearkM4iYhVRv2ePz0MLTlr2WDUzaOCzHJXEekKekyX6jwbAxlCbi8ODOZlWbZIv7plXvsty_IOSIleN5I0sbMctOdvpJlxpZusEPZnERSA7g672aClgnW36NnOlsq8ys0OmKtbmY_q6aHSiLc_204LwOrj6KdhljLuCWrfQA59vqKLafHF2KzINdSRFETQMs0WSF1Qj4QYUBsMzbtDJKtiuwwPSJFjdDY4GID6m7UttAAp5UWzsY44NnLGdSE3dxAU8rIeCimytINyVC6df-dGt681Tbu-kbIH0FfAPHHd11zmMcsDO1zOjiJPa3vd-TT-On6cbNI4gVg5F8eN7-pIzhMP4nCZAmHgJcGX7HLInlR2ZSWPlZLm98qDKV1hSbAPBVG5g-ktj13SBSw0qzxJPccbusZAgEANMPgwnz2OAbpjLS5FY_LtozkrIFH1sTtxEOPP0D8bNjNWvg6jF4iaIKedptadUdlWAYh_wdThRIZ_qxzjY1SG_F67SkwtK5k","e":"AQAB"},"attributes":{"enabled":true,"created":1614986816,"updated":1614986816,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local5592109b/b41c07b7eb4e4d2b8514ced18835f465","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sMv2_m_g-N-tvHgcDypOzmVxV3nNdBsD4BVHtJ-BDjBkJ7iJQR6Dko_xeptEedsxzXh3FdoxiP5-psoJjfW-KisqzHAAPkuwNP-3wLLQp5i89-279KewwiNfRWMVOGKk0fXbQGCbxpBG8FvsRxqjgvklhb_5iAqAuENwL8KlzSaKH_a8ZcE0CnJB2ijVIQXfL17qalIZIWWhieyr2x62m1K9fxQaiVrkj0BIxu2Beq6jJDtrw-MRYFe5rBSr9UkiI8IuIT2FgdhB3sgukOl5rBeHrC_js7dVZ_36FiAUr38hAjZNkzWQCn6R6fj3xR-NEFpYC_tfTqjKnpsmqShjS1rQMsd5Qpl_Ms7w1duBsvTpHEENOVN7mTpfhvbvCie8OWRNId-PMAAexmaVRZfxf_MWQj46a2yvUAKU8fu1V56qrEWgn0yP7ZUEEim3w2MP1h8TlV6ZSLcpVLw1_H69IhDXbuTfSB2Vt9y-jbX7e8q_lUcY5IDMJ7STZEfp5Pl_9wQhHMxY2rqHQPcbV2LuZODn8TAo0QVCvW5G0xQYKNFB_ANt89DGU62PoIYhbmgiF0jkfq22FCl8RXl47WBPZLnQ6at83obR1YVDFo2V8Vxd6G7EvuZu7N95jAML842W1T-dP2rIIXAjMT6iKwGaJeT87teLzfi3sHHyaHHvzDE","e":"AQAB"},"attributes":{"enabled":true,"created":1616195155,"updated":1616195155,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: - no-cache content-length: - - '1035' + - '1037' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:56 GMT + - Fri, 19 Mar 2021 23:05:56 GMT expires: - '-1' pragma: @@ -91,16 +91,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "eFnjbF8jJ_LancuHBW5ZkxTcOQ_KRh4ZJKCdQDaLFe9DW4iK6rqzOGfQSviMmpBNloBYQl2snO-kWNConmHhcuKHjgDDLN1p94nq-GMEUSAFciA-KJHVgCuJeRHSonD221VjymIV2YiybkqMaMSiIcfyoUo5sWj-oDNtcWLsLTwSoT9byXvWgniM8LB8ow2v4x60ikVBmWyLdWWBouxfZSPpEmxNgcT8JBBLsMbDT8PoOjMuX8YNsLzG40MAWgHQOvZz6-p09XCg_3iHKKQ_4cVUFFRKOQflLlXfaej9z0sVwRsSu9F0qbmKPk-fZXN5wAVKbkwCeh-ci_c3tNeiy-FsuKynFoNj_PKneRSlzatJLx6EA5DK60HBya1FTFE2ZDaJQ-H9zPgyhJ6pV5k1t5IRZKiE_pDzpfPMCCSsZHaDliKH2RRrUxSraQWOyv9MeTGOYKjE9zSK3amJJd7qXAVGJmR73nMDnlwfyAivdCzXi1RdHI4RldpDKEiqXjouuA1rd8KC8XhtgRkuD81j_7hND1j0uxXKWlTH6p5qw8nwucfJV1opjtn4rrBG-WVWn0QixU4FMsmI2KaFOvChh9X-0y7155ZvKF5tQaZBOR0zKYibIcOiz3_o7p5T1F4rYe8MMcjj9YEsPEen1MSf3K4n8f-gcDNgsGQKfNvQ288", + body: '{"value": "E5C9hT2yX6s3Dg_Jika0MJqAc6p_hJeRgRbpsubDOtf2gRfnKYlO_Dt-uVMs1ajSvbMYOQPRygk3mMdNXtemDFs-9Dar12HxenxZptISS9Fg-YLn6y92cZbCuMGnAxViZxkbsSBlDmLoheUBxQLln_qNJo7aiZ6u1-ys3EX1bVhoW1iKQp2riwlDVVSrcbN8kF7GMiqE8c7LID6hJ_Wo4k8b62XoNlWUSfExjmOhhJyosznOdYbKJBEkOhm0I-J0AMj5TSLKVJBTOtzMXsfnKpp8e0Ey3MwU5HrsnuSLn4EoScquatOj09VTkUMt7tpd5GsL5ThDmpFYP2gQvUWaw5NlpgORA7xo8xcKjxFPytdk5FoGmjiQWzOKoBjDz8DMyPUVPSEu-LRTQUNtOWVvd5l0nxMtl8bU_JXIe_7XBtMCdbBiTIyoCVGeoeU9i8c18LegKY2yrFYRPn4zVneg76OFTwKXaL7nOJW1zMVxP2vmDErSXYdfJz9YYPwIn4abkrG6SD3si39FWvEJsLTGXT2MVpFDmeKvN8BG07BlglCl1qiVngP0pwr9oGVwvPCoVzPGIEzOQhlL_gLuQgusISR8tWhMs_VYihgLsQRpsKux_84PODKsBE2a0vaBTBkdydjCxSLhUc_5_37UxfpfD8Uhw5ducojESgmXeyAvVK8", "alg": "RSA-OAEP"}' headers: Accept: @@ -114,21 +114,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local897e11ce/10caab44c2594ab289d8a13c7451a4a2/unwrapkey?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local5592109b/b41c07b7eb4e4d2b8514ced18835f465/unwrapkey?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local897e11ce/10caab44c2594ab289d8a13c7451a4a2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local5592109b/b41c07b7eb4e4d2b8514ced18835f465","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache content-length: - - '389' + - '391' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:56 GMT + - Fri, 19 Mar 2021 23:05:56 GMT expires: - '-1' pragma: @@ -140,16 +140,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "LgqgJ0JRW5eh9n_nrM0FJMC1gmliaJZuDaB75NMQ2LawQU67MjMp21d0H03fgEeKOlvlQyWjR4aPmcNnou1h9upOFL6mUBLposi9WMfKVP8wIsQm9hSeavF4Q5Mzye0_ZQXj5P2Zzhpxq7HGT31wrxF_LEZGAgp6mXVkqFljdHry6O4oc1Fl9TKR6kXP7_QUicrtCpLLgzvDE-4okzwNgbVGFSJFHiHGaAo0-BpotrbCKnHSkZMgmVkNhuYiH_m_Dlf4neRKFNRN9PZMpWGZ7VjKgDY1kIAcq_7ZFy0ITW3hOJaHrpqxEKyHrbWAU5rKXJcEsaY58zC8NZtY7bZqNNcBsnqtQY6CJOCqjSXsnW5J-3Ib07Rp1r64LyqGRVsd9SVGvleCH8ZKiFpiAaa0Z_r37TIBxlXDaEFmi7Yxo62oVBPoBPiZBrRSjCNi9nwQHRiE3wrXcld06-HNmqt3jbd4zzTCfk9IGvZQUs6Uxap1itnE_tPfJPnxzHmaqPyS3X4LVAqRDDHar6UrZnU_aBz5xkRorc9yf_AYnUwspgqRsWDevA98LtdYPOPYUkQt1qYXcVV3kzW28LpPJIgwGM9K3oz7VH0ZIzMkUMg45Rz_kb_l8KiVjLaqXhagzhCKjF3MZV4NYaWP5IRucG1_kuAJ1acubmgwoRFkKJpmRXA", + body: '{"value": "KouYTbj9U9AOkd9ovR001BV8d64tJmnrEAajQadLcHqKAwIAIMOqa3Rk9PlU2gKjbQXX_UO3g4mFcXH_Heyw2d7bCCU2h-CJQVuYdISd24zSHCfzL6nrRhOtZ0hF3nec5F7i1z9aNiJNdiARM96MyQeyffQuVjImeTOfUog4Hn6HzTOFUgOEBodQe24r9HV6QBjFp_fSVF69voDCm3dfkEDZuUCv6QYxURxcTNZiwTpP1hxM1TovtNCWla0t5rFvvyh8-Et4aWXVdd9fRrY0pt4zKlT1MTro1WMBbebhbl1xI_vv2adbYgTwUBGI4hX880J1wzZx9OCvI5rYtCe13ivMNjeqzDVbh3hX9cMWdkWaumMK76QQxJGiGWQdR6IzBcVwTgKEtmPx1hEy-TRlN_A3cr8bm_7diqbOo5ZDvAjRzhTKJpmflzGrS9OHRKaV5EqGy1sSLEYJBnuDHdJS0JxJYaOn-mKKaFa90xxk_6nbrGZlvBldaL7_ubVQXgn2-9ma1u1a3fJhj28iCwTM53Wtn53OT4iwgOmuE7dJbMDgkPbqfrMLKzv9T1Gg7hwlzs-sd-ivascqnJPJS7i9889bvnuaTN1Iu-RFGdcLHty61cXWz3BYFf9h0zixeizX36A6z2ut43CWbXQgWxkim_Q_zWfrzygSh8MmL5UPHZI", "alg": "RSA-OAEP-256"}' headers: Accept: @@ -163,21 +163,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local897e11ce/10caab44c2594ab289d8a13c7451a4a2/unwrapkey?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local5592109b/b41c07b7eb4e4d2b8514ced18835f465/unwrapkey?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local897e11ce/10caab44c2594ab289d8a13c7451a4a2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local5592109b/b41c07b7eb4e4d2b8514ced18835f465","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache content-length: - - '389' + - '391' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:56 GMT + - Fri, 19 Mar 2021 23:05:56 GMT expires: - '-1' pragma: @@ -189,16 +189,16 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"value": "AZyV13GhF9vAOV8Pvpq9pJdHpBwgCe9pXUMT9SlUwVnp_EknVg571rcjraiWqYe7yTt9EBv1uZhWLXVAJ0FjtmEC-gsoI-RhgI8lzw5zhYkwKlnkz7C095v9Yy5X8vCnS9pHxqpKW-MmkFmVvHSsZ7KarRV_OuHIHZPw1jtIn6ZT_xm7EfY8ndh2DLirsgtQPi95kaJeyz7Glql61WEW6S3HfALFwmUF_3B7_dhZ4qV6zYWqUqatUM1cLKF-kfby_xp4cCc4Juyen8h1f4aTGkFF_GJ3kyOYiwcJGuI3O6ti7q7JRC6_S555Fm6PKs3rYb3feuqm2GsAWOGQbOn7_jHBogl1peqhCwKA1W8S6CafDp75jqOag1EckJEiCCVgZ-XOzdRXkGdLEtOY10Nesu-0HiHESGse2QR-NjSsNmVe_WfC1qDIsGKY8O_OvXZGA8sGmJYL123SDogr3-ON2ZE20oy2uA5rcXaZVw-sUwlPWi1lVdKaFeYNssRwDAVns6ZZpBpswmNXc08iAUc1FE91zrWcByyr2HpkSjAgETFk1d0xeZB8SZxuRfN_bRz-mVBsEk53nDdD8fC4zAv6BgWQw43fBSuEr7FxZR333Cp9HR2jeZYF8uZ0bfqtP5Zpm5T4-24LNIBhz7VNxfZNDwYQjLgI4NydUL0MMHnX-ks", + body: '{"value": "qxjTYldmNkiJmH_PCgV791ERGcwL80ZYZBzFPS7av2OR-iX_wFIzb4YLDXA4SUflw_XNKrSaX40PBDUQN1q9gA6rE6EBmiBskJmweW4ABTh1pyQ-0RvTPcO-bk149zJUBvNoS0A-84wlobWgOXKFTBGnDg3QM7jGMfAIvzMMqlHrM_rEAZaLHxEEXOH0XAnLb_3kI9pfjwjQvJgpYimwdObcDG4ZwivFQf7By8vZFBsvwdeZoitddaWFB26ECkId5ITufzTYQKo0s_uiUZ4yKgMzrbVcDZYaXEksBlImr5e-ICRj2OAkOaUawsVW_cPq3Za_eAj1BGtQUkVjsBbB4Fhup2FB1rPGCPux0j_yKQg76h3Ih4D22sJu9VkwTEU9cG78N1iFhhq3mskOxCDjREyyHk1fMt2Zmm7W0IJDU2bgqMOCpyQUrnRuLUBjik3Bg1bJZ3hO0JBhymQ-OdLFaWJOMwzqwNTIVjivtJjqbGiiIQQsEIJwH6YcbJbf5ibstUJYMQ95iU8kQIjMc8aF1BO1kaasKovs9nARNQ75hb2ziL7nJpaeOjGNGQKk7QfaxuPoUAT0xCwqSEo8_eEiCDbr5nIZgvANKXyhu2ziYlaSEqnkFhKWSEg1jOFznZBFXTQ1FxdZE-2MJvXlLCD7nxaiCjrAk7eQKL8LZK9veMY", "alg": "RSA1_5"}' headers: Accept: @@ -212,21 +212,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local897e11ce/10caab44c2594ab289d8a13c7451a4a2/unwrapkey?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local5592109b/b41c07b7eb4e4d2b8514ced18835f465/unwrapkey?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local897e11ce/10caab44c2594ab289d8a13c7451a4a2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local5592109b/b41c07b7eb4e4d2b8514ced18835f465","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: - no-cache content-length: - - '389' + - '391' content-type: - application/json; charset=utf-8 date: - - Fri, 05 Mar 2021 23:26:56 GMT + - Fri, 19 Mar 2021 23:05:57 GMT expires: - '-1' pragma: @@ -238,9 +238,9 @@ interactions: x-ms-keyvault-network-info: - conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; x-ms-keyvault-region: - - westus2 + - eastus2 x-ms-keyvault-service-version: - - 1.2.191.0 + - 1.2.205.0 x-powered-by: - ASP.NET status: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py index 0c09c8881199..df4492a8f8c6 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py @@ -111,7 +111,9 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertTrue(kid.index(prefix) == 0, "Key Id should start with '{}', but value is '{}'".format(prefix, kid)) self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") - self.assertEqual(key_ops, key.key_ops, "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops)) + self.assertEqual( + key_ops.sort(), key.key_ops.sort(), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) + ) self.assertTrue( key_attributes.properties.created_on and key_attributes.properties.updated_on, "Missing required date attributes.", @@ -129,14 +131,14 @@ def _validate_ec_key_bundle(self, key_curve, key_attributes, vault, key_name, kt "Missing required date attributes.", ) - def _import_test_key(self, client, name): + def _import_test_key(self, client, name, hardware_protected=False): def _to_bytes(hex): if len(hex) % 2: hex = "0{}".format(hex) return codecs.decode(hex, "hex_codec") key = JsonWebKey( - kty="RSA", + kty="RSA-HSM" if hardware_protected else "RSA", key_ops=["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], n=_to_bytes( "00a0914d00234ac683b21b4c15d5bed887bdc959c2e57af54ae734e8f00720d775d275e455207e3784ceeb60a50a4655dd72a7a94d271e8ee8f7959a669ca6e775bf0e23badae991b4529d978528b4bd90521d32dd2656796ba82b6bbfc7668c8f5eeb5053747fd199319d29a8440d08f4412d527ff9311eda71825920b47b1c46b11ab3e91d7316407e89c7f340f7b85a34042ce51743b27d4718403d34c7b438af6181be05e4d11eb985d38253d7fe9bf53fc2f1b002d22d2d793fa79a504b6ab42d0492804d7071d727a06cf3a8893aa542b1503f832b296371b6707d4dc6e372f8fe67d8ded1c908fde45ce03bc086a71487fa75e43aa0e0679aa0d20efe35" @@ -174,11 +176,17 @@ def _import_symmetric_test_key(self, client, name): imported_key = client.import_key(name, key) return imported_key + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_ec_key_id(self, azure_keyvault_url, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) - key = self._create_ec_key(key_client, self.get_resource_name("eckey")) + key = self._create_ec_key(key_client, self.get_resource_name("eckey"), hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key.id) crypto_client._initialize() @@ -189,11 +197,17 @@ def test_ec_key_id(self, azure_keyvault_url, **kwargs): crypto_client.verify(SignatureAlgorithm.es256_k, hashlib.sha256(self.plaintext).digest(), self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_rsa_key_id(self, azure_keyvault_url, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) - key = self._create_rsa_key(key_client, self.get_resource_name("rsakey")) + key = self._create_rsa_key(key_client, self.get_resource_name("rsakey"), hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key.id) crypto_client._initialize() @@ -206,12 +220,18 @@ def test_rsa_key_id(self, azure_keyvault_url, **kwargs): crypto_client.verify(SignatureAlgorithm.rs256, hashlib.sha256(self.plaintext).digest(), self.plaintext) crypto_client.wrap_key(KeyWrapAlgorithm.rsa_oaep, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) key_name = self.get_resource_name("keycrypt") - imported_key = self._import_test_key(key_client, key_name) + imported_key = self._import_test_key(key_client, key_name, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(imported_key.id) result = crypto_client.encrypt(EncryptionAlgorithm.rsa_oaep, self.plaintext) @@ -222,8 +242,14 @@ def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): self.assertEqual(EncryptionAlgorithm.rsa_oaep, result.algorithm) self.assertEqual(self.plaintext, result.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_sign_and_verify(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) key_name = self.get_resource_name("keysign") @@ -231,7 +257,7 @@ def test_sign_and_verify(self, azure_keyvault_url, **kwargs): md.update(self.plaintext) digest = md.digest() - imported_key = self._import_test_key(key_client, key_name) + imported_key = self._import_test_key(key_client, key_name, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(imported_key.id) result = crypto_client.sign(SignatureAlgorithm.rs256, digest) @@ -242,12 +268,18 @@ def test_sign_and_verify(self, azure_keyvault_url, **kwargs): self.assertEqual(result.algorithm, SignatureAlgorithm.rs256) self.assertTrue(verified.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) key_name = self.get_resource_name("keywrap") - created_key = self._create_rsa_key(key_client, key_name) + created_key = self._create_rsa_key(key_client, key_name, hardware_protected=is_hsm) self.assertIsNotNone(created_key) crypto_client = self.create_crypto_client(created_key.id) @@ -259,10 +291,13 @@ def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): result = crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(key_bytes, result.key) + @parameterized.expand([param(is_hsm=True)], name_func=suffixed_test_name) @KeyVaultPreparer() def test_symmetric_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): - if self.is_live: - pytest.skip("MHSM-only algorithms can't be tested in CI yet") + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("symmetric-encrypt") @@ -300,10 +335,13 @@ def test_symmetric_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): else: assert result.plaintext == self.plaintext + @parameterized.expand([param(is_hsm=True)], name_func=suffixed_test_name) @KeyVaultPreparer() def test_symmetric_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): - if self.is_live: - pytest.skip("MHSM-only algorithms can't be tested in CI yet") + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("symmetric-kw") @@ -318,12 +356,18 @@ def test_symmetric_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): result = crypto_client.unwrap_key(result.algorithm, result.encrypted_key) assert result.key == self.plaintext + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_encrypt_local(self, azure_keyvault_url, **kwargs): """Encrypt locally, decrypt with Key Vault""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("encrypt-local") - key = self._create_rsa_key(key_client, key_name, size=4096) + key = self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) rsa_encrypt_algorithms = [algo for algo in EncryptionAlgorithm if algo.startswith("RSA")] @@ -334,12 +378,18 @@ def test_encrypt_local(self, azure_keyvault_url, **kwargs): result = crypto_client.decrypt(result.algorithm, result.ciphertext) self.assertEqual(result.plaintext, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): """Encrypt locally, decrypt with Key Vault""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("encrypt-local") - key = self._create_rsa_key(key_client, key_name, size=4096) + key = self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) local_client = CryptographyClient.from_jwk(key.key) @@ -351,12 +401,18 @@ def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): result = crypto_client.decrypt(result.algorithm, result.ciphertext) self.assertEqual(result.plaintext, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_wrap_local(self, azure_keyvault_url, **kwargs): """Wrap locally, unwrap with Key Vault""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("wrap-local") - key = self._create_rsa_key(key_client, key_name, size=4096) + key = self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) for wrap_algorithm in (algo for algo in KeyWrapAlgorithm if algo.startswith("RSA")): @@ -366,12 +422,18 @@ def test_wrap_local(self, azure_keyvault_url, **kwargs): result = crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(result.key, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): """Wrap locally, unwrap with Key Vault""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("wrap-local") - key = self._create_rsa_key(key_client, key_name, size=4096) + key = self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) local_client = CryptographyClient.from_jwk(key.key) @@ -382,13 +444,19 @@ def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): result = crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(result.key, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) - key = self._create_rsa_key(key_client, key_name, size=size) + key = self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) for signature_algorithm, hash_function in ( (SignatureAlgorithm.ps256, hashlib.sha256), @@ -406,13 +474,19 @@ def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): result = crypto_client.verify(result.algorithm, digest, result.signature) self.assertTrue(result.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) - key = self._create_rsa_key(key_client, key_name, size=size) + key = self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) local_client = CryptographyClient.from_jwk(key.key) for signature_algorithm, hash_function in ( @@ -431,9 +505,15 @@ def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): result = local_client.verify(result.algorithm, digest, result.signature) self.assertTrue(result.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_ec_verify_local(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), @@ -444,7 +524,7 @@ def test_ec_verify_local(self, azure_keyvault_url, **kwargs): for curve, (signature_algorithm, hash_function) in sorted(matrix.items()): key_name = self.get_resource_name("ec-verify-{}".format(curve.value)) - key = self._create_ec_key(key_client, key_name, curve=curve) + key = self._create_ec_key(key_client, key_name, curve=curve, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) digest = hash_function(self.plaintext).digest() @@ -455,9 +535,15 @@ def test_ec_verify_local(self, azure_keyvault_url, **kwargs): result = crypto_client.verify(result.algorithm, digest, result.signature) self.assertTrue(result.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), @@ -468,7 +554,7 @@ def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): for curve, (signature_algorithm, hash_function) in sorted(matrix.items()): key_name = self.get_resource_name("ec-verify-{}".format(curve.value)) - key = self._create_ec_key(key_client, key_name, curve=curve) + key = self._create_ec_key(key_client, key_name, curve=curve, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) local_client = CryptographyClient.from_jwk(key.key) @@ -480,9 +566,15 @@ def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): result = local_client.verify(result.algorithm, digest, result.signature) self.assertTrue(result.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() def test_local_validity_period_enforcement(self, azure_keyvault_url, **kwargs): """Local crypto operations should respect a key's nbf and exp properties""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) def test_operations(key, expected_error_substrings, encrypt_algorithms, wrap_algorithms): crypto_client = self.create_crypto_client(key) @@ -503,21 +595,25 @@ def test_operations(key, expected_error_substrings, encrypt_algorithms, wrap_alg rsa_wrap_algorithms = [algo for algo in KeyWrapAlgorithm if algo.startswith("RSA")] rsa_encryption_algorithms = [algo for algo in EncryptionAlgorithm if algo.startswith("RSA")] key_name = self.get_resource_name("rsa-not-yet-valid") - not_yet_valid_key = self._create_rsa_key(key_client, key_name, not_before=the_year_3000) + not_yet_valid_key = self._create_rsa_key( + key_client, key_name, not_before=the_year_3000, hardware_protected=is_hsm + ) test_operations(not_yet_valid_key, [str(the_year_3000)], rsa_encryption_algorithms, rsa_wrap_algorithms) # nor should they succeed with a key whose exp has passed the_year_2000 = datetime(2000, 1, 1, tzinfo=_UTC) key_name = self.get_resource_name("rsa-expired") - expired_key = self._create_rsa_key(key_client, key_name, expires_on=the_year_2000) + expired_key = self._create_rsa_key(key_client, key_name, expires_on=the_year_2000, hardware_protected=is_hsm) test_operations(expired_key, [str(the_year_2000)], rsa_encryption_algorithms, rsa_wrap_algorithms) # when exp and nbf are set, error messages should contain both the_year_3001 = datetime(3001, 1, 1, tzinfo=_UTC) key_name = self.get_resource_name("rsa-valid") - valid_key = self._create_rsa_key(key_client, key_name, not_before=the_year_3000, expires_on=the_year_3001) + valid_key = self._create_rsa_key( + key_client, key_name, not_before=the_year_3000, expires_on=the_year_3001, hardware_protected=is_hsm + ) test_operations( valid_key, (str(the_year_3000), str(the_year_3001)), rsa_encryption_algorithms, rsa_wrap_algorithms ) From a6827ba24265ff63496de37a5f6c68d958162324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Fri, 19 Mar 2021 16:29:45 -0700 Subject: [PATCH 04/12] Parameterize test_crypto_client_async.py --- ...ypto_client_async.test_ec_key_id_mhsm.yaml | 92 +++ ...to_client_async.test_ec_key_id_vault.yaml} | 46 +- ...nc.test_ec_verify_local_from_jwk_mhsm.yaml | 281 +++++++ ....test_ec_verify_local_from_jwk_vault.yaml} | 140 ++-- ...lient_async.test_ec_verify_local_mhsm.yaml | 281 +++++++ ...ent_async.test_ec_verify_local_vault.yaml} | 150 ++-- ...t_async.test_encrypt_and_decrypt_mhsm.yaml | 130 ++++ ...async.test_encrypt_and_decrypt_vault.yaml} | 83 +- ...rypto_client_async.test_encrypt_local.yaml | 170 ---- ...ent_async.test_encrypt_local_from_jwk.yaml | 170 ---- ...sync.test_encrypt_local_from_jwk_mhsm.yaml | 157 ++++ ...ync.test_encrypt_local_from_jwk_vault.yaml | 170 ++++ ..._client_async.test_encrypt_local_mhsm.yaml | 157 ++++ ...client_async.test_encrypt_local_vault.yaml | 170 ++++ ...est_local_validity_period_enforcement.yaml | 137 ---- ...ocal_validity_period_enforcement_mhsm.yaml | 126 +++ ...cal_validity_period_enforcement_vault.yaml | 137 ++++ ...pto_client_async.test_rsa_key_id_mhsm.yaml | 92 +++ ...o_client_async.test_rsa_key_id_vault.yaml} | 46 +- ...to_client_async.test_rsa_verify_local.yaml | 731 ------------------ ..._async.test_rsa_verify_local_from_jwk.yaml | 731 ------------------ ...c.test_rsa_verify_local_from_jwk_mhsm.yaml | 684 ++++++++++++++++ ....test_rsa_verify_local_from_jwk_vault.yaml | 731 ++++++++++++++++++ ...ient_async.test_rsa_verify_local_mhsm.yaml | 684 ++++++++++++++++ ...ent_async.test_rsa_verify_local_vault.yaml | 731 ++++++++++++++++++ ...lient_async.test_sign_and_verify_mhsm.yaml | 130 ++++ ...ent_async.test_sign_and_verify_vault.yaml} | 81 +- ...nc.test_symmetric_encrypt_and_decrypt.yaml | 284 ------- ...st_symmetric_encrypt_and_decrypt_mhsm.yaml | 284 +++++++ ....test_symmetric_wrap_and_unwrap_mhsm.yaml} | 42 +- ...lient_async.test_wrap_and_unwrap_mhsm.yaml | 123 +++ ...ent_async.test_wrap_and_unwrap_vault.yaml} | 64 +- ...t_crypto_client_async.test_wrap_local.yaml | 170 ---- ...client_async.test_wrap_local_from_jwk.yaml | 170 ---- ...t_async.test_wrap_local_from_jwk_mhsm.yaml | 157 ++++ ..._async.test_wrap_local_from_jwk_vault.yaml | 170 ++++ ...pto_client_async.test_wrap_local_mhsm.yaml | 157 ++++ ...to_client_async.test_wrap_local_vault.yaml | 170 ++++ .../tests/test_crypto_client_async.py | 168 +++- 39 files changed, 6284 insertions(+), 2913 deletions(-) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client_async.test_ec_key_id.yaml => test_crypto_client_async.test_ec_key_id_vault.yaml} (52%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client_async.test_ec_verify_local_from_jwk.yaml => test_crypto_client_async.test_ec_verify_local_from_jwk_vault.yaml} (57%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client_async.test_ec_verify_local.yaml => test_crypto_client_async.test_ec_verify_local_vault.yaml} (54%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client_async.test_encrypt_and_decrypt.yaml => test_crypto_client_async.test_encrypt_and_decrypt_vault.yaml} (54%) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk_vault.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_vault.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement_vault.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client_async.test_rsa_key_id.yaml => test_crypto_client_async.test_rsa_key_id_vault.yaml} (51%) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk_vault.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_vault.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client_async.test_sign_and_verify.yaml => test_crypto_client_async.test_sign_and_verify_vault.yaml} (54%) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_encrypt_and_decrypt.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_encrypt_and_decrypt_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client_async.test_symmetric_wrap_and_unwrap.yaml => test_crypto_client_async.test_symmetric_wrap_and_unwrap_mhsm.yaml} (53%) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap_mhsm.yaml rename sdk/keyvault/azure-keyvault-keys/tests/recordings/{test_crypto_client_async.test_wrap_and_unwrap.yaml => test_crypto_client_async.test_wrap_and_unwrap_vault.yaml} (52%) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local.yaml delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk_vault.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_mhsm.yaml create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_vault.yaml diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id_mhsm.yaml new file mode 100644 index 000000000000..fe2d88b35cea --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id_mhsm.yaml @@ -0,0 +1,92 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey9b2b1219/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesteckey9b2b1219/create?api-version=7.2-preview +- request: + body: '{"kty": "EC-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '17' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey9b2b1219/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196290,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196290},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey9b2b1219/3cbe1d11ba3e0e6888a9f174f021b9ff","kty":"EC-HSM","x":"bA9uPNtm-Buc6wFevMFm1nYVZSBnucCHACj_utF6WB8","y":"uX8GAetQKhd_93nqI_DbgNtem1hMr1UuONa4HAR0nzg"}}' + headers: + cache-control: no-cache + content-length: '433' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '318' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesteckey9b2b1219/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey9b2b1219/3cbe1d11ba3e0e6888a9f174f021b9ff?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196290,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196290},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtesteckey9b2b1219/3cbe1d11ba3e0e6888a9f174f021b9ff","kty":"EC-HSM","x":"bA9uPNtm-Buc6wFevMFm1nYVZSBnucCHACj_utF6WB8","y":"uX8GAetQKhd_93nqI_DbgNtem1hMr1UuONa4HAR0nzg"}}' + headers: + cache-control: no-cache + content-length: '433' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '94' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtesteckey9b2b1219/3cbe1d11ba3e0e6888a9f174f021b9ff?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id_vault.yaml similarity index 52% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id_vault.yaml index 4e14c9acbfad..9f62f568c39f 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_key_id_vault.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesteckey44f81005/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesteckeyadcd1290/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,21 +20,21 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:20:59 GMT + date: Fri, 19 Mar 2021 23:24:53 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtesteckey44f81005/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtesteckeyadcd1290/create?api-version=7.2-preview - request: body: '{"kty": "EC"}' headers: @@ -45,56 +45,56 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtesteckey44f81005/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesteckeyadcd1290/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesteckey44f81005/2dacef011cf647b386a09f402001c468","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"wZoejOZY3HTjFxxNUVIAtrrJUH8ihKKPES99xXKkW-s","y":"jJBDS621wRu2VfS7DA_WewHe5GVt0NWpo1Cz0FFFGlA"},"attributes":{"enabled":true,"created":1612578060,"updated":1612578060,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesteckeyadcd1290/73b98fd5f680439092a3b4336bfe4bc2","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"3NSrkDSb2NaqtPuM7dGX8PFvIgjCgSjxjxA4k9gGlss","y":"VfG5X253PdbZhVf9M0-IaDuKH6TIIOGvV6scb5qjJtk"},"attributes":{"enabled":true,"created":1616196294,"updated":1616196294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '402' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:00 GMT + date: Fri, 19 Mar 2021 23:24:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesteckey44f81005/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtesteckeyadcd1290/create?api-version=7.2-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtesteckey44f81005/2dacef011cf647b386a09f402001c468?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtesteckeyadcd1290/73b98fd5f680439092a3b4336bfe4bc2?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesteckey44f81005/2dacef011cf647b386a09f402001c468","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"wZoejOZY3HTjFxxNUVIAtrrJUH8ihKKPES99xXKkW-s","y":"jJBDS621wRu2VfS7DA_WewHe5GVt0NWpo1Cz0FFFGlA"},"attributes":{"enabled":true,"created":1612578060,"updated":1612578060,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtesteckeyadcd1290/73b98fd5f680439092a3b4336bfe4bc2","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"3NSrkDSb2NaqtPuM7dGX8PFvIgjCgSjxjxA4k9gGlss","y":"VfG5X253PdbZhVf9M0-IaDuKH6TIIOGvV6scb5qjJtk"},"attributes":{"enabled":true,"created":1616196294,"updated":1616196294,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '402' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:00 GMT + date: Fri, 19 Mar 2021 23:24:54 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtesteckey44f81005/2dacef011cf647b386a09f402001c468?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtesteckeyadcd1290/73b98fd5f680439092a3b4336bfe4bc2?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk_mhsm.yaml new file mode 100644 index 000000000000..1f7c7df13ccb --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk_mhsm.yaml @@ -0,0 +1,281 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256ddb61861/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256ddb61861/create?api-version=7.2-preview +- request: + body: '{"crv": "P-256", "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256ddb61861/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196297,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196297},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256ddb61861/5882117cb0a24d68276ea716b686afa1","kty":"EC-HSM","x":"3-lIJncx3Tm2Bvs5Sr_k4JcuLqv-PCMvpOd-7iucd8g","y":"NHJhUoCtbALakReJG3rxBHNxapOshCOLr7LLaoSQzLo"}}' + headers: + cache-control: no-cache + content-length: '443' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '340' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256ddb61861/create?api-version=7.2-preview +- request: + body: '{"alg": "ES256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256ddb61861/5882117cb0a24d68276ea716b686afa1/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256ddb61861/5882117cb0a24d68276ea716b686afa1","value":"54D9uskIPpIp91KhmU-chFvts5ApyjUl8MDZ2j9jW3IqcMDF1NGuaHxzGfjFdd7RGUONSm2Aj92ESclePiGlNA"}' + headers: + cache-control: no-cache + content-length: '237' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '108' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256ddb61861/5882117cb0a24d68276ea716b686afa1/sign?api-version=7.2-preview +- request: + body: '{"crv": "P-256K", "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '34' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256Kddb61861/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196301,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196301},"key":{"crv":"P-256K","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256Kddb61861/f58e4fa48b7d0011bc46b70f13c0a964","kty":"EC-HSM","x":"UCl3QnWIYgJgsx79ftv0eR48Bdu2Thd3KgHI49_I8CY","y":"GrFaHDEnKU6dZO7N8Pn-9UGxIYldTZcFfjDG6cYQBjA"}}' + headers: + cache-control: no-cache + content-length: '445' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '279' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256Kddb61861/create?api-version=7.2-preview +- request: + body: '{"alg": "ES256K", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '73' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256Kddb61861/f58e4fa48b7d0011bc46b70f13c0a964/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES256K","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256Kddb61861/f58e4fa48b7d0011bc46b70f13c0a964","value":"s-S7OWWNmC4Ur2t6zfaayouMDX1LfrRPPVg4OqIAi15Fht8_WHh-3S1i5VouuDSw_wlTpnts6zDMHb_d1aYh3A"}' + headers: + cache-control: no-cache + content-length: '239' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '102' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256Kddb61861/f58e4fa48b7d0011bc46b70f13c0a964/sign?api-version=7.2-preview +- request: + body: '{"crv": "P-384", "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384ddb61861/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196304,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196304},"key":{"crv":"P-384","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384ddb61861/2124c19360b700bc3cd232e6703d5c72","kty":"EC-HSM","x":"MK1eXVNKdJsTX9U6H71LgfxQ2zZ1hVKhS5TQ7AP70RdCLIb2TPR-ZogdarMrMXXG","y":"lN-Q9eT9rjx4T315puCaa-3TCWZpceT0itFnT19hOuwL9KLEZxLlT7ni3j1theV0"}}' + headers: + cache-control: no-cache + content-length: '485' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '350' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-384ddb61861/create?api-version=7.2-preview +- request: + body: '{"alg": "ES384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384ddb61861/2124c19360b700bc3cd232e6703d5c72/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384ddb61861/2124c19360b700bc3cd232e6703d5c72","value":"AzPNH3MOeHbe1itlyEieggujtaC_E7Vq8I1GMVtCfZhlnkwMFQUKmYWWHydZ1z9aWzuhZmeLdL6KYjtL-J-3ONtaiKjfoRBKD7AXRt4Vr9BEpIcUDPD0oGTkA7l7IOy_"}' + headers: + cache-control: no-cache + content-length: '279' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '120' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-384ddb61861/2124c19360b700bc3cd232e6703d5c72/sign?api-version=7.2-preview +- request: + body: '{"crv": "P-521", "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521ddb61861/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196307,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196307},"key":{"crv":"P-521","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521ddb61861/c6f635091ffd01a627693cf9ee3492fc","kty":"EC-HSM","x":"AYUfL7ZrbUQ8Sb71WbPA0ZwM11fcwEOzGiZbt-aSYeQQvtcLkvqH4GDzXv9wsRW3I6yptqbn_TOzBWAyJDNV73Nn","y":"AAbumIPLLS5Sg4wh-3fVsYcSHhAlXOq5A6mnfYzx0R8UDHmbIdsZML28MUtbXrq0W4f35haJZEpRNpYc1q-8qJTe"}}' + headers: + cache-control: no-cache + content-length: '533' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '451' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-521ddb61861/create?api-version=7.2-preview +- request: + body: '{"alg": "ES512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521ddb61861/c6f635091ffd01a627693cf9ee3492fc/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521ddb61861/c6f635091ffd01a627693cf9ee3492fc","value":"ASftWadyB3PZegqq_1L2eFffvh-WlHtftb_ZQDJPY07LuKmilAcvBO3RTLAsVDSrErX16UBo5zUv56Z84d1nsqvWAXMpbBonReUowkOAZJRSb4ZSf8QlGr7tFUEVrasDlx1sxFU72BkQczOHoKmoKdrOqGUIH87X4hZmrTxdtQPf6VRP"}' + headers: + cache-control: no-cache + content-length: '327' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '186' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-521ddb61861/c6f635091ffd01a627693cf9ee3492fc/sign?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk_vault.yaml similarity index 57% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk_vault.yaml index 8b5283e7fcce..d066b90be953 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_from_jwk_vault.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256681b164d/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256f6a018d8/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,7 +20,7 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:04 GMT + date: Fri, 19 Mar 2021 23:25:11 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000;includeSubDomains @@ -28,13 +28,13 @@ interactions: resource="https://vault.azure.net" x-content-type-options: nosniff x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinokv.vault.azure.net/keys/livekvtestec-verify-P-256681b164d/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256f6a018d8/create?api-version=7.2-preview - request: body: '{"crv": "P-256", "kty": "EC"}' headers: @@ -45,29 +45,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256681b164d/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256f6a018d8/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256681b164d/b9df70f31adf4421a9716ea42bc93e4c","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"QmKAGdZ_t4jtNYhpFcdqkOWqImIFN8sRp4suSW8IfvA","y":"ivayZMj0Ud-_3WUv538aQZItI947s0xkSIjPBfGqM9Y"},"attributes":{"enabled":true,"created":1614987064,"updated":1614987064,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256f6a018d8/518736bdd8754eb296b78059f59765be","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"TdV4iJF9cWzEC3csDDjWaACkkBOmET4WD19_2D_xDKg","y":"P_1lDG0c345s9Xg2Nm8OjlRyNZQqJJ-IKfMfzLvpcHQ"},"attributes":{"enabled":true,"created":1616196311,"updated":1616196311,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '410' + content-length: '412' content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:04 GMT + date: Fri, 19 Mar 2021 23:25:11 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestec-verify-P-256681b164d/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256f6a018d8/create?api-version=7.2-preview - request: body: '{"alg": "ES256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' headers: @@ -78,29 +78,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256681b164d/b9df70f31adf4421a9716ea42bc93e4c/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256f6a018d8/518736bdd8754eb296b78059f59765be/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256681b164d/b9df70f31adf4421a9716ea42bc93e4c","value":"JYQH5XgzvEgYRFNBQb59lZZYVVzWks4bK2q0krYDrz_BhndjYOynO2Z7e8djQG07Kvm5vs_pBFSYzJvlb_1rig"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256f6a018d8/518736bdd8754eb296b78059f59765be","value":"xSJkY4jN4OICtLONUMvVVtN0BYIDaQgDuunXzHALyrtG9S_wzG7WZjMTESzgrXDAcwVxYLqsjMaAIchW0pbM0g"}' headers: cache-control: no-cache - content-length: '213' + content-length: '215' content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:04 GMT + date: Fri, 19 Mar 2021 23:25:12 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestec-verify-P-256681b164d/b9df70f31adf4421a9716ea42bc93e4c/sign?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256f6a018d8/518736bdd8754eb296b78059f59765be/sign?api-version=7.2-preview - request: body: '{"crv": "P-256K", "kty": "EC"}' headers: @@ -111,29 +111,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K681b164d/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kf6a018d8/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K681b164d/0682c134547246f59a1394dc7e5ba53c","kty":"EC","key_ops":["sign","verify"],"crv":"P-256K","x":"yWmEUDjKm44KGeGzFvEES-Pq9fZU_lReZ9VPA8sXJ6Q","y":"Bw_fxg-5PYvrBwS2FqGSaP9m-3OqROfCWsGf1t6fp10"},"attributes":{"enabled":true,"created":1614987065,"updated":1614987065,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kf6a018d8/b1e1de3727a644579829c58bb5056d36","kty":"EC","key_ops":["sign","verify"],"crv":"P-256K","x":"e-oIsEHeMF2aCW3vwx_2BQzDVaxmqG1oP7IIbjbJhx8","y":"Fv4saDpdm-N0R5-B6vKCHwYql0O8IzmQ4xX57FQd31I"},"attributes":{"enabled":true,"created":1616196314,"updated":1616196314,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '412' + content-length: '414' content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:05 GMT + date: Fri, 19 Mar 2021 23:25:14 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestec-verify-P-256K681b164d/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256Kf6a018d8/create?api-version=7.2-preview - request: body: '{"alg": "ES256K", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' headers: @@ -144,29 +144,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K681b164d/0682c134547246f59a1394dc7e5ba53c/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kf6a018d8/b1e1de3727a644579829c58bb5056d36/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K681b164d/0682c134547246f59a1394dc7e5ba53c","value":"oGDNGD2sQB29TYwpKcZUu-inCsl4olKdcaqpHZpF6ih4nc3W-gZv_jtxr3r8yNcQoPZLrIsYItKAUvG0RnaKfw"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kf6a018d8/b1e1de3727a644579829c58bb5056d36","value":"ppmNIH4hDqZ9g0rE_xqgt1PbESzQoNxwAoAP1tJwwP2-Yo0hYT4NZafLMaVQ5EGp_n5DDDyO95qwJiSHOioBKA"}' headers: cache-control: no-cache - content-length: '214' + content-length: '216' content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:05 GMT + date: Fri, 19 Mar 2021 23:25:15 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestec-verify-P-256K681b164d/0682c134547246f59a1394dc7e5ba53c/sign?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256Kf6a018d8/b1e1de3727a644579829c58bb5056d36/sign?api-version=7.2-preview - request: body: '{"crv": "P-384", "kty": "EC"}' headers: @@ -177,29 +177,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384681b164d/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384f6a018d8/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384681b164d/2b8b4083ea93442c8dc1a61562730f9b","kty":"EC","key_ops":["sign","verify"],"crv":"P-384","x":"z33sExmi-UGsTsYKT6G3JQO9ZDKeqxLx1qyHXY6q9zJEDwKQqm9JZfVONno9blZf","y":"QmETaqZgy9_xbA8TDP_cUHo4DrJAfNO4vurEJe6Ou_DFKn4uRt11Gc3WvfTp2sd3"},"attributes":{"enabled":true,"created":1614987065,"updated":1614987065,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384f6a018d8/8b75ddaf62534253b6fd5af09407d0fc","kty":"EC","key_ops":["sign","verify"],"crv":"P-384","x":"YGpujm0sIvXDgyi4CLTpzdnfGAGVSfDq9slEnrVvyriMwf8dOHt6h4mQ-1jxOva-","y":"x75Qgtbr0OaxY9A758QChK64tijEVZpLfgO4rBuIo4B16M4K1vPXS-kLs_mRCpRc"},"attributes":{"enabled":true,"created":1616196317,"updated":1616196317,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '452' + content-length: '454' content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:05 GMT + date: Fri, 19 Mar 2021 23:25:17 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestec-verify-P-384681b164d/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-384f6a018d8/create?api-version=7.2-preview - request: body: '{"alg": "ES384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' headers: @@ -210,29 +210,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384681b164d/2b8b4083ea93442c8dc1a61562730f9b/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384f6a018d8/8b75ddaf62534253b6fd5af09407d0fc/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384681b164d/2b8b4083ea93442c8dc1a61562730f9b","value":"UZeFbLXSPEMO2tJiW9P8G9fxRxNVKnd1MxjHJZAsubHwuZO-jehIPyg3Iu6XqWwwQRbglEc2qYzRszUp5xfn7ons8ssqgIUM-zYr-iV-_gRkwmR9cFw6pVUIZz90eyWR"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384f6a018d8/8b75ddaf62534253b6fd5af09407d0fc","value":"F0aRIRFA1DuEdMBvE1bCwc11QLfl3_MzDJuu0Rtde7yR7HxDsmpZUxPEo0fDPxSVFL512_SmwzXvXJ-zPooOFtXn6n5L1qjtBquvLp8J9khp-I_D5IzSBeR6_zqpV3lQ"}' headers: cache-control: no-cache - content-length: '255' + content-length: '257' content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:05 GMT + date: Fri, 19 Mar 2021 23:25:17 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestec-verify-P-384681b164d/2b8b4083ea93442c8dc1a61562730f9b/sign?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-384f6a018d8/8b75ddaf62534253b6fd5af09407d0fc/sign?api-version=7.2-preview - request: body: '{"crv": "P-521", "kty": "EC"}' headers: @@ -243,29 +243,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521681b164d/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521f6a018d8/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521681b164d/75e9e856eb5e42d4bc1ba017926f37c8","kty":"EC","key_ops":["sign","verify"],"crv":"P-521","x":"AVcVB0YjfZtbCd5vB3NCckmHjaircZKLmLRViQLZQMHbDFXobmJVim7PQ8kTccr7Gqc5_YIuWGLD0MRJz3aGUrfT","y":"AIRMBE6Ko0VsyvkVMkiC-NXo59t-ZEXkCel7nt5kXNVFhuKGNijNUMPdhyHU7lGJceLY9Hwb9znu5TLDBGKC80r_"},"attributes":{"enabled":true,"created":1614987066,"updated":1614987066,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521f6a018d8/849ec4a920eb4ca5a8f8d7cd9f4ff176","kty":"EC","key_ops":["sign","verify"],"crv":"P-521","x":"AeLwgCX7UUjFcR_h0L2Al3EqVaHAsrqjphsuGaofp9jw2fkWg4IfOP0tvxlX6TNMsUt3DuRzQopABC-auxaWNyho","y":"AQd13BzplcbH9Ib_KHHrAWZiKc1o5qX4JnuFJQ-Je1HRy1cWDwCISJbGCK502i-65vBsWnSpmNhlRI7kktW7Cbk3"},"attributes":{"enabled":true,"created":1616196320,"updated":1616196320,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '500' + content-length: '502' content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:06 GMT + date: Fri, 19 Mar 2021 23:25:20 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestec-verify-P-521681b164d/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-521f6a018d8/create?api-version=7.2-preview - request: body: '{"alg": "ES512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' headers: @@ -276,27 +276,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521681b164d/75e9e856eb5e42d4bc1ba017926f37c8/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521f6a018d8/849ec4a920eb4ca5a8f8d7cd9f4ff176/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521681b164d/75e9e856eb5e42d4bc1ba017926f37c8","value":"AJaJZwqUTowjiCOzXvNzoU7fcKtF-7bQtUEXN93gh1TpdUcF2gdgSh0k69I9Ud5rnydOiNbXGS5EBBWjKySUDDHcAV3J_gTIfD_EkJonL5-PhM55xwi4AWHkn3TTkggwVq3BvqYCEuRaA0mxv_epjRSaWFG7Jqx-ze3ndoN5zWkVApEt"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521f6a018d8/849ec4a920eb4ca5a8f8d7cd9f4ff176","value":"AZ662REGn1ehtKdG97vXfXTeC3F063p8_UYlUSCvcaySPZZG_1s8Wq01dKEt6Rcgwcl9TD5Tsmgz2SGAkThuTX_FAFN55bwCeM3mmzmwkU1lsqtGHUoc9iO7aD7J0BAxRP81lptaM0D4pt7u-RI7qHUocxkVG74RECDipb-Tc607-V2f"}' headers: cache-control: no-cache - content-length: '303' + content-length: '305' content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:07 GMT + date: Fri, 19 Mar 2021 23:25:21 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestec-verify-P-521681b164d/75e9e856eb5e42d4bc1ba017926f37c8/sign?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-521f6a018d8/849ec4a920eb4ca5a8f8d7cd9f4ff176/sign?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_mhsm.yaml new file mode 100644 index 000000000000..b72d250b42c0 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_mhsm.yaml @@ -0,0 +1,281 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256118614a3/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256118614a3/create?api-version=7.2-preview +- request: + body: '{"crv": "P-256", "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256118614a3/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196324,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196324},"key":{"crv":"P-256","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256118614a3/4988c04306690be2b5889048baea07f1","kty":"EC-HSM","x":"_JvSejRBOQSLTXGjW_46qqcHg1s5QpLT98tmQqKhDzo","y":"SqoKUpp4zqc7qpgTaAUI5KOh5ZGU6DE8d914cV7igDo"}}' + headers: + cache-control: no-cache + content-length: '443' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '250' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256118614a3/create?api-version=7.2-preview +- request: + body: '{"alg": "ES256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256118614a3/4988c04306690be2b5889048baea07f1/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256118614a3/4988c04306690be2b5889048baea07f1","value":"tJVkHVGCybEZT7JFvzg85eeT0DRvxz3QWSBF_MzwLx03zvo8TXHEZbQCsKUSYdfqPLcDUakBLfg_8kuG2CaLNA"}' + headers: + cache-control: no-cache + content-length: '237' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '131' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256118614a3/4988c04306690be2b5889048baea07f1/sign?api-version=7.2-preview +- request: + body: '{"crv": "P-256K", "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '34' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K118614a3/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196327,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196327},"key":{"crv":"P-256K","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K118614a3/a05ed264377b0af2834f433982811ed1","kty":"EC-HSM","x":"94bY6Q8_RQ06kU2IsRAe62AH92vZek-n9X5gi71dtpk","y":"HYOrUXqeslE0uRpr9xv8hwPTVR31wa7ZjEmSBtkoOnM"}}' + headers: + cache-control: no-cache + content-length: '445' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '248' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256K118614a3/create?api-version=7.2-preview +- request: + body: '{"alg": "ES256K", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '73' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K118614a3/a05ed264377b0af2834f433982811ed1/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES256K","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-256K118614a3/a05ed264377b0af2834f433982811ed1","value":"xtMYTj1PujOrktyhonq-43M6JIqGJGgx72pc7lv7VHlVxWVHb5fjlJGnoqpcn3aZIABr_h4qwyvOiFPqK3Aw3Q"}' + headers: + cache-control: no-cache + content-length: '239' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '108' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-256K118614a3/a05ed264377b0af2834f433982811ed1/sign?api-version=7.2-preview +- request: + body: '{"crv": "P-384", "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384118614a3/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196330,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196330},"key":{"crv":"P-384","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384118614a3/2c3015867a1f4e6f27901ab34300b986","kty":"EC-HSM","x":"-6nfRJFRoIAQ1tkuNariPoJ0Ay_inNIpEv5tytYrEKEAOEy05fR21YC3PiWX5Rcf","y":"91O_TxFdsZsJoqJCFdTWHE7qFYBiJ7vwAXOmnEghuyXAsz7tHhNB-65wPD6uHqej"}}' + headers: + cache-control: no-cache + content-length: '485' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '303' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-384118614a3/create?api-version=7.2-preview +- request: + body: '{"alg": "ES384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384118614a3/2c3015867a1f4e6f27901ab34300b986/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-384118614a3/2c3015867a1f4e6f27901ab34300b986","value":"dAymtD8BUgJPDNdwmUkBuZH7og2A-bgSD8Zjfl9ObbTTY9db_DJVP8UdtylEItiF3Jws8kkl0sQEd6zfXyK7fryn34zfdCJnJKCDATs64MPNPIPgxSDCsjkxBrS4A0Sm"}' + headers: + cache-control: no-cache + content-length: '279' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '106' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-384118614a3/2c3015867a1f4e6f27901ab34300b986/sign?api-version=7.2-preview +- request: + body: '{"crv": "P-521", "kty": "EC-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521118614a3/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196333,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196333},"key":{"crv":"P-521","key_ops":["verify","sign"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521118614a3/743dcc82985b0bb203e074cb7f74475e","kty":"EC-HSM","x":"AK8JMQwoKB1cC6MAMv5LDWasQOp-OAQATGYPridGV4xWlMl9z1rI4iHaO7fgyILYort1d1S8RoSmdlnpV8j5l5Iu","y":"AfpUDD1dLIdzS_ByU9KxQOR9NI5YbeT37XYzn678oVhP3q5ZcPBeE7rJxh58lxpAXd6jubcI3zLwBtcOrAlDVhKj"}}' + headers: + cache-control: no-cache + content-length: '533' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '360' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-521118614a3/create?api-version=7.2-preview +- request: + body: '{"alg": "ES512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521118614a3/743dcc82985b0bb203e074cb7f74475e/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"ES512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestec-verify-P-521118614a3/743dcc82985b0bb203e074cb7f74475e","value":"ANdo6Cz4woQ34ToNMX4z95brwAsedtFWrNJ_aKD_JT7D0IqsYvoFToe3UEVclH2KCKBZJIWCArn7_xpsCbDlQRNtATE62rAYq2F7mFExcrebAMgi-1ugFSrAooAjsJ2VQPD-YbNeZK_sppszAk66_qp4XYY5EZcEix_4CdasI2A4Mti_"}' + headers: + cache-control: no-cache + content-length: '327' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '155' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestec-verify-P-521118614a3/743dcc82985b0bb203e074cb7f74475e/sign?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_vault.yaml similarity index 54% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_vault.yaml index 19dd583873ba..19ede670adfd 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_ec_verify_local_vault.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ae92128f/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25626b2151a/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,23 +20,23 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:02 GMT + date: Fri, 19 Mar 2021 23:25:37 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256ae92128f/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-25626b2151a/create?api-version=7.2-preview - request: - body: '{"kty": "EC", "crv": "P-256"}' + body: '{"crv": "P-256", "kty": "EC"}' headers: Accept: - application/json @@ -45,29 +45,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ae92128f/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25626b2151a/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ae92128f/3503c0dcf0b94f858c4b7b368ad42e30","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"17C6eUklb0kNM9y_qTZWgNesre9Tue8jx9C8paINM4g","y":"eeANuzez_RobfNDYecs3IxlOpDyNOxvrO68sYE8qsdg"},"attributes":{"enabled":true,"created":1612578062,"updated":1612578062,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25626b2151a/5918da47923e4fe58a5ea1afc18daa80","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"O3qjDzW2_zFIqZtqBr_2cNjgWPFPS37cytKguXWdqJg","y":"BUhiHCQvnPd6vlfS5Kj4iZO9rVEjasH3mXNyaj00RJg"},"attributes":{"enabled":true,"created":1616196337,"updated":1616196337,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '412' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:02 GMT + date: Fri, 19 Mar 2021 23:25:37 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256ae92128f/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-25626b2151a/create?api-version=7.2-preview - request: body: '{"alg": "ES256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' headers: @@ -78,31 +78,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ae92128f/3503c0dcf0b94f858c4b7b368ad42e30/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25626b2151a/5918da47923e4fe58a5ea1afc18daa80/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256ae92128f/3503c0dcf0b94f858c4b7b368ad42e30","value":"bXUq8rl_AKzjNC6UxNkuiAgk6QqkrmaezfFn7Rx20nM343mVCmyvoq8_hMhAlKBR4oxhQ7DtrIpOd360m08KKg"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-25626b2151a/5918da47923e4fe58a5ea1afc18daa80","value":"Bh4bnUzwh0WD5UrYgLDl6MDPqx9ddNr_Xr7jvApkV_u0FS34sQpEqUwdgq0tubcALR4pGfDw5EiJzfqD6nTrZw"}' headers: cache-control: no-cache content-length: '215' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:03 GMT + date: Fri, 19 Mar 2021 23:25:37 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256ae92128f/3503c0dcf0b94f858c4b7b368ad42e30/sign?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-25626b2151a/5918da47923e4fe58a5ea1afc18daa80/sign?api-version=7.2-preview - request: - body: '{"kty": "EC", "crv": "P-256K"}' + body: '{"crv": "P-256K", "kty": "EC"}' headers: Accept: - application/json @@ -111,29 +111,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kae92128f/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K26b2151a/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kae92128f/f6618ed60eca45ef9b5ba5e233168033","kty":"EC","key_ops":["sign","verify"],"crv":"P-256K","x":"UIenTgjXHHrX1y2osw1j14BRTJKx-UpcYmg-fru1WF8","y":"mYMU1ndfBzkKGNZyeil2zmdky0pxL0rFfMLQfOtk8cU"},"attributes":{"enabled":true,"created":1612578064,"updated":1612578064,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K26b2151a/11b0c07943e648a18567f06bf04bf4eb","kty":"EC","key_ops":["sign","verify"],"crv":"P-256K","x":"bF-dKk1frbM_xuz3fmxmY8Bc8PlY2nJiDbdlZ-ENXp4","y":"u8Jvz7fSQUz751nLfpWsxK2Q6CpL52_GPy_VUKAJYFk"},"attributes":{"enabled":true,"created":1616196340,"updated":1616196340,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '414' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:03 GMT + date: Fri, 19 Mar 2021 23:25:40 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256Kae92128f/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256K26b2151a/create?api-version=7.2-preview - request: body: '{"alg": "ES256K", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' headers: @@ -144,31 +144,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kae92128f/f6618ed60eca45ef9b5ba5e233168033/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K26b2151a/11b0c07943e648a18567f06bf04bf4eb/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256Kae92128f/f6618ed60eca45ef9b5ba5e233168033","value":"_R4BVwDYmlKk8XZZd2GLbfUD4w_wZPPW1NtIGNtwISCHALgSxdch3bZBwxX46zlG1w4wGEYTsDZSBXNZ3TYrHw"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-256K26b2151a/11b0c07943e648a18567f06bf04bf4eb","value":"RVU2UaWR-TWk3n4eCeTlyXpXzdTgX07APIv4ysT3RFhJpvGGlTEeRJzfEfIBQmn3L5TYSn_2z5_F5tgCMx937g"}' headers: cache-control: no-cache content-length: '216' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:04 GMT + date: Fri, 19 Mar 2021 23:25:41 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256Kae92128f/f6618ed60eca45ef9b5ba5e233168033/sign?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-256K26b2151a/11b0c07943e648a18567f06bf04bf4eb/sign?api-version=7.2-preview - request: - body: '{"kty": "EC", "crv": "P-384"}' + body: '{"crv": "P-384", "kty": "EC"}' headers: Accept: - application/json @@ -177,29 +177,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384ae92128f/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38426b2151a/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384ae92128f/d9ab5bce19d04ac29612e6cd598a5ad3","kty":"EC","key_ops":["sign","verify"],"crv":"P-384","x":"ucT6L6KbIvG7Tn415rjsi5i3ZOhM6hLvVfUDmU9MQbjvIfEYirl6sRrSgRTa8_do","y":"4JueE0i091psN_mdUH-Mx946phREv3oSXmEnkLPX9vtAK0SYmCCx6vV00LL-k0kV"},"attributes":{"enabled":true,"created":1612578065,"updated":1612578065,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38426b2151a/714367bd6839429f91e87c3e13203655","kty":"EC","key_ops":["sign","verify"],"crv":"P-384","x":"mclf0yCaEh_y40n_hNp07K7lB4WhBAEdwssRGazFC5Ugj7FbsOMUWi7ns6K_pKVp","y":"YD49wMit9yhPhwAeUrdG0p1hHlCg4YQBS6rsoj7J7bdARUojkBUlxusdxxfBAnYe"},"attributes":{"enabled":true,"created":1616196343,"updated":1616196343,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '454' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:05 GMT + date: Fri, 19 Mar 2021 23:25:43 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-384ae92128f/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-38426b2151a/create?api-version=7.2-preview - request: body: '{"alg": "ES384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' headers: @@ -210,31 +210,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384ae92128f/d9ab5bce19d04ac29612e6cd598a5ad3/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38426b2151a/714367bd6839429f91e87c3e13203655/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-384ae92128f/d9ab5bce19d04ac29612e6cd598a5ad3","value":"QzkhJg7M92tfTQDn0T86gyZVTdylZGfsXJYldXvWlaqfPchRKAWuXF_dVnwYbpmbczqtFTKB6yZQnSoHkghuyIddpYQnU6Yv2XBjXv1qYMmakCBWcEppPQkYDYP6BhVW"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-38426b2151a/714367bd6839429f91e87c3e13203655","value":"W5Bgz00JA2RgA08YTA0x2mf3Amh63RxK7btWCPcFpKvP9hgn8pXv3-mZARhwb6zR_uyFujb_hhhfNPGF20s0330t0Lq9IasCPtfx41OgiYBFWcScpS3e2V7Ax6DY7-85"}' headers: cache-control: no-cache content-length: '257' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:05 GMT + date: Fri, 19 Mar 2021 23:25:44 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-384ae92128f/d9ab5bce19d04ac29612e6cd598a5ad3/sign?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-38426b2151a/714367bd6839429f91e87c3e13203655/sign?api-version=7.2-preview - request: - body: '{"kty": "EC", "crv": "P-521"}' + body: '{"crv": "P-521", "kty": "EC"}' headers: Accept: - application/json @@ -243,29 +243,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521ae92128f/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52126b2151a/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521ae92128f/520f9de622954d4eaffbddcb91cdeede","kty":"EC","key_ops":["sign","verify"],"crv":"P-521","x":"ACShEshfbPFV5qQEC5npa8dLhBMLAHs1h6m2HppcalBkZZd20J19uFb_t400ZnYitSLpO6x2Qun81Uc9GcH5MXoX","y":"AO_qL7rqtVijxOOPcY_TxKRA7iXRH8epjdcEhJWVpVDd2CMd_wX3UhLy59uiPzvRXRAIJ2NeHJg60WrFtOHVOMyY"},"attributes":{"enabled":true,"created":1612578066,"updated":1612578066,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52126b2151a/1c59053c9c234a1cb5d45ca23feb6be6","kty":"EC","key_ops":["sign","verify"],"crv":"P-521","x":"AS2AhiT0y1rRQjFDhmQ7ZHraF2DMTAIVjnbHuaEccuVzQ-8M7L_7swccuraHM0h7tn1U-yoS_hgvW-pvljrz5MG6","y":"ASA6KU4wDTCe19JTFv0tOzD0uh807w79BuXOVoGLrEzIbopH8tAQ86NYdzKFBBe9hEINXFFnkAcn6BDBZzOVS6cM"},"attributes":{"enabled":true,"created":1616196347,"updated":1616196347,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '502' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:06 GMT + date: Fri, 19 Mar 2021 23:25:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-521ae92128f/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-52126b2151a/create?api-version=7.2-preview - request: body: '{"alg": "ES512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' headers: @@ -276,27 +276,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521ae92128f/520f9de622954d4eaffbddcb91cdeede/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52126b2151a/1c59053c9c234a1cb5d45ca23feb6be6/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-521ae92128f/520f9de622954d4eaffbddcb91cdeede","value":"AWpiK8mNVZTX6UpiEA9uMNKjLMmV3MiS9m9Zx6feNHnqDNOiyXSkGLj25robNlFRhxIF6J4wYwht_rhk5qccO9XtAZ6YR6hfdbg1BzfhxeWSBIHknFDwHgc15ryDR1ccDqW6xCXw72X_oHC1j0KNtfKreIxIXNLizh6WG-WoWX9K83AA"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestec-verify-P-52126b2151a/1c59053c9c234a1cb5d45ca23feb6be6","value":"AKRbLv7tfNJtn3zF0hrwEmOfDpKBbVpoH3Ypbfziwz6trGsoXTqiaGILcDbEzfkioIP09sWbyj3YZCjpTkmszhvyAFuxsUFXrvoPJO4zGG0oTOB0xYaBJSTW3K8rqJlSkd3l6B4MEIlfbkNM_gFyp4K42qAUh_m8iupP7qiKzsZeYGbZ"}' headers: cache-control: no-cache content-length: '305' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:07 GMT + date: Fri, 19 Mar 2021 23:25:46 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-521ae92128f/520f9de622954d4eaffbddcb91cdeede/sign?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestec-verify-P-52126b2151a/1c59053c9c234a1cb5d45ca23feb6be6/sign?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt_mhsm.yaml new file mode 100644 index 000000000000..a420fe9dc636 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt_mhsm.yaml @@ -0,0 +1,130 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e?api-version=7.2-preview +- request: + body: '{"key": {"p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz", + "d": "Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4P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u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU", + "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"]}}' + headers: + Accept: + - application/json + Content-Length: + - '1728' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196348,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196348},"key":{"e":"AQAB","key_ops":["decrypt","encrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e/e8de68ce0cf10d4f2f296915013a90b2","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: no-cache + content-length: '725' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '307' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e/e8de68ce0cf10d4f2f296915013a90b2?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196348,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196348},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e/e8de68ce0cf10d4f2f296915013a90b2","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: no-cache + content-length: '725' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '80' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e/e8de68ce0cf10d4f2f296915013a90b2?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "fnUcVFRjss1FSSVFTp4Rbx7t8eIp4LwC8iBGYUFzE3GIgpWatgSXP8gYzE2-L33roi8qEEqln7FDbc32bbHVIPguPOwNFMUgrxw5GUPyeg_YduASB97boLRfVc9djruMZy_uhMV7AlSdkvMRH-32aZQKbQpAydAjm2uzRBYnMAhhm5Le4dvCHclQnhI-QS17NvDkaVuQS85FLkcPzGnCK4PA11447I2cQHaXu1Kx01hkdZAz9ulz3yBn8icLvQYc02qzVXtjBIRlydFeotsTKPBZdQMYJ3qEZb-3bv5hUQawKIHERvWE5zKkRuLyvzeJUmiuOfmlaj_mkl1yDOSTlA"}' + headers: + Accept: + - application/json + Content-Length: + - '374' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e/e8de68ce0cf10d4f2f296915013a90b2/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e/e8de68ce0cf10d4f2f296915013a90b2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '414' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '2' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeycrypt6a0d166e/e8de68ce0cf10d4f2f296915013a90b2/decrypt?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt_vault.yaml similarity index 54% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt_vault.yaml index 6146c50be93e..f65c27562bbe 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_and_decrypt_vault.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestkeycryptfe22145a?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeycrypt810416e5?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,31 +20,30 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:07 GMT + date: Fri, 19 Mar 2021 23:25:50 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeycryptfe22145a?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeycrypt810416e5?api-version=7.2-preview - request: - body: '{"key": {"key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", - "unwrapKey"], "p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz", - "qi": "AJ_nrkLpK8BPzVeARkvSHQyKwMWZ-a8CD95qsKfn0dOZAvXY-2xhQYTEwbED-0bpTNEKbIpA-ZkaHygmnzJkNbbFAnb9pkkzU8ZQqDP3JNgMfVIroWx58Oth9nJza2j7i-MkPRCUPEq3Ao0J52z7WJIiLji8TTVYW_NaiM1oxzsH", - "q": "AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_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l4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU", + "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"]}}' headers: Accept: - application/json @@ -53,60 +52,60 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestkeycryptfe22145a?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeycrypt810416e5?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycryptfe22145a/07ac0089d5c049efa6309bbc3527de6c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578069,"updated":1612578069,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycrypt810416e5/4d41d1784696417f98f6827a8863b391","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616196350,"updated":1616196350,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '695' + content-length: '694' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:08 GMT + date: Fri, 19 Mar 2021 23:25:50 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeycryptfe22145a?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeycrypt810416e5?api-version=7.2-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkeycryptfe22145a/07ac0089d5c049efa6309bbc3527de6c?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeycrypt810416e5/4d41d1784696417f98f6827a8863b391?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycryptfe22145a/07ac0089d5c049efa6309bbc3527de6c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578069,"updated":1612578069,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycrypt810416e5/4d41d1784696417f98f6827a8863b391","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616196350,"updated":1616196350,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '695' + content-length: '694' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:09 GMT + date: Fri, 19 Mar 2021 23:25:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeycryptfe22145a/07ac0089d5c049efa6309bbc3527de6c?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeycrypt810416e5/4d41d1784696417f98f6827a8863b391?api-version=7.2-preview - request: - body: '{"alg": "RSA-OAEP", "value": "VBzytAdTYN8aXdBQfLOeOCbR5JnLBXzmgweYg_cCVBvdVHEtd3fHL4rHgGxNNG0z_oSV_Fd5lYdo387nqOqrF7Z-GNFKSvecrs4HnkXMM0LPgEVBzDVJh30qctXDwPUIUUKnvSaKSsmNrw6c2PfhXwfIgZQlmbLEJRIoA4Ya-vbP_gKrSlhEu2RWxu2D8wZ7eybrnFiWkoi225u-CYgJeDviDZCdfXIQnL5ZSmli0bXHHii1P7-HrRK9XwYolsYIqMLCxU89kJqpW7638oj7dRkaNMWec0c81H5BUs4i8pGVtV79F2_2_gWH4Nkyjwrr3rv4Hpeuk_Vh6aK8id5P_Q"}' + body: '{"alg": "RSA-OAEP", "value": "Y-Pnm4iVO9A-tpMHrKyHxRxJ9hNV75M3u66dbXd9dUwUuv5SClsaMUpnIdIpgHnQUT4SPWpdQtA_n0WgCGK9bTcc6Ja9AG9liGx3PCmCTExIYtZUnMCcfNCV3j_iNO8ZQJ3PLqflimcGSGc4hHLv5_HPhSHg2f2NcPjD-EfMH6YDhqtP39pkJnkD12BQw_zUS1CwPWOGrYXmrEJ6Mt7uOhQLF2TvHA9T9Qz-kCLwEgTf-oV4hXAdqrDxRA2HD0tUr90m6EqZySeeMozoQSGjAAkMykptOSdeim4HOxUknJ2r_iXDOXy60V2z8D34E8qCjCKm4mwHdRSdPqZHwcGX2w"}' headers: Accept: - application/json @@ -115,27 +114,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeycryptfe22145a/07ac0089d5c049efa6309bbc3527de6c/decrypt?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeycrypt810416e5/4d41d1784696417f98f6827a8863b391/decrypt?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycryptfe22145a/07ac0089d5c049efa6309bbc3527de6c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeycrypt810416e5/4d41d1784696417f98f6827a8863b391","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: no-cache content-length: '389' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:09 GMT + date: Fri, 19 Mar 2021 23:25:51 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeycryptfe22145a/07ac0089d5c049efa6309bbc3527de6c/decrypt?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeycrypt810416e5/4d41d1784696417f98f6827a8863b391/decrypt?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local.yaml deleted file mode 100644 index 454f6c34e1d6..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local.yaml +++ /dev/null @@ -1,170 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:21:10 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA", "key_size": 4096}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"y-FPkND7fll2bvppZYn0revFszWjvthhw82DemwK_hsBjV4xcb-4BFZ31Ws68dAzqX7Pv5aZG8jqXewp-DND-vUya5PyIVyZpwjy1A1P0hRsW5-TEWqPqoKZbPbMLYjv1S7SeiQzV4k4NL31ULK4sNA5qJpEvrcTScjORE3tYGMhnf23hlNbBSz5oR8pQGPa2XdhHUHgfVTZhAM_NsPalGf1Ke03N6SX8S6EQHp8xv71nRuOVzXlZ2yCgzxb9FO5PuxNSCdEa8cSghdqKCSoCjLBQivZPQShHqe-xq2CvducUzqTOsChuF5Rel9AqKBPQ03bgCZWd7g0ibkaP0WcIAa4w0X0kerOPL8QbMNcCerW5UEL4T4l0iy4-to3CJ-xmr_i1nN5IfL97kCmkQE4Zpc3oW1sZMUQFvIBmCu2oIOTfGEenhPQKmgJe1Bt92LgfGrCLqsI04NXouRVhkHitkYu7damzbUBL-GntNsnIx8_PGne2nxA08C44goKpnnQADC9TjOJsthG9L7NoOl8CxRrGoyZ9MikQDAq1ewPigE_C0yJVCmSQdPjHbqkq1szzuy3YJCXMJ2pOMDu0jd66-b3dGK0wXoUYZaLM25ibsbku2K3KgVkwoQuNnxYcmKIpAUWYoPBhapf40D-YkzuT-mZDR16Y5lr0Bu7iM-3e4U","e":"AQAB"},"attributes":{"enabled":true,"created":1612578071,"updated":1612578071,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '1040' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:11 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/create?api-version=7.2-preview -- request: - body: '{"alg": "RSA-OAEP", "value": "Wr-Uo9W87YiCrd36f0vurzJd835eCg-Jb1mYn_DA0VTnZTp2FHFdRPxUPU88TQgEPFNJAuTElAUFRtlQKLexhdKwy8-K4KzqYd871eGTxVH2y1YxVqVqx23IorlcCcsRikOOQ5TngF_OKL_R5JzyDhT7NqlrjLms5a3TED_JSst2cdR56l2piZVdqXAXJ_jTcZyF3DUacMElxveoZCCdtYGmoZoheMQCfuc1sb7HLEt0OQhrP1tU_xJddAvBnm-zCkIybSt3OlXGtnlQ9BxVMsTi1gHj7maQQpq-zimp5bI3lp5kFlO2AimwmzdRqoV7zpCUd30W7SNCg1uF1VO2hkqRB-KcIIp8a9g3fJEYxnUHK8Qy5c8gvb0uLz56yHHOvQTHiG2fP8j6noe_xbrHzq6WlTWOJYFaCCLhkzxy2__fykICMd4_ldIMPPAzc57Ut4c62fUsdIbPm6eUUaR9whm8v33fSH_pjeyf9e7MF-A94Rs4HSmjB09IyE5oR8P7zbjvXpywGSibOLHS1b0OOabfSnhqrfYDpvnBmyLQyJ-zaN0h2n02OTu1UelonjPVbq4oqF2xeWXyaUrgTOOhhDgFfycDypun5H-uv6OVZ1x_-uJ53d2fujfdaALejP66oXBlG_72uVgyhq7jd04we8di3WA7ZycfbEImDgLVDsw"}' - headers: - Accept: - - application/json - Content-Length: - - '715' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79/decrypt?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '394' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:12 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79/decrypt?api-version=7.2-preview -- request: - body: '{"alg": "RSA-OAEP-256", "value": "IsudKRb06WPrfaA1_2AwVF0fU95V7ETH886vRhWikt2iJr-EHEssQ6l15MIvatLrxEpHKuYp5Ts7DGeUiIBY_BUWFSDKzV-O96a0kDuc_Xj0zdK5K-U5BbsRtDp5NaOrMVevn7HOyeRxEDOL8gAe0gYoXnsnOKFpDY5n6VzIOhDx7dYNgUIWyZmYkYpLkf3_UAUB_-_QPcWvBQr1JeNdVTYdUNbmYEC9xCPuyZx-YGTEpyWYpgXLGUw8X3hljJV_dhaQ-bMfhx8CaNjd3YRR57De1AT2kEo51vYVZRy4sUSfIbzfLH3q-3oUk6HXi2OL1uPNLTrhgU5QmaLJfC4W0LvQWAdVBhiaKeaQX1a3OwF7SYHKV1UG6fW8pNP2G5IR-L__6eQj6vjSvkuygT_eAdq_7pgRpvA8HZax1lTvUaEdNSQfPhk-35OIaRQTNE0noihWQDY9Ra5swg5dRK_g-W9xJCyU-adtEBOdzD2i4HRlUiaoBUmjAa8Zxzc5EtLrKu0oALvZQA9-vwXkjQ0oAIwIUFE2ny6Qz3ttMTvUhpfEy0bIatmHz5b1n30taE0znKtbc0-lOj-Wegt8EU9haA-xOL8dwpXuvgZHrgnJyHmHoD2rlpKgkZ3c24oxQQ666vFp7KIwSNycvlvBjTqfXtwKtYiqiljiz-CEfmj37Rs"}' - headers: - Accept: - - application/json - Content-Length: - - '719' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79/decrypt?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '394' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:12 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79/decrypt?api-version=7.2-preview -- request: - body: '{"alg": "RSA1_5", "value": "bsIZtyOPc8HQCh1pcLQGtWcDfQcI5f7M-88xVgrJNTIoAY_QbdfRxugmQp8DOyzqgelvka2ficdj71j7okfh29po_vhfpPuQkcVASbyNYFjwDmFZz3iRG2VNHUnPL02MPenbNGnIfD-7rxDW8vZ9jGmowgT1qmOf4ARx6Hs4cVoSe3lj8ZtEeOvJ4H2Qg1t-bJ0axtpSb_1RfHFcFYg6t93u57xwgD5AK-8GDQMkS05OhReHT_9dYo2v69qRcpyoaKTQMU1546QDok-NN1kImvldOxuCPlVUESeWmQ5g34KQUtplzLQhhIqTjrvxbYwXrK3NM6bIMtU8T936u644uBI4rP_vWenqrBruYAJmnduqwNqPi5huDaIiBZNBNkTaisqaizMJGpbG134ngiwp4gbiF0IscyyyWwQJUdYtddBko34-cAzgds-5Yxn8K6Sm7vmKrc40HclJ74vKrE4ljyT0tM-Gx4bMhsOpKycAwzxsKNOeuQPHZR38Cklpr8mgTg9jA4aprPPw6y4DuGkvMUSbvDPGUduXm7JyjTyabZBwuIg9bOycNcrAmX57x3i2tN5hALtL1rpUh3O6pHVX8C_UlY2iX3U6aI4abrADvnOBt-ZAS6G0CvKLM8RgLGBVIHd3d-i8EJbeG1_EyOCy91po48Gk_x8mVMGqXQwh_DY"}' - headers: - Accept: - - application/json - Content-Length: - - '713' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79/decrypt?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '394' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:12 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-local8b0011d8/63561fd75fe54d428ac3344c255f8d79/decrypt?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk.yaml deleted file mode 100644 index 51efc3cda4f8..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk.yaml +++ /dev/null @@ -1,170 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/create?api-version=7.2-preview - 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: Fri, 05 Mar 2021 23:31:09 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/create?api-version=7.2-preview -- request: - body: '{"key_size": 4096, "kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1ePr3emv4M6rdPhZc4XApIrSix2XVyRco8-6SRvKC3VddELrlRyHC57ozCpJOMKg9PNVFmP-UF7Rkd5IOSvbzHdG9uXOjYK735b4tVOdNqzY145SpS9Mi2RvRyke90aymcYHxWnhKOuHwHR-_Liz605SIpYy0iA_1lnbwXgstryQcnXCqDFur0N9Ehv03PHAue1FFI6pM4Pkox49LAhV6WO-qVs4kiyXTv6TCdJnM2BQ393MV049PDwAggce6FuxoAsHYFdWBxsxneRq1ZtuPk2z5UjhwzArOUaMoRwyWWKuu_mTad3_ByjS7YvALSGtfAyhGHaJDcGciRLLt7lA2OL7g88ai9ivAr-eY0oaFJseYM4IhBYDqLTN2mwQy3T3A87mEe1KCxH44mMM0zZKukqiCP_pXpmMw25mHt_Zsz_EQo2OdBhWlds8DuBVVTBsot7RPD_4uU3cmvSGFYixEKIAuN790i0QW5vZcDfz2g7D-4oPlqB1Gv8Aa2KpuS_4efeVWiNWX-e7N64ouUPMvUf_zAjpJNqruXNHiUCXkB_m-dZ9Vi6Ic1yc2RVxt0f5GglZX0HrG8CkgJutwqRWy1YVgLtEn6Sl_xHYaP1KSOXNuTeufUIUM9zhxl7fEF5E9HHqtzOw4amWfdywTTzHdBk0Tbd8aVd81W0h8x2muEk","e":"AQAB"},"attributes":{"enabled":true,"created":1614987070,"updated":1614987070,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '1038' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:10 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/create?api-version=7.2-preview -- request: - body: '{"alg": "RSA-OAEP", "value": "HHEmGnbNmhnJQnLN7MZK0atrshxhWp3BB93ihCj5jQpMgjZHzkSiS5YFtxF2phwCKfW5J7yP4nnl4zedSRAqu_cFsnUB2ugPg2KOlnupZt9hhv1z5UbReyQnkblcFc7yFu0zDz_CEjlRKLAlNt8sbz8l9ScqV3kmJzFzharLtLZLznmcEmyNajscD7eZlQEzcCTKsw9aW-EEV-UZPeW8p54Zr47r4lHaKJHleZdD7yp1saKFYAR8_dHwZxtoP7jr5040NHNS2XXmEa9_WT8GpoAm68lJgX8vjav7lqffrNoTcTCycDuRtK6-FcS06jZZkIcvvGVey1wjXLawVcRE58qtDD9UxYoYTyHe-TLiBWygA_PmkCvF4NIQE5impq1wZFBCmZRPJqvl5oTKwFt-LYIUSWXABiN44JjXuHPrv2SZi7lpuBIX_fv6sbU57bLQ2UW2Tp4XlTVFkSz0NQucqpWJ-lf5koWi-PsfS-WArhd2nS9J6lYzfnIpn_LTfts-4ZtKkeMZBGeSbJaLa4HO6PmF8G55k8UXC9C3p_agAf14zS7eL4Efj_FfG7LvQALQrXQ71Y0WAbm7EtBfRY7H0QT3-ezu5wwxxGAyCFt9snaL4Iz59wYAHnHCJOv5nDt8Lziq8f3Jiqo_i4VwCKchbfzCMTo9dW5x5DQ57MVck0A"}' - headers: - Accept: - - application/json - Content-Length: - - '715' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8/decrypt?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '392' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:11 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8/decrypt?api-version=7.2-preview -- request: - body: '{"alg": "RSA-OAEP-256", "value": "s2hYkL7h04LjtLXAy6l7NpUML1WclX0hDzrBTdrbs_ORAi1ezKQhzCj0hRFQ4_s43t9VJnma2L8rjOL2ekrGrx5D1M2S3wEVUVmev-KBF1jmD2hZc37O-G7EQutvUKPB3yhGjuvfiUhYi9zR2J49DpedNSPT5OAxWdQkfIPrD7e7KTxau8rStFeHTzBBKyFmOW8FWPP8rWGN8tcdTKqbZl6L-3P1HodV-tq7F8i-kh2PEB9UP7ziPp02rY9nNwkLPpaPNEGE2YzgEBACZ4gpJ3h2-MEjhCnGYpmR_BFOwwuTPGbBT8V6SHbtWoqPMeFQ3XT6IvvSwwmq7e2NIkC0nO4Rw_hpDdcbR3IhVNv8pHraCrt7X-Wf2KL6vsdKfyIpr2kTyd3ZZzs_carH5fMmVsP0u0mNaCxT2RP1zEzQ2ns68KAK_IqsZk4MYIZ8GUgezKhSZ9Ql1hWouuuqexuItTjrvcLJeSnABJlgpRGfMM7ezmSnVckkZ6nGNX0vxK3s4fGL2xVEVwruQCY7_xUn5r0ylcQ-Qxsv939Oxjyo84dQhmkgEeXQ4One2Zd3Ch_PfOuYRpXgCIkQeLpdNXlxeHH0s-8a6X7CBosOPZZSby74Z_0ZDJlkmc784nyAQmvYGcQ_XI4ALz7m0K9SDzwqp_BmO50fi5FUrhqShankx7E"}' - headers: - Accept: - - application/json - Content-Length: - - '719' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8/decrypt?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '392' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:12 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8/decrypt?api-version=7.2-preview -- request: - body: '{"alg": "RSA1_5", "value": "yD-p28xokCy6rfAE8PltQWR81bIcv6nXUDR_rQPq7_sffshYG9mGBi25gUWg0VI-SSAVgmdEcrur3uBW9iNxH-w8SME935S7Mq3iDIS_8PT31P9QqqVgJeiGImVVZnlbm80oVl3zCsvG_4Va7cpGasNpe38FNhPRkeNFx6xiWaksGwO0hVgCA1FeqaDAeUNafLWSqRoH2ZG0g7Y3tXjUk4lOpEeansHMC2d9jMQzlUvGuBHhiwK-61c1DKjbsP-leyxlVsnoYQqUwuijESJ3UJifNdTNBHlCPyHP9tfDGTYTDbdJK8QJ3NHytApztHWsdmueF07ssy1QAUsaVHLF0yyqRQfcsEzr1VFdegzRTm1WL3etr33v5N-ak9aMqKD3ra7_CAVCrTfJTt13p_1SPKDADPU1diTpD5kAWVhOTdSfEbhuskDGEHAi-CPM-bWQrGsQvEDCE0Umu4v925jnkws2ya97NA9P06GlB2lEaX48qrh5yQqybgRzQdahZiamJaOi3BkfaQp5w0tk8F-XmEjIxJrhKpLgGLwY3ULD3mCsIa0J5Z-uGtsvxAK9FvT6_n6vS-Kc9BHzRwdEw30tGadVJ2FPxhaVcTFjSQ_5nV6S_mWobcYqSP4SLuxpwhwFJ1E426XG7Q0mjQSas4Y6linqUIrzeacVZ_D7aXW4-Oc"}' - headers: - Accept: - - application/json - Content-Length: - - '713' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8/decrypt?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '392' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:12 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestencrypt-local3e1a1596/4ce76edd277145e49cc09496d62468e8/decrypt?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk_mhsm.yaml new file mode 100644 index 000000000000..9932e19cd573 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk_mhsm.yaml @@ -0,0 +1,157 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/create?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196354,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196354},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6","kty":"RSA-HSM","n":"pzNAKjv3hx_IpaKuwkG7Wvg65BAmQkcgCgoQvzUAcvKoQrXPVDYq1avRdMQiLXpgfG4ERcMeZd4B7cOY9gDHZ8EYoQs9sekpXOpb68F564IDPoH2cZMlC6R0d-8iZLIo0lQrZMiX2BZKtr8ZBY21Ez1jw_VuRTua0Z_2VE2mGhAbtxtq1KSxPAbE1vRFD2oqvUA1qKiLhgyNj9GfL_rdl3RlYhRf1FzbDSIyQ8hwr27iD0dS9rINX5S69FAcLj0VFO2moQJW4kAoWjXw3c7S1sqB-8imTh3_E53PWvngfLWR5BxlWQCHuXpvw5bC3Gv8yw7hBc6mHV_pWvlnTthFAE6h4LENLElsGSKbwxSGsxeKIfrYmaPp880JI0o0y3SDCqt1g5dycJeTu9GjgwYoPNFvGB7so_L1rp9h8CyiOY0xFCJVsVYKZHYTKVrsm5eg5HJaW5q9lTa-AIOs_3gaaVxbVWB9jhoXmjMynvxYGkgBG0yYkOFgv4Y9yUZXRpYZbks35DxHPtdMIo8cKHURIlOsnXCEQNa0RJQiM-_tEToZ_gjdHB_g0auH3VyL-HP8kOp-a3GGquRqNBJoxZyNkIqlkB7YOAH7DkwevtsQaCmXwQCf0oQBA50TtXCh5nWPYqNLIpU7TnU9UPs9awuILl6KSNna7J2Bq9MiDu2MWoU"}}' + headers: + cache-control: no-cache + content-length: '1071' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '277' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/create?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "E-aXkGaBAHy9EJOSbi9VtgYoRLoTTIqSXuPQVnyDg1mOeNzZcOf1KMYG7GO3HXFFWoFgn8KG5HALP2C_a340LwQvqxXxjzdMk0UuYtGUWhYiMTpaQB7_GJWdJ3_jbY4-GVCQkrN9DgfuxR7_0BjgSMnJ4ZuZvxO2EUTqc4w3BBouvv1b7cHhn8kouQ4V4Bt865rxuoZ6PQjDxJk3482aFodixPwcP2wUVxLB4Kkf3-g0bAuF3XU9jNFjBSVYGKAcNq5v25EJ_fpe0wxTzfI_WI7-kemuD_8KeUp5np69vQXeEH8yo5ggWCpDUzHqnSZLDJkRFUKrUHAmhMp3chon6ZpqF1NwUPVW7AQNeKzYvZgRNkqiBqrgIm7FCqGiVW3hofoC-8Nb-d1DT12a9NwLy5HOKObYXo3nYRWCSFkH62DqCa0DNgqor41kDCojbNm6YQLF4ZyGkby7F5qj_QFdcxNkEt3O1ib4rG-50MHps1c1OoxVAEXR119GSPPBxyJNs3VigvymNg_C7qMz6QPpdSdajEje-EGeU_MVsGI6PIQCOHhRtKaxNuVnTNnFJsT6R1LGgwiepcdSD0JV-Hyc3DoUezoi5YEgNGFH_C0k4xwlIfPzEEKlr-CFeiAnYtzw2diTF3bdUk3uXbIaeXWYjBjNIS3mnobVuC9DLWb4igk"}' + headers: + Accept: + - application/json + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '419' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '150' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP-256", "value": "Be9HWy6W0Lp7blDshN4W4gI4iLAcL9Qlj9ZaTEcrL0F4kNpSTPCzQdla8bJDfGqhy8_n_vpszwXAXruMa1dmKFsODMhaejP0LJXrh2TRE2IBZyteke1ubCkk2HHV4hjPcH6ZAEFgVXAR2mvWUwYIHghBhZWS7dhBN0B68iaxPbUVD38PNKlmuqz4ne57fG-GEhtu3QJrhcYpjpxvsApxEI-4xeQ-AaeNeq7_1zcARlm0eeySKKwHKwK-5bhZQq5V8wfpPKkeMWyp0X5yTnWrOYvEbPUlHYhdfVRb9QT1wxiK0lAHQ_sr8VhLhetBcW9m0pQyjXKOKQdrJiQabcPsGt5SsjHMFJyioB5PT1vV3AufSIEBfGNyvN_Pzvw1Ij5VtaDGA9RU91CQUUs5DFy1-IT2lHl7r_owhPlsaHe4OBEzW2EpzwNeLmVDb8zqsAwflXOkU6a2iFn_XtEE9gNVRlS3qlkNJuDS9zlkOdfrSHjKtlTgjQBtjrLryf2W3jAZdTNgn_yZP-LKXa5B5mYglZkTmho5hQF9fft1DU_p08OfkUsnzu25lrZJ7eM_SgnkPTL52Va6v4Fnb-S25jI91e6oqa7CAwYd450dwP0X6j3RjbVdT9-HCYrrjLMcmh9inNcBmPAYM6Mf2iWolfn2F-ePlNdmKO92HMEVvLgVDTo"}' + headers: + Accept: + - application/json + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP-256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '423' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '12' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "RSA1_5", "value": "Wrw8t-yBOW2STgyQGZvjQGehY4h3p3aHlScormgMMJV1qTyxTqjpteyWmnujYMlE-N9q7WrERZ5vF_rqR4gNNVOzdeUkLorZP6uySWBRhwp6TOfNDqMC7ltHcTiTYRIzVX5aCYVbr0tCnsXvKjH9-SVvxzAHUAhlFg4tQp9QN60deG14s4fkpUy9lEwfIp8lwyBU1BCvPAIo5spF15QfX1FR5v7AyHOIBR7-0DkXw5H36SkjCbnOyvnp6oBzIQ7LOsvFrrLOoI3cAMCrEBBuZc_VKtBrTYOSl8oBzQfZ5Y_C7-ZmbbkOnrOprgouyicXEQQPA11erQxE5wtJDEQQAtKc4MJNXUfcKd9w6trbJQfVgWd6KnWf0tHhuZLAdv5iIeZh4wCo2ZjvEeCibwIrY4XuRcOytn3UOQR8TgzMG42A0fy80O6PFw64sBIdN58KvKqs0hznqq1D3Jh_vRcYJC2o6mGCHNZWhxPXEM5S5dcvuEj3xD20VUGRvfoOauzLLRQV6LKGzhE00WIyWOx0pEm6mU6gpF5_JuLSjLEa4IjFLqvfwlxxmrhoHgAs61_GiF5EmDDZK1-aVnGsZ2g7IqGf_e2X2tZkaA0bxxMM9OcWt8Jh6dEzCpDMaOnLc1xce88a8NUW0wHyW_YHeF13RK6Azfz9dsh2yfzdhiip-4o"}' + headers: + Accept: + - application/json + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA1_5","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '417' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localb02217aa/e377be25da220d2c920bb95a041874a6/decrypt?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk_vault.yaml new file mode 100644 index 000000000000..eb9a0a84c8f9 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_from_jwk_vault.yaml @@ -0,0 +1,170 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc8551821/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 23:25: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localc8551821/create?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc8551821/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qBEF2E3gGhT5QReDvNVYw97r4oyI5LwA5JOFLSB95svPoZKTIY6bMgjwU2tgQ1QjYhQbJCJLPaXdzLZDe3JoAPzLBLkyfB3fB3Wo-kBtjrNfZ-dMfI5SmEKb9g0IYSCcjw5SShPdLd9T4u0FqgTzgJAaS91YhzDrLqMLt2uN1Zd1aGKXGv5XNbB43Dd5iGLMrMfTwsLanjwjt57oQQuuF7r3H6y0JW7-UkPbLAqjxRTSHe3P1HbyXMUbgYN9T9YKA4Nc3Tb1HoPIUnyU2i-TU9u9z3uucK0v4weqww8_r07QpaFPgfqgydFtPu-LUJ-O6WwtEwbaKI8OmssZfQOqUWrfxQ93OiOrkcFDsmjd3M7JKYb3Sjj8WnLyS4yygtDiR76MDwNE-ps50wdmL1CMbjPVkLJthtB-Mh2QoyPeJh-wA6f3SFzgo8MYsqPCu0MYf2SFA3Q-D2a92MsFzxhxWiThEG2gOgckqWRIfwpdlHrlZAIfmiT2zyV6MkPMhT4YXDl3Ngxm6eCGSw0O8QmUrjMcZo2f7ypkU4cg-_XXjO4wZDUr-cYyPwkP5uv3dHQnGNn2waQKWj5MQOrSvDvt79nTkpIlDHlVBmECWrXra0t9dV22EVxU8jvWy5VM2Hsa2ORszJlTvrqMELDtcX3bsZQjzqlO5HMlEroBj0serQE","e":"AQAB"},"attributes":{"enabled":true,"created":1616196358,"updated":1616196358,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '1040' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:25: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localc8551821/create?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "PpbjKkkZsrHtPxQSdbqVEiCxTr8sOZPBaLD1D2OcMPiinOIoLsB6EMbUJOnupBBC05G4nZKjuPFxeQgDwHhcmsMqZg6vIELj_lKs4XmoySCryiUmKwAvwKT_0c2tOCNGfsix_INjE-9LBXVShxIDVFs59Uh0MsHZKvAUqN5Zu48Rf27LcqZfGCvFIZV6gxbO8apcbn8Qv2pTWSjVFE24fEC8rphJQ0g2cIQbFDbtzDwSr3RZY7btNq5D0vd-_YhowhKwXC-CczCGW9DlQO93bfc1HZOaQIxgmJToFyPPLppnEPosRmnjrOm2tvx01gbOP8MvKHHlXRURCWIZLzB1W0qy4HIt4LbZ2g-uj8D13XLaZ7z7JUSZKAUUbgJ1Y7ll7chw77mB1bfyi43Q5ox2HMCCcs5sAirY7FAyke7pC-Q-iZcdLcN8wsBjJ2lTXIk0Ow4Q9FFfiOzzN2iv0cSvIjq48mtaS0hxJ1Fbakb1HPwabPhh7V-g1hYsEtnn50IH966U70Der9J5OKLGoSz1vd_AZXIDiELCqsxe-nnmkaPcMMXAh4-_zLEMdInFuTIA7QkML7gSpzfKpGITs5yfVuf5oaspGRMR6IllA54wptk58OzcspEevZsEvU7g3bzjJasEZlgC3dJRgF49ZReKKbto1fG4FmfOvziICb6YqPQ"}' + headers: + Accept: + - application/json + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a/decrypt?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '394' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:25: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP-256", "value": "nkfvcQdtUxr2vwoKAuU0t-anB6Y-SXOZhV_kNLfrJAZumfYMN2zugDF5A-G0SbiH5OytoNXYarQWpflfqj-Zmuvh0X9PB6s4xCicVKcyZii324YOvdb2Zpoc7Gg-DQRk_BLzTY_C9398bUF-rST1tSzrZBzNhRHJz_ptWrLszKcDa3lWsV38RUkYmbg3GxAhn-H4O_SSeX7g13Ns1V-unifFMclXjvLYZ0I7RPANtXU6SJBud946HugC182BN_mEZg9EEQ-9ij5ESgSymGiw_BS7S8QDYaLzTWTKsIiU6Q64B5jlL-mLpbHVwOQ5KzAWvid3iquV0qip67DX3hZTKoeDCa-5KhpriRSM8ov-jGuarZH3PqXKxXIQmjlYRxTY543CHrxnotut_mCxHxitgqX3FBzx2uWEs0HPdsbFi_x3irI2tTlchEJIm3KxrHZREVQ2FMeN1W0gE0pR7xXP1l43mQq2VHE_GpFeuHCn-xMgwd1NrEQh2OUEDde36UpD499UYf5Hcq7D3QFMV9aGNQbB_7OKK8qKSCKh82O9DjJPFi2TdUrIXrrnCZGJJkmiDyp7y4VkbnjAS79P0hTi8BT_E-sLEKEiQm3ip4W0MomA8974GaJo5CWR_aFfoWlWOYWS0YLRTk-uuYgkfjT99vFuD9GrayqEF5WSehuW5ec"}' + headers: + Accept: + - application/json + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a/decrypt?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '394' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:25: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "RSA1_5", "value": "aAAaGHKpsHswuT-1MEHFme0cpy_u4cFgI74H9_2LRCyiKZq5pvbgVFT5DqukhdnuTH_QSm_adq6PrOywG0VxVIzY3m18bGMDEqDuxIJR-vF1ZoB098jX3mu83_qJT99llNoG1Kd_31JQlp7JQTwnumDxpQVHUOUyxS1De54jm7SKifXe7bor5VcXZH9aT5bxkc5wgBy6-ywIg-TksbBIuDPgBK4vv8HaKiGZyW6liKJSJhOrvvB2zXc2FauTBFI5uV-PQxYaankqFYQFi_PSJ5WTznfr5QU7jZpKrHzA2Q0zO3gYryIsToyHlCqBPLpPDAVC8iFz-wUKNIVELDHUP2JLPeFUVtt_BcR6O0Vy8oXtzTkKQfqONY9jEWuMl8njljDU-S_kMk6hMzrH06kjc8AO-Bcy0oXc9JMGRDcTM4xpIxwhE_UWDKz8bGFYwFnu7icqIuvtApSe8UPDvCy5vVNvS_qOEhHWTdmfhwJ1S_aFfjDZG3-HwiYq9yjIgRzkrUdVSSy9da10LgoggoFYtYEXnB8b9l77p7U0Kzp3Yrp_jN56_EWztIGs9Xeq2lnUGPCvqkRo58uxJb9xGMXY8L4hOGPQySE87MJcEAzbmATWSplHVdsCRlddOdCvsaE5BzaGAjJ6lrLxeubFDvnI6JfdP9S3bHMSskwmtht4zGI"}' + headers: + Accept: + - application/json + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a/decrypt?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '394' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:25: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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localc8551821/f79348702e134b5389051243d54aaa2a/decrypt?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_mhsm.yaml new file mode 100644 index 000000000000..44db93901772 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_mhsm.yaml @@ -0,0 +1,157 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/create?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196363,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196363},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed","kty":"RSA-HSM","n":"rTXe_cb4U96OsbFV7YXygvudsPPVjLqr7RV1mepFqflZsuUujRgFYGk5C5ZmeJTpcuwUXiGByUiOzxy0dQP4bHsO4vzDtSc3FmTvItZCEjL0NrJvCaj_s7KvuOBoJvWR-DcNdU2lrMLS0HeAibDzowVz2aPiaf7MrJticYZnHZ-53sMWlfPIOtPje2Fcs3_h0h1S_1TfHUYXwBxquESTf2K9q2kCHCga1cDWtFLqiIYphIwefqCtg1JohOvxnzVKazV0dmuyMsc9TLTzUFZKFddp-zzapolh3bnTz7KcOypQkqBfBUGwg1z43OvKwTKHuwQYYYkhcz9o2qmti0jRrXO07Vx8ASE9ZAdUQyT2mttJohcFoYQssdLRbaK4rVZ1g8Nk8KtrQ4Dez4hjBIzvaPK1iWA790-xokImXLEbhDkjN61ML9jXRt1Yrns09TVzDLjHxO_7LP1yMoDD1vDYCOWUIMHmvsV9vrrrong91q8J4gBV53bodtU06IYyCNArZn6aZrwnVv7sXJ2lGHcleFbJc5OGfG3YRQWc9JkApzhWqNgSdCOWHtjjpvmvzCQp2pyOTIuISSMVGmFttZLU2KtfziUmDBWF5Rgg-V0FWkgkmajPM-JVuPp8YK24PWO1YfYW4reLNqOH-iXkU3H8UAeMi8YOXV0CZ05xPNSV9dc"}}' + headers: + cache-control: no-cache + content-length: '1071' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '238' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/create?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "MvuIP8tntu6UIKRVTwDvK0m6RfcKXsbIzkMbCD6pa5VLQ3J8xlKbxr03AyRXfJ0ZTfR590skXgFpBcPa1_WsqZJ6DSCHw2YmIPws6JQM929n8t4nUjP70fyqCPCLqGWPKNgwhU8MJZWOXM7cymtj3Ubgm4TpuaESug1XGnW4S4XIKreLbPk-YIXx6uahnOeDa-rulSV59eqFWEI7HaM0uCUSzk7mUzrLQBR9xXFiNRwhIXGhY58ARx2CRteiggcuSGJTNLDj2EETkEuyRL76lk0VSPkPqvJZju7V6OnSaIB42MDM0gs5UH8Yxpph4TGnGW3TwGZMMCNKHrWVt09CiV-2Z5PFoCkGdOkOY3wH7gcqYBkZ_V4RItyOG2_MVI_syenDY9T1twz5NHabmBfwq-UuSnIs4tQ-yLup-BIqG1VBdW5e9DNMed41JYLIHs5lYpFJpKgj683639bdHTEgLvhR7Db0jKJH2bRkSeMu8jEIEFlWXHcW4NM2VI_nyl0CZQNVs_ekAjo1rVEX0cE758aXmNVnjo2H5RuZEDqKTqB18D9dy04QHuajb1xh70YFsyDVMKg7qbX9IZjzHFLwrCN44iS0nUZks3ErY-Elc0RSHyt811uDZzZVTcMAAa7gLX2Tf8gMbsgChjmpCc675KfIZ-8rXKXUp6zjdttfnoU"}' + headers: + Accept: + - application/json + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '419' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '98' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP-256", "value": "q6Evd6bYfDyVtYdeX8dfNTnC40TxsJvDNdAhrs9gTANc-8rgz_3RdfGyNpTbYRFAzTBCRjsKqjZacLdo06BjNOuxSAe6qi2WFWQ61UFimraK9mQc75Zq7fsu4zMvzkJu4zFXrozKAFQkm7XRZgPemvDBRfK2hX7_UsCJ1GTQNI5LBDFJMYl-DtrKAeSnRyMnmofyBJMA0tz1DZJ0aFbEE8f49mKZIZMBaMjJ4Iiq-cvNsm9yy5-UKEGfDfMOnKT5UKs4KCqOh72zCRrRRgJRnMz-AfF_EFp7h8XNE8PquT08FtzZXCiE98lIrWSDs1GqimFcCi28MEv6lIsGLInE4WR9d-tuDfrvMFulMgSjVc8G00C3R9Ri_Xe2A6pnytQ0Pj1tPIis-OB9e9F0GjEnc9foBNWHit8Wig-JQGj_2EuhaZA7U005UzqNpjFKhV1AP19kwo78WAdeLvJfrCsEN1QG-IjFx9AJxRjAwALd7mnu2F_x6PVCN23G1JXvmxTx92HxrRIh-noJXeYaMaH64kzgAOkThY9IGmPITYh_SmIQJN9Wp4rqN3CgPu0TOSJ_9YrjWLthzqkVcuK04hbBahZlr4UZBwG0pI8nMwBWeqazHuZ1ca_YpxgQjon8lpAgemhJ9Jn2vEkONzw244D11YhRajWiTruSeLLZdtRC51U"}' + headers: + Accept: + - application/json + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP-256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '423' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "RSA1_5", "value": "jeV1TIVi75SxVDc1OnuLgd6PJ4Bm-LN777UjZ8-1p4WkfrIZtb3Z2TTcEcdJrfKSM1uiGP67Dx3FvTcBvb-k1K-JHEQAEv4JaTNhs-GQK53sEikCALhmhOa35LN_DlOQHaefmYrA_lTtXwujEEHJn2TaHbDZiN6MP-9QgdJVnzK16XOxKomx9YeZVhmV3YEbvMblNJmXB6M9MLI9yYOxzlvXDzqja_eY3stkSYLshTbSgetehMDLqxK3einQ3JV0ECKcUAnmdF4Duzz30xo2oq0Rkka6tMrH0kyaZq9OAcZowzku73lwEpdIii7R2sNSH9NuARTsNUSWuJqdSdpYr2w4hIB2hx17fOLw0tJ_tOOOMiLmo5uIdMQOSpTfHItLCbnmVVsphzfKKzkP71Ur-trK_hWGj1pqVKcblagxMh6rQQjEUP_AgpgFDZ1pP0C0EnAh3KvqpKIfozH_HUPJGM8PH6lh5wVKZEmibSlG_uhpRFYiJ8Pyg_9r57fer6GMu--bATI6uds2BWmFYfhwN4SH19VDRhjtaEwxMNR56IgR4yY7yWPWMFMQmBaozDCpph1kt9aMCsryeBBNu_PE5S84c5fQNBTGJ3rhtTrC_MTMXmVxz1QEsHAIlHqYKe92sLzZYY0Ypued7EPZNHoUZxdgMhUAgigi9vIaB6bwabk"}' + headers: + Accept: + - application/json + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA1_5","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '417' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestencrypt-localea5213ec/daeca9bf986904c6356c43e337a519ed/decrypt?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_vault.yaml new file mode 100644 index 000000000000..8c71874984c7 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_encrypt_local_vault.yaml @@ -0,0 +1,170 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localfec71463/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 23:26:06 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localfec71463/create?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localfec71463/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2sZS6dGi3jmXvKWgop92GP_d_Ra392cCztUHpkdK3ZCkN7TOYh_y5-oPuuE_8pk6-NHlmCD3l5npUpWzjIESZqFSnBePwiNSlWTjA-k0-hz8_CNj2g1ue51KdBU2NKITbRCQVWlvPnWoI9MI1i7vC51KMLcLddsaVTYIthcjOB_04f453cBTq0DQijlqrmOueL0g_mfCVUHNY5OM6J0NXIkNVf4jfmXND0g1qF9uC9dnl6C99sYxe_uSpqnoK2dLdTAhAMZBBp_caiZ3_YAgZT2oVjaboY3bQ55a26mjIpdBVld79n_4Hc-vEKjpScbPNJ48GPFINSKcKGLMcUDwBy5WqPSLXmwmSssi2U4X_dq1cb95jV8dfKyu3A8dMgGUh_kByNLzJdT40cZrWOtBgD-Wrmrm7LGt4fTiZ0mrvQc9dfAdjWpkn0f6Sj48vkwd1-Al9Tm0a3hXoZJaUgAFyBmgxkzEXNptYf0GzWOMyZ5KCB4YJrRmmX_ozoE9titvCZx19diqdleCfiyzv5GkF2rI7fPwZCBMRDAM6_7aKhiALRRwCGThnot4KxT7wq6Al1_EO6AhdPG7Su4ZLAXmT36BnCYM2X_qPcGQzX16-jLtSzuQfc6UPPOt0ZZZ4WQu8VhgmEsxFBdOpGSdqpzOluwSfx8qBxhiVdz0Y6t4Db0","e":"AQAB"},"attributes":{"enabled":true,"created":1616196367,"updated":1616196367,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '1040' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:07 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localfec71463/create?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "Qf2ao2d0D6Lx_i0a7ZsfSHYFrxD3NcQ2fp5EhjuLjd06iThAs20jcVmwWXKUkHNLAar7ANM724e17WkmUIKLvL6syDg1L78m117BTtwegcGK7wKqxh-HSTNgfVhjcBMPUUf5diY_Y6EEm7wEKzZwq0vjxziJRYLZ_TGSFfTETApCh7gSBWaeVCIkoJpQx-oHSCGUOKLOYCzjRQYWdC8xNWN_sCF0T5fdkeYaxMGNbw9nHP_cxV4TULXLQ3qxUuY7UNeUZ4nJGa88ItDrlFUywNETmvNC-maLZLA5KezxI4Oy1yqR9zlw1EPxWwKvPbikjDbfcuRs_-uSn3lKBhLb1heLcGUtwdxkzTJKIOmxVZK4LelcZIiUtdQuYiie2hGjDoLU7Y1Mpn5KiccihOFDBzJuqR2g0-AKipgX1QQq3nv15TLqpYHkKMMNpOTg4GhD0AnPGlFrlEV3OHS1qYndEhHrIncijiIeWPk8nCxfubOYwJeZVFQguyedYzG6qFeS3qz0UDIr94M_HgOawyx5eHlUS0kMdujKgvxyJzYKRKXkSA-xTUFSmb35qK7ulPvhq8cEmaDsB48zEU2B-3Rdt3WDQh0F0Dzg53459TpiSDfBm15C17HlNNRVfdvfycRYmX0hFvnj6FTLDQBit8AKIFKfqx-xbZWqBlkZh0MFQ_k"}' + headers: + Accept: + - application/json + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a/decrypt?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '394' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:08 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP-256", "value": "N8EW3hlKoIiWIT2vXFr---orxCOy-UKiiAC5EiMg_AqJroJphpK3i2skjHTNmgEn1oNNWwMiqmX7eVlcUC7MTMNErb9mplBDokonQjMbNzt1PGze9ctWS5ch135rHvUGtmWArzac3v2UA82-t73kZ8SilUELsUWxhT8p_9AMnuobuT8ZDfaohA4c516PGalcx4T3pcIHGZViBxBkfL4Y-mmd6OTrb7iu5eN2tuAbsi90aUUNh5Qo1BxyWFt-AHeOMRebSrqnbbIE6cGwdKY2Yt33DVsXANm4_gXzBWX3o_ytH8hSfemHRrcpFYyoEHguAJKN44cU6pMSJ91lhAm4H1tUnoPxZKP3pTKA5fqdzLG3rULK6uHRjF3wjzeInyxOPKAKXjNclKDHwBTGZ3FarZZjBTLG4ZqEKkNAKdYBdYrZN_btMOkgjmG6gmNa3pr8lTeHnoc9nyJvjV4o1e8Y8cGrJeKsBpDez7vRakP2PhF658zKUlZHs031_V32CgU5epvqJ22GT7xoV_CLvj2nsZsoD5e9LF7yNC8x9PGgwgE4xllA6B391B3TYwn3oZ8-qymUIvyJpTBwdTRAeT4_zbP_pRZT_a1D2ijT1W6jrvynnEAicfFpHXV_jzrUqehOD0Cuz-pp5CisMJnaxn9VWSCaTN11W66c8zfnyXmVYxI"}' + headers: + Accept: + - application/json + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a/decrypt?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '394' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:09 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "RSA1_5", "value": "AVirvJ6SzVcqlhqmosLU9NHK74Qd3IM989zkzbKWMesIwtsdX5gPad3km3phJS4xHQpXZk53ge_HqIaRvdvPBl9lUCOI1kE7QMJ1NxvgomS0hnFrPeU6HF8kL9ngwX-fMH2upX21DMr-sLtav0AT9JVgK9ic2ORBEK2ByHBBS5jrwzDmTIZw0Dk-itiggsLXbpSagl9Xc3RAzn8KsA94cYZdZT5_rgmNAqOmUpAg3-e23VMX5_qgx0CA8WFOc8ICfCkXUj0YJgbNwd6eKkY4Qba-xGQApp8eXnHorvFEdIq2XesnbRfiNYN1tGhL6_vyUGZRCzzctM6_DeopRgHfwY1H2YscP3E-Jqce7IXou-gT-paNX4YYiQsOe0LiqE4aQJsqVHUGRZxssaXeRBlw05s_TabUi1AyLjeyiXkDAlmBBWU4GEUtrMVEbrQlq6RCAIbJ3WXw-eOhajCujvkYAY_mIH_68HuZvzYmlIXSilYa5LiECXKaVzUSngSWWBiuCc2eULzyZTKDXQUsxiNwN4sHtWDRnb6PRAZ0EUVdGiDMf_SDvu72OWxddDzVHtlQZ-jzUC83Zwe7d045g4_EiMRGmATqHBCpWltnuRLJSxXGxqcQ9hOuYPH1OYEpgSQERr1V2cC8tnNixm50Ke4fk-1D0czs-vL-7QveHm85ZWQ"}' + headers: + Accept: + - application/json + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a/decrypt?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '394' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:09 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestencrypt-localfec71463/6656bf5a8dac44e7b2a6a5bfb0f88f7a/decrypt?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement.yaml deleted file mode 100644 index e572e87217c4..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement.yaml +++ /dev/null @@ -1,137 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-valid443f1a10/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:21:14 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-not-yet-valid443f1a10/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA", "attributes": {"nbf": 32503680000}}' - headers: - Accept: - - application/json - Content-Length: - - '50' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-valid443f1a10/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-valid443f1a10/1fc17b58e0d7423cbb2b2bed6b7f5af4","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yxhsaBZ-37WktBbqvEgvRwFC65kTJLPWx7dgu18JUE05aM7IY1AYaV0IdKSj-WiFEtcaAqWJyHd7KUbB_HbObqhBOu4HA0b7bJrZSYSzCLjmv9y26LN9HEMx3vSU08O0HgRaT4kxIl8l8BYE2UKYs31WEocS_TKZq-W3YFeeHn_5_j-R3GwgbPKJaQYWsCWHatR7GpP2nBpItN6aQrZHW_VheBEKNFl0MMtsxMvSUFaZ2uxYQIkLxftONPKqWJ5fM1yvlJ0_407yQpC2ouNaorGsCfYvXNCN8nTI9zZUr7eGW4d4fG_BEz2YCOe3m5UoLI0jtH2dLBLj5THfeyRG1Q","e":"AQAB"},"attributes":{"enabled":true,"nbf":32503680000,"created":1612578076,"updated":1612578076,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '721' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:16 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-not-yet-valid443f1a10/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA", "attributes": {"exp": 946684800}}' - headers: - Accept: - - application/json - Content-Length: - - '48' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-expired443f1a10/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-expired443f1a10/a6285dfb422f4d5b9d7df23f3d1a26d4","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8sjqozgQQ4v0wfhKNmhiIixUxOERKE6G0qhQdQJUYPtN8-92lYvEDDZKa7T8nDucC7qkcz2GDVoIo-vD3shB5I09_SRw5q5wgHR6C7qO17J4WSETSaEO1PIshzKy0Xu6lMMMQKRUgnx4s-Ma33MkSwO7TGGo2H9ohw_oPrqKKvcsj1uqGw-AdJV1NygYBRdZYXwWDZdQsaHDgXtaifE1542MeQw9ktr9ktzjWVBx-r9ayOgcu8_FQMma8rgenuX1R1Fw19WAC3lNynAmzTmZu_dNzM4Jhc1qN3ZNE4qlPGoPys089GoTaFwYyvh3qCoGbjIYo-n-cgoFZ4HM4657hQ","e":"AQAB"},"attributes":{"enabled":true,"exp":946684800,"created":1612578076,"updated":1612578076,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '713' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-expired443f1a10/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA", "attributes": {"exp": 32535216000, "nbf": 32503680000}}' - headers: - Accept: - - application/json - Content-Length: - - '70' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-valid443f1a10/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-valid443f1a10/ee94ac446c7e4d1ab76bd9776dfe0460","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sNrJovWGpvaIOvCA7RoLQhtoPxxJoJ9jA6nGTIwZpxKTdWmnEGvwJvX9b1OqMFitP1h31pSf0mI_KHALJ0fDysiBKb_ksqD64mEaLJRmjam7hDAsTsv1ovIad3Q6gaR0yAtwT7s8EwV_UCpsUQZC5Vku0UI-_7clygnDaXqABkPxlU6MiJJgZqbsKN8PrHzEiggBPW_m5Vkrto7N-HiswJmkrrnAOCl2x7e0CsLUaW7-jt7ykCGd44MYBiE3vNvZlUahM1Ct4_alclOTzT9itcGDnYhYJvWHL6LENweouKMHl5PaRIMZ4OqEYZk1VPbu8h4XQ6wQC3P77X7Z1VVcWQ","e":"AQAB"},"attributes":{"enabled":true,"nbf":32503680000,"exp":32535216000,"created":1612578077,"updated":1612578077,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '731' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:17 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-valid443f1a10/create?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement_mhsm.yaml new file mode 100644 index 000000000000..abb3bb6718db --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement_mhsm.yaml @@ -0,0 +1,126 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-not-yet-validcca91c24/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-not-yet-validcca91c24/create?api-version=7.2-preview +- request: + body: '{"attributes": {"nbf": 32503680000}, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '54' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-not-yet-validcca91c24/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196372,"enabled":true,"exportable":false,"nbf":32503680000,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196372},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-not-yet-validcca91c24/d0f07bfa3961469f01da87e29745e86c","kty":"RSA-HSM","n":"oFo1QIq29P5DX5Fyr53S9ZA1DNHhtuA5q1O-CAKwNN0S8ysadVeMSf2UAlSXZ2ad1-Jo4zVFgaEodqkheNB28Cb7aH4VZsDRvQie09er2wHLdValK-BuyQwsWC1CJ_JFLCA_tDg2E5G14So_Y3NlzSbJtgOqEvXnipmMKB1BN78C01RuDLsUastyKUV4Q1fhFBCrTxvNmqC8UQRLI5L52GpO6BVY7UlR53IK4O5sPSE63RpgaxqwdGwCNIyU0OLj859ZXQMg3l_1rGYgrV0EPwg7_WmU9cwnKRzvAUOcwG4oN70Tv6M-dAi8JM5N9oICg3Rx8kcA5Pn8ACnmV1DJRw"}}' + headers: + cache-control: no-cache + content-length: '752' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '229' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-not-yet-validcca91c24/create?api-version=7.2-preview +- request: + body: '{"attributes": {"exp": 946684800}, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '52' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-expiredcca91c24/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196374,"enabled":true,"exp":946684800,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196374},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-expiredcca91c24/4d646cd57c4f01613787c8960631c25e","kty":"RSA-HSM","n":"yyLdMnrqIuzqDJYsfDvtUhjasNp1NiR0kawtqAFNPgwEYn5S__F80Eb5DO_zQbDckIZrVCbY496jBLruiaDO617-cZiXJ7_-lOsztMS1WgxillYdD7_7C_8gTs8MYrFtoXAUaBEuob28jA99gVcYCjxrFTZ9jiBA2_x9Vk-ppPCE50uT9S_3FNGZif9Rt6QMvGYSgP13Ba8AjRU4FxYfE0wUECl2qONw3UiWc3841yZt_9rM8KK-6WYjJUSx7gSbJ8JNXOhos53X07TPEpR5ixN3SmBPNpLYYLgxxa3Y__zGp9fVvk7MV36ypg3zLbZiIWoEE4zJ237-v4Up3yKpNQ"}}' + headers: + cache-control: no-cache + content-length: '744' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '255' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-expiredcca91c24/create?api-version=7.2-preview +- request: + body: '{"attributes": {"nbf": 32503680000, "exp": 32535216000}, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '74' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-validcca91c24/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196376,"enabled":true,"exp":32535216000,"exportable":false,"nbf":32503680000,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196376},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-validcca91c24/d84072898f974c70a5808e711154fd31","kty":"RSA-HSM","n":"rksuqqGc7HYAGmzt3ILc6EfSiSWtYbOMI29p1njOlVdVSKc0lD28eEqJ0xtlvu-iDOyjEqdKp4Q_TK0CWD5fQBPheomlHmb44A8pm6kFncsWbgTPRdEEIUx-jzOpS-RI6c_lUgYsd8sOo4X8FeDzPFWS94NqCfQaHWMl10HQPduGBudI-pUmzeb1cKEiUglFSFWko6D-M3d1OQp_eV_DN4rFMiUKLxZjFmKZnX9wZG5Tu9NkyWQQePB1lCNcYJ4hufXNL-K5zDsA7Pa_oyaB-i8nUXq1bQ0xe0aP-zDT4xg6ANWhFBWqFkh-bOUFKC3A-5Tfe-Xw8dSSwIM5lWblvw"}}' + headers: + cache-control: no-cache + content-length: '762' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '245' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-validcca91c24/create?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement_vault.yaml new file mode 100644 index 000000000000..03379f444c42 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_local_validity_period_enforcement_vault.yaml @@ -0,0 +1,137 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-valide9561c9b/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 23:26:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-not-yet-valide9561c9b/create?api-version=7.2-preview +- request: + body: '{"attributes": {"nbf": 32503680000}, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '50' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-valide9561c9b/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-not-yet-valide9561c9b/e92d66f0cc7d4e8a9adde08b87b0920c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"-B-2WmA0_ln-e1Ca2_5WdwO62T89hn-WVGlZ4eQTxt6xijys9vOfOOKwgn3KE9y7Ad2AFfrdLQ0f6iRzWdsmnGuOjs6ln8x2gLaQMXwCwqRnoOeLf4kB1js_JG9i8hXn_7xG2FFx0tqkaskTy4tnL8lTTQuc_xrmLRXFk0C3PkUb2diCMl0cDVZ3R1LT8wVHsJWKIV_oHN8878kwiE5Q__Y4xXK59CaZXUfOk_ZEALVkIvmeszqnSaEV8mCa9k-Z11wLnMY3rBAwnjrFwRDyl9CLIAITmek_VKv12xlo5rWYLhFBB31wywtJOd2uAoT-FA9RBk7Rg1u3Qw9mASUL2Q","e":"AQAB"},"attributes":{"enabled":true,"nbf":32503680000,"created":1616196379,"updated":1616196379,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '721' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-not-yet-valide9561c9b/create?api-version=7.2-preview +- request: + body: '{"attributes": {"exp": 946684800}, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '48' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-expirede9561c9b/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-expirede9561c9b/fa0ea300f1cc43ad8cf575002e7c8fc2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"twlQ78yj51UwXgYXed-Ai1lg2rmQ5q_cpzeFcouBQj7oqErKMIJ4hv4mVjqDeESPDNnWEtKjCLtR77bP-aOstpAZUPfjD9foyZ_TBodvn6NNINSxd3GpukdJVK4DIf9GRGg26te4RkJC5MNMUxFhhqlsYZpDulpe3K2OCc3kZH7vNINlBwWjw60aRzDdMvmqyKeb2of5K2TPCkfPVEP_xe-P5Maoc7LnPTerUAU5kU3DbnWhJsZzmvQFtq2gSM3AhCOQthOjczqWTcVnX36Nw2ccN5qjZegWSqFUu6Wlde904SQQzAPxb1l3jlPC17t3TNA5v4AOZVYtS8pFl_GImQ","e":"AQAB"},"attributes":{"enabled":true,"exp":946684800,"created":1616196382,"updated":1616196382,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '713' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:22 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-expirede9561c9b/create?api-version=7.2-preview +- request: + body: '{"attributes": {"nbf": 32503680000, "exp": 32535216000}, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '70' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-valide9561c9b/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-valide9561c9b/ff1037f8c2c7456495318a0388defe5f","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5KE5CC7JppzhdGe8PVFmMvWkohNwR8ZeTIRv8RMFeubiwMWJR5lhfibUXVyR8PVWBd6oVjX6kvkxE1xP0eZU5UdvMnZwgg781QEDhyjQn87ZzxfpgyomjPRDdGiAYwRm0Wf0lkER227tXY644R0fDWwZ-t7SwwVAFPkvAQA8R2zKjDiOLh01AXwzHKkt7vqsbo3CjEXYEjLUKR3FQeZDFvtpRD8JGNP-ph0PH81ZNwTjHHXCoKafW693K1bYHI8wcK_NR6N4xv8xrbnJFwTPDEKemhFWjspe54xuM0gH1E7QP_xoE1-j_5uNlK73029tlbQ8ZEQod8eUwLW3Op2btQ","e":"AQAB"},"attributes":{"enabled":true,"nbf":32503680000,"exp":32535216000,"created":1616196384,"updated":1616196384,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '731' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:24 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-valide9561c9b/create?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id_mhsm.yaml new file mode 100644 index 000000000000..08fa98fd9f61 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id_mhsm.yaml @@ -0,0 +1,92 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakeyaeec1297/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsakeyaeec1297/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakeyaeec1297/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196388,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196388},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakeyaeec1297/6a32e78b4e3842bf81cc0a915e226c76","kty":"RSA-HSM","n":"mhXoNogVmWD7Noy0Fi3dA5K-5yO6t13ipwZAhtcMpMCH1l1KnILhYViQt850sgZOSA-qsmhpdrABraRB8B1twVgiA4S2WujF-QnNbxYXiN45L8ytn5O6kq2tLpd3CNo7XRGqe79Dl_N-XksZUNAEJubJwsrdCL2KEU-IVdDSG0NV95_dUEARFMj7Fm5mAPIs3J0QHMB7fjpTvTvzy-BeKYqOGtRvzwio98cjnwABElF6C8udyFt3kwewhHVjyZfPHnYg4MVFb5pjj1rDMDMXCaS0KfqKqYPkwftp7mNhIIotTWaRQT7kfm-GHy-88aCe_ILowHoczdwoFu4hn4yDaQ"}}' + headers: + cache-control: no-cache + content-length: '723' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '298' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsakeyaeec1297/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakeyaeec1297/6a32e78b4e3842bf81cc0a915e226c76?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196388,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196388},"key":{"e":"AQAB","key_ops":["wrapKey","verify","sign","unwrapKey","encrypt","decrypt"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsakeyaeec1297/6a32e78b4e3842bf81cc0a915e226c76","kty":"RSA-HSM","n":"mhXoNogVmWD7Noy0Fi3dA5K-5yO6t13ipwZAhtcMpMCH1l1KnILhYViQt850sgZOSA-qsmhpdrABraRB8B1twVgiA4S2WujF-QnNbxYXiN45L8ytn5O6kq2tLpd3CNo7XRGqe79Dl_N-XksZUNAEJubJwsrdCL2KEU-IVdDSG0NV95_dUEARFMj7Fm5mAPIs3J0QHMB7fjpTvTvzy-BeKYqOGtRvzwio98cjnwABElF6C8udyFt3kwewhHVjyZfPHnYg4MVFb5pjj1rDMDMXCaS0KfqKqYPkwftp7mNhIIotTWaRQT7kfm-GHy-88aCe_ILowHoczdwoFu4hn4yDaQ"}}' + headers: + cache-control: no-cache + content-length: '723' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '80' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsakeyaeec1297/6a32e78b4e3842bf81cc0a915e226c76?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id_vault.yaml similarity index 51% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id_vault.yaml index 07ef25a46a1c..9a24dbf635f2 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_key_id_vault.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsakey56431083/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsakeyc20c130e/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,21 +20,21 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:17 GMT + date: Fri, 19 Mar 2021 23:26:30 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsakey56431083/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsakeyc20c130e/create?api-version=7.2-preview - request: body: '{"kty": "RSA"}' headers: @@ -45,56 +45,56 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsakey56431083/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsakeyc20c130e/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsakey56431083/67b3f510eef2482ebd47762dcc17b51a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0TA0cA40tqiDjKmln-UOzB5ir4JeqL72rThegVieuaRLxFfzRr7FUVqY9MYzrs3zQ0wSp30esy4ezLKgbMyxP-tTLl_T_ymwdSERCJU9jSvcp7IR960_MtfSlfmclWmGnuec_-TraHuKAfvfi3HwFumJLSLZO8E3tzUwdvPVFb4Re6ruTMeHdyDaEsBUp7Ez446Y8CQOUU0IGU4E0v5pFh7SSUk9_EKjBqdfk4CrMvvSvnnXgHnH2ZLQtvVs9RshP3nkVcz8O8PSSCPDMrc7eiZEOD98fmJSCWVkuL-N365huv-tza6hknI8kTMzQ3G7xS8pvBdjkqK78b1qtiX3PQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578078,"updated":1612578078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsakeyc20c130e/e6151909178a46a0a9a3dc244764366a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zRSAX7UpO1QVHnp7rBwwGYUIHDwdZ6YQNAolPtAvMbN3Kk7aaVB03-gIsYpFa1dM8xFqbnkGJrxSXExyKJrrZ6-15uodHoyu55hnMxAlSLbYST2kwiWKkHlpYNtFYcEjFDI2Nd_W9VEYNipO_RM64m8sClwjjZaErXdav47FN1BciUH6gzb2zcDLL5MdaU-zjTWfdkkPNYkoHsN8XFXCF8OdIx8z3sNkltjEhaBLzJTJvy8P9cOcrCLUdm8i6EL42QbwDsN7OxHMfqNktrPxmdLmldwBTcDGGzn877kMrUGAqCNSOwagV7P3clQtSgGcVLV2xD3G_44bCuuFrUOpuQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616196391,"updated":1616196391,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '692' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:17 GMT + date: Fri, 19 Mar 2021 23:26:32 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsakey56431083/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsakeyc20c130e/create?api-version=7.2-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestrsakey56431083/67b3f510eef2482ebd47762dcc17b51a?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestrsakeyc20c130e/e6151909178a46a0a9a3dc244764366a?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsakey56431083/67b3f510eef2482ebd47762dcc17b51a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0TA0cA40tqiDjKmln-UOzB5ir4JeqL72rThegVieuaRLxFfzRr7FUVqY9MYzrs3zQ0wSp30esy4ezLKgbMyxP-tTLl_T_ymwdSERCJU9jSvcp7IR960_MtfSlfmclWmGnuec_-TraHuKAfvfi3HwFumJLSLZO8E3tzUwdvPVFb4Re6ruTMeHdyDaEsBUp7Ez446Y8CQOUU0IGU4E0v5pFh7SSUk9_EKjBqdfk4CrMvvSvnnXgHnH2ZLQtvVs9RshP3nkVcz8O8PSSCPDMrc7eiZEOD98fmJSCWVkuL-N365huv-tza6hknI8kTMzQ3G7xS8pvBdjkqK78b1qtiX3PQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578078,"updated":1612578078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsakeyc20c130e/e6151909178a46a0a9a3dc244764366a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zRSAX7UpO1QVHnp7rBwwGYUIHDwdZ6YQNAolPtAvMbN3Kk7aaVB03-gIsYpFa1dM8xFqbnkGJrxSXExyKJrrZ6-15uodHoyu55hnMxAlSLbYST2kwiWKkHlpYNtFYcEjFDI2Nd_W9VEYNipO_RM64m8sClwjjZaErXdav47FN1BciUH6gzb2zcDLL5MdaU-zjTWfdkkPNYkoHsN8XFXCF8OdIx8z3sNkltjEhaBLzJTJvy8P9cOcrCLUdm8i6EL42QbwDsN7OxHMfqNktrPxmdLmldwBTcDGGzn877kMrUGAqCNSOwagV7P3clQtSgGcVLV2xD3G_44bCuuFrUOpuQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616196391,"updated":1616196391,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '692' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:19 GMT + date: Fri, 19 Mar 2021 23:26:32 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsakey56431083/67b3f510eef2482ebd47762dcc17b51a?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsakeyc20c130e/e6151909178a46a0a9a3dc244764366a?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local.yaml deleted file mode 100644 index 270dd6536c5f..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local.yaml +++ /dev/null @@ -1,731 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:21:20 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA", "key_size": 2048}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yLx2XMfzesvQtM_SHeMJb-8qg3p91baxbPQV4-NxyOD9qSWpnoNNIZy9mIshrE3cRNBRcjUdXImBtf9gc07ow_MwFvRnqPirNpU3sZsWnwUgO1L4zj00enTz3HSGJpD3ywqNtJ_0O8wm5cRZ0G0zR1pHLlrSb939_epweuQp_OfFe4cp7INc2X7VTIcnZFtKGNpu084lje2D9i-pNvwdFkg_Wfg6XbULZc24B9shc5r2YOmfu9mC1vMcSAS5ij4OuGIG9Izfl_nSe1bdg7CNguz_E_n3JmMi3V0jQUNWnUYeVbJtEo9UJOkmndmN2fX9GzP2RxJdEbTiCsJZSz2yRQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578081,"updated":1612578081,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '701' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:20 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/create?api-version=7.2-preview -- request: - body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02","value":"q67PwGxLyV5jwbc59SfZjxEGgMEiTM6J6dyO97N7i5FxmbxrZ4YjY6MCq9hZldh24oED62mbW2im9_y3g9OOTdQr38Mwxhjl5r8DJu2bIoARDvKVcH8XF8oTaDZ6tnh_lUp7sDOGuuAarnqeXGct-HSnOIGz8VVSUNwWMyb7-9h--EjP4Y8YWYlU0vRNgg2Hu0BqGlegdkanL-JrKeqvHj4X0dIZZTRUut3btdky0_DKkoH7aQVEnNE4WHpt9w92qzHSwF3dC7BOGWYEJhSEU4ybg8J2LSQqZKyAGo-lZ71qCKrIFNEOGI0c46ed3SoadruSkf1HM6GUX7cDe1UWZw"}' - headers: - cache-control: no-cache - content-length: '471' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:21 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02","value":"oJ6gVfmM-GM7fGq1tKsxTI-qIkhhd-LRhkut7d-xqlbGmVjehsto_nm0oCsEOTwYRztSk8aG_QsBKv0OK0DsBrUgYYDo-_cjvg692U_2UlsXsUOC_yXDmuLcV0L6anfR40Hxh80loxiffNkibyG674VUoSjP0fMl4dqRFAHsHLjifUjKatk1o8WxeJX2GQXnnC8vF390ziyobLkt8qZfjWQm9WEdW9mAX0Gs6rSKWKfHQvAg9S9blQr7FO9A4u1LeKYQrVusLFw1MrGgUgawDieGosuaUIvTBnpB_zXQ-3kNq0MObsjCvBfpdZR3E5obc7e-iKi-a2fbpOVVpkiQQA"}' - headers: - cache-control: no-cache - content-length: '471' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:21 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02","value":"egw6zJEAHKvfKxiBTe3lzzcZvBmq_uNGxKXNSRJEE2FNkM_D8IpX5oDTkECClqNP79uOmHPxfC_6VF1_9qCsXxmrUTzAtT1_FfprJHqmQMauk3Vp5yhxmmAvGDSNYsWa5e9WbyD5jsdpOOnTK7jLDkZw_g3Y9qPTKcn-WIo2Vw95n_t-DXYGDOKj3vuC9GN6QZCcd-njAcPEzrG75PI1x-blflXofHP0Nsft78PllW7v1Rr7Q8BSPqgO64RuTHK6KcEeZUkR6N3jLDAbw637vo7YKv_s6Y4LWOn5XNyfMhGXhIMrg4omRc6FLM8GejWq7jaH57r89iw_B5-hkWAQyg"}' - headers: - cache-control: no-cache - content-length: '471' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:21 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02","value":"jw0WHtUXG9rjLzncUzTQWzkIHEwMPF_xCPQryxG981ilIzyNtm0XHM7lBJC424a_ZtajBhh_q97o7J_lsB-31ZHGh15TKowyHUg-VCBiZZ-bRopXn0onVzp5bPRqgl5JT8lHIib6o07bGm0zonUBt37fNq-p33ReU6tPejQlDbtUyy34EtFBEWOO4mrV4ryHcMKx7f4MGGY6rriZt5-SCVrCJ8oILmHjaOP5sxhcTQs3m1mHIBfwWCy-fzP58G9hZ1oT14AFlll2EtSAyCyaRiIvaqkJ2GNdnb4iHYwn9k9aCICa3R0sqZ-New9p62_7jKO9w0FzCY9RxjB084jSfg"}' - headers: - cache-control: no-cache - content-length: '471' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:22 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02","value":"Evfcj2-WpZdQcEql-aW-x_wdPHs5P6ca72x0M4SNPaZdQAr9nc74DphRcp7tgA38pZsKIC5ub0qkNF3wa6rYdi1u9HUkkw-f8y1_tWk9wWqM4Q9T9oJ64kjBvZmenSUVmJ7LPqtWeIe445ujD3091UQDVwRABLykClizChhxXyTAXejGzQFrFokIxMSZ5sC7lYt1-YE5cdEdbbSrB2lMkz8NPwfx-zgz_yPNrzgItSAoQE-m-XU51fAdKU-bLNkGFbaTtCzph8yz-2XCzUnVyEt2o_wz0pGHtV_3PQsB2b4rREBTlfuZ9gtA7fGPx4Brybkb2L6wzU1nGTPcI6LSDw"}' - headers: - cache-control: no-cache - content-length: '471' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:22 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02","value":"AZqtHnU3r5NFNEJ2DATBaYkKEWkyXCCAfPEvKUHrQcFs1GSfkUegZIo09KwHYZRNJpDQgsZLz6GN0FeDibJaZmRXImZ-iS9apK3wreCEfrX89KtcoeuLdkuiTD5yEsV0tOGNr22lOwcltVivJqTMqcPKA-MH9CR4ySY2n02f1CvCKIAHwZ_CaSF1YdyJwEaD-UBrwhURYR7dY9rI3uLpEuYoIObGk5GwlMFC52J7ZAew2dlHM2PUHZnq8Cv-LHNGP9809Y-dA2LKFECglekpp1VaZoD4A_4LWFNJKYauoqO_XG7fECHDVSY_Q_KbPFh_x1T2aarfgnjLVZmrZUfDUQ"}' - headers: - cache-control: no-cache - content-length: '471' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:22 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-2048c2d1130d/374431f4dc9d487c96b32e34f1c72f02/sign?api-version=7.2-preview -- request: - body: '{"kty": "RSA", "key_size": 3072}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oH442mqBUumKeVroGGwzMOwqOb5p_WO5deqqK3ziR9o9Tn0wENf1OHgSwDnSMYbtxtaReVztJ5uc9AyYRGVwi8O9BKfIYOBFNy8zsHwUthh4GEUmc596XeHkOKz3R_D3YoDC179rfn91UVyd9H5gpi9LnOpjZ6tfVYFSdz7f-4GV122_bEzHY_ISAM9lnUy4XsdCadNws6G8CZxSDFCZoqANTo-jmCIM89cFgGWZsVB6md8wxZVz2-nNMF4nsVzmQV740dHpLoTSZUFMw8NMsYFckMB1OfSxbl-v0Y40lPNmC5h72z_OazvHwYD2EJOxszoDPgzeP-yiijDCfXWPCI3gbwKgTgLzZ3-y7ogshhoQDmS2alkLKmwIqk2QwdrS1JFsg_W0MUw3wnegFWbj3gGJcD1F3dVsVYwFZN1a3ooKE7etfNtzRSMbxRpH8GKiIAii4gNeh7zSAo47wSkQIj4rVgd3NYcyBNV7cw0Vk4kZiMOYxlwtQN_TzFQHLzzV","e":"AQAB"},"attributes":{"enabled":true,"created":1612578083,"updated":1612578083,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '871' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:23 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/create?api-version=7.2-preview -- request: - body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980","value":"eJHBq8o4scZZyPuSW-zVhB76hjxGIiQFcTWYshAsClyR0rwi8IEmGW-wMMqlBA_LcSvZTojO3keGzORVVSqNdwwUG4a77f_GC1Y6j6r8WiBv8LnX80b0LizKkxEQtECdKRFWei5gNQZFvx33JuF7X163P1Guc4Nc8dcKKHr6OSp-4IU0TH_np1fNAGOigGUIybdoE3cbyGHerEeYdKmUnPebfGFUYVj9oiceRLT3dVwsnrZWodxkPwEgKvjQ7l9gji3lCnH-IzfbQVEOeFhz49xDKqmbdb5R9bLwJejhti29Ai4ydc7zsanapmYrg_svNzI-1wXXTC8DJSMVwmLgMRiEt5G7WPxsYhPNb1tHgfEjETDqREKOpBn6KHUvpgqxzHi8wqCdN59I0mUQJ58jIlqKaMGqRiaPUIr-m8I_A4AoAgrBG5RVucKjB1lmCbAIOcJwsgQcYJ5AT42wpit9ctSol_4hPzAfW12vly_iOZRIEvPdQxVKAfG0G6AG4iNk"}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:23 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980","value":"ge9qw7jItPOyZ1mi9KQAe9vJiPExnilaT_3cqWc2CE9EBCcOCCN0BFK8PZyMwYRvJwCTM3JiDnIeM486W2CSUjEBhUEIhQPUWgZZQsnECAgF5GWPGnAUawLbSc1TrWUHMOCirvHC6Njza2SPBD_Erqb2N7CcYMDv6el_nQzUWB58EqYc5p694FLX2NEvVJ1dYigRt2Rrw0y4sJ1W07H584trzR66DkWurDo2Ro_rnHWo1XPmq_TMYQfIZ04Rp6LA6A-_s4hYloa_GEB0VkpFviqERq-WEV-U2ecrkosJ6L_93nXmlKp_5z8MN66lGEB1sk28HE0NrDqUY9XeJ-gkFSRzPDNaoox-hPGUt3tfdAXmkBy8mUlgq065szNdn1f8yGxA-LzofyP4qbZOYPMFQ2wbbhoZmT6egnyqVi7NNIqMoPkv5JTS8LdXyOEfD109SYX6Xa1TJxbF_l0AP7A5mxfFqPEMGacocQzQpG2PSsO9Y9lltrbY02qwlZ5nrQmb"}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980","value":"k2W89ol-53EHWyVdKkLpxnEC_p-7sx5LyN5mjjCjQ6HsirUWLEkePJD_t0VZxjplkXJEelAM_tWbRP88Wp741KpckUUmX_-Mu8PeLOBJUw6RVzTr2KFN_VXbRtX3cJaVDby2W1FrU5p737wcm_EaxBkQl1hgXiKF5OEA_Kb06K_H8VIUKV0cNpgLzQ5dqnrOS0D72KjErnSo9VMmWEAFVcWaLIRUo0lc15pmwoLOCVwEINWweHUMqR33L2fAdUgzN3CTh8ioStPL0LipjixezSxbOveKiEk4FuIWjQuiM8wNqJBXPVjXXHWKRjKBdBXNgcS_UQbA-SqMIpoxtysIGDh3SSs21X3bAPuCPz_Gwxm3ousbBNq_DQGsjNosEKXT0cN5lCiA8npZ97lAhw0SABAY6VPnMTPsEYjGCg1P20Y7YkrfhR9gfPtVZgOER0JpIJOcoyPRPFxIIoEbCAUZQkwFIUe_9s2romaEU14sRytipoLjpYdvALyyX9R9FRxx"}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980","value":"bXF40ZkqWzTuO5KeV-2emz1604Gxu1x6PCiW3SjaFxmbe09dV2wTyxvq3qATgfAITSdimZjTd7Cwu52pazu2IDqN4hA2AwHjwzpjwopkg8zkH3nP7HE0GVH_a_A9X2_DnE43nqXCQ0mBfasn6EA-aBska7rfMmADYuWizSArMO6m4KzgMMH23XIf9Rv0qYYEImHa1iqnvTiiWSSdBbXUZXRBEMGw5RnDVqoDXmWs0uvydcYVzXx3M-9dkXkAxYk3G13_272cRw1zjXc5Uri-qQdrsuXkt-TiYi3qTVojvYJmJh1HtEbi7r12pnQN8OLaJ9bg2NW6FrAP8hByu3DWD7AddEmHChS3qRNTl2UvpupH8sTi5nwFcuOaRW8RySlInBVTzoKm9sAXpzWM6kWPxIA9T01rg_Hy0bZfSmfNEvm3jddn_x4vZt5p2L7Pj6Sg2X47mmPRGi4ilYf8pojMAjmaKR-37PHKM3uVQ4zo2DguwNFYrHbXSUH7ag11f2sV"}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980","value":"BOVdWuBs5yp86xUUZxdc8QwgbQ-7FA5nDHP2DIqm6ZV6ISbGSTu7x7ikZN5lH8vnwjXGKfRPlcZlsHIcdIxcKvZ7HSIiCEGRdQDRy7WjVHs72bWxrAN-5nHFf_oddOKYZk2JVLzyYlhLBwdgZzCPJgmJe9p8batkmGC0PdxjRxWuHk-cOZGAAI2w3obyshB7lSjYn4ftBTiuRIfKJZkEbeYJU2f7zig1Qz1fsHAU0PmHvlOWjsptDI4ktVXtJERn0GBEcWjb9wEBSeGGa-zknrUZM8RK9ajqbOi9KVMIEWDE3wrhxhGjxfrXyWIVpRJkuDJCv23BvadC31Pq5l4dFN_ALFaPCbdTcJGQDLYOzRcKlPXxKKMDqtAja5BWtQ0MCjMtWxEYzF_LmBxlafnTvCIp8UjokMTspheoDxKGAR9UNJKIOSyzxm6ok4QwkddpNFNJnpsT69v-v4x2pmVEibhKB7KHpr7O6uLZZjHNt01oYzwlregfHrZGzt7hL0Ic"}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980","value":"TUiHS_7fqq5Fu9AduqD0YNzgncH7HdpJoKf-iimkdWsi3rRzJhWfRXx82RgK8t0KRDYtoVxQNbdM4KJr7j8rhWmp2WzPaESsjyBhpqHUeiF7b7GX7xGDJabdl8-Jtjqys6FE3jV_P2Xpy5EFykshkK6TE4WFHAgnUCJSE8IwYavQVrWfkBAfnn8umN-UHaDnYbNa419DHiTz3zKobiBQXRd5kt223qpkUWQE3y4plBIIUnqKHwCF6efeTO9W--kknKFXuhzCimPDxsq51-C4r9SrpXv58Ur6fGnrByWmBYSTKI1v_oNvfsi6N22E7ElMZ_nJIzg8OLvTFcdeCISzcmfcmCNEbbD-55G4SmyjV3uZNqAGvg0RNAJApjTckjYEujZBSGjs0wMJLCY83ipu3R2KObccYjs31JG1xfDMm7tVFEtA1bCGQBYq0zrYQWFmVRRzqxmy2y2MsV5qknkNzXpGG8fuhsuBGonF1eHOc5eOhVQZejUDkPZENOvuwZyA"}' - headers: - cache-control: no-cache - content-length: '641' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:24 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-3072c2d1130d/4c45b4084e4340ef90f98a03b3143980/sign?api-version=7.2-preview -- request: - body: '{"kty": "RSA", "key_size": 4096}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qBHCs0Su-gfTOp82weWDIUS9YfLbNle25guPpaq0M8VuPzMl6vPCHoRQpVXEX3waFugK7yA_F38e4p4YLR8Q00m97jSfykVsGAggwppgLjt7FEjcfYt7REpBo5eYKrineioiL7vu0cg29TICLPA20HUHPC2-LbVrEVzzdX0vlWTE1qM53XOEzAeUIUQoS1M9YN5rPDObQmz0zk6pdnCDf8OthFGVVLuQvVhWWHg1xgJhJGMrhAkLaMVy5fv4S5oN2_oopzvpqqflrqIC89aven6vl03XvAgiMIbA0z3v_jIiKntDtGN0TZiHM3y4eM8mAG6UW48NPrHVD_2QM4MoQ2da-Uv5S4SCtobygdDv2HqeZwd57TnLo8yULWyX7xraM6DtMspUHUJW8RIhQ_UEtnc0GJBZk_SwsZW4Eg_9uNK39obnCol_vpok2Mh2TOjjT6fjYzTP4luFPkqwCVnrIL0Z8Tj_LckCsN-u8-X9upH36alPHA_3fg77mlUbA1KoTkee7JXeYOQ1sOmdj5QNGpaHsCnCMiTjuBGJ-UlF4FXLXY7hOY9YfyMMI7fILiypB9mqQ6LG5CK7OJC6CMaoe2fA4_94csyGHEtyBsCHSl7E8PNdRc0YJNcB4DHsNHFvGfFZ3pGNSc8EtWVgj1CwnswhIJNwa5nfdw_tc5a1eXU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578085,"updated":1612578085,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '1042' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:25 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/create?api-version=7.2-preview -- request: - body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da","value":"RUDd7iOVSWCi1MlqQIMEermBZkly7Z3d5ep_4jR3tVT5h3bhlSKg2U2F5X-3ZOuJKj8SIVBq7NBNsUKBJcbbChVVOx2jtB1YBqa1r5JsLdNYdad3geHjggOj3c99SJe-hCFQjHvmvRfNA7Qx8jzppNgZhAE_WlqUfroYuqQCFBY6cEALwc7yXwTM3RMgobdwO5ARIllr9AhVpYNJMEzL8slJMTdc6-FQ_gCiDcSgDKV0zNkpsRQDbRpR2c3BSygT7DbL2IlG-pG-N28YPbOBW-SSkkoQSy6ezbTYGQYh4TzFHEIZNT6Uj-_KEye324328RCGRZFDfMcQV1bTK1MCVLQeS3pqNrClwy5P_VONqBaJyxi0hd4loQ9pRnwC__EwPAbkdT2stjG0rwpKBh2QuSmIiKAWRtjPuApBMhyKhAF4CiqZYjjlSdO6kyeJROgSnXyRhtnKToIwPYYzAyYOYDabpKRZ1dGGx7snmKv5oLdzTLqgW_wPPUTMaT2VMyUMkycu0XrwgRc2uMHZ9gL3mCTCZalXcZCDfHhy3t6kKFZRGir7i_4KqNwgWMOulzMGU1x6gUY5xesGKX0jW48XuaK1cDS2Iw90guUYJ8g1f2Sqw1g1Ew9LOAa7TnepkyoqBMchoba7dfSspRARiijgWiBXvSuidWWCJut8bQoDo7c"}' - headers: - cache-control: no-cache - content-length: '812' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da","value":"APkwIaeQoVhWTkAjlIaF6JABSen35DxVQPmuSsWSAqVpG7RtJFaS5LTKKHw86xjaee0w7pne4m0LojheAw3UWS0BL4QuE2KqdB9d2unMKEMEHfIEex7NGCaXsTWuJGbGiK6gS0euYM3RNaEkcfkesmQUilm_8mnqKMkVVgqFZ-8mZ_D6sULxklUthoa_lWcbCQK8zcgot4JOHwC8Xo_0PKPzNIGQ_DqIFOlSXWC0HxFxMXPs5HBFrUiLRARaPs6NTPTEQZ_IqjcET1JZDm5MIB1h4xCi3D3DB93Sqy83fHY51Ixxu_2V2fBA18hkr0QOuRLLeEHRh4Ipod2exiO8dkNMlYnYsbrL3Ox7L_lPjV4Wh14jChwCeNC4s4fBtBS7oy7LX8waXAqGqgCJbrfPulNThmA-0JHyR2qHZlyHPKR4L9Fl-2vv2b8_ywDdBtV35Dpd_MEQHOx3ConTCgDTFExpm5NfMGSXO-sppH1idfo33L1oKF8qNfH3HAJqxkwvdOb_RpF8Ly_Usn7mCflzpvt4kYoB-8J7Zi_aBUj_QVaulsDfGvGj2M0vqV33K6CJoLFZkWUnFBjsfZFQJxZaAGfT6SmoRdc6eeoJtCyexSAZ5tJ-HVfmgtqXLf34U99cd4rfArb7N_4LGT_Zhey8Tfp4yGTir9o6HNmBtOjsPLY"}' - headers: - cache-control: no-cache - content-length: '812' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da","value":"pfbMVa8WnPticteslBxYHDYLTFgOLW9qhsRTNMZHDOogbuDrdQqA2Ma5wnl4NWju0kexyxMf3yJcxaU-EDOoWGvtNGxPFSXIR1KIaYNa4TySje1fljVDM-0dDnyz4llycyHOQuLK_e-2o0zIMAjI_2T9mgPqIjPwlrwPcVkhdiBDOK5jCvxqGcwjnEtiO7Z_fAtpdKNpKwMOUI80CewySGr5hiMfu3G8wRcazKhgoCosP3FlnWUHt-r_y3yTH4Gu9KufR7MjnP24Z8bo0t3ST-OWlflnXJ6aP-BYppF5LtDeyGB5tzEePS82hLMYuPWY6-sTNKmkWxkXKZAPp_EnIbL9z5lad8vwHCrP36K8TRFk5lU_k5zzRKlVFUQjGEA8UDEUvzd3QH6YXkFjaWtSDwETevZ2AZ0yCNcuGidTvK_uTwle-taSOj8J9QE8PIYDWw6JqIcFVG_khd3oCihB1P89GEtacsD3Rxk0Biah2gt42Yx00osBCJtQlw4W_Cl6q4t3pwLtYrPV0YcG8egZI6y1uNe0dofojAYU3E5Iv2fEWp4qS3WjaAAzXfamsPcHbCgeEwkMFsDPR9_iMI5kJpGU59bHtTJWTuQMSguLwJffqWrhSw1eVKCgH0HkV11RqSJgmPSN-QKhTKswFKe7DT7DIeIrMse_i9Py1zys41Q"}' - headers: - cache-control: no-cache - content-length: '812' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da","value":"e7zKfDhklKgG3VggmOl86nd-6Rp9cw4SUFkz8w3z4AYMQrt8wMMD3pQf6LLSA_SIZdLMf7yKbD4Qay0Qg4w5tMYsyXSn8EuDEezhxK07e7rFAEVznPSaGg_Ip65QOgaQDq727vGngFkK7Oizo9330VJ_xznA0x-snTHprMun_dWfzgNPej1m0daFsAuXAm4FiU0E8FgJx6E5yWw8QMrGypoui91FLOitIMM5v73gJnKAeH0MNPPIww5iw4PtBrkhmZkRpillLKjWXrR8UDkW4rg0m0AjsA4WdvF7uPgNrsMFP0MSI5YTwsfCR167msHckOP4mVJc_pdbDiVS4r24GjsvuSnxtuNufcVnT_1r0o9xxQsZ5vcGjnK2FkIlUc9qf3F38H8zJkC8aqrF1B53jzP7CoRAha5Y1WUfTFEZw77JOR1SEIqQoR-1Ik-Hdfd5Imf6MI-R-190WJflt2cIJ-YMNRRTaleHRNRA5bw5mGAN0yjCdIDmoEbC04VnqNxTf5TlRDP__iRGR--vmSaun-WyxT01cOn5KNf-e1YvHw93tmDpZPDCcLqu3Z6E1ryuAOu5mB84gCFqcjLS9gdBxHbnglFemj7ScKv0Gfg9u0RA5PHwjnEyx_PVcAMNQnXA-Cat1c8FZf-Oe1jL3mXwmde9LpXNUCnS0mKAdwrMa-8"}' - headers: - cache-control: no-cache - content-length: '812' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da","value":"ncqRUvz-1sgFzboJof6MmpSIlcPQ0N7vCfgmfTM7zVcdgTvWoAe7QOLTwzpmC2MU6yauzX_ECjSDzOqvv09zhqVyUxzfGLqUg4ASf3LjOPp2bQrgqHydZ-IhM6vxhO9PIy_M_w5DsAreHZ3Mfjo559qUvk_8ia68ABY5r5IYH0fS5dyKUWB7b3zg4O1EjZbvdvR1Hd81HPMOCtlQpFVH9jUDfU5AY5SIb-OwhLivROxz5Az0_JYyAk8GDtDls0T-EtKtu_ZltNOUVCAR3g3wYYUpm3O6taXkv0Ffrky9X3yKBL6XULgdPUDjFb2yEYViDMxQvuoBTKaKaiJdzxbjxkt46nSBKmGcrmzryFrKVllKr5btUo7kRIb89qz8n7g99v3Xw50R9L22ug4ChDpwNFD7HG3OuQRrNuVROdPZ2fjlCd3Ez77iDamPIdMbu94Xffj7Tub1EWPzevs8A3GjhPBdXnqiYj71sYX1bPnr2S4cjw5nnamTQeIkzvjhl-hYWgv5ApdcwzGtOACXzhjoBCkLWmd6KFY-ZTBPIaAQtQMtTL9PXU-hx4mSDYie8rG_vonV41Qp-YDxib9-n32UHlMGM02eTE9dUzI_xwTorDxNw-IPXxGhlxmA4dTnx8AiYZeXFs7j28gB7M5JHGk2avsSs6oTi6CK6XK4Fz8sPvM"}' - headers: - cache-control: no-cache - content-length: '812' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:27 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da","value":"kvYmYQsm7-GTCboWWEAFeTnYFVd0kRzy0ycFrhS1ojKuoylQhg8gT46pufGK2EHGrwpoul_aLtgt2Fe6TF9gzdPJimIzoCQ3oiY7IT_4Jq8c6RAb5Tdi6R4b8bOkaHjh-N5rw5ds8pYT2BVypqeRPpBuLFo7aBbB4euhl-FP5O8dw0McUwxSjpsQ4tC1F9SagnqoIcVQM42MKqh-oTi-lwjHbQwH-UVOqZA0i2QJ8_Lj-M491FxRBfbWauH4gW9H0ZWQR85BDEgE2jHkqw7ism9wQJ3-8S9RkW2M-eSl_fd2SzmpEj3jfDhTLqpdBAnsq7tT5d_dBTDzTO6NtkfGewxaxNVXB28fa7tutUdNkwQt6zi9sodC9VVtZ1YAMJALkjkfTtFrZklhtnrruqNgrJGgQnJmBo2rXeD6I2s0cibleUl8Noj3neG-qoin7wdMmXIx9_5JfnOmMj6q_X7_HZXJr1GRgCMCCH1-LHkvfRv_IHTTp8o3_afMMWN3BANW-UaAwPkBZ6d9M31XI51uDQwyVJ7Vd5hZ2RFO_yzqpVei-0IHulM1JVfEZzmWAk7Yxuy-PvOfjRZVq-pYeSwdchdeU8wbYKTH8gg4G2smT3KI47ueQOZCzkIpC4z2TS8HKx-_w3x9yZ0GYViv8KNdOYfceXjLF3StuamYP0cmBWI"}' - headers: - cache-control: no-cache - content-length: '812' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:28 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-4096c2d1130d/f8914fa4257d4c7baa0242339c2118da/sign?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk.yaml deleted file mode 100644 index 4614f6e0c343..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk.yaml +++ /dev/null @@ -1,731 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/create?api-version=7.2-preview - 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: Fri, 05 Mar 2021 23:31:17 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/create?api-version=7.2-preview -- request: - body: '{"key_size": 2048, "kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"8_nVC-gyiwI26zo7Z66BcRb8Rd4PkjO3t1HpA6onMnC52UFjaI1SASdyQmvb-wGDZRQ6FibYpv43JZMgDw3Lsnk3HHy70zKoxFx228LAPm7rDAWi34VRCYTWy25XuKeiIEMmfewGJ0o-U4OwA1WjNhc6yWojxcCkzbJXUGLtolZGHtHES2GwyyvgMfVDIeS8i9UgtOfj6AvEkNL7fl3Gf16Zu4ieK6Y5A4HaPx9JbAcvhuvb9Ux5UdD_rsix37UjUWbn2CpCBPQYDpGTHp7arOTi1pHDpsg6bwAlnJOa835d80d-byruG6ZeukL-HKMuyWY21R4KqoM_A87j9aGuoQ","e":"AQAB"},"attributes":{"enabled":true,"created":1614987078,"updated":1614987078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '699' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:18 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/create?api-version=7.2-preview -- request: - body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff","value":"ZGaS281UnxDF88I_B3Hc-ppK5Yja2uUziNMO22dX3NuZEI-ueX_sJSnC-PxcHJuEJj6l_VxOKYFi0OkSKtxuLruRrhNbed6hpdWTFgecxuAylvtXE5LpzKIrt2wV1JE5j5Pb1evQ3V18mxzqBZJDFeS6Tt8Wu1BSxibcnJWEKhOhTzRkLvPvYL2BDsycktEghU6D9P8apFFsVUd2g9PJRxc-HH7X9qFTjQRLKX5D_L8SWwFAxbGFLvKR55yKvD2U1-YAcB3-KbcYbhQfFXZ8336jJLA_W21OOICJ1kX_z2uLpGf8mtK50St7Wa0K_ptdFxGVD9-SJ2X47yuv-xM9yA"}' - headers: - cache-control: no-cache - content-length: '469' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:18 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff","value":"eU9rPW-P6RhrhWxzku4Jgdv3nxSQQ3VYvNs9mQ2UtOYNWIUeyCruNhuvgSlwId7wzWRsBkDCFYQgcjIVm0BV-CwHcSWTWpCPyilq2XARzqsUV_lraA48WUAIc3WFnjFFt3gJRZveUp0iqntO_0NHOXUcz65CnEtgpq_kzCv4-wwpSicO5Eoi2_uWtYoLqOVFoeuCEG5F7BOouilPMmRrkT8VvVKy98rl83RvhZFHVQzPcILyEtYRprYqps6Q65kzZJV935u6t5FjgpDrz5YCqcwMBTRV4yGcR37-hJTQgtFF-CrITmU68Ae77FpXQLydHvMYEBXx-5VUzHIr1dTL4w"}' - headers: - cache-control: no-cache - content-length: '469' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:18 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff","value":"Gl0DBsHhf3pDg6Ul5RzhDySdFpe8CJzUocplgoLyNrq8_mrTj2bv4oAKM8RJuX1ifIi_bGQSWP61Z3DT3Akyj_oZAz8ZqtqrZp9Zc-Hx_1DbOG_xhswkKuKjzsl5T2OfgKjKiNpjzwSpj6x1iFdPNR4hNIqzqUc-V4Tz8gt-GlsYMziMW4OIjcD9WzMobmL9e-_PqwA_oTII8I3_LQR07ftGEU8QhTHELnMXC4KmBtNbEXPG7e1y8cnVE3yoqcEF1uzVsyThrKDq2jKeTqMrz9k5UlgXbfD5hqUuCeADD3t9QI7ngDYXffSSGjoZpH3oQyvABCzIl5TIJ8RL8PcjTg"}' - headers: - cache-control: no-cache - content-length: '469' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:18 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff","value":"JqYvezQLtbunPEAHNj4gPIGza69P8kCUoWUToeizvv8iATme8NnMxEl0YzkI0yQ9U2m8s0YESH2_JujTvFTXExqPT4hW1hjSjl5Tw5gIWPFdNy9N0LOHR5MoIbOEo7unhl81nEJlUIvd4za9hrcpzN0aZia0x6UBL_uS1kABxceInfQqbm6Muvna8wGGoIpMqq8siT0rR1rHtF3y6kgZhziA4nXBqSB8U6wAaos3QY8saF_eGauLOisC9QECZ4tm6gNAX_R2AGc7xB_8VzOJt8Lq674ZV9EzWynQB3j61lPZUhqaQ2cmTkO7mNu3Vgh8WBOt2wTBcJ7XIL7NV6j2Jw"}' - headers: - cache-control: no-cache - content-length: '469' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:18 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff","value":"72c6bxm3AesQxtX4mhBhvON_8vyHe0I5BZ8R4g8By-L92MiMq2uPlmgrv-i8_RvviRVLMnDd-juzYdFIbkz4RigGBFsDgKvPkEw5Tm6sxO9LJVbJ7LreGb76wBLPYBh9E4nyc25XKh7gI2rOhbkKr5bgOvU1sgRGCBE2OInevSvjRGEdPaAffeqAQPSeVzAsDhfqE-_HD0USEjbHuJf9H7l6bQbsOz5-kIWRlisKYsjkuIN2m7HWgU_zzGe0HHkzFfL2wM80m38OTiqzvap4nseWXmU7bd-uAGhyH3LgLcXWCunlfyzzgNVHkYM3jHIIN5IkQPa0jxliwhqXjB5Nxg"}' - headers: - cache-control: no-cache - content-length: '469' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:18 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff","value":"vgHrdWEE99TDd7moMIFocmlYv8mqcM8OpiFDzY4_yQx5G8F8AyB3xViYqvbeYydrF8QJigcH4tnBpfylOyk7F2laE52uKWad-o48D6dYG6ydIy6aCbg0ZgutU27W4uFdFIi7cFsjPgAhiFmhU3oEwKn0eTE17XgBG3IC9ngtxokP3PsNPwx_r7MPpwVaM0R01SjxjqPTflDBqGEERFwwYUQoKpu-YnjOKIj9nCotsbbiWKklrZ-u_r_lZFwqW5iPq__zfoBt37175cZmCRsvlP8ipczT8ZScugbfmWumI-k2c_R1StVxNMgH10WmTQb8yCZHYL9AebK4iW350mg8Ig"}' - headers: - cache-control: no-cache - content-length: '469' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:18 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-204880c816cb/ea5321f7a2024eeaaeaaeef8761097ff/sign?api-version=7.2-preview -- request: - body: '{"key_size": 3072, "kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tuvgxEz7DkpalrWCnfIc4HJ4-sBUukc5cD4LC8bsmcZzcW5drmIb1Ytuo1VN_CWaK33h8G6AWJXzRaLDzt8EfmHlq1J5Ys1TzH3DODQsZTk1aG1nkUlGRd_cV1X6CXbn3WfPNp5V-Q6UmHhGjkPfm-FkaGhyZ0_ytDtlqeZdXgyNXyh8s6_cxFWilNydT3gnSCJB8O1eCiEYIhBEvhWNKp0HyJF__oOEEvejzAwEe5dMvSFAl1UV3BrVs3CWXQKJQoSAhdH40py41uqNgcTtzi2R6_Mz6CO1_lmMLAROBhIThBv-YrIVvsTMtuE2mvpl78XMnTu2JVR-Hf3NQpm3JHxmbOZC6eT6nS7Avzdhg5-7uaaaKZZMT2T3y9G8mz8KxqNWYPLWmwqPhFa4IdMqIlpLWJSBYmKwz8XhuN31O4lzmGMNn6tYOwdxuUyGZ1IYJWEdwlEPdEQybw-aZyJmpye858t3aMtTRkKLQ9L7Hna33joqPLy8DV_TCJTGtVOt","e":"AQAB"},"attributes":{"enabled":true,"created":1614987078,"updated":1614987078,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '869' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:19 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/create?api-version=7.2-preview -- request: - body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3","value":"kMwBO9VW3qH05i_4xXZ3Q-7I4kzJzEbUX3_WFToSvAZyR3ZQgZrpc8FpBdGWpDi-cs2nH7gIbUHSi3w8BIxFtjE2in8xlVN3r2ibKHZ8jy6em9wik3tzk_4sd1VqkXnq1w6l8IAlMPV7IJOMRUYnmJwevAltdaQGZWEZDjKBfaju5boAY5BG3pFSFzK8dXUUHF5uZMeP4-LdMMYiTCyK5a6gFGqZDSZgwt1VQXUy7vUZJkraFpnbNsFJUQPZKsXzmd1-K4PVnXJkVfarXJUKai9BlSmQNtykpIEMJBFXuWb1MzMwNg3MWu8sqf_QPnhrp2r44l8U4zCXOmX5fIiobRckpQ_XyR1YouZqJiRz-Xi6nOJDZUdnkuu-l-DWNI10t0LiTtr-yQyPm8G8VvjYQwOz1z5K3Xt1eusVEBriEd41gzyV4OUNkoVdM9plzqbD6FD77wEkWC7Zz6OixhOxfj8Xoxl0ijX--4VY7IKPSrrNfNa0-vPW52L_a-pkD1en"}' - headers: - cache-control: no-cache - content-length: '639' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:19 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3","value":"UHS9pyintUNr2fT96pgu68PImjKYEFe-0rZ4SUclp2lN88mkEcJ10PKkFMpLBQOHFXSk9WekCIn2LRX_lPdqtqeOulXYT8PTdgKlinZ0NIDtDOwqrhX9SoT4HzfHBPk-LYTOa3DlC1TIXc5lP0x4eJKNMK9w9V4avImTd08gSmw_QlxG6KdBIjpIqUMpixjJsddhLkX2mbZsqYLnNK9SQy-JZxVDgUcX1SjI_6CUwEo1RPW7dmO8O1TMDFT0Yo51hWaiJ4JxutZ1hhD1MYqEOL36ts60AvSqH4Uu9EZ3JxJ1nJRtLUZRrQ6BoWArEscnbIGyAfkzxbGYQzjum3T2dvhBq5n1QjV3jFhHatWEWiTDPkN89-Ajn2eJpb9UOQI25fzvKggUckYgA80AWFqyWSDgmFJBBobZl9A1llqEUnySSeO6dluaNwaP3hWrEJt00WY8DAaoJQljh01vdIfHkOUjS8rnzFh-Nj1gnO7vrG-ucpiREpZ6rzyjQ6S_E0tZ"}' - headers: - cache-control: no-cache - content-length: '639' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:19 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3","value":"AD-GPE_ir8rPRV8QYb5vmoOO6aNE04msXYnaINXQ0XYSF_R8UB7sBw8C82CxSUuIPW240Evf6QUUUW2eOB8LSIIK8nqVknDr44kyzRIfEqrpsQXQBUEd_aHphaXHYY7ijuFbhZ2SR15003NWJxaRq5PPJlALRA11O3FXw-uuGveepWVJmYsmcyyirH2BuNv3P3i17AKTwa25Ea4dKkndDjTTMuzVgh_0fbrTjJ3fE9CaUn75bzYmM8UPbOcLJKoEondNeBAHfL4LjmmDoUXEzS-Jc4_jHB0fI-7zc8ePdQmIJpgTFnZxKGjtwaaAZukPPLsn-NTzZ3UpnWdtKc6WJgafEOrhoA2lLIfAYVDVd_pMOp8gxqs47FH3TILireXSUBqJH0ojhYjpzzC8S_8P5rgfBTJK1GD9e6rCtHYxILuad__iTc5dxaDieLlaj4pZcwnzhCJx5szmenQodTA6Pp2e-t4RjnXzusjYlrKihVhzxofNsbFAXe9Rf_iKC7nP"}' - headers: - cache-control: no-cache - content-length: '639' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:19 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3","value":"FP1dDbQTOPvEJT2d4Zvo_zuGTkLJS-VwDoAIMD3p1U-3NJxkCO3w2QYB7JKEyx3oW4uf5_O-5y8kapps_27XRapU0YBEutp0qQrYqzdK78cobKCDiiMAH1BlomTJAXdFHXlCRG_IJiRtmXgM2z_5posfHfrNNzupIqmwSVBK2WV4Yd6T3iDFDWcFo32GI_xFY9OreMLgW-HI1wkj18YuQamX2_m4n1DBNtgbCrVPHEASxXGj7ZFpWgfm0j_3qk5crEnCTynzXxKBVhYc7cgFQpM_m5lURXv0ox82MM5U3mwM_dHc9ZR52dGAzc4DXTr-rpraqEF4TyjbTyVmRQ_F5Y2zcwvElE80MkBP6n4kk7W1ZgQ_MvBt9VBC1VY4ysWYzI_5ZJ5qHCwIr9Bob-En2kzT0PQgQ4lGk7dL6KZP0xPTS4i47bwoSXxAI8MVGkUxoSa34nonVqsskcuEsSEWkInLnEA8eQ9Q5qaZ3kbXadJBYrAf9Rf8hTWjOXZLMyD4"}' - headers: - cache-control: no-cache - content-length: '639' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:19 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3","value":"ssRfMUg_ZH7vysrCxDJ7fmWfFW1JzLceODqpAI1F95x3COautjRsHDfqXADSIc0LAfigzPkhl179byQcUm9Q499Zt6N5SVzGBQPSUN0_N-igLiD7xYNVZ-w4a203FBrMIhAD9pBlDGBmTkS_wmKOAybzOgeVYobDQoaHChbCi-50i87_uxLad-e0i_Q_EeJ6LZ6jSwqdCiYHatAJWDGsbCpwLNPWBgOrxRDF6Fd6p1VR1_l7Tpfe4mGk182IGgPwRRa7Qk63s77QPcXiX6iqZUmGU5UpmwL4UTNbRGfURnR4nL4ib9QDQU6vCmupBILZoDYTtOaBK_E3Jzg-6QB8ENyFPxGWbNp39ItrTOFZJuDm7L1EAeRsDNUNH3TP6It72L96EUe8zsfqqYsPQMenZxiay5z4Yn0ZKVd44anAiC6jgAIw07dn43Pgm80mRqHEGnxZ2jjPMR8zWRxqu9d0SLuDoLUy0Fcb2ZrvO9JIVFkSoVXNf2Voc2ENob3UR4Rr"}' - headers: - cache-control: no-cache - content-length: '639' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:19 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3","value":"YYbO888typ70FDQRnuT03htLNmwOZHGo9FqL2csKXEFtAPzH4MbBY43hrHtdtGJ9GCqdVTwj0iHG8hTlO1TNQvebBZaWYEzNnhy2XPuLhjEmVnH9UOPDG5eSiMkGhL-m0o40QesEKvFkMOZULEVgWNJ1BM_zMVqRQUhSPPltbu4_n0rMwZ9YIDicHFfLIv-gUY3k-KP0-4OpC8Uh8kUChXQXAaEWkcGkLbgLRgXf8tuVN529ouCc5SYn1VtaGBDxbbMxxYHINpc6__i7t1elwORsSdbRmT573UJr7y39EJ-7b60JzhDoB_AEPInrjzOfJlLmxnGgiBvPBxOizQinUm9SWs1ous-owOSJdZJUiFsvU7MvUcNdyCt31TNHICOlodzp4nInX_iilL7Wwp555QzadBK5ksEYzf_DpjS_zIWnC2Wu7c6DlXi5wHLiGammhsZi-hy5gUZZ7K6t1O4QkD7aWxZlgPoq7mSv36VqCm4HaYeeoDj6gpufxNnKyplm"}' - headers: - cache-control: no-cache - content-length: '639' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:19 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-307280c816cb/6a550b5a58a24dcf92ab80591ae861b3/sign?api-version=7.2-preview -- request: - body: '{"key_size": 4096, "kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vOAC5c-I2POEE9dCSbfzHTSyqU0yGR8_63kFhbahl20QIMtOF5QYWSA-Yp72BAYJp6ooupjzZWoPICV3nSe9OjLrXOFlK9eizZr9lmTyIDmzh9LH9nfIgm4fbEf1cBgBINW_VmqmdzuHmVASb5L-drjSL9Yu4EMsuLSmu5LKWfl7GLBBoPbtQALVNjhWyHkyEO1NkyPx9a3VqEzJrBTQPBOifl50KVaUC6RcZT4O0siwj1JtZUaQHi5ST3kuSO7aDB5O3tGX-ULhPFXXqxkG-sPjVOvkT0HHGCVXELaiozateUZ_GAWeSAUuWO69vVXkKXd1QcsM7XcbTdC3uJTZTYeKmR67WBwm4icpRgPGqWiy6VDQa0FKNslvwpOGEa0fGhD0VPZvRNy6lxDWZZrbOBRY1Jc9QsjFEwv1kRwv2-_-PAxSFibLhoaR9iGHsF6d3A7UjRhfhXawG6hRV4Fl3i2mvKrLGo6ntnC60n32S7ghM7LdIZT8QKoVN_ekNMirWE_nkw7K0HnKE3g8wwRv1cQTggCTBOqOoC1kLIqJ9JGeLDyv4xII8761hh5LV7v8KjkjmuRoEf1ZY72JSlQWZutmu6F5LyyaP1jtpJAbhWMh6LKr6PaD_lXpFRV8f_mq61yMx8GZPCaqwgar57z4pFl2OzgdqVm0q2JjuIgN2tU","e":"AQAB"},"attributes":{"enabled":true,"created":1614987080,"updated":1614987080,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '1040' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:20 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/create?api-version=7.2-preview -- request: - body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c","value":"mJWHXR6MGxksy06UtvrQn0IQ1xm6UyCkieKTCMfgqsf_jEWRd2hqcqrPZu-uj2KHj-3rvm_hwajZPXElkU970WtuAYC1nVU4lSNii7z3VMuFFy4_96sU5iCRh3cS-2GLIIljIxiMwUipOPbu9HiOVpgK2AwGADpgoelUFGU0Xq85M4TKfREuyfAMjrLfVxtcH-kW2Vd6sKHNIySWJIqxloaEZ-lfCJey4GyAbbUVsmz5DTD9TkpMqcsdS99Is-Yi4gPzt4FA0ZsG9E1uhDwFgv4SxCe9lBa0oGJDGe5wrC6n4t1j_pUiNyllBgneEjgcb3OsJBQ_jZtvoI0occYuOYy7B0QiGqc6L5J7TNIgbFQAHbeP0ZbdsFIVigernYwM2EhSlfHvWXwZx1OeIZlvfOXkbcHxSiJqqg3MJqIQlHbaz6NbQ5KWy6W91SvUWzYdKVlQZt0bo1Dy58WD0P0D6infLMMV2YcpvFemkaQ3DzfBVrubTK49a31VrAVmvYFGT192pn74DSJ7oLuttU4Y9jaCOUsocAAnZTfGCoCrBtVtg4WXfpar2YDJNq5UAUUnwBCwNk-HR7NpKg-rouGodeex3HWDlui4wAUIjilImOERcbCeCZ1-LzfyNRjepIK76CGNZ8lmIagP2TL7747rxB_00727um_HDJwIUZX8SEw"}' - headers: - cache-control: no-cache - content-length: '810' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:20 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c","value":"TCxeAGSbCZNmDGpYm-SjSl1VjtFuETjhFD7Cddu3HCZ7lN39yKFTJLWCL0gxwoSWXeAnIbqtyOLo3_OJTlhWo25obJyGCPm9VhPQyKTA_alxUeyqz7MuZ5lIlWYhmEpu0tGISlgm3dzt_mhMPUCwlj6iTLevwX5yLQp25hFxjx7osmDiONhTgATO3NWEOBTjNR00xbyi3PGdpDSkuZXgZL1Y38PcisP-2K2PrrJ4D5DBXZxC2SPFusszU4QVNbotmgSuIRjPDs8zD27xaFMpzgHmU94sEyxZ-eu4yd4ovOQ5fJ1xjRSJrByu1SMoaoMgeUcpic3CrZ_R4LwitTYfx_hpBpofOzeIa5GH44Ft81gysIHVrXNVIMxTs6PBwE5znlCYPHxM9UDFyGqQSPAuMNdhgIsjJX1OI0X5a45iVxYJgCyhmGA5zH8zzALDmMFM6HYagKcIYK2EHkWv4tLmkcaiQ377MFhjBEgWkY3UozrX5pYGhJfAOdNnJ2SKiAj9wfEtAJctaYlqVf6xfkWwu9i5n-KXl36V4_HLJrCuSDqo3FLSaBB_uaJnTnuHMZGqjG5M8DLnRY58aznoQHTQ2yXTGP2GyB6_G2XT-gOV-fRUidyPLlEAAoWcuUxxVEH95dpxN2eVJQdygXxVaACDFzFB8q2qP8c0ZPrRuVC2mvI"}' - headers: - cache-control: no-cache - content-length: '810' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:20 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview -- request: - body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c","value":"VxdLCZ8fj0xN8LKMINvgwVxMMllUBVf_6t6wUF12PMZrT875LzAnrFTCg9cR0YeW5BmucFAIhLcRVq6O0hZAN-JZN1WTO5kCGNKDdKp56pkECExTGkrRzJh1dDubU5Mx_YxHZ2UhsLyE4tAZ3i8fVFM4ehr5E8Zthg22CE4jvxdWv9actHumzEwqu0h6GQEl_aKaAQYCkownI8c3Zd376RyEQ4G2BGOp8LgIMr7mm7THm2aXQJ8ejeNmJZpGO2v-wXR-gymcumRx6_7QknMOUdqC-6p3EX4_DPeoSIaVxaY6wThap1RwdFWBCh4ZieabD1Vvc2m14EVRQe_FaEstuFeLXF3qDEMhmhdBAxgOOy0owQIbtrI70c6qqci8Rj-syqT07iQjFHgkjg6Ft3D741aGPSKwJqA9WYKsLOjjk2QiFTPCmU3r2z0Wu_OQAwbr3QQ4z6TGp-E7Y2gf_L5y6Ikz6TOwoWR99JFuLCfw1mZFEuuyfS-CHYiED44dEiZm51Dnqu8hqRocw1Tue3NTzcqC2lPtjeX5sOSm2bd1_H_tDK_aFtU34xyVYvI19koR3hbc2HaMZ1kJyOjwDXOVoYxMzbJ2i-8_DBzfHnxCiMrLh29wKI7LJYycDvxKZy6bTc_LTieWCJZWoiYQKhYB8vKB0Xgm_yFJaIzlq46gw9Q"}' - headers: - cache-control: no-cache - content-length: '810' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:20 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' - headers: - Accept: - - application/json - Content-Length: - - '72' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c","value":"ry9PzdABURUjsvzzNKVUhwByL9frjDtFtIXlA2gwYSvpFgtRjz-TqYoUSpntCxP1ikZeniwjcnAJJ2n32Pj1TtKmOQSHw7z8G-CKTdurRL5I0ojZHifs6lejYjXmZOaLibuS0IA5AC2pqKG4KKZnxr96XX8JaeE7SsVKjSGWesYKVfgAJmnIewrjl7rsPFVxmacKRietJt2X840oHWaSpQbVpvCKLs_c9cR811kGmzpDdBJEU0AvFRA3IptYIoC0t8DqKaf7KD4kM8IGyYf52u8xvjJ_eZYscwG99qhCvk1dmv0Aq0XNEAJIFLSbebcgmVxvqMULEj5htoeq8GIHtfHMIJ3BQS0H96x5RWu39pwy7KxJPGeCXHYQ75-CNyQhfRlFu1OsTsXu501eoO_pQWo-hT9bUHeyF4SYY2rNqv4B8nydGvDkUg_wgxqR47tyQR2_w9vzHQf5qLbpQ7jNBQxTj6I8h-ASnkYWzIYLPhp4GgOne2ZBvY1RErcdLJUSGDMHPiY993-Y0hmXUado6RmwBsORgOYOOIAoOWnKxtHqVKnK3KOeQr8oGed8Lgeah3KUL0UgwDZAXyNVygaoPMfq-vvtH2w89XHCjwJvCovplq9jT_0GUHdtX66yxAMCaWAokpSQ7qbIu1qavPFmXDPZdobZwfVa3FQCY_NxhT8"}' - headers: - cache-control: no-cache - content-length: '810' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:20 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' - headers: - Accept: - - application/json - Content-Length: - - '93' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c","value":"cvnSgrlqkr7p0CU7CBlAAFe9mcZ1k-mSACo06iOc-J9ygLu8lcYekH4CEZqz2eNHq8uOFtBr-A15Dxrhp4hfZ7mKCoPZFZnnuN1j8rMhoB22UThsddsWiw1IGr2JNwS6hoelrGd8gb8XSVtKOrYqdqG99abwBFhNhY3r1ITlFEwxgv1JubwcgLCJSTQAZEIBKROp0JQzNtiZRA3sNqLwcIi5_DUb2xZ8oDQmAc3ycrrJAZpP496kyNewdBKaRieoGG2r5UlbAdyICAoN8ek6cAhXLzLRshG8t8aCc7wrY_VSXrnE3K1xgVFln9gw2TYdnt7tr2alE6E7Lc192L1Lo0tINj5IYG7qP1ZAp7wxzzPtI-fCh5JFWjzqf-RcmdYJW4Wg25lZ3qF_0gH54WSJaf3QMYef3Kz66BpyMEAKO1CFvGxy2s8W7GqI-vbXVWmgDBKsILWA0kPHmKdN4ORjOqV7snOzMlSxuAHrgvJMn2WiXxRlGE21m8sBQKbMtQKlprzTMWks1ajPakspDKYf2zv_xVFN51dMl4GfCh5QIOYVH1ZmCWOWmjr54EaniHHvfuf8HJGqRVyqdVmfnwzXlUfdp9YUJAs1uyM8JyxfqXiv8J2ltpmgfDn-6h_LeVCE4K7_gWN9HLboeVb7XpH_nKth-RxwysGixhe9fpbLTIM"}' - headers: - cache-control: no-cache - content-length: '810' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:20 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview -- request: - body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' - headers: - Accept: - - application/json - Content-Length: - - '115' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c","value":"fvjkciRlQcJLSSyBY16WAU0M-axnCspNPXTPgqvxKJAd9mqPBkhDw3di59ipIy0AW9hBWNYwZM3suFjiEvItw74AKOtSqHqR3GptPNpGSukIj-rSqPq9NSdwnoaRSBckBai0rSQTzve-f_-Q5zEN5v5aa4nCin6mRRMYvWpAxy3Od1kslizd4RgFKweu-6XM5Nkxt9lSq9_QhoGsVcLiL8rwFByc5DlNEhlzDE8skWWmA4qNvKeDSm78_bF3fESh_BZCKy0neD-EhLn5h0N03FA8hvjhIWj4fUM5Y2HBiC2cpMxC0oXaBuUcqOPeZ0B53W4OqYu14VJVpPmC-pNALSUxH0GbISqaZ7SuAfxU0e00zgSNcKjUi9WkG2XQi8lWCANB_dKHQ4O43Oy-pR8-0qIiBNpHadVsY7vvZPVgie8ghtXzDOD3hl3c2_Pr0kW1FpgD0WUJSD8Ts8SJrXXAqSK2tTA8_LjUahItL1COcRq7BwEQmFlZOUY5CVfjVHmVb4LXdMmMINLE9W76WiNZOA1t5A35HZ7bap-dnp3FwQG6SY21ya30M7mz-dQYOCa0Yn5HymqiWBDbkt0J3qLvSa0fDCF7r23MKzWMpaPbz79yOqb4xdFU44YZsjqnO95t8bHocLMEEU9JInoA1leC4PS09fvcYbXoSQp5bVC7A40"}' - headers: - cache-control: no-cache - content-length: '810' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:20 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestrsa-verify-409680c816cb/99866356c45e43ceae4c41601521426c/sign?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk_mhsm.yaml new file mode 100644 index 000000000000..db6a991a1eee --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk_mhsm.yaml @@ -0,0 +1,684 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/create?api-version=7.2-preview +- request: + body: '{"key_size": 2048, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196395,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196395},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3","kty":"RSA-HSM","n":"hhioK1gsYYeBkS1t6NjFTwCbKGb3H6ULMXzHi2JPdjU3P5gjV1AlCKOofwR1lDdG4hKclYFpgvFyjbF4tO-0Rk6B3a3huwFjC631OPShj6-jZqOhsTWJZNcNtKrfTxfWv4DJas-BLbAkmK5CUZxhY8HRe-ekmsINTiLMQj5z8RJnKCjZszr23xxPowlhTM9M_cSVVXH_moLU-LphwGgHjKpl6dYeTY_hgNwHhUN147nlCjygZcd1Zpb40WKtm_kx-5NvLMcZkV1nQd8CmsYZ_JTVED2dk3SKytj1R-GnyFVswwAwwMSma7xJthUgYdGKBoIV54g3Mc6ozunrE6-5ew"}}' + headers: + cache-control: no-cache + content-length: '732' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '214' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3","value":"UMXFDuzsubOEbgKzLBKdOrieQdWeF4XFxEid8MJpwqKsc3h2x6VeqVc83Ex452NMHZC3Vkphg5h_f3wTI--ys07NTEr-AqeIisvAx275JWTWdI4vrayDNwCDPQ-Thwdg7FzNpUzZRKCiO-9cnMlCewahLR13DYEL_6JsQUs1pyUerHJpL_48pYF-KTNgryme38NCKgygyM7w2HZbTY2U4-kZ7ieItS8cKb4JaMP9jacJyQwemT2LFSHMJwpatLtZSZrc1nY0Io0m8ZrBSbVgKliiy4sDTIgC5bfDQw6eb5arSJ2NfRLftqivkRDJqZnP4c3hrOTCRJnS5InCEOUT8w"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '95' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3","value":"XelWt7Bw-y4XVgbexhsFR7bXprO4zKA-oaG4oXoikwg4-crBZ7-0hmqpriRmigWdAnc2qoRpVB3Mx5UbKqwbVJo6-1vSD628CsQgqyEciNOo2rmxo8cqRaBiUujcQ_Gr5CDQHzGmXAVixa7gyE7q8pgb5w_Txafb44zdQSpdyu3SHnQIaAExxe9IJM2-e_kL4ZbvXVgPITYxow-bAaWGF9grhz6gHgkfFvG0n2O_QmTq_Obaollzm240WGB_9LCw8lSsnC4Mr3pUHb2_6C8S9dWpFPseOJokfPXVx3wdJEG2GxgUZletkme13_ZcVBExaMYgYOYyke8iiPr297oa8Q"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '3' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3","value":"BpJEsfnV7Mje0VflkGLBlnHFKY4uc51VuXpRZRy31ynAwWz1ROMrOmYNeZso3u0YvwSOgiNOuvHV2n6iDCH7jbsEei9VeXNGskcFuVXFF0admLzkQPztnhD6u136AOzP6S79-vuHJvMvBlQUrQnDF0-Jarrf3gB5474Sy2UKBU_K9ZzE8_-aPL7w27wvJAiFLPDB78k9FS4gkCW9F03DPnx9xNnpns0N9rdcTAkFAG4IapzLOyXkNStBULc5NyiQtZwKjELX1FQJh5jgJf2xi57z4j8VQ895y-qExvtXER2-p9qsnESQ5kXfqoXP8IJgAm64tb-5yoRghyuyoL6koQ"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '3' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3","value":"S_2JRcXOy65FYOrn2ODZP1ffmUCImiO1t7YiWETBzqk-Qw7PA6OgNy2ScbwGYNFQLNx3TJR00z7GUOPL_o5MRP8EX8h01aPZjX0Xv54dqyC5Z2DuBiagnpbC61FFhRnYysuZitD7vteniSphAJYNO-dwIkdaZJYLOSoa0k7bYdRS_vdt-128zMxVG53CsxEfaIrJpiQy2edBeg6a7RGhV33A-qp0ppLMMDIJfTlwqMTQH95iefZnNZ12EWB0DVBw6rOi41L2FTn7beqhBEJfJaMBFGXfgORq_tRgXIYEZeS64hpBayVzUVuzwCND-GrWWbozgsT7Fn5F9SN8uy-jUw"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '2' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3","value":"OAxfvfQl47MhLh5u5MGV3x0cTSh56COW4o6WXdLPwZbS6FXUqoMtC7fozG7ZT0RuC4c7vLaWYtEPlSKYtPNkGEHyO5YA0pLrRdIEtFqtu1ktetkQLoQ2Cbaeuqw6R5Vu0igv5nzuz2LMg0tD_M-csN1KvsYQ5KsudADvF4fuv_QCXrbhcsSaXXHVdCQ_W2YFAvH_7-iDM19xHVK8EeoaWn6yrLRTrpQ6Sk6XDCBPGcMmJpkiAMhXz5BTM4VgckGPLTrzMYHnTv1MscGsHAfFkyGdFkG-6GeXvWKaH4YsyhJQDwQ_pPDiGZVYvpfMwqZpI3ADjuh3fOjxHFPn82d5oA"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '2' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3","value":"FnRF9Fi11SrVwJIK_9BcrEGYhOPjeG_RgnpddzQeZguF1x67GRZGVqxMpDWHRy2YhbcTFUNOv38G2mOpflPYbS5FX8GwShZkNMgf_x_F-xmxlH9xikM9DkcrihFimelmcw43LUAvFkEGhh8btl1amiCyTz2uaaGe6zy8GnSriUxS4c_FATyFxTJOHLfUHkMbmqNnlVwuxPWW_I43NUjf7mfgYKKuHVftLyns2QqSDeOExNUKPL0mSwx_S91aNSFF_qCieVNVpSj3yTY6Ho4IWF8gTKj3pbtl-qg4sMD0Jn03gwK8AEMhL_ld0X94ulS3L_Yjuqzr_FigT0tuZQE8yQ"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '3' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048f8d918df/3e76b4bf5f290d52b554cca0c53b40e3/sign?api-version=7.2-preview +- request: + body: '{"key_size": 3072, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196399,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196399},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3","kty":"RSA-HSM","n":"l4AslQujENLwhGrZ4T6CNo-yXPur2vSOq7aehHykrXCsO4ISM3uKD6Ggnj2DPZUEj_Q_PnDgHvBQJenuSK0yFoSSy2kmC14K1RaCUX4wDf86k22H2YIte3gLDrjZHsEqwNJzefD2p_xF2bRLwrwbk-rXPVqSw6QDd_fTzsDNFfhAfteauyOZSx_9Tw0jICcj4F2QuZOlQygtSrFqanJwhQMqOS19zR1sNZnXd5EfqWs2i36WmXmEJxuFS7KRpn4PeLdptL2zsLy7OBjwpJA6sqRQT-HTFVBv0sW49Kz7YHE63TlrFeirAB4VqGvnlZtx4MlliHRic5Sl1NWrIH1TfI9OLnVo_GLJCKRfm4orwCfK61ytvr-e7XdNvPCBvlKr7zeYLWo0xidonZ2grwazNF6e-HQE9p9wUQ-12qQSq2g6F4kF7NalN-EBHftt4hlU4Ru9BxZS0aTrc7YOAKSiWEnI0nTKZ_TkREi97YURWD86ZignREUcQsyMjKUUY1YL"}}' + headers: + cache-control: no-cache + content-length: '902' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '216' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3","value":"kKD1fHaPoAANpFsIcgKxKPqwtViTpd1sgNfKCJPauBI7JYxl3E3vApsEDpIodpbJ4W34NouCZDlDetBjKiRUptXzypfZ_qrMvcO9wCi8MMDmg_5poNrdZqOFADnhKI1Xa6ACccd2YEcmUk24VVVdZpDMXNCjTd5xbkWSachtCggs_6VGb4uUe1JCRW7fLbftpNg_gLbnNuljQ4PsJGA9_vQWchG4B6PcLyD6E9P-Oqk8vVJ86Gbp8X9w93Qw7K8w0Jgc8t85wmzU27XEpE-LTMpU7eiAHFxMYVfR5cJVYb1yekuIUhLmn2SDsyz_YrI6a2qGlTzvmmK1dGLAwqOy0p5N7u9pyifvF8IpWVi5UwuaV_PXqxfs42d5l8Amg-cJwf-O_7F6ilADR-P4qIV1YAneOZbUsRna8xfQfenUyCqti_h2rLkbdjjiQhVeo89TRxGD--F3hqbo9wwkuWW_kXyKi3_ZOXbg5JEJ7KTxoCn8VZEouhoU9jZ7sDfXZI9z"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '83' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3","value":"ST5o765hK_G4FDL0kzE1paE-gDUS3gY6ab8LAECToCTsGAjqOoJc5Js8rp9Xf_a0KGyTt3LNrFcfj0-Zmq8kD6D8CtiInaO6ONfvSRgTu1NnTHupQYsBzaU5mcq8__Mx6oP9yyTUgxmPIIJPFZmItIFXGuGevne0sx8RvMWdEgfD8rkTp7S38Wa5SgRpWa36WmZacKXGoRYqqxn3kPAUYPgV0bvGtl4jM7mFjZeI0hMcEi2v-6aZgOh4xbX90w4j_kUyZkZiOUCX2T-gGRXK4eqs5k_AnoiO76NpdGVc58xMJZ6t_tiqYsbMS643IvgERsgzI_yTeeYY0ujq1-VW5oBzrUlPNqXclp6oPsLQPxDUf8bAO547SkLR3pqXPb4Cped5oIyfzF5HKdFIKAoJCur6qdZe22N4o7q22O8K7zC56NX5dSLHwhjEOssippwG2U5ptjzDlvglvwyjcxUL9NgIq3si-ek4FW5l6zV-_YkSzGM6sQWzs-6vDEjRM9DU"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '6' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3","value":"YROvJoqBY29AK0rMOMZs8BakICEldew1rTmy4JiabsZ7KOCHoKyS1vUV7rlurUbr49f_6i9zAl-DtwUoWmBCPWAPkhTmyRz2aLOq4h5PNL4iw4jv6NebVT6N0ff_4mNjDVkyvOdIadSUVYwhkDlocQmKVtVFsgZ1xt-a1memg-RtTYgJDJBwVc_eAQ2XEQXa39qGOutTnT8OVR7FVldJU7EdBuPJLY1-KPymZFFhnJyyNJp_9zNf90tVjNQzoI8_Lg6E1WA85auZ4NT_O0HnpTQz13_yDhdDVSMc6K9nLkwf2xzysjKE6f1tOVVmidolXygRINoldinvLS6p6HJmO0U5aLuvwb9ObZoq9yAQ3EMPSX8iHH8zAU-chZM-VNQN-ddq_6e8rbZwQkuoEcPmopCAkZL26y7lOgXiaNaB7YMsURC4sUjnDlX8fVSv1W0Fbl9c2rCD593JvHdGOVkhOC0rPk2sX5TpvV_w2vWp1beAFkedBlseKVCnxP2FrYmN"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '6' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3","value":"U5FIZgRUn7z38zQQSYPCQrGNYvvfapJYqGtgwfX038qUONniWgX0zT-RqLEiBcdNcxLKWnk0jYsOIrsrLYRj_YCtzvZZyu50B2Nt7Oj12cjOKiNHme0tDkHFltvHVppK1K8lWrmKN0Rh-cydd1lPlB7YS-DxvU25M8XqLLn6TltCcd4kNZ01_ZEkSzxDTft8BTzIqQUcWSig4tJWe_4x_1deyEw6Cf82fx5672xF2QI5HynNApBuJCZivtvqyHgH32ejda1uIaCYuhUyw2GNonWJoPxthQmc5hZULJKu28X9BviIqy7C8C4npmByypw8z7418e2XG6ht3UeJOqd5P23opsu04o9rfy2urUUS3r5XwZgOeD7W4qu26gKHnwdehJCPfZt5p77fbVGx8a98xiH-Q9BbN13c45TMTH7vkR4_Oy-v-N-pmAoTp9NhP5TEytouEUqKSy7IKMVZWl2fi-KyDFyEXyroUDE6yKD8Rd8T87Klcn9-fGgkzTkP8ofJ"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '6' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3","value":"cHhN0qndAyYUQs1sM1D0QQIpPwdD7LlpkgWKPfQNEqqm9tD16-9giZwXVT4B3KbXAanQO9aYDnoMgsHWIglZDbXy-wSfUHf6tvn7W0ucAboeekLnyJ8Cmi7EY-8jAP0GZZDyUJh0wrtlUAZfmJOyYCsxhveaoASl-0tG8H1hhogYPT6yhpKJ35J3RY2KA8_vkgz8wzutBssfqjoyyEGsItcF8w2-ocbe7NHTI5uWYSDImp_D0qmppaXW0fu1B43ScP0yVWeQZ9ALmzEadLDuY8CtLxRjOGKkMUI2npP2Uj_c2zHs94OASck7qZ7WAVSz0rE-vQzG0Pr-xaLQFoVFFAU97ylJ5nURQh609jnfeUBIjFBRPOl0FAyzLlDewkvQjhYjjQnm80A9kMUUli6VUDiHWF03ja9lLLWBUf-sBHTHDaujXjXyUowPz3zMmMz0oSj7p9UNKlrpJ20Ti3zMEACDEWwSR-jFjnNLzsaFHGZjKvPuvY8e1RYELW9K07su"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '6' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3","value":"kkTIkKIwEkz1alO6lwu9W-WxkYpbnwdu6B7xJoCU0bcHQq6ooc6_w3loqH08yBmGLvgNISlwaz6qeTIf5nTmb5OOYlXj42HXFrpiYDB5PxVuVr4N97jxEcwOyFAPNvMvAGTnNqhmKLIJizLVAfE8eQvtDSjueSg1fOuGjdgiY6XM1xTp7f1RAv4Y5mtHOTl6TCon11UisxG7PsMTgk3EinKWAThpav0ONlAWnS0ouRjC26NPlo8b9faZ_Acxir9oPmctLLR3bnZb65VAB3ihn_znCW1HWCpuzef6S28t2t4RmE05ebGkQmkzAxD6dEb-0-sf7itgh_OQsG1tfWbZq_OvbeHg1nDp9eMlDGdqU1FG7NfAiAZ7e_WYySdniyiBVVPEFhj0NMg1J49F__TizYZYPvrCv35HM0vQ1xj7nz7u1Nk_YkbV1pk03Qzqhl0k-UR8PrmijLFh0svtqskfrfZjafKNGRciRxthwqBLBiyNlDvPOOc-TzEcZ9tESp1z"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '6' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072f8d918df/87b20961173b4d649ca5f8e3ce2699d3/sign?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196402,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196402},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325","kty":"RSA-HSM","n":"hrOFhWlkCA5QtssVEftNdxFRCEIqQFe4SlZPRorsNp4cJEvqSYhyVR4GNFO3v4R7FGIn2ngdPb5DbCFdolUXOl_5OaIeOSJf0TWh5cIaM47BlXhQhPiazSZvHT2rfuUYplxGkInxvoqtToXyVXwEizy1X1A3mCg9UQnxQeELJRK89_pHuLFy5uiu_5zsyqH0his7o0wAYlswQ72KYlVeB-WYe6rCR4rBXZ7n_UUSUbfLcghrXNJl6C7yXg-VH9DcJRWXVZ0n6f78NN90j__qNezD7zua82qqPSauMrzMmsNm_RqZO6h1N6m2HJfMPUJUoHGjCpda-2Lu0LzL4mQND-70LuDJZKpU4ayzijX1h6J18E8DU-fKllIwaVKkiRiLWf09kCVzzAEqiBIu_9OBhIpS79DsK8bEQL4WOfaVL9D3sSRn4smMCXe_gkqskndTm55K7mu8hBV6mVSvr6g8-eDkfKlHQJCVuXFDGapOOR9IHkGavFAnazxWpGO4OCZ7x9lwggJ9oaV5UgYRbhO8nXV-DBM5ERG9Cr7O8BgT6x_A4RkfSV3noSc21n1yjUjlk_IrkZKlaOg4gkI3P6oKiIggq1FFWzBVyIeYElMjkYTe82PG8o4tj73qqdPIqcCGONjpx35zhNkduBY13L34lbQBBWqCA2PzE8Q9MwZVw3U"}}' + headers: + cache-control: no-cache + content-length: '1073' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '248' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325","value":"BO4qMSWAIc-ffAvKkkDDYpG30rxzrKL_qWLRkuEWocNJ8GxQSvXbJkptGg_2kQT8y1OVEkrt72Vd-kN6UhH_sOcjKJ9WTVLFm6joxz-7clsCYdV_srRGc_iV_0wKoxT6L6Xj8kkW4ZT9TL4igyQGbFj1ofMX6fqGW-d2lkX9vuPnWIAZ7FblspMFZDbDqhDcdo-2t7FrslUJDm6IpVTUwWcf-kFy-lKVmW-utsM9s2H6u4nM2A9WDdpsM9W1sm6MzlgIhjlWKCMLcQApPB7jxvT76qD6n-IFqLYEbcGX_f4bolV0XSfTFFRL7DmdV0BhwnWyV6u5TczQj6jc_kTrh2PwNfITLfZz18wMw1HevZdNUAV_B5vOKYBCHr0Qj3X_b997MHr3FXn6e6xRwtAl8NRKY-zwqOsid2SvqBKh62uJrb1TDrCrCUdrfJlVYfchy5O5j_T3OczjQPU9dCcOvJgErx7jcD4b6jOkdc58AAUYAFLzOTl8QRSXnr5fffLz_EYgcV7Mo_Vs1bXUngNCs4P1yMF8l530-j7bIpOSXkMQWgj9ZjW0ykoJMNTo4OYIRDaD4zPZCx7icZ2kkUyEXCxaPmMQUVAixnsdjof9kkeecQsNaxn-gvIlXoG0yP7M23Pf-FX4ITiE6nkGhlpCzayDwckVFhQ3-8nOSFG1VaE"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '95' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325","value":"VVOw6liQBEJohW_DERncPVn8IuUzyoWJufy8fmohLVeNPbDaO1IOeAb8Uveih_YwZbE-cDyFiUhdwI6r5oGrag_CNqKzMiLt6KnIoeAjC9tbiq1U_ciZgVrsfQh9yTeUmz-CkP1-rfHpIp3rn_VUL2n0knbH0nEhhu0JJliH1yyV_VIK7iF_HhMHnj1w-nNEzUpIBN8GnocFb-h1YrKUo-7qTOiZO-RLNdduzAbRoPgNWEpbjUmudxEZBlrDGM3r_xyM4EkPi76djAhqFxteBogY6kPmZnLVHp7BrxsV8jiF3OqcCBVWgrqbAPPOGYrLTqZklUa8vbEkqXxXSDeF9svvKDE34g79y3ZtyKOQcDz0PBQPFMkmZih45uj-7ifJ2duwuha1MyoxY20c_ChOin8oOMzckXj41rTXX8hmBTKoqs2ZJOlUBUWRFT5tusyYYaQxx1VdlPVoM4eoPkXidwyhrvJfA3_lhXgKxjWumQsBVTOjdNRISnqMWArIi1C8YONE2Yg7hTio4AZzJfRb4X3yAgs8GNVFey_8K7IwnkJmIZ_syM4JCbJ6-D0h_mpHT85xB4dj703rRzff05xzXu3Qfu2HkmF9OQTB7SIqM07_a_0BakmiXxXZ8HeXNTr09RIXPzihpcFAwGwJkaOcTV4XgPM8F_Khpt4Gj5C13Js"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325","value":"djYbk2NOMYa9ckjiOBgZhresXYBxhWJx5sbZW4dbnWTwBQi_68rUBvCs2QXHDAzbgjBPFhRaMkSXcrK5rZkcfEDb3DPyyA9kN6czcRrQy5sxtzfMBrIM6873_qAfLXNaWsWeQmHqtT_4lLblAiCHlyOH9Yhgp547x8MI_krtNDInHQ5L3QEoWutCqlDU1TLer_St9qGwUrNXttj9-VIgRvye-5Jh5ISWHA2IPxXC8qwBI4fzxk3DuTz2SedPxFI9DvlNBFWNuW6jQAuClAPzJmstljuLS6Z4_sPQmoZBle_3jKKEIM4oXQfyg2MnXey4cy5CoZ34GXPgF8LwVsx8ZmyVAfWBKtGZgEndZhyzfkgKrXHUDW6Gxfmjto3g1Ru2GhUkdCq9t2QzrvJUkXeVaCiiloAPLzpCjkeMGfFPGod8AY0x1XAYb-kJVbhrTK_aKyQdANRzwYftq92kNOuMhSPGCqHM8N9W9apL4dP91IfvKbw6A3z7ABSBx8_CtacZy6oJIv-dO-WhvwTecOf8AtbFoyAf2lFxgMqlxy036ZKzLA_pniAAKVhx-FptAgTF1WftslkCi2iQtA4LD_r-0PAgC1-TO1BeW0edT1Di_Ty94jFgtFCjxEJiGnqpPGsbflKK2-pME5bvik04RdG0xGjQ8TaMbXhl5jS-UWT3zE8"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325","value":"V33VIvBO4oEepPX0FDL9qdEXXsy80e67U7Xb5gJrLW6vCgv9ZmHn3PJeqxZXIJgAV8KOj6Qmsrqt0X_pUod2UnCqZuqmlxReg0EJyjcJeBqxQAUKuVQ64HAsjOQzmbjpndyHUjHK6sWDALA7Z101ZUR70ty1PvSo__qOXsfzzXGe_QpubJK9tLl0UZTzGFv2PTZ1pu_C8nDUfif30NepCi1cwEqR4cq9htZXcmVGOyGnepsYyXcC4NsYQG3GHTmRnZmWjAyuFraoxLk-0unlCMDsf8AMI3TQYFgPs-JGZ-YWw8ALvngLpgjgs3gHftxZFUlwhf1RhQfXJj98oBOo1o7t1RAOeoUQEAfg3iQnQ2MHOPvbWOTGsf5xz_h4gv_-ecpKrt8T4w3I2dpqTRiAjGZvWY9lb-IUr1b-Y0vhC5SF5qjOORO6Lye0ato6XI5sMezdqh4e10Cz3Dib9UyyBbe549bY62q0y44yUnw5tp5o-tCnYOq4VftOGJkuwrAJKpOVZ4LUDzhNHH91P1No2hX30vjcVEVb3JY2lTdioqengOkb4nesthOObFNndLXtY9BSGeNMxTwhy3V_ger2Gg6pdNbkQ_UzFHsNw8kWez6csqj4NdfRpfQ36v_miMlWLF97ayga0ju3pQNvRfFtwaG8OucBprwKWYjt-tWHjIA"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325","value":"KF-D_T0hylSw0zN8W3XL9HXZLONFaDQAP2j_PCFgNdhx1u2R012JSmqrpe5ez6plzybCN6xAwR4n8FHgDCRo6iGAlY6JPW6dQQUNr-eJ4saTuvm1usQmJ7CjfHXK1vOG6v8FiXFFBZirp4O96kdGW8ZyBGMMMUQoJVMAttqQtVCN78U_FEeuSaYUPjecnXYwNd3vYprGOWW07VRWnfkExohjjPX4zeXO6HzcV911ViJHLZpHc0yH3nLvg9GmRqDMIykpjBbEaBCP-IoYWLP0JEU7m3akY1cB77j930TD4mzpRmZMOBqGAEOruxYZEbos1vRWf1ZPBnyL1oF4rWSFY7VQtZfTDUCLxQHy6hrwEauf5I03DQWQAhcVqpe5mJEHm7LZ6SY1vcDyl1naqV-TpEtotqQb_WYKgP6TZrCLvarSt9L5n5X357-PYzZXTHpPqYdDy21lpY9EXOn1xSi2S5NBb-cvWzFm-iFs7v92qIUNoQ4fnMYQhoiqFCUGwmAGFi61s3FLOJkaeBvvc1DypIDvmXoDSzrELYNncLFcc5mHjhHr0MTP6lWX_Ky51idd_oEuIKY9637FwwCqbJrekHW21gUST3aXUB7MvrQyRbvV2KiucAv3TijdxQ0B9GOvV9cqzr5x2GkCDa0ZveIlX8V_kWeCHE3cvLnGi-ec-BQ"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325","value":"SIjs3q7xEL6BVZrvjH8TV6pndf4xZz3SnVOUoiYLx7pqahs5fAuzh1SJDzbvA5Xf3IgGy4yDxnNnz_D7yezCjxWZGLYOD3ng3IZic4w3eSUY0mbL2Rx_UVESKBuq4JlOgkd32lTJblXR3WbMRqqKCJywTYjpUCrdi0yFyvCInQAsh5xbo1_-jerlzx321lHYbVEnys0ZkS6SUqHzAdPD3nGjHU-Gg0iRMvg_MaxUIkzjthss-xbXDvRZkq7VWNfIzoMCfefu3McX9v2Un2tEhu7CyA1g0t2q2xYWNzGAyygj1p1YAgn6z6iasISh_85xQ2LZUspnGazWqwkMw78TgcjR1zBOh4G_hPMLja2zOvBQiaGbmCLIJtPrp-WqDQXDLJIAFLD7DWAuAfusHB_N6xWuZTUvezIxrZeDnj6TpqFSyPWjcvSTm4r0f-W0LpIfY3bziSi7yiKfq--yM5pZxYicr_j0UTwhCtPy7SO2w0E5kIdnxv98JhsfNUrytpb0zMBDv1V-ZbVNeBPLiPrA_fhaR3jPNdzEJbIDjbDkWFzlqhek52SVlSYM3wfQ2h5uOJjMOLqQqbPlh6gkctV1iDcBZkib2L8XhNTFDjqfCmfhy432mB4jDWYBhPwOUcapD6CixEiOowmKEJ9zmtDSCC5KZC54oecZ1MuHngp_Hvg"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096f8d918df/ab6537d784590cfe34386ecc4cedb325/sign?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk_vault.yaml new file mode 100644 index 000000000000..dc61416f7087 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_from_jwk_vault.yaml @@ -0,0 +1,731 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 23:26:45 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-204812501956/create?api-version=7.2-preview +- request: + body: '{"key_size": 2048, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"seOg0JbZLZjSSeeKraFWSahpoSVg5rqn14Mh-hWzcUTMuj74AEuKrLmh9cCMaQJlxaOil0ogiFhVQYLQYCcv7gs4HRTsB85g05lx9wz9TT2RCjWG-H8EtnSBSor1mZMkhS9fE9Y80Wr1b8gUX1AtQGd4ybh_z4TVZAS9z1QN9HUpFV-P8fVjvy_M0mFuaW2fzlbRFPIRR7q7apJW-smr6y9ZpyO_aVudrSeuE9oQzSrfAcmfcktnjQ__76LnmjrBxpz_1ufBN6VoiMi4_M4Wr0X9fAj9pc2psBIvNZdth0yRzncYdNiit8cliBhHE7evUE-3zrciVdKNNmeeQtLe4Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616196406,"updated":1616196406,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '701' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:46 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-204812501956/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e","value":"sGsb3TUGOLcbtkOl9bZFtOBRohZ33Sv7H6bP-n_xnSyT3qocXFqMj6iXu-OjvqkDuPhYrIGR11rHkVQDMH264Y7NLLmVMUvh_VWiM272g2p4ZnvAdmh-XuCw4Gk2uwOUhwSuQ0l5G8cpnlsbJ-Lng89PFrAEAhNkftVWt0Zz141uBbUmX_ipzjglDdWa8SSlJoFbax8XTU9KVfUBIwrWo3P3M_C6y4Y9PIG4GPGkUztpsKrFvaoMPaUGof9WZhCFEtc0Q3NWKnKMijmf8kmAeIgCkMlFowV73Ltm2RcbEW-6piGQDK1JWTXP6xOsxublbIXI3cd0N3Q_JSzMa2V0Ew"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e","value":"eTcqJY-v4c0yiXBJLsW0opPZBrCWTzg4QqQ4zVIzYt2TtY-gJBtl8WIjjILR8PjpRIldRTU6fHipdH6ygQiswqsLB8orvH48V6ordBaAncwkH5GDcOscbPMAWqiuOfmBNyvd8TdXy3pxJUe3ilMN2G3XXCzb93I8bSyP-y-XKpHznvkvhTbq4vg2do-PInm1DIlJQC9TgfHhySpkzw9khE70xkzC5kGJ-aVWjWvuPLvJRk_YRbnc9hr_5jayv_IfwUWGoV4y0wY4wf1RswzS5Q7SjFvtUgaafi4LGGcYpziurynkzwRJG9CmLtOIjGu53L_LgFZvXY1Yz0dvway-NQ"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e","value":"BiKRvKyClJ4KYaYZmTXEIUwj3eo-tG4X1mP1otFJIpoHOkWofa8kB6BDRl-52Dz-0lGY5YVmYo9ugxe1qLL6F4VJyJjshSPAmn5X1AjAkCCtVplv9KXHI_I_ZmFszYvfh4DZYvnfv_Z2AAdkRoRIhKoQq3MODxGuzsDA3g0WcWadYiZxydIgGNl0Mo6jMgeJKN9u8A1CI4eBw-hBaOpDO_wwFjYsxhdNP89K5YHfbQSZy3wyuZa2pQEMpkDYFECBujIp5NbOFcPelQVE8SNLedsMLkdoT9LOYb_cGd9qcF3ncDOsqSAihSWFXwAmgf-q90W_pR3C3QbaauJ_d4kNyQ"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e","value":"Q3KqKM8dJJDN8Qmoi6MXmGJJWTn5VySToxgatItZ8g23AmpKJG4QJRkBCv0VDfQsaMD8msZGNk86zWV5ZZwg3rKYaU_zIz8jmtHT4M7vzK2CCWit5uML8r6OM60ZK1zfKpLTLfb3xJxNPVfkhn0R0pz0pCDFemdgnd8YS6iBSmc0aQoW7ijSHTfBbtz8mZ4lhlZ1amrXSxYD3RQZGIDL4f-6O4kcRuGA0oXDRcxfTd6meSWDMzvqjMP8p_zORz5KNXH7jPY-jqXQps5LwKKISZbKzyumNabth5IDqmkLdcB9hvMFpXeKE4uIgSORG8VNnD__9UyvvcvDo9TTJ5Neyw"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e","value":"me9Xyj_kpMasm7daxJWW-dj7bYWmPHmD8GSVeGHA3poVaubKA4ROCe_Yw8QSWd7kIpXwCQ2Ym8WyYLRmhaw8NGcx80Ae276f31XmKjKQw5by6uFPFHWoHi3MwCSez51Rwtg5x2DLDw0WRNyjqrEqQ-4VtYvzPrKiaQZTYB3Y0HQLvgr6fC5_luhfNUNksU7FHGnd5HFgAlH2-I0tFQpx9xMmM0ieJGK5ZaECYtcx8QT-uFZMoe9EHkCYkwTRRpOrbEgBt9Alu3IiCgixPzCT83GNInac8VZw1ZRaG6lXvFm-B1QF_n85Ut1YIRqKGhHate4TGs4k74fsL74b72IzKQ"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e","value":"hHzj42QMRMR8dGSRpyn6UxTN5E__IuxAkYHfURdsNGGdnqbN12CFNxLNPqLImoAigf_ugWdRvhAA13BUe2HIJrahb6tdXpCbJ4-dyYbqsCixo1QUPwELaE8K2QXO-RIq-m4d5Di3Db5At1ZZmIIsx4L6GC0fKXvETrqrI3WygYekYSHht7qIkZIAUh5-6AwfvYObK1AnTZldce4Bd9eILG37ZZYvvGSVTpW0sTsvvb4UKI5UXsLnTXjLECOHoHicJT1gp57hvf6wTC9WyaCA2xsmybha8nvh_0qh9-gmOJRK2LoiezIvlA7Rffw9xAF1QFAKfqfbHwA05aRRMZJ59Q"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:47 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-204812501956/1599ea5b93a34d74b75eb9091bffc54e/sign?api-version=7.2-preview +- request: + body: '{"key_size": 3072, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"r0IGu8RVuqB-MlGaBn3aqXc09SYhVzVq47U3nYRotZBdD_p692Ypa6-S7Tut-pV-85SxB1PzIGX-e18bmwxw_oHE-lqfA6EQUgI-AyoDByofR1R45VA06X4VydrHen8NfTR3sBTQfX1_QNwU1tn-GxP9icNfojrlUrHtTK9Avxene6RoDvvKnSOE8cpp7NvteVYpBATLg64UUPbjGno071y1cAuvdhZU9Wg3nfhrUucYzcoAqBMFgdeT80bS3yki7IDOwRXBsHO4X9uHH7xiOQlhaXsVnEf107vAnjC1aqCGhkq4maVvuZ3t3cUuh3S-dvh_XWl8WnK97WI1v6vT91r3AqHCQHz2uHhRyGobKmTHcbKmzL_TSQdUWr2o7eeUx2-pJB5C6rV6kJKEvvdukiBS2PCG9f56-7bcgHWAqS7J-IvndxNBER1XtHM3UDlJPD_EZiV5M5H5GHYBiA75DX5rLW5hwVDSgktRlZNygAvyYxG7ejQy8HeoZTpImqJB","e":"AQAB"},"attributes":{"enabled":true,"created":1616196410,"updated":1616196410,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '871' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-307212501956/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516","value":"bDsJlQXPL_68MdHxmPd1WGU8SyNXPamLzyzwiwAxXqHYgp0zYPeO8oRBjrkIBn758kc63FSTdc_FGq5GEjauwdgxNuEz97wmIgc6zUuFuZTOTA1sVRdpPIsKsFdRqfrgZZUlOwGgx42wN6miGgU70HQGD3MC8b7otwICOMtJBYNiehllCkfNGTBLKDVz0MkJSsiLCj6-pTQIv92P64kx_lB7TEaYulNC2PckEEiNdL-dguU_gZ8-xGJmgIzDKLtMMLTIstE9yp7-UAP9WiYBS3hsuvPemKTd3MCmHUVrttqIwh3pH0G-IDeD_0-89bKbr3c7QxP2PPnGSPtTCfxe4KrLxuUGK9Ap-FtRf4urAIJBTv1vA6QRbw35gPGjGq6WmpnC5aFN4N6Zd4JUHsL-KPIRgb1CmxdWVyUtobGX0xXPch1Idhowcas8_CCQSwmnW-N33t-LpiKoPmvAl3tF5OkUAnWDlF7rlBllwm_a2uieXYSwH-UqKw8eyD1JcHem"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516","value":"H_kyrfb9svbwGpfsvhfBqmNycHK7TBXGQ2ZsO3ROBwKYyNINoxdlVmh5DsrQgbVkth6F-R1TF_qyYFMkZXduT6-DUnATDiOdyATbWv-CPYpCwOGcN_tGS9K4vmmZkIGoP_offnBYJRdvkzHm1slmvhnIcis8kMdyDGlgh69lR_YiNWjtXOfAF4QNat7llM4sZjLbqyZ-mvKy8ZGZ1QP4ZQ3w3b385tqzbGopKH6ydn60rKEg9gkZTgjH0k1uufU9Dh3XkXnUbR2IQC-ZvNJMxnl7ejQSLLs0Kiq4bChUAxfuzkWpryKN5l10CwQFn51QqzlZJ10I6-vdIw_N_DJ7cFI22wLCIzAbo_LuNHW9T9BWwO-LO0Q-uMNfJadRsU7Fir8kp5xoXK6rDRLybGdM4GsnfUqY37zeS2Ho5C5SSoTWZqLVq4dg4_F2IwpRGW_A9cKEFS049nmYtThsQwNB1Xg34QwwxtiDEqAF80d-VOisNSnCtN2i05Ck081r1D1-"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516","value":"kM5lOV67qpZ6NcQjgy8x06A4HxeT6eXCAO_N3O0BtidmWnYoWu-qrfNWmhZYQwn9jzPn8jqiUJOl-Ewed8-ZeeNPlhvIMHn4VF8bfAMMu0_MlVsmry2GFmu3IZBCqRLPGxUwc-akXuI5HiNpyQ7AF5R_pc3oYB6iXMhBr5HpGBBOH3Vwzv9YdS9U6p9z44tlX4nm5374q-FYtWT8jWs97IQX1eHzLmBoi0lXSLb5abq27Hi0Hxlw_-_0bVXGDFbrVOj_p-WkDL_yQDdNcEKWi9m-G-eyKIlTgtdQIzCsvKTXn8RK_bW1cDjnxB1AlAPcuEWn5eR8unF3myZqe748z2EHaZ3r9k4HbMInNK1_MloicdiKtpjviUb_2dpb2IYW1MhaZ1-ZpBEm-kXG_mKFc0JFFS5oBJzozYNyBecZwN4YjaHcFZNOx1tvQRAuKcV6JN2PRtxVydVQwbSrdmzNGP7_38N1SV08tXIyipaAZADDOC1i_5P9Z8h0kl_iYcn9"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516","value":"YpQGFGbmkFHGIbvlgTMGPMgKEbg_V4pCIroobLrSUre7dIedPZIKnzztcpdgMmQgpXoV3aWsyhzDspwRGr6Q6aIN8yRUW3Zq1kESwsFD0nyxvN6PS_KL1b3BRphvHkWIDXmol8QFcyOO65BRK8tylRv-FNwnWCbtMfutKEGIK09KTIz132UnYpAz-sGhOoJusthGgJ7gEfXUeMQH1JqrVOaPYm96aRHOpXvJ8jeYgYUVv670_VE1RqfcurFPkFOOFdo_nOk1FfU_OQw-udxIsygPqfuHeEdDAYo5H3D_aN643E3Y1aONrMdE1vtQho8H08KVfw1saCaOT2gxG3RyE21tIoDLrD3de0pzhhafIbdEOBp2qh_M8mkXwjPphvlBLdtwYxtpYkBauLO26grleJvJKIQic7ikcHcUeQlmSFjurBdd5kjF1MCXFn-WphmHwlVmVVOpx25T_rHMb4r6eACRBnSJ4SvMvbRlFU_1yaXOzU46-T-ZjVjhBvvIS6UI"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516","value":"EerR_UEi4MCIfvcX6vuF2vemdtdMACRhreDt-K3zgrAXST2OTjrjy76XUDJ8SYJ64JyUQNvF-ZeqdUhKLF_4FdLyOUHVvxCYF_i5LABYOqymVCKgbPpDCesXrrweAEaoEefwh3KQXAybb6EAqiCEKKTRpqiWzb1F0kuDgkOFUg1wC12zilgQv8afunbHeAijHj5OsZXew7yjODg2yL_zFmP93XbgrFqY9H8x-w0I0ZhYRELRo8gGHq9tLnqievz5sObe6rnxYIa39Auy1qWgz2jIEXmQMy70H9PjbzNX8t2xFOsLzKvnwiNIWLkwqGHOeaxKMMBqukvDxf-a_Jxc-NDDcAkNZMUcWKwbQoPST9DakmxqfWK--5WkdBzCmvPW2fLiRqAWfIuZjPnJ2sBN4dXxWsJ72f49hAXXrJlqyiXj01AKuD4DagpFUPLvNFvazDi62mXd9kYdUckJtlxlhcnJ81Xyd2aOMAdxUijnDevKIduHlS_tABl1cQAQSrtD"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516","value":"Zck0z9mp8S3v6VgEJHcd8o4_nCfLKK779nc7TtuZtpoMCYC44zI7ak0y5fcc0B-8DYf1UzfaNgJKodXnl4GvnsVePW-lLw94uPiwLVrBiOpIZu4-Hf67HH1EAV6U3psDj1oP27McycMVliYX2c6dE8lW3u2wXjqA7SHvOBiJnXFaJMgh4kScYz-sS9Rbk52BhqjeGp8SxRKwXE3PH4M4hd9nnq4zAsjSQH_40VKwQNZ7BDt1H-RiQE1tGISL4rFZ5cKmyZoub8WV0dtDB6WCnEXnL7qSjyeQ8xrChG0D00JTz3Qa87qn7mYKnUSZL4-Gh62i1M2RNEV66GVaWAWOLlLYyh81yl9BTQdqd09oFCQS3WT3Bv2onR0f4TGS8PemINN20fBW2fhWOVM3pcUupXVOnOoAgdEnL75ayqjT1DODrtqySzHVuNaJLNPP6tcpd6dDgGqtDwFmRqH7x9D2NToR6QwPay8hsxBgmJF3xK9vL7pAAPBd43jsWeaZd1MI"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:51 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-307212501956/33fc467d40b243bf93d83ed1e70f1516/sign?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xxmsbWuuqRGPzvAkoS7pkT4ixHkJea3MwTLmlRMmC8BUDNFWAlErPGAqV4-cWGH-Upanja_HjBAQa-pQVnHnL7KZTH6XaDbkc1vFWdhHurfaHpmw0quMAKXWKJrJwK1zK81ItjfTq1XpOV5BXW8xhW6ZHbuP9XydZTDeYDUXNAXt0beuJMh8fhbhauweFtOt-vIYv1DOxtrm4w7GFLcSrEZYczHXIZIKxOWElJwRAPwgpghQArk0x04dxyINBkOe2R8xne5ZtqXqdj7afSppt6F2orkYLe3LanGG2NmNXFxra3Oo8txhVUPMrXUwL-eafzv9aoVp3MF4veWxY0RZhzD6ILdp7A0BNtOAKkFko-foYgZJD9mS55OSe8jiz7d5x_VDnaOTRbYVtXNFqxzCvLA1pV7sRhE6l9rqzt7T4CDaP732nSzA2qsitj1-GzKnOhafiwaWXNwU-IRpA17rLSk7VOxyZ3FIG_rpd7n-lxZjKVMMFLNuxJ3UuNSjpL4pjoF1oA6Puny3bRbm_eGJqtnQXCTh1xuHsLsTM4BFgEkFmcqAFmR2PKI3s2IeaFwZziGno2oRgzHoO3Q6YA8j3Q5B1oQDFBPZ-Jo2qXJQfPP9DwUbH9egmh-5Lg9PNVoW5ip_PYfVsL1125rb3LbAgIJlczCRAlm_KbVB14jM8fk","e":"AQAB"},"attributes":{"enabled":true,"created":1616196414,"updated":1616196414,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '1042' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-409612501956/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1","value":"j-ZsX_UfSR0qYJTRVZwz1Ws66rw4NS-Wlnuz_E19STCTgYdLPBRJOh98At8TYhL24Dw3lTMZDkP-PNdigMw9G-LsdooZ1iUKyV-J_bDvMFixs9R-bjfbH-xicythTMVzs1WpXAiXyQh3dsw0uwYRcNenPfShZW2_j4ONkA6brXr58pmgeg163EC1fqsvbfHikkM-QjsZ4YSyBvQ5SXhlbe6p581HWzNQJsk0kgCmlnFtzJXclK87uyhVe763kHIpNy5VvGWJmA6VVtEtl6rBUJFaYXCIfkdkOZ5Evo7JLzA87wNgze7dcwaKRTa7hI-JuPey-KDMu5Hi0QFXoXKcQ2sczFO-cShqD19241FWOmnXcPUQtQnULnPNjOXuK7bJf75ZnJquR1azXb0CWTRtUCrgNW_I9lgn1wic2yC6dEXdl7StZ1-XTpdvILtLPztJnvxUEHbWnbRoRNvKHsmyuDhjR7TM1nX9GIU9awxtFjUcykfK-d6pJHVayONFuYIu_epBE2sJrSLOlytQtJ_YO-gLUIIj5O-SThnqbCeDw6w6mQP78exaAgUYh3PfnPhrs_SM8g2E74b_xFYsITnaA5-q5CuaJ0FpaRwW346oOPsLN54zSXS3Dck_kiujZqM3hJ-3W5bJq43eJczC656XuefMHQtJ3ewmeHP4KyPi8J0"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1","value":"wvD4m8X19xr3TAH1LBi_TGLTXPcQPn-WK9djh7j4s2g9VdDb78fnaMy1BNqRhclbDSiPec--uesYc9t8uVQrzz93HGCIdi5RH1RZO7l56lU6crnpzmH83_N5hHEab5r4So6nKUbHZBmFilIVGXGGkrAipBh2Zh2nLpNkabQmFYwvbSLFh94fhHJ-UxqXSWSZGQVkz1D7Z3uT3eIavPWHDUSvO7V8U3WVpP4bimrwRWaxNuQoZlE_WxCe03-H8nubmD5hPl8BVset_Hii96UJuyNCrufb4QmWALzGMKkchpygro561j8KzdHANI_SjgwCka9WdoWi2MhDiB7u2xdcXiIXDtHQFEzImX-ZW2--nr4WbVP-Jp9YyFy4ChzRqxsdopMPualV1_UzN_BDO_S3aG0etvWxFSQqTpr1HREc2yQRepz3IAJF3I0qwT-oFMwwdt8AsKdYS-6Gmyug2B5SiheXsqerFvrgswYnVKLIMuewwF9ujUmyst_oYulOUCq5lsqB98FBjue-Uhm0NsIVbGePLp5YYldhzf9ensWxllCRnTf6Tz_7FGlMg2w-ccsq-9iQUmBJzjBWsjl9-zHQZvwCc7PcTL32YEQDdg_vfuRCCGjU3JZ-9eKRRTUjD3ilHyVLtzHFvKXaoBRNswoaMOAl_iz3NIKpm-R_e2lGZL8"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:54 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1","value":"fkrqo7zhqVuBbkmC37bTNjSkLgbzUtmU2sANRxhY30p2rDJjw3-kIaZ2-xWPsrZsAC2KHINbLrrbu9vql6AyxFliPDkXmEk2IqrBcz-8AoxkeUihKEtrhOJjcvLjp9GA5HEEEUs1bRtQKg9--5NYY3MGhn-vJOsAEOpUUfDeT7WLiiEv-rvUrITiIExcRbREVDWDstt5msAkSO5i1jFdosrvZ_6Mj6uqYVpBCsVVvcto9jzctgkyW7W6_OxsHbh2118lvwTEjw8khQiUUDp6jA6e6BZchAr-IzJVAdC4-fbFmhgmT3AmAXfXapKy1rpb3PQ12hIv_BBf-9em-uvLc6v9_DmZ4hPbzEfhxhtzZGMMzVCqIwWOtDhQeeUhryg5uUktTBY_ztJbGTp-s2Lz5En0DCl4XldbOrbrdD5c7GxtYixtFtOPgLUOuRjZqNn3IKMgmDGtCYmx6nkWWhuxFrTqfk9HI4xV2Orf_JwVr4C-5U58JETJVIGwMmCWCpp3FACUGgCUMwC2Gsk-0cNeQgHBWQB1YI78gtB9MLkf9K11h67Lk7fh3E49BA40l4dyIIVVrYwBiEYliuEdmaV5Cln2vCzawpCnL9MFXXHvw4WP1jjrRcSJFSM-juaeRYArAjczeq0t3AJXJWv7bG_N0eq75egUW0i33-ESFniuzFs"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1","value":"S6W2z-wB25QH_vLea6R2qzA_tB9SgriUmYbDSjpgYLbl7bFUGWWQuw_4BdG_zJJxZGCwYimRLEtmxJZ1ooyuanh74YOTpOtoIAFm5DFbWIM1itLgCjk0LpCN2e5xwwXoEvObj5WQM2BVX3DkObk8Kw6VRv1yorwYan8QLL6VErLEqx21H2ztzq99AiyruoAnCvpiPg0o_A64RXdIqfk_MIwBh9xJvbsFzp52i4Apc1vPbTiV-NVvRPHkzxOPgXGxh--i3UioK0PfGXzza-mAje1RI7O45UdUPRS0-IkGo_K-rlnljcFTo09u19wCMceOeRfZJlikGujScAKlNJkNp5ARZ5JBy5jJhOTkJRp6gad5wJQgaTGYpce36l7n7B1P-7wTgXyR2cgOI3qcuGe3RR8PvcRDgl75VASjGtrvRpD7RXmWWC35ArWiq731RFp05QHD-a71L_FJJVwoAzMstVq63vTBhRh-VUg4PNnPbxYqJlOwRxTWp3LfKjEeq7qt9I5625k_AaVFFJQZp4lBMY3mdc1UpdbwWpsQuo8BfgrsE3z49ahxT1kuOrMZ14vqAYrdhNQd5i5xZd5tCqocLhQT8CrRGy2wU5fPlNK8fpK0EYih0EUtU9QjKAyFq5DCdK_70EZklMizwzMJRpAZJJ_lzcPZ5w89ZEUEgjou-yA"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1","value":"Pokbn6euunKJ0OPcO4j_M3sU71hCo6Xhe9_5fU_c1d48phI-_9GKK9-8pzMOfAVi_2TwexEYRDPjXRJQ16cI4O5Iz18tR1V6xjpN7Fi7ZZOsKe-qZLJRMwSLlW9NP5FR3ClRI2Mf49412kwtwT0dQi-pBGYqlziFRYU31j8MIEAdUYpwJ1B924-iYFXoloT8NI9ig4ZGrbntngElUsQxjcVOu04VV9ppTDMKFJt4c9I3cF7_bHHtAW-4gZbIBhRDPmshp-s1SDvtDGEYrkn0GJT-b8sMoZHElWASCEWXvdfD-1ShedUz_WrEkg0-SMkkxaYERO49jAcxDTNN87qTPBicZlSrm1HRfScSPmp4pRB0RFMBjKgiSuZL1msOaTYGQJONRGO_mBicXZttxIrufL4QtzPLlTEpUCuk5dCW7Xoud4OLMpvCVGUn-nVcr2jLaVvaE8Kk5iSajBk6dvQN_0vRD-XMFBKrBy-CQSi5V1YC-UiCLEzw1MIlMeCkOvGEi1qni41vfTzArRK2MHuXh1uuFnuKDSaeUomDfZvmexDvkHNHtx9Efj-MDZcDdfQ0wn8hN6JMv6iozdNGKUM2vwFbU3OAZ7uRBrJc1wJ0N85yvzWWE17xgsTrbuch7cYJ3ZEk6Eys7JnocJS_lQ2rA2Vr6W4HxsY_HJ23KzqgvGY"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1","value":"M1JrNz2TdWyqYGTfqng7sGi_7M_yB8W4wqVdj6XQjl0mXhkeAWpmYvX1w6Skt9zKiqndyKScS2TpQu0hBXikFL3H6RtdJSvcpHU7JC2wuqcPI_cqGe5V_eZKcoeEwYHpMpEs2TfPxdedFJx55woNsQgXOGh2Vto4t4l5dw74q_RxY2IOmNwvXWKlemdDTX4sQPHXBrTma8r7CmpyRpHJC7dNlrZiM_T7PK4rdil0FUARppzFCwRE1Z7FOFB6v3nHpXO25HFdQeJM-IDh6lOAU2mA6Dj53uYxvkYpPtOgkj5Kx-jwAsgS71GoWUSQJeuY6a1irPUjvIJd4YR-YcxhdDv_yDauTofCG6PasqcVkcKmD7vNrLk6A0Q2qJuMkbV-Zt9KqbbA2b05CVNW-oxMZIh_O7O57Wyh4qEGoJq8aD56hVz8-EonszAcNjYc3nCnJQlMB8AYn44kdVzl3Y_JinQvV1qQBQraKhAo_-zPThVeyCMd8QKRp8c9Im1qwDGLWTFZK5V_an6EryYgIgl_U6wTlFoVAffexotITGPSSJIQuNfmLHj5Uf_jplNi04usUbfn4NgOWoBsxQvXtTS1n1805Y_9DtipzYajzM26B-etTfUIR1apuO23r5w3X0xOuRRl6BCJHWvsI-YISSq79xxI_IeqELGFD0fOLx-mfDs"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:26:55 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-409612501956/458d8bfd3b384de495b2c94367123ef1/sign?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_mhsm.yaml new file mode 100644 index 000000000000..20cf9e29510b --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_mhsm.yaml @@ -0,0 +1,684 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/create?api-version=7.2-preview +- request: + body: '{"key_size": 2048, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196418,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196418},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3","kty":"RSA-HSM","n":"nXM7UJKtXRJldRNNR5mbB-ElrnTqBST9NKKTTZl-vrQx1fyR35fU25r-T8iGqot4AjmqSiK5I0LJ9EYlz068_PJAIja6AyjGd2Jo8DPDVpTbU5KPwZtCer-ShCrdn4B3wOzEyicrEdffB2SxR7BkllKF59v9Uv4qECBrxEoTX_Cvbs0CzixarF_gSuZiwQ8KiT9zktYqePdeP2MYQsLs9Z1dtvfGTyoKBj8M36OCUSzivtfq_evImV9N7ei4bACYPIj_OtXQBMY1Cywhe0mpyOtQtTM7zsRd8ARqA7ytxPSHxcWl8anO9f2C-L35FGokMvbWH_bOOVEdUVCOcz8thw"}}' + headers: + cache-control: no-cache + content-length: '732' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '242' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3","value":"hvNWjfaPJ-WewxWE--DmcWsC6BTS9xLcYowUBq5ayhrPS50_htmMxfDZGYwK9t0XMG2-p6nqTst7GQc8e3C8CyBEJy4GXOTuWEGzXiOTJAscJ0-K_yCQTUJSMFqnTG0C6U9JbcK3CnKoLgLKT4XjMUTfWZv1d7kqIHxdlSdXE8muBXgD_UUCDawvtWpY-038u7PcHCUiPXhtEgpCWtk_mjIRpSvm2WD9nmR-zMDNA0bBMhkvMuP93825n9ZKgSXCClhVyWBpYWZNDLLMm-KB5wmFocpZvcweXJrmfsA5OWFAQqm3uYfFJTE2T0lYAsmZESUpwTgBgMyJs7RVomBsqQ"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '80' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3","value":"UQ-70bMZZzWYQHizghK_V8Q6BNclZJKWCm4ldmWdRaylNFBFcZz1-dmIHx6oAmR22TNmubw8J9yoOX5pcwpw8KcxBpDRi95QeYR1c9Gj0utdxpUZdyYRL_BAmYltAhh9q4BCXkK5JDoKhkQPKU_gNMGajQLFVlbgDBul8mBt3LbVB2v2N5eYuWBHqm3JHZTMjxBoL9qlj8_2JJkFOjtohVsUoWRXmxGFuodRZNU7DvSVoxSHlAho9Noozp0G7JM-yaIqfDc7wPHEF2MrfnO3LPdQRyFwxyQwMfjfMRD4yVGrtc9FxwhKN8QyL4V-gQiwz-SFd_J4eAWiV7lQHR-JaA"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '3' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3","value":"fdpaekYr2MYFLWjYJvHg-7KdJvxS9S70nslb3h6KfzmoCvjfTsouqwvcYjyZ89TlGvsdt8OFmtYsD6vI7YcTgCqn3b-8rhqd61XTyuRazbRcpgtv9gY-JeZb2pXolI7FLhM9_NsJOL8fXHDWUzedAmjHRGEKdMEK5RJKyEUZh2xdfGVhEi0N7pKGxP3WTvOPz8gvZjeQzw9IOHsJmJnniZsFBCajUfRtOQyC7W4gq9U5Rf86o3apZhU-C3yYJU9XBP4O7xf1Sgc7wh-BZW_fCtbUYbs9U7y0dzos0BafHwDCkbvEG6dj87ji9cypBMP0PzNZi7R3ydSsn52nXjBwTQ"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '3' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3","value":"YBYKbJz-NXfV8c9_HU0QM5Q_k_6f4zYtaWjfmL-wfuAYKml6DqnTQUpaJWeAFOpg_yNPDaA00NoumkA8CJhY0R3E_0INpVelrwT0iCB3hOloo3wyz_ndsCDP7erz9xvahdlbBAOFVQlbeTj6pNVyyfOPDn_96mgkXQz1LITz-fTwb1lhqU0mqhZ6Ujg7ubKi-l2bYSyEZeQBd0Q62VCJkcaP7j2o-MG9CRncMRd4iPC4nJA9kX0UA7z2C3H2sc-7FppnNiGBbB8m9wKxJYW7JnpoNyR37HRq4zOfatlstIe9e7WUZquYs3rMgPu5nwW75T1300_XaGfgKpFBnKxLow"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '2' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3","value":"LCMSlHAd599mCdMFOavhDdr5VHo6EgcH8ZcN4vx-uPtP3zRMjM1aw_ZACRl5hUNOPnhbh1fDpGTyF91ctzdLjQVmneXpxgWatwly5Y5Zgc_-FY7v02SxYVDOwVQm7Cjyux5huv2yD-C9LSy3Zn94zykETzLiG6IMxftynu_zppsKEiXprLTulvPFezwm8Qvp1xdNLx8yIXAaemVOCAZcuSUsXBqOPS9fDwQZ7nrTDXkzXM9TpQi7ZegOyetDjrPVEFciLhJpMZCBNwYDtBJmfYOTJRAP9DDUlXsZdTIC1xVsSrEsE453J9wRAe0nBElnasmMFzFuCGe0YZGlJ5-Yfw"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '3' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3","value":"Akh3e2M7HPArg3qj5cWWKH6ILAwUqWmbHMSqxi5PyLMWTyUuJhyMbupPmLgHhBRG5vpSZDPdUV44RtUU7Tt2e0PIibkBVy6NxV8NsXOKP0oI8-ieTqcukRUZ4YvDWebopAa-CvMii_2_yk9YxH0al82QyrPzDT_JPjm1e0qxzmTPl10sg86se9Py_MU6r-wt6C74YUrXkM66F8ACWQVLvUjyk-IwvqaQfe39B6npzYm4UBiJXFclzUXUOnXLus0x6OuI1TdgTaCU65omMbiZL13RGzBs_qaZ1OeBwC_rXkua13FB0OsBP7n3911nFztq7ke-NZs4XlYImYjHRDCadA"}' + headers: + cache-control: no-cache + content-length: '493' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '3' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-2048283b1521/68895bd4434e0ca522599eeb70fc60d3/sign?api-version=7.2-preview +- request: + body: '{"key_size": 3072, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196422,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196422},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed","kty":"RSA-HSM","n":"nwc7JuTHfnsJORJezdx7kJYTg1RHEKKkMq2hsHLJM2N-B6wq5Qgqw42UOKuLpIj3SVfxK_3-r_DjuUxtuAKw4VKnYi7fpW7unbYMATHHbvncH4j-u7PzknrzaDTsgPNcjyrR0Q5PF7K7v2chdXfiljqrftDS4yk1YhEDOIqAaCc-nZh64Qn0rBLlR9sVK5hgIItZHxWfLWoxUjsGuq1MaCshev3RNdED0y0q-5HEmNiba9XfiTl7zsyuUvoLygKbQxXeI4f42hA26mCaL4tcCnosJf6Ao1QUA0A5q4D1jzmZRQeYjjuA9RQv_9XeUr4sJhtM65XVHSsIiU_4u5kuJq9BoWNAnnYo_VtSvkokgjFtmgjmINC50fqiVKOB10rxlaHlGrdDIRqeCjh1HHzwldJk0QygUFKqJKOeVfdK0eIPj2RdBErGABMqCF7lLX9YgHvrtggCdvyciuWSh7e2ckWVMwAI-xPgNBj4ZFemZaF6zQSLSK14k0Riq8P8olnx"}}' + headers: + cache-control: no-cache + content-length: '902' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '243' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed","value":"Ui03wEraxnayRN_losOHzePpd1JEdIPcMRG_8HxKrl8FHk1ZgnQLvBBvrghwNhawbjzOe1O3OA9W2IhAoJLG34AMXW_a5gyQLHxGrL02rO1wJo5lMk1WxWq3gQG6qEg3zXtarXrKqR66GjMeT5vkst4yFDd2FodTjpTnH4RbJvNPCLbwwrIjOL6XgGrtH3QLQ_ghHZWZZmEQGRjwYei6VTU12ryOob2QxswZVMV2zMS3D8d4gvl5hWBdQKqVAOj1_g7tyxTsRf_sSljkbhdsdEwoBk3W58HR7onFZOBDvASnl5WRo6cPfDowDbUAfEN1-CFixks5W33wXrEwu92MFeYXIGEsUx5Wl0jL_g3PYDEmJuc24Jf-Wu0qkHb-tA59-rHfjQ7X-oS75z7hgQCDQeuKBRJm-4vyk1aXVCvoWFsDSgKeFlYOxp4OSzATDvRgnhNFmo0f1T8DG5h-JZXRDy1zBwOQ7kYJKIgwfi77L70L8h6zfs0ng3TgbfOgIwO4"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '99' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed","value":"COsa_aUq3VjE1Bs6AzNRCM52T9pV3ZVscqIalZUw2xgmdc5pSkqvey0-wrgpHuxzVj0Y_IXsrmdA93PuElX2p9hJMMKxMOCVMM_xiEZsK-jZ6GjTMXlEsdKw8KRZ0_LCNfdOsyFsAZaSslHOj0KyoF5C3nb_bQHekSuBPntPm13TmaMgexNrzEbdZ692u-GQ51EveVJh51PFE_F5yJ4sTUf8lJdhRYsjT35JeyNoNvpTaeJaU2cErLNYuP6WKBZfF75Cg0u_ZsSqYrgi_hThNVgmmpM9CrmZr8dWQm1KEI2akDQhud2Dzoag_-W0l2q4UwpGRn3JHWwmzbSYfV3strT-e1cfiRgZ47R1BVJYZYw5Yo_yPpPT0ZqRz5oAdY-mofdB1FgYTuW777kF-R8bm803GxscIt95A7HrmYch_3e4bxjujn0gvRD06bMKNBlVSTK8TobQ6uP1hVnwwbrZBD4PPAhve5bf58SYvaks-21hB-QpfzNV6apzPh5EycQ0"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '6' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed","value":"Ya7rH24LfSHu_ybZhPyIS3SX_D40quwVHA6gR-y9fAe5axHcLYqaUVhu0qJRdB0Z7asiMgVdXxGDM7nH6ujGcsGrP6w9QNqBpi8JHq59zoR7evqpHLFk_Bbj0WMGq-d6R8ZaAphXEFcar7xOfnmApnSBXSQmVlqWMd59K2Wlrki0m1uJ_1pRUlq787GwH920cXw9ET9yGhv-Du4SNR64MnVvAmbTHlLrE2Etx_U-rToMfYuSJpEMAG7qBv_lTiY_cgUZwoNviZd8r2FnY6bduwfgG50Cubxp6VtdzpoRytHVzeKILe-RWQq--fYkjq9UOwm62alLUoIbliKGobtPEVM1I8urfv4nXTTCqnV_POMPlAOEWmUoXM3k8SHe_PuSVw7d3MxGVr2uW8bTi9tc8fU_tYHMCl7vi5NeQzylR4toK4duxQampTva9PvLwko0_3qKcKJ7Qmdl3BmdXPrS6zkfc22VoUG9m4Ck6nc8GXtI4KvbKlljRWGPWaoq_Wdq"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '6' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed","value":"VsYn4yGfluSMYwvH3W2kMMNMFrvi9rHceVTV334D_6sFZTkdV4OoPVzwpF5G7IsUCSWoN0_Nyb63dLIwJFahOv0fXh_zPBs1H0nXQC9sQz1oofAQiS-3bpG-S3IEdc7Xe9dGd0ISLT5GP316tK6HsJGJQT1WuwYR5XvEzmxxcFyVpPv176eQtSM7Fin6vj5lo-Ste8mG_DUfsj6Dn_Z1lvelwtTT9wSKwK7uxDABGYSIC0GCO7e5bVEppFwTRgoNXfveJq1NPlHKc9vQWtswpIIekEIQJoXTsoNJDp0Pa7SPO0r-gfxT5ysOzE4iYd5oKTk9ySPI_dv8kt4AntHt3Ch6lDEo4KJZ_ro16Pt-Rf0ZTN7avON_3DsJ2I9sal6e3Vv8j2uBdqX4f2tYANA4mGP3tUeytRjdD4gPUx7zi0ILZRIQmW8VPs1RdUL83U3WmENLQDxiqSA8FDQ7UUHiW2aY8hFeFvdIOooIqwUJHthScA_Gy0ycB6-64xc7mlDO"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '7' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed","value":"IE9j0C8C1h2cSnA03eCN1dOHGf4BSSngCUGltrbYeRTbbX-FI1N4HfVP-_ObUGyHaUgfQtgq49vV3WPpf40trKyQOny7dmDzuG8YuHPOOJSsPgqfC9tNeNvP0b5aLxqH8h-M8LnGT3tGhBuMXI2Nl6pPcr_ik_DJYE4kT9UjwnS16Hp1C81VGFS1UX-AKHUWjtQDqLHfGLKwjJjQzaJkQygVhaq0QsxOrkBiaT7PKD11ImrfFSzdGPKAX7YoiUWkA6m-FOC6gvOIyMK_JTa7v0YhZ1ZMcAz9Qb_JzSOaK6eRfXwoZjLMHYyLThIcIqsQx-0bIns4QgyoPa9PQtlkq4i1bqnDGHuQKusQEQ1OY5ywP3bxJwRMaxJFNeIIBlceKq-IkULoxhK1qsF-TfLWwo5wqCwgomvMtz9tSUHy4qwHImV1QfxuyhZxu6E0HIGcCzRoTxL6FTL3cMhAU0ct3pFUuOJneg8lRDEuBqXili9_8vURhNCGqaQXbQ7FzQA2"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '6' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed","value":"kQ_ZP6m7O35mLWhGGyajU_4OW9EXuwH6NUAE3GqDZzwlGc473usy3yLJON8GIVTqcbxbWNEcmHgN2gbBYqSksQhVWzBoDLhAcnX3xupuYMZXOx_v7Ujbd1Q4YbL1f7BLXr8Z0Y9nq9P4L_982NJZuBS6ti7C6o65aev7LfqlzVApsSZnNrUx1jy4EJ_UBhj1ipl_n99C8gmq9rI6LpDPVetrzhZGb2tnN-iAH9c177aCwSKylNLEAyCS6GumUJkmZGPP_a2p0fKvs918JfgPvfHbKJWCI4y7Q0lJeiDd6pwBip4JfSwp04n5pq7K9hLGnKXIRpdX1Skc-PSH1TebnPu6hZ40_1-_IHoA1HWxplCm66MUOodMB6jdzs5tZJrAZLprnGhB0xkYHH-KUyU3rON4hEd9-jwfwc4vtAqQe_W-xj12FF0gGp7qsrY15YWoHxN1BP9wEA1EypmcrpM__fqE2233NgEDzCLWYCgTRc0cP3jRDgUIQ1bqdknoH3FD"}' + headers: + cache-control: no-cache + content-length: '663' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '6' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-3072283b1521/1e8f4552bb9f0c35897809e231d4f4ed/sign?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196426,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196426},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238","kty":"RSA-HSM","n":"4oUv-0i4iP4McyCYV0sV0NvrjOzbC3w17iYdmnRlcL1EPEBQhoryAn2Q6j5QtZSF72fabOAJ2zezgzF_8S-tccMW8hqnt_k0jR9z9OvKjoyerCHe3xicxopx6i4xJDHLVw7Y_IHU48H555m6fPtNKLPQBax9Xj83t07ZlHDU8vaCIfLRxCI_2LT-OWYxr8lricVZFgUUBBZGm3zd3oZ1aZKyDdHU3jrUquHd10zX9lZph4kN5ey9b2Jp29Jt-2r-_-rsc8fMebOSci7A6qVOjP8uMXQqU9-PoELWA_6s4YEtmiOnTWvpkF4Ivw4ZB1QJ2qsLjH30ocEfqpQYmJNiz_etEsrIYhnzJ3D-fxJ2GqRT5gEy_bJ9zLTb3lINQphzTAqnovR7h0ifTyP_vbiKTxTVGQJEWF0Ky1gPZkSEIP5nNPZG_28S8C7FI7hsNjn83Ohqb8l5zKrH1zQmJNaL0G3GiLf5DQ-3sIUQYEkSsOAF9Sn0WBJP9Wr7lwvaaeqO4sXm1QrvkaQ3nGwugqh7Q5XD4FBl9qPazCXEkPPxSFvQzZsOYAuzDBWn6HrNAjjk_TWqUJE0TmsAt0Q0R520k1jlmy0OsfGEZ4qJbgV5H8po6lafm7uePUoLSyxXQVzvY3tGL3vfbtYm6_kA9E-E9ID3in_skXAVnPJU22qWz80"}}' + headers: + cache-control: no-cache + content-length: '1073' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '231' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238","value":"O9whbPFd4ajE6n8iKfOohrR_vYIYPqZS25OqRutK66jKtdANbyutxJ5mKNdZSUWSYSy3cWxnY3uELGBb43kJ-JtPQX-mOvRT1yeRvlVob036zlPNVQysmoFcGdVbPNy3dJF-Phioh6EeJu39fdB5FyUFkbzknGIu-7QtEBYJvGQqY8uZSGc56p3-Mfd14FWQM--d4YONXTiOmdWcqfKp691SmcuN1No12LA-_zYwQJOdzrV4iYa3QUwj3ro1W-nSqzyFzktGcCeMo69NIrBkwe2QI-Vmy5sUxWQRY4oy3BN3VZl9DA9I9R68hPhDVuXJHNn_6AiGGYD02m3RvQHtiBW3uaBOBJ6zk8pWlNCluKhaburpRIbOMK2QbtSjl3bXjwRPwpIsdEMtiZszQBPmnrNgil1dLFHDdKgXWZ1XliipqXd0E_DpDrg9A0YN1kIZzfQ21ZkDrXV8l3rDD7Y5QDof6N-e7l1e-HB9DDp3fOq3XT7LbW3AUD-bOqJCLC5TB53jlftHDMwlb86XDLpRpRzHHtbykrm5zsutEjkqcwYDVY4XC7Y3XEs3W02xpXHYVUXi58zxwAeGLJkGCuoAtXgbH0fBPobvHSC-KjY6qhd_pYj-vTMd4OujTNVY6NJGa5HMa-HlPrV3mc8ErWSG5rSUyuSS8NI0BfX9utLsUd0"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '108' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238","value":"17iPUQtxC35yWQ61aNwzSyorCj_bcBNI2q-nR-3uNU_F_i2wT7Ksztm_Eda33bp27AiyhDBjH0VxywdWNyxeifJLRZjSjLdmUcNDUDfjqr_ZBf8t7-yLr-9Aj_JggISx7CFodviV2TN9Py_KTElYbYJS8i8cP0teg-NlpeiPos1LbdHU4D1cxTSQt-kT1tC3VXip6IfdmEkswKZVhtIUN408ccFZByL68n8_zJ8Gj2xNk8qcHYaii0ENiNXicAVkQZUkpOF6rNQ43UHNtytCb_Zn3Qyi3ZMq6PCfHGZWeVWwUKtLNWme4_kd5WeIXgiuPEOXjciqC36B8m4sFodKq6ZCs6CdVplY0MXBG69SwjRgxIEYBV8YiE_5SdOeWeGpl3IJdVQJ8DhKG-W7pabAdf_E_1EsF0cjBYFG28N7y2jlW5B0-rIGH1zgHZG4ixMl7TpCpQRzA7IoCzDtMh9dB-IqbOgqh12wPt07tCHNSXN_SiGwQOgP1PUf3LZMKrrkWguDlbSEhZcp3hL3-8DWUD4s_zuS5Nvco_1Rthb_U8zicknay5vhVNf6k1mKr-Wv4c0Lob9QW_PAsxWhpafkETJdjF_nrHD2p0M288RL5Ce993i1938Q8ZoXzwsHPznCDft8BtwfWI8kAf9FaPHRyUUOd6xq4F5mtdkWMbRhVPA"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"PS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238","value":"hn3Ht0XsYzR35666DI2zk7hNFK5xO5IqZvqo9jOwUg-eHpUiwavIv6LIR_jyz3-u3h6-LO8cpFO7v01hKBOIObB-niSOhlUpLTsvmbjzfG6mABn9toCinnWDJHOlYYMQcokqkfSHRiycoEOBvjdrZwqtsqP4BnqzzIlaytpLWkhyGm3xAhjGpWz2ilCyvbB8Cd1luj5Fax4CIZ6sVL1U0IV74RmZh73SiJaY41T-k5iTJgyAoctQkwIYwvZ07KU9ZHmRa8sM0qhoTCJHd0oX5Ab3GqHBNLWDSbNTtrsk4MLk5ehAiohGO9msf6dxnoFAi2Cm1ip7uXj5LLlNdFn2F5MckrjdYcWjzWD3w7wk0xWT500pN45ocppefLASbj-adZ9E5-GD9m057_oTyAbwggHa2hIV8TOciGPpa5VETgQewRGKb22TPkMSkolliREFeuGqcz1FelpMLvoyzIRs4f3KsvoeL-uPumAQlWurmFfEjvGUD_kXE8ABI5j-XqAEN7ScVTWEWp2c94pxfsYnYPV7Kzij3c-YzwbHjlSERudWYXef3PqXFsO9UyYqA_kBTdG33JgcjsD4CEoyBuUGmWqMCBrDisCNV4OWmxUJEzXFG1uKNm3TEZv9SaAoan_l0-moNNwXv4KeioO6iKf4viC3Nj6oUF5mRW1wF-Ixyz4"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238","value":"OSKpSSf2hSTY7zIxam-6uivfLWJgWNV6e-JsqstLXcxQhRQFrVoskp92XGHwT_RTOZ6O_5nXw6fSw5EU7yUd6pGjU58ly1RowsspHQBst_42wA3Br-PR_2twgZVDQh7A0pLrtSWauuttI5Ji_cGsZg0ltM5N62J4BY77jSj5be0XmkFVDxDp-UDPDDyqeQpNBMwE8khM2ojdHSnkcUAedn06DgZ9dA6e22475d1XDPSgSM-tSbACKWjP3wU3AJSTTYULsOc2RUZ39n6ltzI7l1vPv3C6AxVgFxqZjnFqZHGQRA5lQMHSMr3XNlNjC0EBeyb0WBL55XMioiRpszCIvsOm8Es_ntO27VUia_nH38syvPtU7wE4_JpUQlqaaL-Ofn5-MZn89w9zDm6zKvswJXN25YxNqHfCuy2lv1nRqngs3yCeXp_u7Eq9ZWcsak7b6oV1NFzN8GhIJwWZDpUAq7W6muB6cLAVHbBfgStBlsqclYUZQnhR6m4Ljr2b-o-i1KsOuFGEC4mhWWiz7hOMhuldPC06zQdAVOiO1dY4ZqtJRDjE2vXcM_Z4eMvIsLxvMFkatS-GA9x8KQcGmEY_3Sy-mwCo6UQq2_HBYHPNSvoUUFpZtJ5vE0ihyKXYelr45E85HpHwCwkyvyizT5xgBtWppSfzPQRkua2r8dR66gw"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS384","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238","value":"Ky-GAeojvMoVPbG7in-0IMeZav4bccQQuY1np9GNuSZZ2SjO7w_Ft59h9f7JYejnhuAs8K-bL7y-SM4AH8aD5sDzVrGR4BPOVk55FTzEXdOek0B-T0XukgIZSGikni1hvXL7yJVV4z_pXaoIMatLofYjUSzfG8764hO9Q_zfMf-JGR5jhiCUaLlxOxXyqOm1sjf1R1v1ep3BDjNhaFSqgIjxcS2h_9PPsRw2tg_1qx3Jan_VqVYw6z7ZfaFuZJqvDNv_S7kmquIe60ucmeGO0Uhc1QU3QbemQZeTO3qhDS15iNU_Ch-lKTuT-08GVbX95SePP3Owrc5YDz7WkT_N_6ZvSRPhn7LGEFqlDaJN4MEcBxutfdXlzASeOvm3YunLV-1kmG4S8_bZ3hZAYpVVaCSklxvSzEQoHIWUO-f7NxDzz-wyY1AUHtZZ5nacfYpuKb6TmVJyjDJ2H4_gLqUpkxKO-L_PYNlxawMKqGrtM-n7wJ-Goa6BDkclvvHazmR-LVxO7YP2LtqUxifghoO0rUzwFierh6YZx0EpJpykFbDwJHCbZML93n7CehWEhh6sxZZ9y2e2Ve5H8ET15PdqKghQhnPxxzSLDiwmPIB_7IHfofly1sBEcrvNSFzqzqRjNzteVFDWUyGfDeRYMdu-zbj6U1CE84EeZCkjm2SPkuU"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS512","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238","value":"czP7SG7faBQvoYgXaDUBL3dqqe6JFjv2Rksf52O1xBl_4XPX0nXMNdBnsF9OtPTc0fTz8TTtj3oGTDPzzkG05lkJBMuX7iW-uV7AUYmcwfv2AX-SXiD5CxvZ5kQUZd9ZjV0Bklw7RRADBGeSbenrHF-Afu551GUXVtvuOsI3aSWbKH72Vlf8T5T_kyTn2kkr5GSnAYPQXwVd-xgnA1-R8sluWBi0vyzkWUrMSbQHm6YyTPttsx5I9Sm-ndFafSRySuDM-UHy4hqhxxauBVCKjBXHdRsGv711V7ybXJpSFWEfGF97imfKtWCHvNurglDx-AxsYZ8trCyWVnyRq9KUpwG-M456PzDookTQtRZWiia8h1hIiScX67uDqcKgiFWAW4IVD9Lydd-P59OB3yI3tzFo_1IevOkF1bm9iI2UaoMGUwGJaImfUI8DDT3ZMqc_oDFVQMNusZONTEV9wfyQzsw4WJHVQtgh_8XMjTaVKNBtlbb_xyUgzAaB-R7RDWvTCmMEdMn5GkgdX0VQNDn2EGxGQJ89DGEL9ZiA20XpSPR1AGXCh0z60fpfDhT3ra9GVTw0HBCTzUqfS9JeG-McAJC8DghvuUEIxNqMnKCSwCarRVcOtDkY6avsmjeZIg-NP_GPgqZ7xmTAUc6k5ImBWIk1anVk_z05cpOXxQHs9YM"}' + headers: + cache-control: no-cache + content-length: '834' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '12' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestrsa-verify-4096283b1521/02c55635cf2705189b27795a65e80238/sign?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_vault.yaml new file mode 100644 index 000000000000..c44506388f1d --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_rsa_verify_local_vault.yaml @@ -0,0 +1,731 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 23:27:09 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/create?api-version=7.2-preview +- request: + body: '{"key_size": 2048, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wcTmvNc7A1Ixt5vfwH0thJNZC5FlBjXphsFRbB3LXK4Irwi-dzGHxZBbTpS_QiMtE_Q3UubERlKYmYIKWUKg8mZqq39s73kGIFNv6AA_d-BybtAQvkrd8_Qf2uW6LdviQbDOpOKTQ7D3o1QHNMzpa_X47IAV5TBqVS6U1lydcb2v8R-31Lyyz2leZfmUMrVXz1PqDZIwnW0HNtvbiedVwlTBab2vNSXJz4_ZcwtKxjyvZEat7hm0iDIw9XiwqTZq8LncyKlv4QHv0ASZuty1dQYYnw7QO6HpyNjFT0mkohuA-19NrA-3mUXMcS15Rn3LhW5CnIHReTXp1h53QBMpBQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616196430,"updated":1616196430,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '701' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70","value":"dv_O4kAR4woyQdxu8eHw-y33CqSQ6q6_cxsL5RJZZoVK456OVKGgiL15wQ8BJKj4s0YZFwYfMonFDlo9lGnIfkMBk25vqA-RHidj_a7_ObxV00YsEiqO7uHL2tCsq2P0rbsfb0H4znEh4OTQovhbycOlgPP2sZ9uAoZqfS09pFHhSiove5fG7MZA_6ieeBMFuVIdVcLCJfldWf5mkLMjXt4uPkzCxZYNJWz_xVIVflul6wOaAwfy3PHLNWsCq7PhDKgOxRqkXPtaeLCZKLZ1H-D08P2pS39epkExGRPJnITdU35iFnMZiWdzXJrDril5i-iQO2wCoicMQpy784o4GA"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:10 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70","value":"pqmrwghsddRxG4pKJP590zeYVBx5_pKmai5mmqx4V8c8usljYB3_CFZMGqX1ZJC-uFFzGlLszx56PdyEJ1_2b_TKBjxUEJg-YYWVQmoawsYk8nn74p4ikvLKRW5wx4wED0xP302_ETtSua4jeksP8C9oR50nc5cDPCiX5M8dhxZHq4Wuw5XE-LibPXJMLNKgoWi6jD1wVPHxC1_XnWgBe3aja4xK8NUXSYMULFtT4P5RRHqovIm_UQcm8JyBvwnom0wzWaxksuHoAYnNho7u9q5359B-LQOIr6yk_wvDrEP6sDFCq_yKmWr3A2vVrXg1C_RXleHk8mb12TFfEdkXdw"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70","value":"Qj5IZGqGyIuyGWa2R-KleGNVWfcEnXb3iDW8I-Hu2K9Q0di0_9heGKHHQkqtcAmeRlyAY_1Rm-xhn2-jS1xk5ghtxHSLXqcHGkwjvusWtPwTKQZXCkKJOcBtg0eSrlEpmY0Pyc1xU0s9iyR8fpXOU8S8k00Y7m9gRDNKA0dKq7uzSyoHwBowxSdPMjOv9jvbUBuJ4lu8hez-Vm53h0yt95qjtAZDnkP_RR6rEdlLZQKm8izkxfXB2s0myC8eVFG8rRh1cSjE76-0tiMIZSZdeOCVKqr4mAK3iIdhNj08A2wJm-NX8N6055BzqjutZZ99DAsqimpoHc4_i4QBnDtAHA"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70","value":"Q9qhdoqGsq5PE4Ak365Zp-8Y0NsDP_byprBDPj7V8JcKtuDHqYZVVibEvuj7nxGGUp3X_Xyu3noHMxdBZoN3y_Xnvq_x2oBzJu9fmOS92LZIKwU4ARi0IWiuDeMcWWD5DFXaF0RdR5i5Z8pNX39fud7vboqWOl2kxvxxEvssOsb0jTtxCQNk4KMIgEOYZwc65Yf_G1zfXs-gtU8DOj6fE7PqjyM4qqvhR_ew2yc5xVaBvWb2i6vvmd1IgIW8s7ODC3ujJO9FwoTrJiYJkOR5ZFsGWAKqHOUZIuvhbBSXfoShgGW8a1kEGzdZN7X1GkyNlTrI6vFSmNAQsXgoYm2CSw"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70","value":"DJXt4c9TQ4GXXV0yPo2xG0cmNIdTMwMPklYWVz-FspXcXt6Rge8A2RirL1tn_m2UYnzPIQLFApYIbkFBsXFh6uaYZ7dHbTDaXMVp1id8RORN1wnU9NZ5V1a7VpVAgt0K5T8ds9zNPnuHlEd9rN3FSmrf-BNd2S0fHKjGra_H_FpJpt7O9JRzooK43nxVN6eSGPj33jYROCZqQDc0929HtVbK8oByE-S7OCYslBbigJ01IXfQYpv0oyEVlJffP0oZD3IM2Di4DLqKt43xq0Hh-CGJvWrNacu9oFqq5QP5UNYZYQD1AtIKI6-pbrtgRnwcG5W1t1iTrhmsvZ5olOknYg"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70","value":"vKHBf9PBhSLkixtETdC0-TKaZJnRAnjMdLfG5NoXO40ZmfnUwv9kS0-JLD7_NsFJuLkHYjRkpiyFPH_3gvjTkBwznDIcCR7360eyapuI2FXjS9rz3XSFHofSQ4w-aFIpRyjPxjxn7dSx7br5Nl3lHKxs548yDVL40WNyYRMTnebsjGTW0E-xqaQP7E5A6vVzamFWh80ZRrt8xsBkvEkrd1iTDDvLMDwjDz3B67uqx9kbXhxseE8bDQOdopyIgIA8bAMoazelxFw00uX_yrP_SkcP9bgGW8V4ba4qlNQWlAwVd0ORRTtsttcVuSlCzeVrke4mUdDIQ7XQmof-BfumPg"}' + headers: + cache-control: no-cache + content-length: '471' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:11 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-20483de51598/2abc38eb0db04b73af6da56e781f4b70/sign?api-version=7.2-preview +- request: + body: '{"key_size": 3072, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"woDRc-bY6V9MWnm6SD12tCiPSDTQP2SM32UEJ9D_uLZ1bMv6VY9-AKdLKXvTvRleqkDxN4aS2UWyyuQOqWC72mMoyt6TcROTDxmp84CSyOyDqaON_nQYmwfYWAlS1dnflJbONDsYT_A6DbgGhkgb5SXxJV9qBupKHMOPCBOusogpEQI2eeIa07IeIF5ymONFIXCRsGlsC2xva7txAoRTd4X0P8R-zZwf1-b1Ao9kacMJJ8TEf1L8sLVEN4zRpscoc9g5LbDD2C08Kd3sxwPXJbU_ufpMQbnUR-IxGhEv3ogIPd-3NKEyFeIeGpBzQvzGt9ms_w74wxi_ssnD9seo72pZWvfLDfxVuEUJAXsdU99fONC5FhEf5ZXLGAeHRkLl9Pww_jpKCHbaWpCmYdBCgJbT-4GoXCb9llbtfCdiWKbRaiWNidulAWE_VqDtm0eacFF8byTtTwx9VvL6mNnzz3mbQHlIwTgGLj5E2IqK-OnXOcfouWlP1GwjQg6o6W_1","e":"AQAB"},"attributes":{"enabled":true,"created":1616196434,"updated":1616196434,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '871' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:13 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7","value":"I7xt4Dze1afYhlAz0d-mH7z4ZdmgOiCe-r5lAT8iSF_MfWHyipM2IIwMMJq-fH0yT1YMaGspbQYkEbEI64Zu8hFUOGzzRPpBHZuIb2kloJbktAET-Vf1Cf5ZFSn-QVH8tSHu5Z5UqXi3K32m7F_cbgZkfTgwT5jGY2HxRUtHZOj0QH9R6iuw1rnYDD7Ocp93yVmeNWfA_MzPpzXyE68rB5n6KbTUlqi-lVvOq9bmfJhZasGeCxyvm1p7MrKJh32fhdg-05B4CcncGS6x7oyu7tzjaD5wC-kerhPKv2Lbsxl1auy-Ze7Orgbqg8cA7k7CQz8SPdg5MxHER9RV3FnGJzMbtLzYzkqQjyWbIjP19rFuhWJdaT2gkzB-jvEFf8dzuB4Zl-K1aJ4tRz8rY6iU5d0a6iHyE9wmvzz85gq1oTKrAWEpkjJOG9WURFtP8XUYTdQheblLesBk_r9i8Yn-EZg3UhgugTSBLH0irDRPAGO6DzcRS7IgveeL3Bcwo-03"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7","value":"XZ-XJDcZK7656bFpDasiMx9Wyq4fZtM9xEDoVF3YTv9Rmw57QxZDfWtf6KXbM-7tft1U3tiwDCbqd1nNB_N3wJlJzYovoio6SMnIJDeNOGNs0Oja0BZF5SX2G8hIs_248Pa5Np0CQLbJlNUOESN6yFKKR9X2Deimoglh1fmSELg3zncFxKy29KOVLwEdIf9wXpfrxuI4XQI7x6N4CptdEucQq2zKwzQdnT4c8gSYxLrIsMK1fRyc5cdpuezd_u6iDVUX6iLqu4FuOduxOkn8Gx-VSrtm7oe0EaoN3oWoiaUgRLzMhUAX8Ddp2By-QaHNaJvxd_uFA3OCETonxZpp09nC3kEvi3sQyx5tcJtIkqnHtpjsVDXHB91UgZvPmDBTwcIPZh4Z4yW5PyyUnODn99SH5ipBGkzyaNm39gb8FFb6kri9_SHww-uf5YV-gj0CY8J_0Wl-Cc6mDxW99mxlKv2_5PwafdMU7hCpGVySwzr-aIE7fJQIuTpMpPJubXOx"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7","value":"iIbQu40R_Rsg8aUdcEhgjxVf-qXBariT4O_95mLby4mbdBA_y21K0XO9-DX6pOeaudQRCmWdlLiVh8OItDbiNYbIerzZ1viMMjTrL9tT2lfiA8Q5krcjtcI40xpLyFe4o_DlKE7W2zZqMj-uWdKOG7skEiKEG8GXCo26mCWyrlmrOuqDWDM2UAP3vynAiuDy-6fhZkgpdJoThU0cU4nLIlMRrVTQP4JSkk3gGVswAwtMN9QggvUK5veNWWu8GdfrAQkGBm1gcyW-u7Q0cTaUY3QtH-INBvh9OCBeR3CmRg1zaSwKjdRtADH8ToUVRc2_NU28y78R_bCx16jTjYf3il9czTnMQYT2cwqJpIwiGxoH3C7w0UsUSo771gkvRSIbHKixQvNCm4WPBRZ6eMS_SMSbHczOq4Izby-q1Qy7s-oMrM0f_iK_AVTs-vavXJRrCKz14_HLrXLq2v84Sp7iP3cnA4qDYxMOPqxn1JCFud41uTwBst2RCRgoNJRKBvRo"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7","value":"fmoSnBTzlAhOQMIm-qXa0081HW9IZH87iNAUXAWONtWFGiVCCg8DZr0c_vOQWMOoK8JrPW5gLgUT9H0Gp7D9DkRsUbjNmsei5XqSHDfrdXcut9Syiw_MSt5k1ICL0EsC_amkZahZzDLpgd166A9_8rHmDYffZ8Ff7iEwCp776m608W3PqcCyVWMLeA1SDiYDxPNmKOVYNox0C69CkjlZpESNx6mxO1ruWrC8NXpK8gvJoymb0sYPtiLjSXHkPAl9B4armY_AjnjT0BoQ8uBG7lJ4tTonx9TUrfj3H29WNsJqilbQasUgjnrm8JZtnNn_WnoVI3VkMNse0nvpnlBF8bvNxIiPVIp3H7CR9IX2gaCvncjREl9_GEN-_8GolS2hsk8LhSar2-o8Ge0WW110jkeCUXRySK6n5Vmr5v0OXYu11SjVi1KdNOI-jageqxDXDAsSBKaGLzLDFRF2ULTGvWh7XdmEcso72pVqqhcD35kl8FM7a1KUEu0Q40yjk-yU"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7","value":"rTkKqmp9ggXPe_XjZHjlT8AO6kafCPfyJR_X6IxmoBCeGQzgOcBbQMI8pTmtnPprVSjExRDcKToZ2rQ_1FeP8KXrrwn7jj8R8Pw4eQZNmLCTl7h9tyl0VvrionF0pVguf8zMOV3Mf7PYc8rr9u79DpevJ35TEdGNuDsJhd3avqSz5sqRA2odU0KkP6H0XgoLr8UavoE8NXQTEY2zjojNKusMXmo80aecbiWgL1UlyqnCQJLGeshczh6MX-1GUipXFzEI68ehnSGVo_09QcN0cq7txLUKmBwygE3fOw-kV4E2by1EKspKDvkQC4_eO4RZqpUVbZwgLi5rhlUozDdZ87eKXeJS7Skuf3elzG6y9BTaCNGOaLLIX8JTl5XTZ5dM5a-AHF8J_unhEvNWHAFLHu3kEq5hK1_PTPb9_ue2-JPE66JQxNp-QSwDDNwmavFMBYAhgwTGUpA9L2JARIS0R-Sm-c-t20WK5sA7DRkV4pzc2cunVktki6aEsOySIpIP"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7","value":"ln5bbsJVhlcY-UNdNP-TvebhSTw953pwW_RwxyQ6jfXWnUy0E-88HqTI8TG_m2VJ4O427wQ5PfKbh3xmdbhn2-lqtnp1mDt7kn6jmTEamLtJVMpe4xH1Ge4RBmF5zYrcb9z9pEV6LIeKKTem6nNeOyL8zueyhekpW2DtUgtyYz1I5v7AXMJi3K4l9cQboiMnEaUwwrrRVnQCdc8iYiW6evQxu2YK1FZzmVS359JbkYBKPduynowB4IXIdQ2nPwuNxbI1Wlk-O8Nszheymqwwp2Px-jVVueRRod77Ww-icf7NHWEG7nBL7H0Dv3ccaXMKe8vBwJDIGeYZTsn9aYW6kWBpP5c58tmqwAHCegCmSWXIV3rh3y2th01Q-SzlUpCyy5APrQRg0n0n0xIsbPXfDxqNf3nBLSKBvZNWvR--a8uR2Og1fwvwd7-Qq7JJvwKhP-4YJY1E9p8FvvITlA1xtMYfQBPiN2_f_A0nuZk0jTg4-bd6dxTrPRRh8m8lU_aZ"}' + headers: + cache-control: no-cache + content-length: '641' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:15 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-30723de51598/ace8d60283784a2891d9b22260d621c7/sign?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xP3-lcJkwUQ7yWWLA0ceuqcH3oGb_E7eGr_vf_sVeAqM9m80hWVq6z_uVeihIYs5CsqcTIyltnqiK8mlaoxlp9TIzoFeHIUuWHllTAFEyV-Od6b5BYkGMwSm4Sxyvz0zNy73qjXJivD_cJu7NSOWunclq7R88mKT0mxrqNTrATyEXVXamZswi_qGu19k8Vbpo6i01skD9ZR4QUJ3yLWMouW8PVmm0N8JfI7goXA3lzGArBDuHKykgHJ0hkBEO9EwjYuhtLUgkZ1qEsiNTWY53DyhszN7PRfmAHLmYtJ3_GVHMsc9EXpIy6niUFkYpFeJJUGG0JLUi29XpQHadilnEoqC2EPM1i4J82gU1KhgmsB5-ZvSW9Cxt_Ed_yfDiJTfC1BPIMh3J6mMDlAo8C51_fnvkc1-cD80De4jqgh2PSyKCl5AhRJ2ueq0idXniY2ZltVNkFpjOPrtuqDYaYdCZ0eSYIr72eI0X6xytoOpO4MT96NVDT521zsdTKYwyrPOljWjjKRLev8XbNkzzYlmxFO04VTTEjErz67K2ol8-eS_zi-xy3f3Freaae-X5kUIt760qTftRfbfk5r4BB27TrQdHR_zZpZA6k7a-MPPD5JLXPwbV8wXxUoas5mzJVwfRebFJ1FSsDbM7if3IoNH_UXhbdOIFGvAuH6D0tUqx9U","e":"AQAB"},"attributes":{"enabled":true,"created":1616196437,"updated":1616196437,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '1042' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:18 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/create?api-version=7.2-preview +- request: + body: '{"alg": "PS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd","value":"wVTlWIZt1ZOxeyghDytF1B2x8rS7CfDesiZCdkLlKDoq8ILTHQNdvUcyUf--6_8ZlMuUadU0RgNfOWoBQyzF_ZMRrE9Sb3xpgC1r8Mpt-wDqcGMfXqcyP-de-no_qMFWlfS4bL7E4A7rE9AcOCTSZSIzVTy0mxtUBu-SzWl41I4vx1h-coAu4CbQ7PFALaQBLXyAa_gjgW8WlQN2p9_ui67dqaUm7O5QgG8t5G8VVq-YQq2nGagG7NO7vWIa_s9PiCoVxeqVyuFoU_YdT45p4GAAa6rQxlAPPwzk1g9vbXRlHLrQoA2qLovZvvuErTojjKccLtEmrth6e1sxk3hwDBoHUCG7A_ElEOQ_x3FivV2I_zD3vRUggLF69t1IeRKhEbuwiUXXiyVyRk1SNTSZISBfyS1t4Zy05mPnmPFrL8xZRuS9lw9KHJsN_5BMimasy9ZzKHBVM5LWdAsnKhQy5wEFbTY5y_7b7DXOsZRXuZqkszq5xjYKoZI5VcGj25V351CGiJA17Vrrshvzzw5nI8ODvwb96xWEqbGVQJlk6sP-IvX28JWB0EL7RgRz75PdgPZe3KQjlj0wi0Lv_wVlUwfWyHYJ75GusaetWD96LS0uBkGgzL8XgQzTcses6UnQuDbc67jlP0Yw6hT9pULbjSRVzyOiDbdXYtYG39w2ngY"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd","value":"kfVW7LHsPtbojp8lNiK5EGB1-Y3MNKbiNuOFSBFHFTLkNrkaX6ZjnNl7L4qiX3kvlFCplJ5oB_fVA3_MrdkiM4aIaYcuWEGvXaA_I09XerA3Z9RCqir9B0sH113dblJLHB5FUm85R7dtP23UsWgJXj4jvkJZWJA19LKF6iDQTL-QyFkNvhQZx5jIJEKNudHKAczczoPuL0kGMV52zLUkqxvdRBOddbL0i66glA89S0CrD9WzzuTPESjWL_m0a2si5MtrWUdsFUlqqTigwDobYVrAByeHybSvf_0SzKJvhKJYnrSWDUsGUU_KkpXhhE_31HbYe8mxnKhMvZRGy2eMKoRfLGqdtKCgsOos6LsEnQzxfldXQoerJFczw4znO5LtAGKYh09VmRxsJ0KPo_BqbGFo_xIA-4b_TA4WWj6cgo33oF3Ug3ftkHF7pacfTymqZQeHQ1KX1hmue8ANzd1R5UIzttb0SBKdjINAlBMk9ok-uhtYewoRkiHr6XrQydNXJ68Qmy20NN_wz-UBx3iM6MwUYDacyFka8g3D-BoDjCgYvgwkd4hM5B6fqY-8QDckS5M9HDFB3imYghDG-2-ySZ2QLs_pRobIxNZ6c3w2MUvVT7XFw8I8QpEaNws6wsBlG5l3uvXeU-iyM_Bglb5gYCzLqjDaUABr9n4wVtePWoQ"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview +- request: + body: '{"alg": "PS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd","value":"rq9pJ_iDt4ywc1aei4k3khDkZULSRh_i8Kzyj51t8-nuirnz1_RITqEZKkXzkniK4LjDPYKLNroEW-qhMAnpHK6eD_HA9PefL6WKemSb1AsoKkhDmQ5tEtyyxo3apPo8eJ8WcqBVNaZkgEYogEQm7-9O7gF8FsrvkgKn6LrXZaRzu09YyJsclQqcsFna7isijqfkGILISSJDpWVcLg1xq8lwIYbpOMx48wv5RgjMrMCali7yY07vgCIN7uwBcW5OlJEn9J9iHEDDmvOvqnonQ45eXZ0hDRnSwFX8jdU2Du9wOnnE9KYA-Q_jVuBCFmkRRY8Cvv-1pIH9CnArru6q-xaL3I2GSs320ku0yeTPIdbwHIjnnq8Xql6-sQN4UGcHMQSBkrMIBhwzd-pw_ZaAQ6XkiW7tq5Zwn4d3kLP0DmN5IJbYZGDnhAaha5YaL7dJOP4pu3zHPy-he3Xwg3d4ef77b1f9cRccTK4_325qduwH5_Y74KfOVBlXwE6hyHUXGb7gK50I_GFG4oYpguS-9jhmJLIaUPYKtzFQ8Net-TAzSIDHKMcpTt3eJBxWO_puln-c33V2-SdLpM_7BWKE0lsEvObJiKszDBwbRi2TGg_9FcI0xjNq88F0Gh1RXhv4XkCSpiW_5XvZMc3nCdkgW7P9ohuUEzcjIAFJAY0-B_Q"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd","value":"gQq-kWJlllvGq6a6X56---uVAI2zOFPFjC9bfsY-GW4QItA8PRrsZCeTElMiSxTd5jM2y0w4pr6yX9_3dQHLnhZilwAYzuMIC5Xy1gn0jJz9qnPiRqeLz_VLEo_QfvbHQ2Yg9u5E4FEO5-fRmOBa7cYOQ83EtNbG7nE88t-Hj2HASFAODamzfuYxMssofQYjbWeZPQQk8LW5jg-1cvJ9FtZyIf5s2JguO04NrYyE_Wqb8f1dN68RMuKNpgDj5q3vD4Wun05PeIRK4aLHITadnj9LXf7-864t8zbXSDNiv9qJkNMafUKtkM-6d3vUOULWyYXiLn-XHUErtBNPcrd1t5lw_98-kbaGEeKdgW0RbjpgVQOoqDdP9aakVa5QZKP0bUE2BVfzSwSItZWHXGEHPRKNn1ukvcwG8B6q-PN5rWPxiubpCK3XJDwzwsnpNN0WOyl3FCfaaYNwi796A52BdSuwxPYzILslmV8ddJto97eOr3PRaJzlWwpxAF2slB603m-cpvLq-l0xY5pUtx7OAkC8VxITGhH7YdbWMfro2_RTFNwnhAKMMe0P37Ae-V7vy1bu4lEInAnFtvw1gLcY7kIT1ngJtviBJ_4S_jmU7RqW7eZIBM_DgQE5lv-8EyOFN48UXdTorWuftE0Q62H7y0_IEfMATqWCb84go1VBgw8"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS384", "value": "OnZY76NXJ8_MBkjnc9b9RiaL5OYscmrTal040wQuLFlRrnLvJFecIvZl2KjXqwVB"}' + headers: + Accept: + - application/json + Content-Length: + - '93' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd","value":"CD3MZpk6Lt2RTEMRQJMYZcpui9goa1gRsliIWeyn5KzWYeLDT5PW9PCPCgklCrjq1JF5dXI9YztX9aAsFzW922z2KSJvbLEvQyqTH1V8-YtPcWTiihx_GMbHotq1DG_GlRP8vQ0FFMHVvDqGhiAHCtjykSkcvk8Kt0iZ3TTWrogPIqc8oAqIYNAk6dN48sc470nDY2gE_8lUl1-6mopsUrOSI9Td81fHICPuijCyJ0cS1qeYRl8GFA1q3soyzqfdVPWWAs-AnGnKISWtyyFrSP2OmU7GChi7TQPldjSRCPh8WKg9H7sQxSmdH77C3qGF2ZHeQFJdjwBXMJURJpHfcn48YAZaabi2RBU0nbZ7fZMqBSwG0WZ5Ct7lE2b_16A48cC4TZCyNhjGoXFFHbkBb4G9Zs964TBCaxiSXd6M6fGWz8R1qaC6yttPnoC3FA_K8kkDWUzA5to61wC7j4LfgqPPbxQGoGuDWmT8PR9DqKXmky3mbWLi4Syd8j3kjfkn5v8uSDCgKkVxRuqQSXv7tq1TRhDvsI6Km-Idv3SKvIjA_cGmj-Pu4zauOiHKb9o7p7tLxbf4zrS53LHPGmZeW-vIoYqM8X7A6VuAWH_D_v3uveRlE8MGlVajP7EQ1yuEwJYS-G-plgveliVybwxnYhmO90S2QubQZhFGk4dVzhY"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:19 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview +- request: + body: '{"alg": "RS512", "value": "zZyL-eOHDnnq34aZaWgBMobx4x2Pm3mPRo4eqnRmLK6sE0jsXZFOFhMXaTcvILQxovTsMMh9JupeojYCnDvfrQ"}' + headers: + Accept: + - application/json + Content-Length: + - '115' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd","value":"abIzyxZH9KwsbxnhYZWr0KsH26t2dz9-NfkkmtjND1MQ3YcDAa4mmINbl5Wc2yhROg7ljamTmUu1idDDRReYgxcoFcVAYaajWnUmjAE9FCTjqVBBpak7C3BU-suyZAk7wzkWf7a_cfMykbhVl3PWXIHH6PHSqsttOgDFSr0hf2ci4c5SB9sxNUvt1eNxJKtz23vpKN7Z5K5g0ckTKpNpUKZwysKNbMKFkQb8BQD3MyVB5IaK4df9F4x24zx3SEQdbwH1X5BntTAOge13pDGaOgOWkPS16a3k-Olbh53k9ezmIUFv-dRaYD6rtreWSg8CmGV10qW_a5dUzT9Gpkl91xZ-oXZP2vvRwYxrdGMI7NgSfDIm22ilgHKXHCZmzocYcfb6x-zfK4UsECnWlKh6g_KBSBTZTCNeA6ognXGPlX3uXKgey_SO61rmvuPM9zwFC0sDCrsp_mflD1AKvtvRhIUVunFSKTZfZA9BFhbNG6TeT9Aosy_HwUi7AzXQVn-PIsNKakuFRQz7KzjzEUtmvgOHoJV2KWgg6ojaCN9tC5zRg3jjMevjXgsd7243DMIxarJ-FopiKt9aa0jFOOoyXQe2EPQM1VuiWICaLj5ETyF6s2TAAZCH-3i9Q_LuM4arpi-zJwx7N63Rk7ci7nRuZC6FiBAZ9uUTSWJCgbJy1YM"}' + headers: + cache-control: no-cache + content-length: '812' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:20 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestrsa-verify-40963de51598/4a2e2e48a8f841e5ba8d3fdc5ad9fafd/sign?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify_mhsm.yaml new file mode 100644 index 000000000000..196a00e25de6 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify_mhsm.yaml @@ -0,0 +1,130 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign122014b4?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeysign122014b4?api-version=7.2-preview +- request: + body: '{"key": {"p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz", + "d": "Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj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9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU", + "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"]}}' + headers: + Accept: + - application/json + Content-Length: + - '1728' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign122014b4?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196441,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196441},"key":{"e":"AQAB","key_ops":["decrypt","encrypt","unwrapKey","sign","verify","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign122014b4/bc2edc4654d941928b577484460f9b58","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '280' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeysign122014b4?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign122014b4/bc2edc4654d941928b577484460f9b58?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196441,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196441},"key":{"e":"AQAB","key_ops":["verify","sign","unwrapKey","decrypt","encrypt","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign122014b4/bc2edc4654d941928b577484460f9b58","kty":"RSA-HSM","n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '88' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeysign122014b4/bc2edc4654d941928b577484460f9b58?api-version=7.2-preview +- request: + body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' + headers: + Accept: + - application/json + Content-Length: + - '72' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign122014b4/bc2edc4654d941928b577484460f9b58/sign?api-version=7.2-preview + response: + body: + string: '{"alg":"RS256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeysign122014b4/bc2edc4654d941928b577484460f9b58","value":"YX0IOuHlYW7IEVboW0c8M_geUfp2pKoCw7ujVZfXZOy0890603_QcjCSzuw_qUWehJ8IYVlfaXeF3Ebu36oB6cD8oG8OfI6rLM9BKQUR2KE5VoCBKAGit7FxhAnLRFGP69dF6gyO_wv_-zCJnXLIOg1Pu0K80WVSYkj6Wzczj35OQHEptDqRmxdwQoDYoEk5iYcb3JOeWC1frcGVEf9qs0yzwx1AbgkAOPElweovZZlleS6MALP0HTt7L5zJg7kjnCsuksVsEfM2R0_Mzt8nT24LczCNyZac50hHVkCepaZDRs26KodYnSs3doFlYOUJpCu8sxil7VBTEtFY38dENg"}' + headers: + cache-control: no-cache + content-length: '485' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '3' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeysign122014b4/bc2edc4654d941928b577484460f9b58/sign?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify_vault.yaml similarity index 54% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify_vault.yaml index c133f84c3494..7de3baa196eb 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_sign_and_verify_vault.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestkeysignaed712a0?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeysign275d152b?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,31 +20,30 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:28 GMT + date: Fri, 19 Mar 2021 23:27:22 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeysignaed712a0?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeysign275d152b?api-version=7.2-preview - request: - body: '{"key": {"key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", - "unwrapKey"], "p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz", - "qi": "AJ_nrkLpK8BPzVeARkvSHQyKwMWZ-a8CD95qsKfn0dOZAvXY-2xhQYTEwbED-0bpTNEKbIpA-ZkaHygmnzJkNbbFAnb9pkkzU8ZQqDP3JNgMfVIroWx58Oth9nJza2j7i-MkPRCUPEq3Ao0J52z7WJIiLji8TTVYW_NaiM1oxzsH", - "q": "AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3", - "dq": "AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0wYawzUJzoyuXBH0zS6D9BqCZPeF543AmWB27iPf38Q9Z8Rjr6oBgMSnGDV_mm8nDVQkeaDyE4cOZh-5UKvKShTKKQVwunmDNH", + body: '{"key": {"p": "ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz", "d": "Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzSh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QNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3", + "dp": "AMmhWb5yZcu6vJr8xJZ-t0_likxJRUMZAtEULaWZt2DgODj4y9JrZDJP6mvckzhQP0WXk2NuWbU2HR5pUeCN2wieG1B76VKoH76vfnaJDqT1NuJVBcP2SLHog3ffwZtMME5zjfygchG3kihqOSpwTQ9ETAqAJTkRC38fEhwAz_Cp", + "kty": "RSA", "qi": "AJ_nrkLpK8BPzVeARkvSHQyKwMWZ-a8CD95qsKfn0dOZAvXY-2xhQYTEwbED-0bpTNEKbIpA-ZkaHygmnzJkNbbFAnb9pkkzU8ZQqDP3JNgMfVIroWx58Oth9nJza2j7i-MkPRCUPEq3Ao0J52z7WJIiLji8TTVYW_NaiM1oxzsH", + "e": "AQAB", "n": "AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU", + "key_ops": ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"]}}' headers: Accept: - application/json @@ -53,58 +52,58 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestkeysignaed712a0?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeysign275d152b?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysignaed712a0/3b1eb75a5ae8400c9f3212976de92f38","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578089,"updated":1612578089,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysign275d152b/d1634375ef6b4403800b594cd5afeb08","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616196443,"updated":1616196443,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '694' + content-length: '693' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:29 GMT + date: Fri, 19 Mar 2021 23:27:23 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeysignaed712a0?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeysign275d152b?api-version=7.2-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkeysignaed712a0/3b1eb75a5ae8400c9f3212976de92f38?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeysign275d152b/d1634375ef6b4403800b594cd5afeb08?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysignaed712a0/3b1eb75a5ae8400c9f3212976de92f38","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU","e":"AQAB"},"attributes":{"enabled":true,"created":1612578089,"updated":1612578089,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysign275d152b/d1634375ef6b4403800b594cd5afeb08","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ","e":"AQAB"},"attributes":{"enabled":true,"created":1616196443,"updated":1616196443,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache - content-length: '694' + content-length: '693' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:30 GMT + date: Fri, 19 Mar 2021 23:27:23 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeysignaed712a0/3b1eb75a5ae8400c9f3212976de92f38?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeysign275d152b/d1634375ef6b4403800b594cd5afeb08?api-version=7.2-preview - request: body: '{"alg": "RS256", "value": "vgZc0NQUb6WMKX___V2JntcFRO_vszKwSAj7R2rL1zg"}' headers: @@ -115,27 +114,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeysignaed712a0/3b1eb75a5ae8400c9f3212976de92f38/sign?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeysign275d152b/d1634375ef6b4403800b594cd5afeb08/sign?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysignaed712a0/3b1eb75a5ae8400c9f3212976de92f38","value":"YX0IOuHlYW7IEVboW0c8M_geUfp2pKoCw7ujVZfXZOy0890603_QcjCSzuw_qUWehJ8IYVlfaXeF3Ebu36oB6cD8oG8OfI6rLM9BKQUR2KE5VoCBKAGit7FxhAnLRFGP69dF6gyO_wv_-zCJnXLIOg1Pu0K80WVSYkj6Wzczj35OQHEptDqRmxdwQoDYoEk5iYcb3JOeWC1frcGVEf9qs0yzwx1AbgkAOPElweovZZlleS6MALP0HTt7L5zJg7kjnCsuksVsEfM2R0_Mzt8nT24LczCNyZac50hHVkCepaZDRs26KodYnSs3doFlYOUJpCu8sxil7VBTEtFY38dENg"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeysign275d152b/d1634375ef6b4403800b594cd5afeb08","value":"YX0IOuHlYW7IEVboW0c8M_geUfp2pKoCw7ujVZfXZOy0890603_QcjCSzuw_qUWehJ8IYVlfaXeF3Ebu36oB6cD8oG8OfI6rLM9BKQUR2KE5VoCBKAGit7FxhAnLRFGP69dF6gyO_wv_-zCJnXLIOg1Pu0K80WVSYkj6Wzczj35OQHEptDqRmxdwQoDYoEk5iYcb3JOeWC1frcGVEf9qs0yzwx1AbgkAOPElweovZZlleS6MALP0HTt7L5zJg7kjnCsuksVsEfM2R0_Mzt8nT24LczCNyZac50hHVkCepaZDRs26KodYnSs3doFlYOUJpCu8sxil7VBTEtFY38dENg"}' headers: cache-control: no-cache content-length: '463' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:31 GMT + date: Fri, 19 Mar 2021 23:27:23 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeysignaed712a0/3b1eb75a5ae8400c9f3212976de92f38/sign?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeysign275d152b/d1634375ef6b4403800b594cd5afeb08/sign?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_encrypt_and_decrypt.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_encrypt_and_decrypt.yaml deleted file mode 100644 index 936a52b2afaa..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_encrypt_and_decrypt.yaml +++ /dev/null @@ -1,284 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896?api-version=7.2-preview - response: - body: - string: '' - headers: - cache-control: no-cache - content-length: '0' - content-security-policy: default-src 'self' - content-type: application/json; charset=utf-8 - strict-transport-security: max-age=31536000; includeSubDomains - www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://managedhsm.azure.net" - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-ms-server-latency: '0' - status: - code: 401 - message: Unauthorized - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypte2ab1896?api-version=7.2-preview -- request: - body: '{"key": {"kty": "oct-HSM", "k": "4n7QyEUSu9VbavQ00jfBH-ujEYcPgPLC4zZCYPMcgsg", - "key_ops": ["encrypt", "decrypt", "wrapKey", "unwrapKey"]}}' - headers: - Accept: - - application/json - Content-Length: - - '138' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896?api-version=7.2-preview - response: - body: - string: '{"attributes":{"created":1612912034,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1612912034},"key":{"key_ops":["encrypt","decrypt","wrapKey","unwrapKey"],"kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c","kty":"oct-HSM"}}' - headers: - cache-control: no-cache - content-length: '358' - content-security-policy: default-src 'self' - content-type: application/json; charset=utf-8 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '255' - status: - code: 200 - message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypte2ab1896?api-version=7.2-preview -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c?api-version=7.2-preview - response: - body: - string: '{"attributes":{"created":1612912034,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1612912034},"key":{"key_ops":["decrypt","encrypt","wrapKey","unwrapKey"],"kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c","kty":"oct-HSM"}}' - headers: - cache-control: no-cache - content-length: '358' - content-security-policy: default-src 'self' - content-type: application/json; charset=utf-8 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-ms-build-version: 1.0.20210204-1-c9f88df4-develop - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '67' - status: - code: 200 - message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c?api-version=7.2-preview -- request: - body: '{"alg": "A256GCM", "aad": "dGVzdA", "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - Accept: - - application/json - Content-Length: - - '315' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/encrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256GCM","iv":"aHPjnMIvRPZOz6fAAAAAAA","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c","tag":"1BKwRrHuE546Ov0K5tt1OQ","value":"mmfmYfSbnNL74NWBLjxMAaGZ4QfxxwKU8xPX2f6oVmzfM9AUDgTRlOo9dbCq0yuPAnsY5Qm7KNigfTukd1NZLjb0MuzQyAprztvnv-aMjY9zlHzNr-nq8JtkeVw64ij-S7O2N4TwEuhcZ44rqm1H9eoX7X_B8ahxX4mvNPB932HFlnpXI7zRk0tyrwo1B6YZwHG1YawG2WOfkZsaAeds4YlTEeUlMM9Z20vYx2EW0TX29V3loqnb1rLzgYI5OwQ_88l-sTMeH3g"}' - headers: - cache-control: no-cache - content-length: '483' - content-security-policy: default-src 'self' - content-type: application/json; charset=utf-8 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '0' - status: - code: 200 - message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/encrypt?api-version=7.2-preview -- request: - body: '{"alg": "A256GCM", "tag": "1BKwRrHuE546Ov0K5tt1OQ", "iv": "aHPjnMIvRPZOz6fAAAAAAA", - "aad": "dGVzdA", "value": "mmfmYfSbnNL74NWBLjxMAaGZ4QfxxwKU8xPX2f6oVmzfM9AUDgTRlOo9dbCq0yuPAnsY5Qm7KNigfTukd1NZLjb0MuzQyAprztvnv-aMjY9zlHzNr-nq8JtkeVw64ij-S7O2N4TwEuhcZ44rqm1H9eoX7X_B8ahxX4mvNPB932HFlnpXI7zRk0tyrwo1B6YZwHG1YawG2WOfkZsaAeds4YlTEeUlMM9Z20vYx2EW0TX29V3loqnb1rLzgYI5OwQ_88l-sTMeH3g"}' - headers: - Accept: - - application/json - Content-Length: - - '380' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/decrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256GCM","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '422' - content-security-policy: default-src 'self' - content-type: application/json; charset=utf-8 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '0' - status: - code: 200 - message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/decrypt?api-version=7.2-preview -- request: - body: '{"alg": "A256CBC", "iv": "ibitv7BzReNZiTKgnFF0QQ", "aad": "dGVzdA", "value": - "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - Accept: - - application/json - Content-Length: - - '347' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/encrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256CBC","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c","value":"LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCJfUmfl8S8IDlUyQKOpqmtA"}' - headers: - cache-control: no-cache - content-length: '433' - content-security-policy: default-src 'self' - content-type: application/json; charset=utf-8 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '1' - status: - code: 200 - message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/encrypt?api-version=7.2-preview -- request: - body: '{"alg": "A256CBC", "iv": "ibitv7BzReNZiTKgnFF0QQ", "aad": "dGVzdA", "value": - "LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCJfUmfl8S8IDlUyQKOpqmtA"}' - headers: - Accept: - - application/json - Content-Length: - - '358' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/decrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256CBC","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQAAAAAAAAAAA"}' - headers: - cache-control: no-cache - content-length: '433' - content-security-policy: default-src 'self' - content-type: application/json; charset=utf-8 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '0' - status: - code: 200 - message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/decrypt?api-version=7.2-preview -- request: - body: '{"alg": "A256CBCPAD", "iv": "ibitv7BzReNZiTKgnFF0QQ", "aad": "dGVzdA", - "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - Accept: - - application/json - Content-Length: - - '350' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/encrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256CBCPAD","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c","value":"LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCiqWw_oS3hdD48u_EhIUSvg"}' - headers: - cache-control: no-cache - content-length: '436' - content-security-policy: default-src 'self' - content-type: application/json; charset=utf-8 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '1' - status: - code: 200 - message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/encrypt?api-version=7.2-preview -- request: - body: '{"alg": "A256CBCPAD", "iv": "ibitv7BzReNZiTKgnFF0QQ", "aad": "dGVzdA", - "value": "LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCiqWw_oS3hdD48u_EhIUSvg"}' - headers: - Accept: - - application/json - Content-Length: - - '361' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/decrypt?api-version=7.2-preview - response: - body: - string: '{"alg":"A256CBCPAD","kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '425' - content-security-policy: default-src 'self' - content-type: application/json; charset=utf-8 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '1' - status: - code: 200 - message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypte2ab1896/3820f8690ad501138477559bd483ed4c/decrypt?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_encrypt_and_decrypt_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_encrypt_and_decrypt_mhsm.yaml new file mode 100644 index 000000000000..5099acb7a211 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_encrypt_and_decrypt_mhsm.yaml @@ -0,0 +1,284 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa?api-version=7.2-preview +- request: + body: '{"key": {"k": "4n7QyEUSu9VbavQ00jfBH-ujEYcPgPLC4zZCYPMcgsg", "kty": "oct-HSM", + "key_ops": ["encrypt", "decrypt", "wrapKey", "unwrapKey"]}}' + headers: + Accept: + - application/json + Content-Length: + - '138' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196444,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196444},"key":{"key_ops":["encrypt","decrypt","unwrapKey","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e","kty":"oct-HSM"}}' + headers: + cache-control: no-cache + content-length: '358' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '218' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196444,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196444},"key":{"key_ops":["decrypt","encrypt","wrapKey","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e","kty":"oct-HSM"}}' + headers: + cache-control: no-cache + content-length: '358' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '53' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e?api-version=7.2-preview +- request: + body: '{"alg": "A256GCM", "aad": "dGVzdA", "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + Accept: + - application/json + Content-Length: + - '315' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/encrypt?api-version=7.2-preview + response: + body: + string: '{"aad":"dGVzdA","alg":"A256GCM","iv":"F_T1j195YgL0MAfXAAAAAA","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e","tag":"jdbde19hdF7VFtEuwDRJjg","value":"4MyzbRpDLJpEJl1DlHV7ta-xhflZNvdJio3AijzpsfQDEnNumHUz5kCsZfbuePzDoqIElnXvnzGBrWlJXiA7uzxr7KkoHH2KPD4I9IcY-GtTJc-T9r0l9xZXDpU7Z-2aBbBWERjWUW35xRV7DU36AmBS8Ykdu2Z_UDlaVqhGKLye3Cmd1Qk9iC7dh5qB7s8ULvX4IjNPNB5tcFaxw4SZBtWHMhr3erMG2PyXpbMts9WF_GG1Gvr1RJ4JKfuhvVhfS47MNgN02NE"}' + headers: + cache-control: no-cache + content-length: '498' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/encrypt?api-version=7.2-preview +- request: + body: '{"alg": "A256GCM", "value": "4MyzbRpDLJpEJl1DlHV7ta-xhflZNvdJio3AijzpsfQDEnNumHUz5kCsZfbuePzDoqIElnXvnzGBrWlJXiA7uzxr7KkoHH2KPD4I9IcY-GtTJc-T9r0l9xZXDpU7Z-2aBbBWERjWUW35xRV7DU36AmBS8Ykdu2Z_UDlaVqhGKLye3Cmd1Qk9iC7dh5qB7s8ULvX4IjNPNB5tcFaxw4SZBtWHMhr3erMG2PyXpbMts9WF_GG1Gvr1RJ4JKfuhvVhfS47MNgN02NE", + "aad": "dGVzdA", "tag": "jdbde19hdF7VFtEuwDRJjg", "iv": "F_T1j195YgL0MAfXAAAAAA"}' + headers: + Accept: + - application/json + Content-Length: + - '380' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256GCM","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '422' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '0' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "A256CBC", "aad": "dGVzdA", "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ", + "iv": "ibitv7BzReNZiTKgnFF0QQ"}' + headers: + Accept: + - application/json + Content-Length: + - '347' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/encrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256CBC","iv":"ibitv7BzReNZiTKgnFF0QQ","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e","value":"LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCJfUmfl8S8IDlUyQKOpqmtA"}' + headers: + cache-control: no-cache + content-length: '463' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '0' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/encrypt?api-version=7.2-preview +- request: + body: '{"alg": "A256CBC", "aad": "dGVzdA", "value": "LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCJfUmfl8S8IDlUyQKOpqmtA", + "iv": "ibitv7BzReNZiTKgnFF0QQ"}' + headers: + Accept: + - application/json + Content-Length: + - '358' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256CBC","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQAAAAAAAAAAA"}' + headers: + cache-control: no-cache + content-length: '433' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/decrypt?api-version=7.2-preview +- request: + body: '{"alg": "A256CBCPAD", "aad": "dGVzdA", "value": "NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ", + "iv": "ibitv7BzReNZiTKgnFF0QQ"}' + headers: + Accept: + - application/json + Content-Length: + - '350' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/encrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256CBCPAD","iv":"ibitv7BzReNZiTKgnFF0QQ","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e","value":"LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCiqWw_oS3hdD48u_EhIUSvg"}' + headers: + cache-control: no-cache + content-length: '466' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '0' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/encrypt?api-version=7.2-preview +- request: + body: '{"alg": "A256CBCPAD", "aad": "dGVzdA", "value": "LMKuK63LOzPyZzk-GMl79Lciw-LNxXt5H9zA7ZTgfpIHvM5_XY9h8q0ils-y85LvB-Bj8jx7KmDAacxkXIXxrdhHz7c5URCoOh0HrwXW7QqBVnWarK4D04X_2KG2otO0DFTFfuVcs3flnFUF2bAEujPb3SA5FHlBLPhDge4elcbWn3XXtJVOzCian2Z3O04xyI_QAZp8Ds4K4XSHtU_P238YWRvcNc399qEYptrlWjHNxxFxxAC4Hc44pAGus3cCiqWw_oS3hdD48u_EhIUSvg", + "iv": "ibitv7BzReNZiTKgnFF0QQ"}' + headers: + Accept: + - application/json + Content-Length: + - '361' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/decrypt?api-version=7.2-preview + response: + body: + string: '{"alg":"A256CBCPAD","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '425' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '1' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-encrypt63c21aaa/ea488fc2c29640d51694149191a4e11e/decrypt?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_wrap_and_unwrap.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_wrap_and_unwrap_mhsm.yaml similarity index 53% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_wrap_and_unwrap.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_wrap_and_unwrap_mhsm.yaml index 3e655b0054aa..480c658191ed 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_wrap_and_unwrap.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_symmetric_wrap_and_unwrap_mhsm.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kw833716ed?api-version=7.2-preview + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kwfbf21901?api-version=7.2-preview response: body: string: '' @@ -25,14 +25,14 @@ interactions: resource="https://managedhsm.azure.net" x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-server-latency: '1' + x-ms-server-latency: '0' status: code: 401 message: Unauthorized - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-kw833716ed?api-version=7.2-preview + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-kwfbf21901?api-version=7.2-preview - request: - body: '{"key": {"kty": "oct-HSM", "key_ops": ["encrypt", "decrypt", "wrapKey", - "unwrapKey"], "k": "4n7QyEUSu9VbavQ00jfBH-ujEYcPgPLC4zZCYPMcgsg"}}' + body: '{"key": {"k": "4n7QyEUSu9VbavQ00jfBH-ujEYcPgPLC4zZCYPMcgsg", "kty": "oct-HSM", + "key_ops": ["encrypt", "decrypt", "wrapKey", "unwrapKey"]}}' headers: Accept: - application/json @@ -41,12 +41,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kw833716ed?api-version=7.2-preview + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kwfbf21901?api-version=7.2-preview response: body: - string: '{"attributes":{"created":1612851336,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1612851336},"key":{"key_ops":["encrypt","decrypt","wrapKey","unwrapKey"],"kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kw833716ed/221ee0593f154defa939720d74baf2a4","kty":"oct-HSM"}}' + string: '{"attributes":{"created":1616196446,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196446},"key":{"key_ops":["encrypt","decrypt","unwrapKey","wrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kwfbf21901/18d70488e86d0988135f072df16b0b63","kty":"oct-HSM"}}' headers: cache-control: no-cache content-length: '353' @@ -55,25 +55,25 @@ interactions: strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '276' + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '227' status: code: 200 message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-kw833716ed?api-version=7.2-preview + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-kwfbf21901?api-version=7.2-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kw833716ed/221ee0593f154defa939720d74baf2a4?api-version=7.2-preview + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kwfbf21901/18d70488e86d0988135f072df16b0b63?api-version=7.2-preview response: body: - string: '{"attributes":{"created":1612851336,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1612851336},"key":{"key_ops":["decrypt","encrypt","wrapKey","unwrapKey"],"kid":"https://vaultname.vault.azure.net/keys/livekvtestsymmetric-kw833716ed/221ee0593f154defa939720d74baf2a4","kty":"oct-HSM"}}' + string: '{"attributes":{"created":1616196446,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196446},"key":{"key_ops":["decrypt","encrypt","wrapKey","unwrapKey"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestsymmetric-kwfbf21901/18d70488e86d0988135f072df16b0b63","kty":"oct-HSM"}}' headers: cache-control: no-cache content-length: '353' @@ -82,12 +82,12 @@ interactions: strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-ms-build-version: 1.0.20210204-1-c9f88df4-develop - x-ms-keyvault-network-info: addr=174.127.232.53 - x-ms-keyvault-region: northeurope - x-ms-server-latency: '65' + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '62' status: code: 200 message: OK - url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-kw833716ed/221ee0593f154defa939720d74baf2a4?api-version=7.2-preview + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestsymmetric-kwfbf21901/18d70488e86d0988135f072df16b0b63?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap_mhsm.yaml new file mode 100644 index 000000000000..4e9ca6ce1f8a --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap_mhsm.yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '0' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/create?api-version=7.2-preview +- request: + body: '{"kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '18' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196450,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196450},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/8cc1c0ba9c390729bbdc778013c869da","kty":"RSA-HSM","n":"rcbq9M273qUDWFM9V7gSnITth6yYOASDKXCZyIOJLYfmNQyK-6O7Xra7x9s6a3EWK6nQxwsUwGF9p0ffh3HZWifgqYZioCJI6fb0KVYjAsqxy_v3DV3EOD9VesL_UUwsWxL2sZo9PH3CY1_qTVVHDZ_OAlRImT7IyahShk7PkFwbclY6iLJTbq-b_v0XBkmK9Pc_M__WFY1vtphZPLrDn8CrzA7zLvko3a5I1eRZpyWJcgaN-R2qbzzDc0TQunfUrubwKp24J-gWLXbv80tyhG8FQ0sj5OFfO41h-VyNWqKs2Gq6VBG0r_fZS4OocuqXiwQB0wrtRbHbSPkyrEKwnw"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '222' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/create?api-version=7.2-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/8cc1c0ba9c390729bbdc778013c869da?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196450,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196450},"key":{"e":"AQAB","key_ops":["wrapKey","verify","sign","unwrapKey","encrypt","decrypt"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/8cc1c0ba9c390729bbdc778013c869da","kty":"RSA-HSM","n":"rcbq9M273qUDWFM9V7gSnITth6yYOASDKXCZyIOJLYfmNQyK-6O7Xra7x9s6a3EWK6nQxwsUwGF9p0ffh3HZWifgqYZioCJI6fb0KVYjAsqxy_v3DV3EOD9VesL_UUwsWxL2sZo9PH3CY1_qTVVHDZ_OAlRImT7IyahShk7PkFwbclY6iLJTbq-b_v0XBkmK9Pc_M__WFY1vtphZPLrDn8CrzA7zLvko3a5I1eRZpyWJcgaN-R2qbzzDc0TQunfUrubwKp24J-gWLXbv80tyhG8FQ0sj5OFfO41h-VyNWqKs2Gq6VBG0r_fZS4OocuqXiwQB0wrtRbHbSPkyrEKwnw"}}' + headers: + cache-control: no-cache + content-length: '724' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-build-version: 1.0.20210306-1-6fb7c19a-develop + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '92' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/8cc1c0ba9c390729bbdc778013c869da?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "avvGWzeD7MYgdoSus80v2ph_H5pieMRT1qbfvz3tVrLHDjx6J8J5AYPZxbSWGr09a8J6Xs8hRVS7LPk6mo7478pKeBDp53e6Qh9m0ADuq-Xd7iuY-k7Gy7OuDVo6bATX4locxobDZwDxwYSCOABkV_APXPNtcq0evVqW3-fCTeW08N4-Qg_Y1ZupzGfJ1dTU5yMjLt7RHjYj5b4VWVDxQ9CCUPrOR9A-miD__eg2N4aXNxmQQCEHAtRO5Vm1CuDCUKNj8lWeTpW4ynosQjpAQ0EozfMR5P921ohZ91twiT95apGhT0lsQgJCeEO7y0FOuQIOKGr9s_B0Ays_fsEpuQ"}' + headers: + Accept: + - application/json + Content-Length: + - '374' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/8cc1c0ba9c390729bbdc778013c869da/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/8cc1c0ba9c390729bbdc778013c869da","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '413' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '3' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestkeywrap133c14c5/8cc1c0ba9c390729bbdc778013c869da/unwrapkey?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap_vault.yaml similarity index 52% rename from sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap.yaml rename to sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap_vault.yaml index 55823256135e..a36eb4f274d2 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap.yaml +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_and_unwrap_vault.yaml @@ -9,9 +9,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrap288a153c/create?api-version=7.2-preview response: body: string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer @@ -20,21 +20,21 @@ interactions: cache-control: no-cache content-length: '87' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:31 GMT + date: Fri, 19 Mar 2021 23:27:33 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 401 message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeywrap288a153c/create?api-version=7.2-preview - request: body: '{"kty": "RSA"}' headers: @@ -45,60 +45,60 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/create?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrap288a153c/create?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/7f0eb165b152441e8e713301e4676f46","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uRmNikbaVYrzOG5QTC1XbFpU0KSyZwIQ1lgpa7gvwTyKO84xITFLl4jg-sM5Ok_kjuJlI1aBf-U4gDLwMQLs2Z0I6653Wd0BMtrtcV6QH5qKw_AylZMA8YZs6Gtiy4Kp6wgwwyhuMSYrkIfiaPwe-v5MY5DvuXvY8H3OUgOjGujbkc7qWoz8Msw_UY_7j8YvUVadoWIW8IMB2hUEF9XmI-_fNwJ2jdajvAlr_2Xg6cXToedcjOhv9-5esSsj0sudC5rNtjRCIiLktlI91rPFek-KCFNqbK5nygQv_KlYlJRE3Wv_CRMrvaovS6T5IsOj9YX52FKzm-ISW5-iJyhAQQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578092,"updated":1612578092,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrap288a153c/732e9ced1c0849d58b7f08dd87734045","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yfQYl2mN3qwin8qa6nxwN01S_K5wUYzsooMkJ-qJ2Exhkqt-8gFs84KcKtzCxbAf5AACwPewuxzuVX3uauZMmwJ6JmYKV2zCTNGrqN6TKZeKk1DR_LUOwTdXhrskfRRh9N2HU9bhEtbSVrXht4Ey22ym9pl2BCNpxVZGAr2HoZdY1xEKtpiTsHVLG_afaX-wMuLdpqsEhohPOBXRM-i6Tq5kKJHHNWHhebARR1NufdeSVWa24MJjf1wfnMrncvtySQSuUf1bkF-gkzPuhEvGlAi5X3W1JvURO-5TQjG1yzrFeIhAO-FuW8jRXuUrWoMrlWWKGnLhxqwXNaSqzgWp-Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616196454,"updated":1616196454,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '693' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:31 GMT + date: Fri, 19 Mar 2021 23:27:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/create?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeywrap288a153c/create?api-version=7.2-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: GET - uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/7f0eb165b152441e8e713301e4676f46?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrap288a153c/732e9ced1c0849d58b7f08dd87734045?api-version=7.2-preview response: body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/7f0eb165b152441e8e713301e4676f46","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uRmNikbaVYrzOG5QTC1XbFpU0KSyZwIQ1lgpa7gvwTyKO84xITFLl4jg-sM5Ok_kjuJlI1aBf-U4gDLwMQLs2Z0I6653Wd0BMtrtcV6QH5qKw_AylZMA8YZs6Gtiy4Kp6wgwwyhuMSYrkIfiaPwe-v5MY5DvuXvY8H3OUgOjGujbkc7qWoz8Msw_UY_7j8YvUVadoWIW8IMB2hUEF9XmI-_fNwJ2jdajvAlr_2Xg6cXToedcjOhv9-5esSsj0sudC5rNtjRCIiLktlI91rPFek-KCFNqbK5nygQv_KlYlJRE3Wv_CRMrvaovS6T5IsOj9YX52FKzm-ISW5-iJyhAQQ","e":"AQAB"},"attributes":{"enabled":true,"created":1612578092,"updated":1612578092,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrap288a153c/732e9ced1c0849d58b7f08dd87734045","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yfQYl2mN3qwin8qa6nxwN01S_K5wUYzsooMkJ-qJ2Exhkqt-8gFs84KcKtzCxbAf5AACwPewuxzuVX3uauZMmwJ6JmYKV2zCTNGrqN6TKZeKk1DR_LUOwTdXhrskfRRh9N2HU9bhEtbSVrXht4Ey22ym9pl2BCNpxVZGAr2HoZdY1xEKtpiTsHVLG_afaX-wMuLdpqsEhohPOBXRM-i6Tq5kKJHHNWHhebARR1NufdeSVWa24MJjf1wfnMrncvtySQSuUf1bkF-gkzPuhEvGlAi5X3W1JvURO-5TQjG1yzrFeIhAO-FuW8jRXuUrWoMrlWWKGnLhxqwXNaSqzgWp-Q","e":"AQAB"},"attributes":{"enabled":true,"created":1616196454,"updated":1616196454,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' headers: cache-control: no-cache content-length: '693' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:33 GMT + date: Fri, 19 Mar 2021 23:27:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/7f0eb165b152441e8e713301e4676f46?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeywrap288a153c/732e9ced1c0849d58b7f08dd87734045?api-version=7.2-preview - request: - body: '{"alg": "RSA-OAEP", "value": "KXnVEKRXT_aQg65UFT8KRFMlDKrnsZx_lZ6BoYjKow39JL380Lz6Dp5QxrcP_tCndGa6SXMuh03n1S0hWLvPEFpEtREXc8J4VRDTqm6HWnOiK9WfF0GxhTVFNMgSXcJyy-Tb2zqMewg1cjPqm_o5xMQO_nR8W_RoQtPvjxS9zWv-qbHj_4NZxI7v_Dtd43_gI42aGAYkSZm7SO_jOuPbt36-H4mMRZryb4SU1i98xJj36vocU3NVPe89rzudG9yIAwGV4VMSQK-4d-_11G8i0AeB9OU-DvD0d1NVzAA7WujSwjm6e8ReOkXMKI9OA6vxBLacjVw5SwOhiwazlm1LOA"}' + body: '{"alg": "RSA-OAEP", "value": "nbvIwUt-HErjK5sKTTi7LMoJewW1wlj4fx95BIiW6pktdasS1X4rrOoTG7LlFPql9Hp-n6hjxFgepWrey4OV4DPTLblni7_JC6TnzfjjG387NwaylnK3itGPz2mi54KmuNPnbMo8iZ-WpuVWn1HhdR9JROE_MHPWYRIFysHb6b9RzfF5DZssd86qnvmHTjbAODtGuC-O9FCnTVwjxHladL3k13DxOWYOC7K1RueNtdubee78IcyafPwmgGF1aGvkm7TCUXYnove0VKOV4ON6ZiZ6b_6jdhVD1SlV8ypOxJgVwZWSm-FjzHKu2dmhXO1k7cItIMTlcpWP_ErmUZtknA"}' headers: Accept: - application/json @@ -107,27 +107,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/7f0eb165b152441e8e713301e4676f46/unwrapkey?api-version=7.2-preview + uri: https://vaultname.vault.azure.net/keys/livekvtestkeywrap288a153c/732e9ced1c0849d58b7f08dd87734045/unwrapkey?api-version=7.2-preview response: body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/7f0eb165b152441e8e713301e4676f46","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestkeywrap288a153c/732e9ced1c0849d58b7f08dd87734045","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' headers: cache-control: no-cache content-length: '388' content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:33 GMT + date: Fri, 19 Mar 2021 23:27:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 + x-ms-keyvault-network-info: conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 x-powered-by: ASP.NET status: code: 200 message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeywrapaf9e12b1/7f0eb165b152441e8e713301e4676f46/unwrapkey?api-version=7.2-preview + url: https://mcpatinotest.vault.azure.net/keys/livekvtestkeywrap288a153c/732e9ced1c0849d58b7f08dd87734045/unwrapkey?api-version=7.2-preview version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local.yaml deleted file mode 100644 index f02579899013..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local.yaml +++ /dev/null @@ -1,170 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local569a108d/create?api-version=7.2-preview - 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: Sat, 06 Feb 2021 02:21:34 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local569a108d/create?api-version=7.2-preview -- request: - body: '{"kty": "RSA", "key_size": 4096}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local569a108d/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"y3vX6P4inU8CZaAW526rklvBboa8Ld1vATU3NbLgM19deglsYEeRlkYo31vMI32_6s6VJvhGi8FpiYnR5ikiTfDiESdYvwn0ErWTJwMzwGFGaPzdS0qq_WeK2J38Q6M0TS_xXgYUTly0eynziUMnGPmEBNvIfUoWXcvE_mH2slpIHSwd_8UxwVxWjTpQG9hnIYUb9cIg0F0pSrmZyqCcKCpb5xVUN0vrfGcM-MH8pacS2lRdk8B7H4S8-cxB3oAnenM6VCfAIBG8ALPT2HwsbcPx1Ep8Ws35lg7vYLhgfiTHgmPxiRwsxqEO1Cz0ulCl8DiC60AQTirTdTjtzXmQS_UH74Kvp4Z1C62nVTX8uZ-ZdcQ9bih8iHJHIXUY-SW1G3zAX1Y8Ojl7hSpVtww91Ci1yDXAxtZXFAOQPMNC3XhVANVxYuqYnB7DzK96bSmjoWN0MTIxazx-AZ4QavREjMPtUbsR2RoSyAvyh6ZgXyxm0cDsjdA-znzLGj200IfSWLQJSSDCsbHIuisktdSrcwqnrz8g7ZeWucR2G45GiC9RPJRjk9Vlpsg1lQiiKPVPJwsJJ1yzuaMY-wJLKA3u7TtuCznIuij8nU19QNmnxPa2l2GkeQ1CHt80ZY5mAlLr4UBBTmTsfCCHh5p8q6CpoMrd2HpOPNqBeRa5pkDVgsk","e":"AQAB"},"attributes":{"enabled":true,"created":1612578095,"updated":1612578095,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '1037' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:35 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local569a108d/create?api-version=7.2-preview -- request: - body: '{"alg": "RSA-OAEP", "value": "tEBjbV0mnbNrvJg1XmFbmY1wXzt3d7KPl84o21bIWWZ1AzDXJd3KSOc9BhwYChr_VaEHhw_q20YFb_5SQrnF4OKKYq6vx70XrKUZ6CnGYP-PdmmJ8WCXQHtJFXt00Os_x_ZmFsMqvL5a0kik7YDnzO6ZCyrT6PrKQc_LDau_b9tgcNwT5NAbKNJVmT6-5X_YWz820Y6UbiAstU7fFAB-pw8K5nrHWXw_LqJAQ-7XaExBqTwDeNPYzNneIFeFm1pToubCxvLUouNOC1XYKhifk9jNoqSWq7R6weduqNV0et1ofPZPdJxYVcqHcFYWGTRXHy1FFFYw1KSQTp0Ig3VCbTV7PftI6cOuTChMiT30SzJ1jmgcv7Ss-Tf5snUwSgwWO9t8Am_hTZCjNy1o4w5VArYu7xIxO4DThm7Q6UlrO9u6i6SNEIcJezNKMor8Fu8Y8mDHUYUcIVS8BolgCVJiQb-czhnEi6eSXNmHvOFjpAz9ToFMEqJhU4FAysxxOw8zrzM7E9-zWu6QadZxbc_nQbY3_L202-5GTzT4A3IASqtShsiZAUgaQARaasotyuBwn3HOpwYN5z14Lja4ZOqp23ttUYBzJombx0TSUBXA5Jt2UXIUh-CnATAlAyzqzsZR1y_gF2fz_W9TCjKJnwxEiAG_5ggLkkgecCEwwIA6C5k"}' - headers: - Accept: - - application/json - Content-Length: - - '715' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067/unwrapkey?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067/unwrapkey?api-version=7.2-preview -- request: - body: '{"alg": "RSA-OAEP-256", "value": "wp6oicZnThMKQ7xgZzUqAQXP1PmGfj99mFRC2UC4q9oF0mTecwa0rcT7R8zn5ufVyIK7SAskqdmo1jpOR7dDCxHd87nbQaQkmk9xohIjpsAyPiAm0VEQAu1WlZKY-y41IV-UpUiCbKANeq46jG-d4zf50NhJtNNjAXR74h6v0wj7RgTbuRE3RUGG-k74XkA9Ra6YjqHajkIhduiVwmG2mCDTiW5qAVUbq3j_JL_vUMRLfG6gyBxKV1tNeQp0WSy9vtFBsCTlaj8AK2gKQZO93_7DEHtv_bdGQQqwyPa3Xttl9XoR9HIbZQgJ-L0KX_XlN0QsCpJRNrj6zLQ_JVdukrPMnrcH07dNd7V84aDium7ALLBo-ytdPgxqGKRIRmUc1_iNAABD8EXX-ESWroMHHgxjZOYjk2LQrcWwiW_mWK54d47eriGbPASA_UU8_m3nx359xtr54vNHYYPg8bFMalnyzIyY86f_xMGTUsp8P09V8DhRiijOLZF1lPHOUKLMgHhm81-058eQiA3srzeWw8ZeHudY908jX5IMYVuvJ3XhrWIzEo0ezIsYOagyaYVotjx0NRsDO0iKhcpEuQTquWzLvutrnd2yMPeffJSGawzQUuP1jQzAqhd63XKNd8LOBFbVeJna2Jvyxloc3M2h7wmvuXcLt3i9D28R_Pp4dWM"}' - headers: - Accept: - - application/json - Content-Length: - - '719' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067/unwrapkey?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067/unwrapkey?api-version=7.2-preview -- request: - body: '{"alg": "RSA1_5", "value": "DBS8NM5698yzc3TpwgWw4i37u7OYq-rINWV1zyciT_g2Iq7t9ekrlPq__USGR1vKaDFTRIBJVjL-h4EgFwPIUifWekZyRcJPXKKPXqBdQgH2EU6F-dtm_ExVearntAxuIaaz2V1chTK74UcHiaXAzG8azVTnzG5BrM18ZWwBBqS68jNsUcBMaYTs2bMmTBjVL0WXNPdSzuIhS7_niKg_1WHNbjKZ2mp05DjLNi2j1BZn_LlEGCZXXqek5cAkdvLGDtVGj7F1auSrh4Zg_9g5E6E7-Af6okkn8c3qKp26t2zny0W_M3U7x-2M4nDJe_ROK7KlnY58g8zG1DeMFOq9-lGlUgSej_hbnH5PjqBFbR8Q05MgJpSiZkpKQvOWm_zkwzmVcNc6s-H_dY8xHU0ledYyr0tph9dyUQvr0Q_Bxya7F0eUPaUT_CIkWk7thAAYJMHl7uUWT6QNGUs-ybPElo3cfsg5XB_RDkqbRRFF3YmOvENdO3gHuD3JmwCw-_SFVJFM4jt6daP1JdEbkXuhEzoqZHnGqKD03Q-6Y-3bLoLJVrM6hJEWX6IgjhLmKAX8IOfzjE8FOUV2tI39TCvyD4lbvf5wKRtO0d4Q1ldudzJ_exgG5FI2n45V4WLtKllivf9xuWP2XI7vomiqwPzW-5pfnTP0H0fk_SdFSjTH2tg"}' - headers: - Accept: - - application/json - Content-Length: - - '713' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.3.2 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067/unwrapkey?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '391' - content-type: application/json; charset=utf-8 - date: Sat, 06 Feb 2021 02:21:36 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=174.127.232.53;act_addr_fam=InterNetwork; - x-ms-keyvault-region: northeurope - x-ms-keyvault-service-version: 1.2.164.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local569a108d/0423bc635d244a2999f345501fd3c067/unwrapkey?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk.yaml deleted file mode 100644 index 20844bad6e3c..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk.yaml +++ /dev/null @@ -1,170 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfe02144b/create?api-version=7.2-preview - 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: Fri, 05 Mar 2021 23:31:25 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 401 - message: Unauthorized - url: https://mcpatinokv.vault.azure.net/keys/livekvtestwrap-localfe02144b/create?api-version=7.2-preview -- request: - body: '{"key_size": 4096, "kty": "RSA"}' - headers: - Accept: - - application/json - Content-Length: - - '32' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfe02144b/create?api-version=7.2-preview - response: - body: - string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"sf9VcnkMYMvPeZRAZFyf5Ie8WZ6Q6l6waQ4r-aMuSYKkWXrUzVFd9HcbO_snsAAYdF1WHpj01NSkcsAhrIf3kCSzEhLmpBHdBgV4eBr8lq_9zWMUpGi7d4WcQ5uDAfiMa9EsEHvyn9CPlINNKkTfQwiXnbZ_8_K9m0lIDxpGTY8x9r7exe8YxJu5FbCWzrvwG-ty94wpkwsMPUX_vPf4L0j77MxprD--2UQSnJZyb0aRIl2uYqWJPiO62R2u4hiXfHVyXUghb8z6TZsFbPDSkek2mYX4JExiHn4e_ye_Sl9tY0KB_dIQTy0bBT4PDUgnrFIzUQtnP82fHw11Cnq_5YMprfKHQATqJEwJQIOCXtI0uZHmwbWj7Xm-ktpP8M8RrOu4QIcOZxG4p-xDrxk2OM157tDlr3H9fxVjZyuXmHMl9tkAApBEE9D-e3lGQ8wyeGp-NvVIiUKZLIyH5722uDSPXk6IggeLMIGjXcZP1YCNiQHjYJ__maDMJgmkGRHxq7avzoSDfgjHnWBo8yz-lnc7SK0teVKo0pNivlJQwCoRde9PNeyqfHGNf67NpJEiG-TP7PLwDWrINLOA7apcs06uRWEPYUn3UPMV18mNUMaMlQMBC_E4oDbzCDf6GIQ5VC46Y_JLy64EM9C5ZIQylMtdOIPrwsASrs8ZuozTQMk","e":"AQAB"},"attributes":{"enabled":true,"created":1614987086,"updated":1614987086,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: no-cache - content-length: '1035' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:26 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestwrap-localfe02144b/create?api-version=7.2-preview -- request: - body: '{"alg": "RSA-OAEP", "value": "AQdRTgi1SCwoREiaKz9sdnKAYZ53Aj0LdfTFWmAo8m_ZFQKn7WiyI6lP13XT7L90fYwuo0GBmXuBbEdLcFDtzaNIDaRq66hqs2n2AgZK63tyuPHx0ICkNEL0D5OKPTAw0ItWzn7AML3mVeT4pqLJiiIiYFao5FgKm3UqUB6d4bVbWkGHQT-4IxzXxbxiRa4ofRK92Y6fkfcvBO4J8L76tzI36OpQblUPdivkO21R3sQWXdEI1ofoFMC9nCXWig9ynUtrZNwlsEHV2Vko8KpE7BY-0KciuRD7KMFaMeVDf5xGq_m-nz2S7EWpLhYBkz_UFHV2tuKPCgtOx5WBRpUX7EctOeMnTvspdRKMxq9abpA6lE-zgusQhCvzFYimvg6HETc4bBN93naju5DzjPfgT7yQE0apoC2aJeCKcgFW7oKl0RJu9Gmj5Sm1aU1iTH0t9Fyu-ueMm21GroxNqYZ0nZRHTGfV-g5KkAaurdQMhes8a9aIbhUcVT5B1iZuBFxHKrMjZqrZI3x2WGJ_ILYdbGyy5umFm6u2sfhLP7Atv3RqUy5uweX6JgqgRLiNfpXi6rlgYTnD3zXgQHVmb4RdChw0Qp8H16P0BbLZ_NCGLiNIP9UCLVSJVIwRj1x8o_c6ovHoBxhq5ns7r56YK9pL4Wiz__xYkEjhz54hcmwafv4"}' - headers: - Accept: - - application/json - Content-Length: - - '715' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2/unwrapkey?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '389' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:27 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2/unwrapkey?api-version=7.2-preview -- request: - body: '{"alg": "RSA-OAEP-256", "value": "OhBBp_H5OVWFaWfkQr7N-akBF2OhxBC8FV0GSh-SxTOelJqTSTB0EmLr8I2HNDZLN-6rFyGqau08LmfO9_k7K6ncFvQGrNBHxQ9bBVoo0d_9X3l4aFYwn6VEX4AJunE8tHb_Bs_RVGH4ZEqvOgZeoHCLQdph2Su36uwu0Ik2Q_uvA9JR45SJvrFZXHB5m4SYsmZHLDwRHIprCKMd0kM1zdJLgcnuAiQYAdmtLdLse9X-kF5YzCDa-sLhGBOdZ_T-kWOibexjcU3amyLF8obGJpaldgbwaSaf0D2Rb3cNhgTEFZpGPlOpgTdWMfL7ioOFcMKtxhq0Qxct88DWkSIJMCXxpcUMHj8TNxfWVgPwZ0NWXcURIZbuKa300x97j8Y0J7JfrnSFsEj42tZnesUtygOdC6_2RT257fqAOxaL_frQsvRK8HP1_4Kb7qHUzMo2aapNuQezHEsqSuct9jeKuHEj2yjgdHjZBUJEiTtTiu70eOPBtKwb4fD6qxq2TNDK0zgZ8hqsFOZv_RFZ6zDKWeaMyWRAoCNxFGm_Qu0_sB6b96c7EmNTgm1R7O2YG83xx5TbXDRpon_qp-m7Rutg2rGwUFqUbteko3TguBhv4KzjImFrdZ5jdBm7EaaeqodBo8Rktlnz5_9q0XAusQPAGtM3jStWr8WiB8iW5zZgJ2w"}' - headers: - Accept: - - application/json - Content-Length: - - '719' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2/unwrapkey?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '389' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:27 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2/unwrapkey?api-version=7.2-preview -- request: - body: '{"alg": "RSA1_5", "value": "U_2erIgBrODdMQYAoLC7lTUzwhKc1wVuXYWk9zNYGQD0Sev8KdIjunq4GQSm7URTdkOkVmOtu7_nOPUSolobpw_c5Im0V4OYxtSA9jg7EtKNx-FIO5xEoqfx2F2pO4WflHXk_QIUbSahx8-ntOXva8g93j-DqF3eIIbCW4FA_0fHk6rNuXRbrtZK8OWfx-55xOI1W_2IF6jAqi5wBeLO441kcEXJ9wgA3dQSIKshP6xuP6IOK_Vx5rLWLgVmFhqUnn1FYODiMKnhRTswFkzQuvJhvRG6oGogmbcTDsJlW_ndgC-KPpZuvhvGW2-bqZxXdW8ewXUqX80LBHT5ZcjDJJSMWamHesiZ8rUZerUkMEsvbouaTbjDvAr_8wMRKMIubrdlJTZCL6bGgUXLOwvxFL_Qaf8wtywnCx1vSYQDHjAIMqbmzvbxNWBlLhz9iIxM9eNrRtk6Zt1nKPwjbmUUIqU4eEEsdhumLB7Gj11RMS-0ntS3V16UpKX7pNIN2_pqanxEmecsYQVu-w97IMoBq6ijFOvE92Oh3XkTIMahG5DKkSjZAlHjRJLwY1W-c5NTor3nBnDkH15X5TrCy-_ifkXtPKZG73L8-z4lKbhUOgYfgYdPPKMDKlWrIQbcp_1uuaIX-MzYB6AWGSvnWjrro7nxiqIBli0Qw0YkzTbd2vQ"}' - headers: - Accept: - - application/json - Content-Length: - - '713' - Content-Type: - - application/json - User-Agent: - - azsdk-python-keyvault-keys/4.4.0b3 Python/3.5.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2/unwrapkey?api-version=7.2-preview - response: - body: - string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' - headers: - cache-control: no-cache - content-length: '389' - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 23:31:27 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=172.92.159.124;act_addr_fam=InterNetwork; - x-ms-keyvault-region: westus2 - x-ms-keyvault-service-version: 1.2.191.0 - x-powered-by: ASP.NET - status: - code: 200 - message: OK - url: https://mcpatinokv.vault.azure.net/keys/livekvtestwrap-localfe02144b/d0525db10b6741b28127607e46a400f2/unwrapkey?api-version=7.2-preview -version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk_mhsm.yaml new file mode 100644 index 000000000000..827845398681 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk_mhsm.yaml @@ -0,0 +1,157 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/create?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196458,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196458},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911","kty":"RSA-HSM","n":"uIrNhA6Bp_Ea8TPjCBdwJyenmPIINcxphWoGkChhoInKpUpwJs-6uYhBUO_hfuH0w3mTJlnzoUsFc7ngNDoEW3AHE14K6C2V0zz-KOHD2V_AA8RLvU1NlcXi7EluhAoTGOJYiBil6RQiFRnuK4ep1ZYXMeTn6JZgBs3H2MobvF2B4YLZU3KZFHLzuv4BotXtDhuzDtdpRHEC04uygPKvL7lHldZtVuNGuALKjkpUutAjE5N4IWLFCGcfrkUkSJ1n2l6kJY3CPCKYsYdn_jV36lZL2YcSVjPzWmBJ_BrVdULgtU6AVd4VxdsJ4cFH6IaSe_31xEY4RSQDxJLD0wz5mxQ-feo2KYTKIpRBcAVTd7BLlFjC15v1cgkXUxpuxFqRkIarT6Jrjfvg_1hxcT7tnMYLx0f0YByAytTh0lsXXE38GTcb_Bbo5z7ywHXyspfzNDIRopnLtDncoUZhjvVjpogq9_90yMpAUqx4A6Dj72nWXzbePqZDiv2XkBmKY4kj8GdM-3Sdwa1CIzaY30GlV4cRZbd4rFQ9M0Kdpo50iZ4TmPHWU3nWEl5cnwYEoTbiJ8pKeOlUcMbgCU7AjVVvN7k7R86BCQwVB7ARcZOWXIu6v1O-DdSOYDXcMxIlBlW7fR5ljiqbrJuM3N_bBNVn6KAhZ-8U4MsGC-1esho9KIc"}}' + headers: + cache-control: no-cache + content-length: '1068' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '264' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/create?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "rULicc5zb2n4QNlhn4PdIeiP01fg8xjbTwhpI0XLxqbfaydazgixOT75QHbbUmttIZvIcJnDF5oenGyqcpumru4eXqy5MJMn0vG4ofvR2rc0y35y6oOgP-Vxb77zzIx7DxGaFe516K9d9rcwLuE7BD25RjLRYoy6V79s2WzmWK-kt4n2q8xhc-3amgvV7stTPFqi_HNpfshCr4t41FpQ21MmiisR85KWZM12PMjCQLfzRm-83R7RStH0bdAUpM2sQyfQTX4TQZCZPSLJp_VFIFT7BBn_H0YlDyGhUqtVrmbZxdNLGNI_8iodvDDrGQzDdxwbfaHySZMYW6gjzE-mkODaLXgcO9gdhK4zMk1S7zEXfT3i2cs49GYTvjIVIWuJagsixS6J9IExFgmxOJ5ipUVm7NoNzp_qqb-RGtYmB8mo1oWG3YtqPQCrSfRuqDYkubYiQO_TDFRbLBNPFK50Vp7fdTtPbC1dDHLFDf71fsIrl75uuwp57rWJR8ZDfMTM30PxAjtDQFMoE2sjthzXO7ninJ-0A7all1APyniwEJViyXdI6O5mwTOS0NM5WR7p-8Pzb7ARuQK9jY89AINTXUWxs5AnP2v4CMe52Fsm2avXaeMfwVRCF130G7m5K4uHzxiq9uiKwBWIl9tqh8jTsilBNzaLL9ydRLu791gboxw"}' + headers: + Accept: + - application/json + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '416' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '95' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911/unwrapkey?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP-256", "value": "Ur4nOkwKSotxiWemiSwzE6HgtHLC1NwsS7R6gyqOWBECvnDK-J4HIm4fRV-MmIM2RVSGIR-oZrd8cUNwX7fTGhQtpFkuGprudOdcePC0MNqjieVgmOQi41obz9pZFBAh6cbk48XEG8KjgjNjF2MXXQ3_qHmW0nsVJ6px8HmeDq4IBEznwn-rdhg8lAOlA8cgIpI5GXL0AMAeDt8fQRieTJZC5xcRPKXcW3g7EwUJFp-VlYr3shkXSEHU1TaTqdjj08XHrSiMaqjnpmryiEzE3DkwySjC_KT2vO6V2KN4uui408dTr41N5eLEgHZfzcNkoKx5UULajP_i9vcS8K0m5FQoxULhqGaudCnYkMikmaRfWEUVPdHDY1BiatxL6h7xrItbzXL4VzAGZD3r64_lSv8DH6HVrcClZqaoV81xeKTRPTmjGFTfnGp2zaLBGrYJncx3HSRoIkewot-uDS9rW5soF0p1uOOOxLYEhwieDg5417d6l6VepdCy8AICVdeNhQivbvhAJTXuYu7aVmxz-qT3iXCZXCPiXJzMPijbtFiNk3EPODr5KruSwk-jHZg9XE8AD7xI7aAnVusHPZOhM6tCYY5ububBQuvUQCPzIOt9akvzbwLGi0wk3HabfnTsOWyeraR4xYa1Qb2qbcWqQZmOKasgMFodlrfDEySHS2A"}' + headers: + Accept: + - application/json + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP-256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '420' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911/unwrapkey?api-version=7.2-preview +- request: + body: '{"alg": "RSA1_5", "value": "h7yZZ1JUz7uf9kkFvXFlYPv9QNUhrO0xlXDjdBKYhuOvGOuHGqbH7gA0t0LP-n-4Wvtx2YygEj20sg84CnuSwH--5-CtoPE-hUZoKKajWH1AToHy2HyGor6VUpgzrOMNr42RWzHz07zOTadHNvuHfvXQsb79X2q9yq-ZF21wTt8vuHeeIXdkIyNDBASeHixcW2d3zAOAYX7IeFLAqHRqtmQYhb3O0opvHpKNjV2KjeoELG_n43bFyzQoYWB4nhUt_M_gMLYYL0VU3J1bImc_3__lYva_sNQWBuo1TceDJ-cDMFq16BFn7cWm99gDDPkfuS6dWVf73ZczEajwVCIX9zItmg3oQoohhD1sdwCJJJq4kK73wHHlTtFpghGMZ3WNpzBUurkkuNfGcATmJU0kwjfKhvccWNZM-Ne_tzEXkIzzz7UzT__HAh5mjgt2IHDnrDk2geS5k0T17qmDBWpUDMBSXGdsbX5MKUJJ0pOIaulerIMz0nB1WqipW-u2EAQaSgKWDLMCFFJ9QjrlIImDhAHrwwz2k30gFe9wlIJ_O5PXfV1jPKOhOAlKckRY9G22lINXEvV57ZJ41y_xxce_GayUX78x93f5K6Hjx5kll1gDZ9gkgVEUfDsym44V-uHf7tv6dHc1ssKFGXgTVjratXReXnyReoNc8oOcvwTiBZU"}' + headers: + Accept: + - application/json + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA1_5","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '414' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-local69a2165f/831568ff2e1705c203ccc645f9b84911/unwrapkey?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk_vault.yaml new file mode 100644 index 000000000000..b2ce568e31e5 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_from_jwk_vault.yaml @@ -0,0 +1,170 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local808a16d6/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 23:27:41 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local808a16d6/create?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local808a16d6/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"qE58iVaw5a650TokXpRFL83rMbUmS8HMdn1-EQyXDUq6P1CdyP6jPfOX8GT4BRXpvb3HTnm0ksIYqNUMJ5v_KvhmYwUS2jgoR11Y6ZPHt5drDTygoxT7F2IOokwipvnsaqc5uYmL4h64qpKQPRRE1DNfIDQzHSNmhk-NLP7hVHpUvv_hIqBm8HJaanUMmW6OsFQrVLs4WlGeqozVxwZ5aRTdaLw-7GaNHVhFIic9HjpZ0OrGj1fQdEvEuAdqJef2kT2RXSaijInzpHHzVwyFMb6dB8z8r_JYdT5eQ1qZsHL8IItUh9UDyw2SRHVGfVz09nW6vEtI2-b78HutWBSsPfW4m23d_C6p__xRvxztq2EIrZJe3xMJnyjOitQYFPiNvBqnzOooeFqEgsUnBhZfpHBD2BO3Ia1wFcomWIFZvG4d7LyU3Xa05LJTSqtZ9iKtMGYOl660wgnbL_0n3y9dKJUg18I3VQsz-e-GR_k_vOJihuDnETcGlWbEHXMyNBJgxLj5UyoK5DADjXhmrygjiS3yEEfxoE0TugtmTgMVDZP3tvRc04k_e55XbkggrWakH-T0Sf_Ywd3-jUNw8BPVw1v-zjuj9NnwGIg8Kwxmg0VJ7sNEPlbOSAZGvyvYF1y6LGddzSOIouIoMim-yjYkDYpQEg2wQwF4pPZ_0IdpfpE","e":"AQAB"},"attributes":{"enabled":true,"created":1616196462,"updated":1616196462,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '1037' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:43 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local808a16d6/create?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "an8xOREkSDENPODm4umspgBXfdjw-jBA37MPz8TZ9BTfalo6SOJN3dbMALpYKPG35ROf_bg7IKH5sHIcXth3QmtmofGTKukimQivhoQUmCF88Yp9VzeXVSkV9GUwn-W2VNoM9hWMDmycsEfgW_oUYIIunQXAx74V-PbBj4kmkNpNlNdx2Z_NxN2lkfvAFXXYmovq1zssGsGXjP03YuZz8J8Bt16EaTFhsLhCD_2J378LcR9jRosPTmFTiROQTJTStVfadFO3tQRMqv36j8vh-6aGRmGXS-k-pG05qFbStXhmBAhc4wyk1W1GHpMiMfTL-Hz2Jp8IVkda2jAiIQY5EoQoZ35wHsKPA6wJB4YdwqyKLC2UpRPA8nvgmNtiIGuSjgyumlY_2j_NPo1NYkJL0y96dy2Y78Z7jUdTfagoZowmvZbKqIiHTuv8AMwHlgahIb3NmwvhcqYFISEbQ0TA21b3kh7oaXW7VWoOuJ2L5uAHHdGwpDnU3EBjS77uWVpG1jcIhjo0__Upx42qxRgEELhlHe2wMuTxbaWum5E20MxpULwE98eOmKFs2TEJL5EdCGwXB9OUE8anVtHjdtwKTJpn_zOq2D3fFGT2SlfhqJWU2DEq8YvSNsWC55T4hLEgV9bkPKJsRzYoAiROrz7zubmksCkb9nW0ZKTn7vAHGAo"}' + headers: + Accept: + - application/json + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '391' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340/unwrapkey?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP-256", "value": "HeKxE8knM90AISRkm3espHv0hAFOfaM4GpbE-XheGvYFpLHSHW1upIH0FJKR43TyEZKT7cBa28yJnGzQeAMJgArky-lTEMAqTRW7nvV3Cwslt1BHoGERXKWhAo5mP_DRBz6xS2aXJtkdi71PUsGA_hHZUL54_2v91t406lZ7Zb6ylXNitp9stx4-CBfNnJQD9EnVkEuM7BPVC8pxhiTDWLp4oKUISHMDXljdZpKyFH7WdqOCislZsM5JCqx4w15m1OcHGlxShl3epkfndTYkuT4b5MzI9Ch6d2EfeF7AtcXtUm7grnkMz4A0zS3CbNHNBRYWM3hSYAhcDWfJ2Frq1mZ182PzIt2mutO9LkRlv24GeLBjMtFeJiiYqr-YXjkJ-FhlbOygNE2iBuAboNvDNNLCfIsA0Y-bY-9lCGoKGfjftwlto5Eon1r-ToaBVN_lIF6elnidDOR-MkQT7ixzeRBoaXXQieO7yovGcNrWAOgyS9bKX67bIB09EieDqIn3eHVkRuD3XVcJSN8lsm5CtpaCr0JZgq5DupZ-PRPWZISzo4foOQkD5G4M7C4B3Cnl4bxOLsRuINE-_okPSreJ3FN1hGl5OU00xbFFXEBrOPPPjlkPC7tEzPooyl_DwLOwccKvfuYD0o3ArwVlnVfcR7zJ3A9RacD2x8aBqtNrSeQ"}' + headers: + Accept: + - application/json + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '391' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340/unwrapkey?api-version=7.2-preview +- request: + body: '{"alg": "RSA1_5", "value": "ACsNl1x3ZoONreoTPePqQEoV8zhgni2fCgz6RhDAxp251PMyY1AQdlJ5vKVtNMnD4I7x-dV1FUWdywoegvneWKuXA2fdSihQb4xR0g1idPt6nG7RlYHGTXBPLOqwnOzPE-Se4vMZUMyMau991E1jmGd7zukLgOnex4_Wu1yGWcZvR1fF6gCEgFshfyzFOwmLXN35W50x9a7sJLbGQwtvS_Pos8pI6AE2MLCN-RWJq9LBDPFAKZKpRzEKvgPGOevc3o_mL7z50k4LAWI7qO7D80vietwqTZmADHtl5CduvIEVMRNbl9QIt-90xPPRLNDLe8M87lMSg1RjXtmtHlGCDIBdEeYgOL94OdyztoBw2q55NRNJ0IcPN1E_558k7gDosseBhjRsRIjmTALvfhP4JRQdu04zqkg0uzGhREiunueiV4GEl9Z9_lj9HR7nC5984ww374lxc4t6UT7gPJrTHHmFIB-KeeHS1gyYqgNtfD-b9a6ONVGY6kYm-Qzi_Cb337cqS4nVzvDX60PbfArkGJPcte3qvgMUZJAZtKG2b8jbgsmNEvo5z6be-mDj6dp77Up4VRHgsHCadE32gMtndsLRIC6V08GTzsvUDY_10uC8Vo8WMwrIUgLkhxDVs8TsEJyIbOygaGs-RFvMBPHpoDRCUJdtmj7nskxR-TwDOcE"}' + headers: + Accept: + - application/json + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '391' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:44 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-local808a16d6/b554e429c9bf49d5b43d9d8e050d6340/unwrapkey?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_mhsm.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_mhsm.yaml new file mode 100644 index 000000000000..f7853759f6d1 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_mhsm.yaml @@ -0,0 +1,157 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/create?api-version=7.2-preview + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + www-authenticate: Bearer authorization="https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://managedhsm.azure.net" + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-server-latency: '1' + status: + code: 401 + message: Unauthorized + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/create?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA-HSM"}' + headers: + Accept: + - application/json + Content-Length: + - '36' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/create?api-version=7.2-preview + response: + body: + string: '{"attributes":{"created":1616196467,"enabled":true,"exportable":false,"recoverableDays":90,"recoveryLevel":"Recoverable+Purgeable","updated":1616196467},"key":{"e":"AQAB","key_ops":["wrapKey","decrypt","encrypt","unwrapKey","sign","verify"],"kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6","kty":"RSA-HSM","n":"jh-RN3laf1q74M1I5KQtwOOw76zOqWnbq1nnacflQcLXfqocfH4QklETphsO31sWYeeX1QLIEdfPhr7MrXpVE30AxDpBzjy3UuBBOTGEs8FM3YqvmSR05bLZRGtwDnqJeGbYkRf-iAYsRSlu7iN1dMrcJwfGQLXOYT_F74Mi98I19f7nK8FZxKFz1vofsP2usUg9lbnWlxqDTm0m5v7HLQTB3tF_LQV1P-oBzcEXUZ5AB4R2TK0H2dPiqCG7x-YWf1bPmL44unkQqdStKkyGDA0G1mE92bIqPJea8iI_xebTwCYvhE1O1vF-DfwGMmBpBBEcKeRI8xeH7uFie8sRpw1J-Z8Yi2u3x4wcb_cljx-dyv4kN71dWhC8vbZvyh9csvBzg1I-SK2oGydv9y4oyk02LFpU3ZI-InZqQIzwtbYfZ_7i5HGQzBSLLKsfVUkh0QHhLhj7F0nude1c6dMwBRQwsJEOhsQE0XQ5aPSPMyl4aFZeAtUs-WRTn_qIgJC5vY5I6VvGlP4zyoAPkyKLayXChIzxAcW5fqwqw4m_5R3vcGso7_1Q4CR9BWd_or9iW_gkSlBvM8U7FxOUr1d9GT5WhLS7vJGE6AVNocg1mbvF6MXzSfV9ww26VZwizyQWeiU-nZ527fJlLvkgyBqbcjwNJLz7U_mISwsNwg_N4x8"}}' + headers: + cache-control: no-cache + content-length: '1068' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '252' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/create?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "TC5iCCQbG3kwvfyIW0Qvk3zJentbqn16tzU9mJ8hl3_uJCQnxSQEshV7x0pGd5Blhoxil6Y0_BTyF000IHlF9J8u_eMAzdpjP-orQoRxmB7UARW--Zhfy4oA1TcSv0i7R3IEHfZF_XeEFgFlrbTRjLdZKYf0Omn38IZGZc87dSNyVi7nPHjg7kbkMKsc1CUqhmdd0deRtfXYnee-lIWdfAIBQ8aZ4jxrkx7klMuuY8F7vGdlSunF3g6sSXu_1l8cdv5uU-WM1eernSCqHjcr5QjfkYBxkbmEDKvA1uwaqc_hkvrdIBMYh_qd2Fn54zmJR8rmwjG-3Wgt-ttTMaMdW8OTRdvUC-rJZHWlTEr_5HxNJL-wd7LY5DTXgocqXKrY00WKniODKqs2T8Xbn6Q4p3b0Piyblzq1bwvb2wzEeMEQOQKfuG1d3P6MyO6mx_OCyJPbPlfnuvw3R3mWFhtwFJ1Nhq6EX4kbXEbHQT8iwG2gr1_oybcYzwbJAl_ymnjjgTTXiKUTwkby-P30TEfW6Xr7JSz3vkFRZbBjoLL6NqTUw1CZ4NlkG5_dJdgkfOKPe6JX0diOJ7FkM1lU9rB5t9oYIWmszxQLxNIQOueLnhMNRePu835h44y9NGWSr5efkFBZveNxfuhIebUFpDmIpaiQ14RcoqdyC5YHUNx65qY"}' + headers: + Accept: + - application/json + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '416' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '108' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6/unwrapkey?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP-256", "value": "F1NFHjM7Rd3n2dmoc--RXdznAEnMAHZm8Cs-E0fayDCuhLOQ9B28S8O9oUpAwYYtqFiIHxmUfD3kwRi9HaDt3JlDNuq_CeQi1qJrE92daLAUTlxdx0dz4Xx_GfDFFKFrhRAyu8gkirIuxtn1crcgGKI1yOHFp-UqSqEV8kvlES6XiKn-Qtiqz4qXn00QTx5XCVJoyPr-E-EUOjn7I76sNC2b7oByLE8UbVzz5o_KYgVeAYfp0-dK_SsIDjs8Ql7idIzZeLOn5_cYlVyeNmxClpsnLTSHs2uRfW2_9TGnh6aZ8RBr1_4jPDdlOAwXOn6mFs4cHy8yFt8AHYgyKA_PHKh1jsXjw6fjUvTrUP5nHf3NxfirFSoV3guH7UwN6amEfHr_JPg0eQv1MOQT6CIDcvCrAQ31O_fsQhtPST-3-Uj-cEZcN3Rnc5FIVZeXeyPod-1X67LTyNPrTgc-FYZVIl_pzlap6Xe0Jgu3u2zC-4X5ILbvnR9Jfmb-FwNIUboQiwYk1TlyFx2JkGXK9cHndUqHlJjkcbbOiT_ncGlR-CQT8EqyLfxu3ylIpLPcvgJuXJYy8-1y3o9VZmfAr_BsEn9p7aQqXl90eGfjbZ4iqKOQiyybHC6UbyJH7KAH2XWacDJHkeAsy3Fldw5KZcu8ebF50l04JVx2M5wx4_SdhQ0"}' + headers: + Accept: + - application/json + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA-OAEP-256","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '420' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6/unwrapkey?api-version=7.2-preview +- request: + body: '{"alg": "RSA1_5", "value": "gZvfwnUJLjGzU5N6ySJI19qk_1xCiNJPxc_OzTpIAnNEiKlqEVYq53ogRC7Ifm692tXSflH84ag2SknX_rDVv5tq0D6aYPArgcNaSYx1WvIkaF-8GQ9WPBWv5nEnb8IZROOisAM-JpDX2Q0Qg0r4tzOsd0eKiWzi0uxI1P43LJAr-JVx457nBD2RC1-xTMhVdkE506xefqc0DvZmL_wHEdRdaw4nzM0976-q5Lt2SufyZXvnwmI0vaOgv3n84l7J9i6YPb2PxgFWRxxLwwsuMLmf9AMcm4IrlsXJBvkEpSzlU_yG3sq6PtMmj9BnggBBfO3R_iBjBudsuC7GqFEs2Jusa_qRSeO6ovkMSIdR_9NQ9GvpUrdyNe2JTKt4EitD9TQc5OiMA8qabHpeXwpLNpNoVzFCE29ZIQMfrdWl8_qVUZwd-umUst49uLkWEOiXJl_a8lh6budTofc1A1NzshWS_IeoMdI7UByRqOS8BODLsFw_wp9pATVksJybK2bfNqy9t7Aln8EPnSEm7yHFdix30q9nRL7krH1OdtQcTW7vl2Jd6414h002UADPnSv7r1ou-mz95c9iZoFZrlGgueir-ZkKXoLClXDjam1fVx5cgrBw8vU41U0QXM86rrUg6G7pNgJxGx5Cjugy5C-_wssIe9-HwZMyrkkHTJL4U3U"}' + headers: + Accept: + - application/json + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"alg":"RSA1_5","kid":"https://managedhsmname.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '414' + content-security-policy: default-src 'self' + content-type: application/json; charset=utf-8 + strict-transport-security: max-age=31536000; includeSubDomains + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-ms-keyvault-network-info: addr=172.92.159.124 + x-ms-keyvault-region: eastus2 + x-ms-server-latency: '13' + status: + code: 200 + message: OK + url: https://mcpatinotesthsm.managedhsm.azure.net/keys/livekvtestwrap-localaf7512a1/0e5882b97bc6467da28933af89071be6/unwrapkey?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_vault.yaml b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_vault.yaml new file mode 100644 index 000000000000..2786f5d5fc35 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/recordings/test_crypto_client_async.test_wrap_local_vault.yaml @@ -0,0 +1,170 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localc29f1318/create?api-version=7.2-preview + 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: Fri, 19 Mar 2021 23:27:50 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 401 + message: Unauthorized + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-localc29f1318/create?api-version=7.2-preview +- request: + body: '{"key_size": 4096, "kty": "RSA"}' + headers: + Accept: + - application/json + Content-Length: + - '32' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localc29f1318/create?api-version=7.2-preview + response: + body: + string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nZlc6dgmAjbc5x-t6z_4N6ljPvfCp_2KIfxBMXmcb4LqnxcgxVT480elvw-bkNDgfJA7tgwv8Sof2b4VHj3BSUMGolJa-IQBi9atN7QAuPK1fiiG-Dp8wkNA7a1IvSotijI81w578qaq7sv_4MRWt1Ux3x1p8W0USRrH5AMb4E_k9FR84_5skJQftRg-BcycEApfl81yX78vfOIqeKYbQ40mw3PGJfBeLkdccJ3PiTaFomqkaeG9uyN9v6NMvYM6HM09qwJ7BvIIQFHKENhTqtqrkQfbtD8TFYPBdKI4lCKGoIDGxW1ulI8stv8YJ0Nu1xFfl2eMMHndDctzX9LU2nfms27yXZQm0zq8hxOgL5rOFaaVfcDkcLCHXfQklSxaKBpqBu3g3DWxvMo9_onTLoRGS_9-eKwxbwEI7qT7S1SftoUxIBbUwArLgD9zOdQZIgQh5rYPmLt3LwnV7oOusqVmjeo7G0zFlygLSbsJMQF7nNWocq6rIPbynmdF7pyIR8z0sBxoMngYDJUwX5tum3_0q8J_Llwr66x29KRM2QjcWgkvJmbeJNR_C9LjO6HMdRnfe2OPj9FxWYPp_AS1v3bbWbuY3etNQyo2G_W-5mVo48EcYa44AHEr76lOp5YZsfkzDWAtroYfZawABrmnlfXButdTOuYht_V4U9miY4U","e":"AQAB"},"attributes":{"enabled":true,"created":1616196471,"updated":1616196471,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' + headers: + cache-control: no-cache + content-length: '1037' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:52 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-localc29f1318/create?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP", "value": "DQpHVfCEsFDt0iqlVkyCpgtim14iYqFlQFTCuVRswewpKIHv5vdz-ZLvgaZ3e5Z6jl5YVI2MsAYfGp9bk9qmPDu892Xwyya9cT1zmANqO9lCc3lQn0cnvV92b8Kmr-35seIwcQlHm3cBtb0owDqIGMjORUiIROvJ-wLtOgmPVjzYbWRmDrXcPE-B-pv-82-yOHNI-JoTzk1BpdEhs8yuUW5r50EWYRbJaFGcOm6ExRRqcCmgQthe8tS-9vfqb_BeEnkLfC1UHWnW75kNvysCMvMqWsP01ylgSxRD_9mjP6G-FfzuvbO2zBygRoTyV0td-ny4qFzTJshiL2ovCJOCCMQkkqz0tRVcQLZPhefeiL1LozX_LDUpJTwKdawVQq_7bXFveDkMIc54WRljgp8cgNZhR9ci8TgmoQgLbljye2MIM4QWem7gm1c53lWRO2nNbzaiiJKob7o4_k7HN-DMHQ4qycgXwkQHVVlyCG2pGGjPcShM0rhfKSzv4NY8jTYmtAKnQlpDWMoPSLjlwEW-b8x6xW7uw8v0LaF9RA258UGk-aGO1RepunmrXQYuXK9YIo74UkLKRMs13P0G0YtBLxgQcxf11RdolOe3CDL-AA7AGCCZoQagf_7dfSrCZwQVQMriAcXu1i_A2hfcdRXWOFXI7jPpbDoCp5-YMoUYXvA"}' + headers: + Accept: + - application/json + Content-Length: + - '715' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '391' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c/unwrapkey?api-version=7.2-preview +- request: + body: '{"alg": "RSA-OAEP-256", "value": "U4RXovTFxyASI82RLLZhUNuvP0puKoqgQMesyn_tvh8jfPtai3BqSy2N3oIfWDrC76To3n5xKo3RrPVCPhmiMIReFyXqFLbBruK09sUq5ziLlEdAS35P6HOYuMm3_eODBzRQ7Rp2ElfO5QRYKO3PIVDvbzDfRNfr67ftyDPnaC8f8VrDkg6lgxABJCkSfgocMblhU3b5PzBC1ttATn1UWA5X-Zc9z6zAU7oCqdopaPgeQoDKSjxCqAbIfYh6D_9E0vavDNB3mMB_bIeViqA9tGTxFLuAo6tAl-FTy4jU8WE8o2WFpsdEYQig66-f1r_VdJCiurcki5FpDgwNMgONexmNnSokp_3iYXG8LzN5Z10_PSO3V2G0StRm311yDt5jjGBk0b3uww3qZJJ036KjgZ4_UNVl9HSD1QC4rwvGDvUwnOgmz8HL75ojNv2r-rvTo1BUQpSonau8jmHMiG8lBdFlTOfr08HkfvaknaWk7g6vHpqObpKKEtP37XchpeuK_4QH-phB2ujhr2DWZZJ33T5-tcgJ0CgAjMKOTBLJPp5L3YnqVdjl3yL4QfuKBt2eZaW0M7QoMNAC2XO6p0I234LYxCMiVloPdDC-UwIDKaSiZXnri5NOPlNdLzOkFbqYtEcOmz4mP3hlMAR__rOixidYddLROLGrh4yxYnEizY8"}' + headers: + Accept: + - application/json + Content-Length: + - '719' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '391' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c/unwrapkey?api-version=7.2-preview +- request: + body: '{"alg": "RSA1_5", "value": "TxDU2fWSHOP-svFmz4sfT-0i47kPP1_q9blOouWkDiwuKVuquXPezNxuu37HNSDiMDl9g5eGachd5X2_XKjdhKnRpA9N3ppGDZlWE2tNf-NcAPDTj96dEtZRyUDHMiCElNYrJxrcrVH2rie4kLDQQhcW4fZ233hN29zKbGJQw9J3xfxr_Tzca6B63LFC1n0YXjMU6rnj5oxPVMh7wp9fy9Uk_KbKx8eRyuaVeF7AXFVlIIM_AyZy7TKx2sUZs6DRn_fI4ytRXjLW4Q3cj-YlsrFp0QrO-ZP9JcQiiMr3vhXJd2bBpg-p3ggi4HugIjojIPpTelKXoqhVurpSWvXYMGBcyQuXhbCD69NXspdvPQYjHYuSfRgVJV3vKKeOybkI8f-WOd9Zzd6MTwA4dTmpB948S5LQu2W1XD8YKqkgdRXt4kMITBZaY77ML-qpiWmyEeqXf1ujviIeH962GqmC0Na-LVQRoeUKLontzTXhCuMkzZzlwrlLs4_KsynG0bGlJetllq0hbv-aQCvr9CLH6k1-wE44A-mF4UDupcObQL2Q7qUUlCZGnCsuU3QKl0Idc6SLL-2CTAZ6hrvvT0JNorifhXTlPn3skTS9XPU2zB_ZmNLCGBEqNLhH5yKzpi9OoXSUKM2jMJpKOV1WZ9KF4CDP9N8MZxn3fgZj2NqpuMU"}' + headers: + Accept: + - application/json + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - azsdk-python-keyvault-keys/4.4.0b4 Python/3.5.3 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://vaultname.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c/unwrapkey?api-version=7.2-preview + response: + body: + string: '{"kid":"https://vaultname.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c","value":"NTA2M2U2YWFhODQ1ZjE1MDIwMDU0Nzk0NGZkMTk5Njc5Yzk4ZWQ2Zjk5ZGEwYTBiMmRhZmVhZjFmNDY4NDQ5NmZkNTMyYzFjMjI5OTY4Y2I5ZGVlNDQ5NTdmY2VmN2NjZWY1OWNlZGEwYjM2MmU1NmJjZDc4ZmQzZmFlZTU3ODFjNjIzYzBiYjIyYjM1YmVhYmRlMDY2NGZkMzBlMGU4MjRhYmEzZGQxYjBhZmZmYzRhM2Q5NTVlZGUyMGNmNmE4NTRkNTJjZmQ"}' + headers: + cache-control: no-cache + content-length: '391' + content-type: application/json; charset=utf-8 + date: Fri, 19 Mar 2021 23:27:53 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=172.92.159.124;act_addr_fam=InterNetwork; + x-ms-keyvault-region: eastus2 + x-ms-keyvault-service-version: 1.2.205.0 + x-powered-by: ASP.NET + status: + code: 200 + message: OK + url: https://mcpatinotest.vault.azure.net/keys/livekvtestwrap-localc29f1318/1708c821e7ee4542af5d2be311d92c3c/unwrapkey?api-version=7.2-preview +version: 1 diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py index 8bc6c5a18cf6..53ceb8ffa83d 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py @@ -19,6 +19,8 @@ from azure.keyvault.keys._shared import HttpChallengeCache from azure.mgmt.keyvault.models import KeyPermissions, Permissions from devtools_testutils import PowerShellPreparer +from six.moves.urllib_parse import urlparse +from parameterized import parameterized, param import pytest from _shared.helpers_async import get_completed_future @@ -34,11 +36,28 @@ # without keys/get, a CryptographyClient created with a key ID performs all ops remotely NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) +def suffixed_test_name(testcase_func, param_num, param): + suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" + return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) + class CryptoClientTests(KeyVaultTestCase): def __init__(self, *args, **kwargs): super().__init__(*args, match_body=False, custom_request_matchers=[json_attribute_matcher], **kwargs) + def setUp(self, *args, **kwargs): + self.managed_hsm_url = None + playback_url = "https://managedhsmname.managedhsm.azure.net" + if self.is_live: + self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") + if self.managed_hsm_url: + real = urlparse(self.managed_hsm_url) + playback = urlparse(playback_url) + self.scrubber.register_name_pair(real.netloc, playback.netloc) + else: + self.managed_hsm_url = playback_url + super(CryptoClientTests, self).setUp(*args, **kwargs) + def tearDown(self): HttpChallengeCache.clear() assert len(HttpChallengeCache._cache) == 0 @@ -56,6 +75,11 @@ def create_crypto_client(self, key, **kwargs): credential = self.get_credential(CryptographyClient, is_async=True) return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) + def _should_skip_test(self, is_hsm): + if self.is_live and is_hsm: + return self.managed_hsm_url is None # skip live HSM tests if there's no HSM endpoint + return False + async def _create_rsa_key(self, client, key_name, **kwargs): key_ops = ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"] hsm = kwargs.get("hardware_protected") or False @@ -83,7 +107,9 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertTrue(kid.index(prefix) == 0, "Key Id should start with '{}', but value is '{}'".format(prefix, kid)) self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") - self.assertEqual(key_ops, key.key_ops, "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops)) + self.assertEqual( + key_ops.sort(), key.key_ops.sort(), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) + ) self.assertTrue( key_attributes.properties.created_on and key_attributes.properties.updated_on, "Missing required date attributes.", @@ -101,14 +127,14 @@ def _validate_ec_key_bundle(self, key_curve, key_attributes, vault, key_name, kt "Missing required date attributes.", ) - async def _import_test_key(self, client, name): + async def _import_test_key(self, client, name, hardware_protected=False): def _to_bytes(hex): if len(hex) % 2: hex = "0{}".format(hex) return codecs.decode(hex, "hex_codec") key = JsonWebKey( - kty="RSA", + kty="RSA-HSM" if hardware_protected else "RSA", key_ops=["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"], n=_to_bytes( "00a0914d00234ac683b21b4c15d5bed887bdc959c2e57af54ae734e8f00720d775d275e455207e3784ceeb60a50a4655dd72a7a94d271e8ee8f7959a669ca6e775bf0e23badae991b4529d978528b4bd90521d32dd2656796ba82b6bbfc7668c8f5eeb5053747fd199319d29a8440d08f4412d527ff9311eda71825920b47b1c46b11ab3e91d7316407e89c7f340f7b85a34042ce51743b27d4718403d34c7b438af6181be05e4d11eb985d38253d7fe9bf53fc2f1b002d22d2d793fa79a504b6ab42d0492804d7071d727a06cf3a8893aa542b1503f832b296371b6707d4dc6e372f8fe67d8ded1c908fde45ce03bc086a71487fa75e43aa0e0679aa0d20efe35" @@ -146,11 +172,17 @@ async def _import_symmetric_test_key(self, client, name): imported_key = await client.import_key(name, key) return imported_key + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_ec_key_id(self, azure_keyvault_url, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) - key = await self._create_ec_key(key_client, self.get_resource_name("eckey")) + key = await self._create_ec_key(key_client, self.get_resource_name("eckey"), hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key.id) await crypto_client._initialize() @@ -161,11 +193,17 @@ async def test_ec_key_id(self, azure_keyvault_url, **kwargs): await crypto_client.verify(SignatureAlgorithm.es256, hashlib.sha256(self.plaintext).digest(), self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_rsa_key_id(self, azure_keyvault_url, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) - key = await self._create_rsa_key(key_client, self.get_resource_name("rsakey")) + key = await self._create_rsa_key(key_client, self.get_resource_name("rsakey"), hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key.id) await crypto_client._initialize() @@ -178,12 +216,18 @@ async def test_rsa_key_id(self, azure_keyvault_url, **kwargs): await crypto_client.verify(SignatureAlgorithm.rs256, hashlib.sha256(self.plaintext).digest(), self.plaintext) await crypto_client.wrap_key(KeyWrapAlgorithm.rsa_oaep, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) key_name = self.get_resource_name("keycrypt") - imported_key = await self._import_test_key(key_client, key_name) + imported_key = await self._import_test_key(key_client, key_name, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(imported_key.id) result = await crypto_client.encrypt(EncryptionAlgorithm.rsa_oaep, self.plaintext) @@ -194,8 +238,14 @@ async def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): self.assertEqual(EncryptionAlgorithm.rsa_oaep, result.algorithm) self.assertEqual(self.plaintext, result.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_sign_and_verify(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) key_name = self.get_resource_name("keysign") @@ -203,7 +253,7 @@ async def test_sign_and_verify(self, azure_keyvault_url, **kwargs): md.update(self.plaintext) digest = md.digest() - imported_key = await self._import_test_key(key_client, key_name) + imported_key = await self._import_test_key(key_client, key_name, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(imported_key.id) result = await crypto_client.sign(SignatureAlgorithm.rs256, digest) @@ -214,12 +264,18 @@ async def test_sign_and_verify(self, azure_keyvault_url, **kwargs): self.assertEqual(result.algorithm, SignatureAlgorithm.rs256) self.assertTrue(verified.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) key_name = self.get_resource_name("keywrap") - created_key = await self._create_rsa_key(key_client, key_name) + created_key = await self._create_rsa_key(key_client, key_name, hardware_protected=is_hsm) self.assertIsNotNone(created_key) crypto_client = self.create_crypto_client(created_key.id) @@ -231,10 +287,13 @@ async def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): result = await crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(key_bytes, result.key) + @parameterized.expand([param(is_hsm=True)], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_symmetric_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): - if self.is_live: - pytest.skip("MHSM-only algorithms can't be tested in CI yet") + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("symmetric-encrypt") @@ -272,10 +331,13 @@ async def test_symmetric_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs) else: assert result.plaintext == self.plaintext + @parameterized.expand([param(is_hsm=True)], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_symmetric_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): - if self.is_live: - pytest.skip("MHSM-only algorithms can't be tested in CI yet") + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("symmetric-kw") @@ -290,12 +352,18 @@ async def test_symmetric_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): result = await crypto_client.unwrap_key(result.algorithm, result.encrypted_key) assert result.key == self.plaintext + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_encrypt_local(self, azure_keyvault_url, **kwargs): """Encrypt locally, decrypt with Key Vault""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("encrypt-local") - key = await self._create_rsa_key(key_client, key_name, size=4096) + key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) rsa_encrypt_algorithms = [algo for algo in EncryptionAlgorithm if algo.startswith("RSA")] @@ -306,12 +374,18 @@ async def test_encrypt_local(self, azure_keyvault_url, **kwargs): result = await crypto_client.decrypt(result.algorithm, result.ciphertext) self.assertEqual(result.plaintext, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): """Encrypt locally, decrypt with Key Vault""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("encrypt-local") - key = await self._create_rsa_key(key_client, key_name, size=4096) + key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) local_client = CryptographyClient.from_jwk(key.key) @@ -323,12 +397,18 @@ async def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): result = await crypto_client.decrypt(result.algorithm, result.ciphertext) self.assertEqual(result.plaintext, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_wrap_local(self, azure_keyvault_url, **kwargs): """Wrap locally, unwrap with Key Vault""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("wrap-local") - key = await self._create_rsa_key(key_client, key_name, size=4096) + key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) for wrap_algorithm in (algo for algo in KeyWrapAlgorithm if algo.startswith("RSA")): @@ -338,12 +418,18 @@ async def test_wrap_local(self, azure_keyvault_url, **kwargs): result = await crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(result.key, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): """Wrap locally, unwrap with Key Vault""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) key_name = self.get_resource_name("wrap-local") - key = await self._create_rsa_key(key_client, key_name, size=4096) + key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) local_client = CryptographyClient.from_jwk(key.key) @@ -354,13 +440,19 @@ async def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): result = await crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(result.key, self.plaintext) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) - key = await self._create_rsa_key(key_client, key_name, size=size) + key = await self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) for signature_algorithm, hash_function in ( (SignatureAlgorithm.ps256, hashlib.sha256), @@ -378,13 +470,19 @@ async def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): result = await crypto_client.verify(result.algorithm, digest, result.signature) self.assertTrue(result.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) - key = await self._create_rsa_key(key_client, key_name, size=size) + key = await self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) local_client = CryptographyClient.from_jwk(key.key) for signature_algorithm, hash_function in ( @@ -403,9 +501,15 @@ async def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): result = await local_client.verify(result.algorithm, digest, result.signature) self.assertTrue(result.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_ec_verify_local(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), @@ -416,7 +520,7 @@ async def test_ec_verify_local(self, azure_keyvault_url, **kwargs): for curve, (signature_algorithm, hash_function) in sorted(matrix.items()): key_name = self.get_resource_name("ec-verify-{}".format(curve.value)) - key = await self._create_ec_key(key_client, key_name, curve=curve) + key = await self._create_ec_key(key_client, key_name, curve=curve, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) digest = hash_function(self.plaintext).digest() @@ -427,9 +531,15 @@ async def test_ec_verify_local(self, azure_keyvault_url, **kwargs): result = await crypto_client.verify(result.algorithm, digest, result.signature) self.assertTrue(result.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), @@ -440,7 +550,7 @@ async def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): for curve, (signature_algorithm, hash_function) in sorted(matrix.items()): key_name = self.get_resource_name("ec-verify-{}".format(curve.value)) - key = await self._create_ec_key(key_client, key_name, curve=curve) + key = await self._create_ec_key(key_client, key_name, curve=curve, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) local_client = CryptographyClient.from_jwk(key.key) @@ -452,9 +562,15 @@ async def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): result = await local_client.verify(result.algorithm, digest, result.signature) self.assertTrue(result.is_valid) + @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) @KeyVaultPreparer() async def test_local_validity_period_enforcement(self, azure_keyvault_url, **kwargs): """Local crypto operations should respect a key's nbf and exp properties""" + is_hsm = kwargs.pop("is_hsm") + if self._should_skip_test(is_hsm): + pytest.skip() + azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) async def test_operations(key, expected_error_substrings, encrypt_algorithms, wrap_algorithms): crypto_client = self.create_crypto_client(key) @@ -475,21 +591,27 @@ async def test_operations(key, expected_error_substrings, encrypt_algorithms, wr rsa_wrap_algorithms = [algo for algo in KeyWrapAlgorithm if algo.startswith("RSA")] rsa_encryption_algorithms = [algo for algo in EncryptionAlgorithm if algo.startswith("RSA")] key_name = self.get_resource_name("rsa-not-yet-valid") - not_yet_valid_key = await self._create_rsa_key(key_client, key_name, not_before=the_year_3000) + not_yet_valid_key = await self._create_rsa_key( + key_client, key_name, not_before=the_year_3000, hardware_protected=is_hsm + ) await test_operations(not_yet_valid_key, [str(the_year_3000)], rsa_encryption_algorithms, rsa_wrap_algorithms) # nor should they succeed with a key whose exp has passed the_year_2000 = datetime(2000, 1, 1, tzinfo=_UTC) key_name = self.get_resource_name("rsa-expired") - expired_key = await self._create_rsa_key(key_client, key_name, expires_on=the_year_2000) + expired_key = await self._create_rsa_key( + key_client, key_name, expires_on=the_year_2000, hardware_protected=is_hsm + ) await test_operations(expired_key, [str(the_year_2000)], rsa_encryption_algorithms, rsa_wrap_algorithms) # when exp and nbf are set, error messages should contain both the_year_3001 = datetime(3001, 1, 1, tzinfo=_UTC) key_name = self.get_resource_name("rsa-valid") - valid_key = await self._create_rsa_key(key_client, key_name, not_before=the_year_3000, expires_on=the_year_3001) + valid_key = await self._create_rsa_key( + key_client, key_name, not_before=the_year_3000, expires_on=the_year_3001, hardware_protected=is_hsm + ) await test_operations( valid_key, (str(the_year_3000), str(the_year_3001)), rsa_encryption_algorithms, rsa_wrap_algorithms ) From 26a14cf2ad2e1c3ec2d44be97613b23e91f83898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Fri, 19 Mar 2021 17:50:20 -0700 Subject: [PATCH 05/12] Add HSM config to live keys tests --- .../azure-keyvault-keys/platform-matrix.json | 17 +++++++++++++++++ sdk/keyvault/tests.yml | 6 ++++++ 2 files changed, 23 insertions(+) create mode 100644 sdk/keyvault/azure-keyvault-keys/platform-matrix.json diff --git a/sdk/keyvault/azure-keyvault-keys/platform-matrix.json b/sdk/keyvault/azure-keyvault-keys/platform-matrix.json new file mode 100644 index 000000000000..9d6571f4b0ee --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/platform-matrix.json @@ -0,0 +1,17 @@ +{ + "include": [ + { + "Agent": { + "ubuntu-18.04": { + "OSVmImage": "MMSUbuntu18.04", + "Pool": "azsdk-pool-mms-ubuntu-1804-general" + } + }, + "HSM": { + "ArmTemplateParameters": "@{ enableHsm = $true }" + }, + "PythonVersion": "3.9", + "CoverageArg": "" + } + ] +} diff --git a/sdk/keyvault/tests.yml b/sdk/keyvault/tests.yml index 668392604fa6..1a078dae855a 100644 --- a/sdk/keyvault/tests.yml +++ b/sdk/keyvault/tests.yml @@ -17,6 +17,12 @@ stages: JobName: ${{ replace(service, '-', '_') }} DeployArmTemplate: true AllocateResourceGroup: true + ${{ if eq(service, 'azure-keyvault-keys') }}: + AdditionalMatrixConfigs: + - Name: keyvault_test_matrix_addons + Path: sdk/keyvault/azure-keyvault-keys/platform-matrix.json + Selection: sparse + GenerateVMJobs: true EnvVars: AZURE_TEST_RUN_LIVE: true AZURE_SUBSCRIPTION_ID: $(azure-subscription-id) From b473e2bf479cc34afa22cff108908e47a06c66f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Wed, 24 Mar 2021 16:00:13 -0700 Subject: [PATCH 06/12] Shared keys test classes --- .../azure-keyvault-keys/tests/_test_case.py | 52 +++++++++++++++++++ .../tests/_test_case_async.py | 52 +++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/_test_case.py create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py new file mode 100644 index 000000000000..be4a6b2c47e4 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py @@ -0,0 +1,52 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +import os + +from azure.keyvault.keys import KeyClient +from azure.keyvault.keys.crypto import CryptographyClient +from azure.keyvault.keys._shared import HttpChallengeCache +from parameterized import parameterized +import pytest +from six.moves.urllib_parse import urlparse + +from _shared.test_case import KeyVaultTestCase + + +def suffixed_test_name(testcase_func, param_num, param): + suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" + return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) + + +class KeysTestCase(KeyVaultTestCase): + def setUp(self, *args, **kwargs): + playback_url = "https://managedhsmname.managedhsm.azure.net" + if self.is_live: + self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") + if self.managed_hsm_url: + real = urlparse(self.managed_hsm_url) + playback = urlparse(playback_url) + self.scrubber.register_name_pair(real.netloc, playback.netloc) + else: + self.managed_hsm_url = playback_url + super(KeysTestCase, self).setUp(*args, **kwargs) + + def tearDown(self): + HttpChallengeCache.clear() + assert len(HttpChallengeCache._cache) == 0 + super(KeysTestCase, self).tearDown() + + def create_key_client(self, vault_uri, **kwargs): + credential = self.get_credential(KeyClient) + return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) + + def create_crypto_client(self, key, **kwargs): + credential = self.get_credential(CryptographyClient) + return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) + + def _skip_if_not_configured(self, is_hsm): + if self.is_live and is_hsm: + if self.managed_hsm_url is None: + pytest.skip("No HSM endpoint for live testing") + return False diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py new file mode 100644 index 000000000000..5bc6ce96cf51 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py @@ -0,0 +1,52 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +import os +from urllib.parse import urlparse + +from azure.keyvault.keys.aio import KeyClient +from azure.keyvault.keys.crypto.aio import CryptographyClient +from azure.keyvault.keys._shared import HttpChallengeCache +from parameterized import parameterized +import pytest + +from _shared.test_case_async import KeyVaultTestCase + + +def suffixed_test_name(testcase_func, param_num, param): + suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" + return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) + + +class KeysTestCase(KeyVaultTestCase): + def setUp(self, *args, **kwargs): + playback_url = "https://managedhsmname.managedhsm.azure.net" + if self.is_live: + self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") + if self.managed_hsm_url: + real = urlparse(self.managed_hsm_url) + playback = urlparse(playback_url) + self.scrubber.register_name_pair(real.netloc, playback.netloc) + else: + self.managed_hsm_url = playback_url + super().setUp(*args, **kwargs) + + def tearDown(self): + HttpChallengeCache.clear() + assert len(HttpChallengeCache._cache) == 0 + super().tearDown() + + def create_key_client(self, vault_uri, **kwargs): + credential = self.get_credential(KeyClient, is_async=True) + return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) + + def create_crypto_client(self, key, **kwargs): + credential = self.get_credential(CryptographyClient, is_async=True) + return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) + + def _skip_if_not_configured(self, is_hsm): + if self.is_live and is_hsm: + if self.managed_hsm_url is None: + pytest.skip("No HSM endpoint for live testing") + return False From 9e1e0abf77b507e8abb62fe5d0ec3633c9d4908a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Wed, 24 Mar 2021 16:00:42 -0700 Subject: [PATCH 07/12] Refactor tests --- .../tests/test_crypto_client.py | 104 ++++-------------- .../tests/test_crypto_client_async.py | 102 ++++------------- .../tests/test_key_client.py | 88 ++++----------- .../tests/test_keys_async.py | 88 ++++----------- 4 files changed, 91 insertions(+), 291 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py index df4492a8f8c6..08fe7ea92e09 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py @@ -6,7 +6,6 @@ from datetime import datetime import functools import hashlib -import os import time try: @@ -16,18 +15,16 @@ from azure.core.exceptions import AzureError, HttpResponseError from azure.core.pipeline.policies import SansIOHTTPPolicy -from azure.keyvault.keys import JsonWebKey, KeyClient, KeyCurveName, KeyOperation, KeyVaultKey +from azure.keyvault.keys import JsonWebKey, KeyCurveName, KeyOperation, KeyVaultKey from azure.keyvault.keys.crypto import CryptographyClient, EncryptionAlgorithm, KeyWrapAlgorithm, SignatureAlgorithm from azure.keyvault.keys.crypto._key_validity import _UTC -from azure.keyvault.keys._shared import HttpChallengeCache from azure.mgmt.keyvault.models import KeyPermissions, Permissions from devtools_testutils import PowerShellPreparer -from six.moves.urllib_parse import urlparse from parameterized import parameterized, param import pytest from _shared.json_attribute_matcher import json_attribute_matcher -from _shared.test_case import KeyVaultTestCase +from _test_case import KeysTestCase, suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -38,52 +35,17 @@ # without keys/get, a CryptographyClient created with a key ID performs all ops remotely NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) -def suffixed_test_name(testcase_func, param_num, param): - suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" - return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) - -class CryptoClientTests(KeyVaultTestCase): +class CryptoClientTests(KeysTestCase): def __init__(self, *args, **kwargs): kwargs["match_body"] = False kwargs["custom_request_matchers"] = [json_attribute_matcher] super(CryptoClientTests, self).__init__(*args, **kwargs) - def setUp(self, *args, **kwargs): - self.managed_hsm_url = None - playback_url = "https://managedhsmname.managedhsm.azure.net" - if self.is_live: - self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") - if self.managed_hsm_url: - real = urlparse(self.managed_hsm_url) - playback = urlparse(playback_url) - self.scrubber.register_name_pair(real.netloc, playback.netloc) - else: - self.managed_hsm_url = playback_url - super(CryptoClientTests, self).setUp(*args, **kwargs) - - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(CryptoClientTests, self).tearDown() - plaintext = b"5063e6aaa845f150200547944fd199679c98ed6f99da0a0b2dafeaf1f4684496fd532c1c229968cb9dee44957fcef7ccef59ceda0b362e56bcd78fd3faee5781c623c0bb22b35beabde0664fd30e0e824aba3dd1b0afffc4a3d955ede20cf6a854d52cfd" iv = codecs.decode("89b8adbfb07345e3598932a09c517441", "hex_codec") aad = b"test" - def create_key_client(self, vault_uri, **kwargs): - credential = self.get_credential(KeyClient) - return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) - - def create_crypto_client(self, key, **kwargs): - credential = self.get_credential(CryptographyClient) - return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) - - def _should_skip_test(self, is_hsm): - if self.is_live and is_hsm: - return self.managed_hsm_url is None # skip live HSM tests if there's no HSM endpoint - return False - def _create_rsa_key(self, client, key_name, **kwargs): key_ops = kwargs.get("key_operations") or ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"] hsm = kwargs.get("hardware_protected") or False @@ -112,7 +74,7 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") self.assertEqual( - key_ops.sort(), key.key_ops.sort(), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) + sorted(key_ops), sorted(key.key_ops), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) ) self.assertTrue( key_attributes.properties.created_on and key_attributes.properties.updated_on, @@ -181,8 +143,7 @@ def _import_symmetric_test_key(self, client, name): def test_ec_key_id(self, azure_keyvault_url, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -202,8 +163,7 @@ def test_ec_key_id(self, azure_keyvault_url, **kwargs): def test_rsa_key_id(self, azure_keyvault_url, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -224,8 +184,7 @@ def test_rsa_key_id(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) @@ -246,8 +205,7 @@ def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_sign_and_verify(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) @@ -272,8 +230,7 @@ def test_sign_and_verify(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) @@ -291,12 +248,10 @@ def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): result = crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(key_bytes, result.key) - @parameterized.expand([param(is_hsm=True)], name_func=suffixed_test_name) @KeyVaultPreparer() - def test_symmetric_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): - is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + def test_symmetric_encrypt_and_decrypt_mhsm(self, azure_keyvault_url, **kwargs): + is_hsm = True + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -335,12 +290,10 @@ def test_symmetric_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): else: assert result.plaintext == self.plaintext - @parameterized.expand([param(is_hsm=True)], name_func=suffixed_test_name) @KeyVaultPreparer() - def test_symmetric_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): - is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + def test_symmetric_wrap_and_unwrap_mhsm(self, azure_keyvault_url, **kwargs): + is_hsm = True + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -361,8 +314,7 @@ def test_symmetric_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): def test_encrypt_local(self, azure_keyvault_url, **kwargs): """Encrypt locally, decrypt with Key Vault""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -383,8 +335,7 @@ def test_encrypt_local(self, azure_keyvault_url, **kwargs): def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): """Encrypt locally, decrypt with Key Vault""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -406,8 +357,7 @@ def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): def test_wrap_local(self, azure_keyvault_url, **kwargs): """Wrap locally, unwrap with Key Vault""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -427,8 +377,7 @@ def test_wrap_local(self, azure_keyvault_url, **kwargs): def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): """Wrap locally, unwrap with Key Vault""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -449,8 +398,7 @@ def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -479,8 +427,7 @@ def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -510,8 +457,7 @@ def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): def test_ec_verify_local(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -540,8 +486,7 @@ def test_ec_verify_local(self, azure_keyvault_url, **kwargs): def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -571,8 +516,7 @@ def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): def test_local_validity_period_enforcement(self, azure_keyvault_url, **kwargs): """Local crypto operations should respect a key's nbf and exp properties""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py index 53ceb8ffa83d..68847020c9f8 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py @@ -13,19 +13,16 @@ from azure.core.exceptions import AzureError, HttpResponseError from azure.core.pipeline.policies import SansIOHTTPPolicy from azure.keyvault.keys import JsonWebKey, KeyCurveName, KeyOperation, KeyVaultKey -from azure.keyvault.keys.aio import KeyClient from azure.keyvault.keys.crypto._key_validity import _UTC from azure.keyvault.keys.crypto.aio import CryptographyClient, EncryptionAlgorithm, KeyWrapAlgorithm, SignatureAlgorithm -from azure.keyvault.keys._shared import HttpChallengeCache from azure.mgmt.keyvault.models import KeyPermissions, Permissions from devtools_testutils import PowerShellPreparer -from six.moves.urllib_parse import urlparse from parameterized import parameterized, param import pytest from _shared.helpers_async import get_completed_future from _shared.json_attribute_matcher import json_attribute_matcher -from _shared.test_case_async import KeyVaultTestCase +from _test_case_async import KeysTestCase, suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -36,50 +33,15 @@ # without keys/get, a CryptographyClient created with a key ID performs all ops remotely NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) -def suffixed_test_name(testcase_func, param_num, param): - suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" - return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) - -class CryptoClientTests(KeyVaultTestCase): +class CryptoClientTests(KeysTestCase): def __init__(self, *args, **kwargs): super().__init__(*args, match_body=False, custom_request_matchers=[json_attribute_matcher], **kwargs) - def setUp(self, *args, **kwargs): - self.managed_hsm_url = None - playback_url = "https://managedhsmname.managedhsm.azure.net" - if self.is_live: - self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") - if self.managed_hsm_url: - real = urlparse(self.managed_hsm_url) - playback = urlparse(playback_url) - self.scrubber.register_name_pair(real.netloc, playback.netloc) - else: - self.managed_hsm_url = playback_url - super(CryptoClientTests, self).setUp(*args, **kwargs) - - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(CryptoClientTests, self).tearDown() - plaintext = b"5063e6aaa845f150200547944fd199679c98ed6f99da0a0b2dafeaf1f4684496fd532c1c229968cb9dee44957fcef7ccef59ceda0b362e56bcd78fd3faee5781c623c0bb22b35beabde0664fd30e0e824aba3dd1b0afffc4a3d955ede20cf6a854d52cfd" iv = codecs.decode("89b8adbfb07345e3598932a09c517441", "hex_codec") aad = b"test" - def create_key_client(self, vault_uri, **kwargs): - credential = self.get_credential(KeyClient, is_async=True) - return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) - - def create_crypto_client(self, key, **kwargs): - credential = self.get_credential(CryptographyClient, is_async=True) - return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) - - def _should_skip_test(self, is_hsm): - if self.is_live and is_hsm: - return self.managed_hsm_url is None # skip live HSM tests if there's no HSM endpoint - return False - async def _create_rsa_key(self, client, key_name, **kwargs): key_ops = ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey"] hsm = kwargs.get("hardware_protected") or False @@ -108,7 +70,7 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") self.assertEqual( - key_ops.sort(), key.key_ops.sort(), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) + sorted(key_ops), sorted(key.key_ops), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) ) self.assertTrue( key_attributes.properties.created_on and key_attributes.properties.updated_on, @@ -177,8 +139,7 @@ async def _import_symmetric_test_key(self, client, name): async def test_ec_key_id(self, azure_keyvault_url, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -198,8 +159,7 @@ async def test_ec_key_id(self, azure_keyvault_url, **kwargs): async def test_rsa_key_id(self, azure_keyvault_url, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -220,8 +180,7 @@ async def test_rsa_key_id(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) @@ -242,8 +201,7 @@ async def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_sign_and_verify(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) @@ -268,8 +226,7 @@ async def test_sign_and_verify(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) @@ -287,12 +244,10 @@ async def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): result = await crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(key_bytes, result.key) - @parameterized.expand([param(is_hsm=True)], name_func=suffixed_test_name) @KeyVaultPreparer() - async def test_symmetric_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): - is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + async def test_symmetric_encrypt_and_decrypt_mhsm(self, azure_keyvault_url, **kwargs): + is_hsm = True + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -331,12 +286,10 @@ async def test_symmetric_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs) else: assert result.plaintext == self.plaintext - @parameterized.expand([param(is_hsm=True)], name_func=suffixed_test_name) @KeyVaultPreparer() - async def test_symmetric_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): - is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + async def test_symmetric_wrap_and_unwrap_mhsm(self, azure_keyvault_url, **kwargs): + is_hsm = True + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -357,8 +310,7 @@ async def test_symmetric_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): async def test_encrypt_local(self, azure_keyvault_url, **kwargs): """Encrypt locally, decrypt with Key Vault""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -379,8 +331,7 @@ async def test_encrypt_local(self, azure_keyvault_url, **kwargs): async def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): """Encrypt locally, decrypt with Key Vault""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -402,8 +353,7 @@ async def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): async def test_wrap_local(self, azure_keyvault_url, **kwargs): """Wrap locally, unwrap with Key Vault""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -423,8 +373,7 @@ async def test_wrap_local(self, azure_keyvault_url, **kwargs): async def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): """Wrap locally, unwrap with Key Vault""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -445,8 +394,7 @@ async def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): async def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -475,8 +423,7 @@ async def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): async def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -506,8 +453,7 @@ async def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): async def test_ec_verify_local(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -536,8 +482,7 @@ async def test_ec_verify_local(self, azure_keyvault_url, **kwargs): async def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url) @@ -567,8 +512,7 @@ async def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): async def test_local_validity_period_enforcement(self, azure_keyvault_url, **kwargs): """Local crypto operations should respect a key's nbf and exp properties""" is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py index 2a6eadf9489a..3f36af23d545 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py @@ -8,18 +8,14 @@ import time import logging import json -import os from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.pipeline.policies import SansIOHTTPPolicy from azure.keyvault.keys import JsonWebKey, KeyClient, KeyCurveName -from azure.keyvault.keys._shared import HttpChallengeCache from devtools_testutils import PowerShellPreparer -from six.moves.urllib_parse import urlparse from parameterized import parameterized, param -import pytest -from _shared.test_case import KeyVaultTestCase +from _test_case import KeysTestCase, suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -27,10 +23,6 @@ azure_keyvault_url="https://vaultname.vault.azure.net" ) -def suffixed_test_name(testcase_func, param_num, param): - suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" - return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) - # used for logging tests class MockHandler(logging.Handler): def __init__(self): @@ -41,34 +33,7 @@ def emit(self, record): self.messages.append(record) -class KeyClientTests(KeyVaultTestCase): - def setUp(self, *args, **kwargs): - self.managed_hsm_url = None - playback_url = "https://managedhsmname.managedhsm.azure.net" - if self.is_live: - self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") - if self.managed_hsm_url: - real = urlparse(self.managed_hsm_url) - playback = urlparse(playback_url) - self.scrubber.register_name_pair(real.netloc, playback.netloc) - else: - self.managed_hsm_url = playback_url - super(KeyClientTests, self).setUp(*args, **kwargs) - - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(KeyClientTests, self).tearDown() - - def create_client(self, vault_uri, **kwargs): - credential = self.get_credential(KeyClient) - return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) - - def _should_skip_test(self, is_hsm): - if self.is_live and is_hsm: - return self.managed_hsm_url is None # skip live HSM tests if there's no HSM endpoint - return False - +class KeyClientTests(KeysTestCase): def _assert_key_attributes_equal(self, k1, k2): self.assertEqual(k1.name, k2.name) self.assertEqual(k1.vault_url, k2.vault_url) @@ -120,7 +85,7 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") self.assertEqual( - key_ops.sort(), key.key_ops.sort(), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) + sorted(key_ops), sorted(key.key_ops), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) ) self.assertTrue( key_attributes.properties.created_on and key_attributes.properties.updated_on, @@ -135,7 +100,7 @@ def _update_key_properties(self, client, key): self.assertEqual(tags, key_bundle.properties.tags) self.assertEqual(key.id, key_bundle.id) self.assertNotEqual(key.properties.updated_on, key_bundle.properties.updated_on) - self.assertEqual(key_ops.sort(), key_bundle.key_operations.sort()) + self.assertEqual(sorted(key_ops), sorted(key_bundle.key_operations)) return key_bundle def _import_test_key(self, client, name, hardware_protected=False): @@ -178,11 +143,10 @@ def _to_bytes(hex): @KeyVaultPreparer() def test_key_crud_operations(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) # create ec key @@ -243,11 +207,10 @@ def test_key_crud_operations(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_backup_restore(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) key_name = self.get_resource_name("keybak") @@ -274,11 +237,10 @@ def test_backup_restore(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_key_list(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) max_keys = self.list_test_size @@ -302,11 +264,10 @@ def test_key_list(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_list_versions(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) key_name = self.get_resource_name("testKey") @@ -333,11 +294,10 @@ def test_list_versions(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) expected = {} @@ -368,11 +328,10 @@ def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_recover(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) # create keys @@ -399,11 +358,10 @@ def test_recover(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_purge(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) # create keys @@ -435,11 +393,10 @@ def test_purge(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_logging_enabled(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url, logging_enable=True) + client = self.create_key_client(azure_keyvault_url, logging_enable=True) mock_handler = MockHandler() logger = logging.getLogger("azure") @@ -466,11 +423,10 @@ def test_logging_enabled(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() def test_logging_disabled(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url, logging_enable=False) + client = self.create_key_client(azure_keyvault_url, logging_enable=False) mock_handler = MockHandler() logger = logging.getLogger("azure") diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py index 740b2bff7cc6..a6ee140675e5 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py @@ -8,19 +8,15 @@ import functools import json import logging -import os from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.pipeline.policies import SansIOHTTPPolicy from azure.keyvault.keys import JsonWebKey, KeyCurveName from azure.keyvault.keys.aio import KeyClient -from azure.keyvault.keys._shared import HttpChallengeCache from devtools_testutils import PowerShellPreparer -from six.moves.urllib_parse import urlparse from parameterized import parameterized, param -import pytest -from _shared.test_case_async import KeyVaultTestCase +from _test_case_async import KeysTestCase, suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -28,10 +24,6 @@ azure_keyvault_url="https://vaultname.vault.azure.net" ) -def suffixed_test_name(testcase_func, param_num, param): - suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" - return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) - # used for logging tests class MockHandler(logging.Handler): def __init__(self): @@ -42,38 +34,11 @@ def emit(self, record): self.messages.append(record) -class KeyVaultKeyTest(KeyVaultTestCase): - def setUp(self, *args, **kwargs): - self.managed_hsm_url = None - playback_url = "https://managedhsmname.managedhsm.azure.net" - if self.is_live: - self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") - if self.managed_hsm_url: - real = urlparse(self.managed_hsm_url) - playback = urlparse(playback_url) - self.scrubber.register_name_pair(real.netloc, playback.netloc) - else: - self.managed_hsm_url = playback_url - super(KeyVaultKeyTest, self).setUp(*args, **kwargs) - - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(KeyVaultKeyTest, self).tearDown() - - def create_client(self, vault_uri, **kwargs): - credential = self.get_credential(KeyClient, is_async=True) - return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) - - def _should_skip_test(self, is_hsm): - if self.is_live and is_hsm: - return self.managed_hsm_url is None # skip live HSM tests if there's no HSM endpoint - return False - +class KeyVaultKeyTest(KeysTestCase): def _assert_jwks_equal(self, jwk1, jwk2): assert jwk1.kid == jwk2.kid assert jwk1.kty == jwk2.kty - assert jwk1.key_ops.sort() == jwk2.key_ops.sort() + assert sorted(jwk1.key_ops) == sorted(jwk2.key_ops) assert jwk1.n == jwk2.n assert jwk1.e == jwk2.e assert jwk1.d == jwk2.d @@ -139,7 +104,7 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") self.assertEqual( - key_ops.sort(), key.key_ops.sort(), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) + sorted(key_ops), sorted(key.key_ops), "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops) ) self.assertTrue( key_attributes.properties.created_on and key_attributes.properties.updated_on, @@ -202,11 +167,10 @@ def _to_bytes(hex): @KeyVaultPreparer() async def test_key_crud_operations(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) # create ec key @@ -273,11 +237,10 @@ async def test_key_crud_operations(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_backup_restore(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) key_name = self.get_resource_name("keybak") @@ -304,11 +267,10 @@ async def test_backup_restore(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_key_list(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) max_keys = self.list_test_size @@ -332,11 +294,10 @@ async def test_key_list(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_list_versions(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) key_name = self.get_resource_name("testKey") @@ -363,11 +324,10 @@ async def test_list_versions(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) expected = {} @@ -399,11 +359,10 @@ async def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_recover(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) # create keys @@ -434,11 +393,10 @@ async def test_recover(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_purge(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url) self.assertIsNotNone(client) # create keys @@ -466,11 +424,10 @@ async def test_purge(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_logging_enabled(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url, logging_enable=True) + client = self.create_key_client(azure_keyvault_url, logging_enable=True) mock_handler = MockHandler() logger = logging.getLogger("azure") @@ -497,11 +454,10 @@ async def test_logging_enabled(self, azure_keyvault_url, **kwargs): @KeyVaultPreparer() async def test_logging_disabled(self, azure_keyvault_url, **kwargs): is_hsm = kwargs.pop("is_hsm") - if self._should_skip_test(is_hsm): - pytest.skip() + self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_client(azure_keyvault_url, logging_enable=False) + client = self.create_key_client(azure_keyvault_url, logging_enable=False) mock_handler = MockHandler() logger = logging.getLogger("azure") From c1e939270e190de7a762f83d78ca7b79405d13be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Wed, 24 Mar 2021 17:14:12 -0700 Subject: [PATCH 08/12] Clean up test skipping helper --- sdk/keyvault/azure-keyvault-keys/tests/_test_case.py | 6 ++---- sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py index be4a6b2c47e4..41136d24eef7 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py @@ -46,7 +46,5 @@ def create_crypto_client(self, key, **kwargs): return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) def _skip_if_not_configured(self, is_hsm): - if self.is_live and is_hsm: - if self.managed_hsm_url is None: - pytest.skip("No HSM endpoint for live testing") - return False + if self.is_live and is_hsm and self.managed_hsm_url is None: + pytest.skip("No HSM endpoint for live testing") diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py index 5bc6ce96cf51..9a3805b729b5 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py @@ -46,7 +46,5 @@ def create_crypto_client(self, key, **kwargs): return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) def _skip_if_not_configured(self, is_hsm): - if self.is_live and is_hsm: - if self.managed_hsm_url is None: - pytest.skip("No HSM endpoint for live testing") - return False + if self.is_live and is_hsm and self.managed_hsm_url is None: + pytest.skip("No HSM endpoint for live testing") From a961e5352aa7a25b981ee458a1f3cc2bfc21f157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Thu, 25 Mar 2021 16:59:29 -0700 Subject: [PATCH 09/12] Base class for KeysTestCase --- .../azure-keyvault-keys/tests/_test_case.py | 47 ++----------- .../tests/_test_case_async.py | 47 ++----------- .../tests/_test_case_base.py | 59 ++++++++++++++++ .../tests/test_crypto_client.py | 3 +- .../tests/test_crypto_client_async.py | 67 ++++++++++--------- .../tests/test_key_client.py | 3 +- .../tests/test_keys_async.py | 21 +++--- 7 files changed, 116 insertions(+), 131 deletions(-) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py index 41136d24eef7..4bb56dbcc002 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py @@ -2,49 +2,10 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -import os - -from azure.keyvault.keys import KeyClient -from azure.keyvault.keys.crypto import CryptographyClient -from azure.keyvault.keys._shared import HttpChallengeCache -from parameterized import parameterized -import pytest -from six.moves.urllib_parse import urlparse - +from _test_case_base import KeysTestCaseBase from _shared.test_case import KeyVaultTestCase -def suffixed_test_name(testcase_func, param_num, param): - suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" - return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) - - -class KeysTestCase(KeyVaultTestCase): - def setUp(self, *args, **kwargs): - playback_url = "https://managedhsmname.managedhsm.azure.net" - if self.is_live: - self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") - if self.managed_hsm_url: - real = urlparse(self.managed_hsm_url) - playback = urlparse(playback_url) - self.scrubber.register_name_pair(real.netloc, playback.netloc) - else: - self.managed_hsm_url = playback_url - super(KeysTestCase, self).setUp(*args, **kwargs) - - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(KeysTestCase, self).tearDown() - - def create_key_client(self, vault_uri, **kwargs): - credential = self.get_credential(KeyClient) - return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) - - def create_crypto_client(self, key, **kwargs): - credential = self.get_credential(CryptographyClient) - return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) - - def _skip_if_not_configured(self, is_hsm): - if self.is_live and is_hsm and self.managed_hsm_url is None: - pytest.skip("No HSM endpoint for live testing") +class KeysTestCase(KeysTestCaseBase, KeyVaultTestCase): + def __init__(self, *args, **kwargs): + super(KeysTestCase, self).__init__(*args, **kwargs) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py index 9a3805b729b5..bf24a6b0a08e 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py @@ -2,49 +2,10 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -import os -from urllib.parse import urlparse - -from azure.keyvault.keys.aio import KeyClient -from azure.keyvault.keys.crypto.aio import CryptographyClient -from azure.keyvault.keys._shared import HttpChallengeCache -from parameterized import parameterized -import pytest - +from _test_case_base import KeysTestCaseBase from _shared.test_case_async import KeyVaultTestCase -def suffixed_test_name(testcase_func, param_num, param): - suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" - return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) - - -class KeysTestCase(KeyVaultTestCase): - def setUp(self, *args, **kwargs): - playback_url = "https://managedhsmname.managedhsm.azure.net" - if self.is_live: - self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") - if self.managed_hsm_url: - real = urlparse(self.managed_hsm_url) - playback = urlparse(playback_url) - self.scrubber.register_name_pair(real.netloc, playback.netloc) - else: - self.managed_hsm_url = playback_url - super().setUp(*args, **kwargs) - - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super().tearDown() - - def create_key_client(self, vault_uri, **kwargs): - credential = self.get_credential(KeyClient, is_async=True) - return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) - - def create_crypto_client(self, key, **kwargs): - credential = self.get_credential(CryptographyClient, is_async=True) - return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) - - def _skip_if_not_configured(self, is_hsm): - if self.is_live and is_hsm and self.managed_hsm_url is None: - pytest.skip("No HSM endpoint for live testing") +class KeysTestCase(KeysTestCaseBase, KeyVaultTestCase): + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py new file mode 100644 index 000000000000..0ab9016250d7 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py @@ -0,0 +1,59 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +import os + +from azure.keyvault.keys._shared import HttpChallengeCache +from devtools_testutils import AzureTestCase +from parameterized import parameterized +import pytest +from six.moves.urllib_parse import urlparse + + +def suffixed_test_name(testcase_func, param_num, param): + suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" + return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) + + +class KeysTestCaseBase(AzureTestCase): + def setUp(self, *args, **kwargs): + playback_url = "https://managedhsmname.managedhsm.azure.net" + if self.is_live: + self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") + if self.managed_hsm_url: + real = urlparse(self.managed_hsm_url) + playback = urlparse(playback_url) + self.scrubber.register_name_pair(real.netloc, playback.netloc) + else: + self.managed_hsm_url = playback_url + super(KeysTestCaseBase, self).setUp() + + def tearDown(self): + HttpChallengeCache.clear() + assert len(HttpChallengeCache._cache) == 0 + super(KeysTestCaseBase, self).tearDown() + + def create_key_client(self, vault_uri, **kwargs): + is_async = kwargs.pop("is_async", False) + if is_async: + from azure.keyvault.keys.aio import KeyClient + credential = self.get_credential(KeyClient, is_async=is_async) + else: + from azure.keyvault.keys import KeyClient + credential = self.get_credential(KeyClient) + return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) + + def create_crypto_client(self, key,**kwargs): + is_async = kwargs.pop("is_async", False) + if is_async: + from azure.keyvault.keys.crypto.aio import CryptographyClient + credential = self.get_credential(CryptographyClient, is_async=is_async) + else: + from azure.keyvault.keys.crypto import CryptographyClient + credential = self.get_credential(CryptographyClient) + return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) + + def _skip_if_not_configured(self, is_hsm): + if self.is_live and is_hsm and self.managed_hsm_url is None: + pytest.skip("No HSM endpoint for live testing") diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py index 08fe7ea92e09..c2cd3725c907 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py @@ -24,7 +24,8 @@ import pytest from _shared.json_attribute_matcher import json_attribute_matcher -from _test_case import KeysTestCase, suffixed_test_name +from _test_case import KeysTestCase +from _test_case_base import suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py index 68847020c9f8..b903564ec946 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py @@ -22,7 +22,8 @@ from _shared.helpers_async import get_completed_future from _shared.json_attribute_matcher import json_attribute_matcher -from _test_case_async import KeysTestCase, suffixed_test_name +from _test_case_async import KeysTestCase +from _test_case_base import suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -142,10 +143,10 @@ async def test_ec_key_id(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) key = await self._create_ec_key(key_client, self.get_resource_name("eckey"), hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key.id) + crypto_client = self.create_crypto_client(key.id, is_async=True) await crypto_client._initialize() assert crypto_client.key_id == key.id @@ -162,10 +163,10 @@ async def test_rsa_key_id(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) key = await self._create_rsa_key(key_client, self.get_resource_name("rsakey"), hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key.id) + crypto_client = self.create_crypto_client(key.id, is_async=True) await crypto_client._initialize() assert crypto_client.key_id == key.id @@ -183,11 +184,11 @@ async def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET, is_async=True) key_name = self.get_resource_name("keycrypt") imported_key = await self._import_test_key(key_client, key_name, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(imported_key.id) + crypto_client = self.create_crypto_client(imported_key.id, is_async=True) result = await crypto_client.encrypt(EncryptionAlgorithm.rsa_oaep, self.plaintext) self.assertEqual(result.key_id, imported_key.id) @@ -204,7 +205,7 @@ async def test_sign_and_verify(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET, is_async=True) key_name = self.get_resource_name("keysign") md = hashlib.sha256() @@ -212,7 +213,7 @@ async def test_sign_and_verify(self, azure_keyvault_url, **kwargs): digest = md.digest() imported_key = await self._import_test_key(key_client, key_name, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(imported_key.id) + crypto_client = self.create_crypto_client(imported_key.id, is_async=True) result = await crypto_client.sign(SignatureAlgorithm.rs256, digest) self.assertEqual(result.key_id, imported_key.id) @@ -229,12 +230,12 @@ async def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET, is_async=True) key_name = self.get_resource_name("keywrap") created_key = await self._create_rsa_key(key_client, key_name, hardware_protected=is_hsm) self.assertIsNotNone(created_key) - crypto_client = self.create_crypto_client(created_key.id) + crypto_client = self.create_crypto_client(created_key.id, is_async=True) # Wrap a key with the created key, then unwrap it. The wrapped key's bytes should round-trip. key_bytes = self.plaintext @@ -250,12 +251,12 @@ async def test_symmetric_encrypt_and_decrypt_mhsm(self, azure_keyvault_url, **kw self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) key_name = self.get_resource_name("symmetric-encrypt") imported_key = await self._import_symmetric_test_key(key_client, key_name) assert imported_key is not None - crypto_client = self.create_crypto_client(imported_key.id) + crypto_client = self.create_crypto_client(imported_key.id, is_async=True) # Use 256-bit AES algorithms for the 256-bit key symmetric_algorithms = [algo for algo in EncryptionAlgorithm if algo.startswith("A256")] @@ -292,12 +293,12 @@ async def test_symmetric_wrap_and_unwrap_mhsm(self, azure_keyvault_url, **kwargs self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) key_name = self.get_resource_name("symmetric-kw") imported_key = await self._import_symmetric_test_key(key_client, key_name) assert imported_key is not None - crypto_client = self.create_crypto_client(imported_key.id) + crypto_client = self.create_crypto_client(imported_key.id, is_async=True) result = await crypto_client.wrap_key(KeyWrapAlgorithm.aes_256, self.plaintext) assert result.key_id == imported_key.id @@ -313,10 +314,10 @@ async def test_encrypt_local(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) key_name = self.get_resource_name("encrypt-local") key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key) + crypto_client = self.create_crypto_client(key, is_async=True) rsa_encrypt_algorithms = [algo for algo in EncryptionAlgorithm if algo.startswith("RSA")] for encrypt_algorithm in rsa_encrypt_algorithms: @@ -334,10 +335,10 @@ async def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) key_name = self.get_resource_name("encrypt-local") key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key) + crypto_client = self.create_crypto_client(key, is_async=True) local_client = CryptographyClient.from_jwk(key.key) rsa_encrypt_algorithms = [algo for algo in EncryptionAlgorithm if algo.startswith("RSA")] @@ -356,10 +357,10 @@ async def test_wrap_local(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) key_name = self.get_resource_name("wrap-local") key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key) + crypto_client = self.create_crypto_client(key, is_async=True) for wrap_algorithm in (algo for algo in KeyWrapAlgorithm if algo.startswith("RSA")): result = await crypto_client.wrap_key(wrap_algorithm, self.plaintext) @@ -376,10 +377,10 @@ async def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) key_name = self.get_resource_name("wrap-local") key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key) + crypto_client = self.create_crypto_client(key, is_async=True) local_client = CryptographyClient.from_jwk(key.key) for wrap_algorithm in (algo for algo in KeyWrapAlgorithm if algo.startswith("RSA")): @@ -397,11 +398,11 @@ async def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) key = await self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key) + crypto_client = self.create_crypto_client(key, is_async=True) for signature_algorithm, hash_function in ( (SignatureAlgorithm.ps256, hashlib.sha256), (SignatureAlgorithm.ps384, hashlib.sha384), @@ -426,11 +427,11 @@ async def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) key = await self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key) + crypto_client = self.create_crypto_client(key, is_async=True) local_client = CryptographyClient.from_jwk(key.key) for signature_algorithm, hash_function in ( (SignatureAlgorithm.ps256, hashlib.sha256), @@ -456,7 +457,7 @@ async def test_ec_verify_local(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), KeyCurveName.p_256_k: (SignatureAlgorithm.es256_k, hashlib.sha256), @@ -467,7 +468,7 @@ async def test_ec_verify_local(self, azure_keyvault_url, **kwargs): for curve, (signature_algorithm, hash_function) in sorted(matrix.items()): key_name = self.get_resource_name("ec-verify-{}".format(curve.value)) key = await self._create_ec_key(key_client, key_name, curve=curve, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key) + crypto_client = self.create_crypto_client(key, is_async=True) digest = hash_function(self.plaintext).digest() @@ -485,7 +486,7 @@ async def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(azure_keyvault_url, is_async=True) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), KeyCurveName.p_256_k: (SignatureAlgorithm.es256_k, hashlib.sha256), @@ -496,7 +497,7 @@ async def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): for curve, (signature_algorithm, hash_function) in sorted(matrix.items()): key_name = self.get_resource_name("ec-verify-{}".format(curve.value)) key = await self._create_ec_key(key_client, key_name, curve=curve, hardware_protected=is_hsm) - crypto_client = self.create_crypto_client(key) + crypto_client = self.create_crypto_client(key, is_async=True) local_client = CryptographyClient.from_jwk(key.key) digest = hash_function(self.plaintext).digest() @@ -515,9 +516,9 @@ async def test_local_validity_period_enforcement(self, azure_keyvault_url, **kwa self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) + key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET, is_async=True) async def test_operations(key, expected_error_substrings, encrypt_algorithms, wrap_algorithms): - crypto_client = self.create_crypto_client(key) + crypto_client = self.create_crypto_client(key, is_async=True) for algorithm in encrypt_algorithms: with pytest.raises(ValueError) as ex: await crypto_client.encrypt(algorithm, self.plaintext) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py index 3f36af23d545..10f09b45e052 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py @@ -15,7 +15,8 @@ from devtools_testutils import PowerShellPreparer from parameterized import parameterized, param -from _test_case import KeysTestCase, suffixed_test_name +from _test_case import KeysTestCase +from _test_case_base import suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py index a6ee140675e5..6d5c23e555eb 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py @@ -16,7 +16,8 @@ from devtools_testutils import PowerShellPreparer from parameterized import parameterized, param -from _test_case_async import KeysTestCase, suffixed_test_name +from _test_case_async import KeysTestCase +from _test_case_base import suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -170,7 +171,7 @@ async def test_key_crud_operations(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url, is_async=True) self.assertIsNotNone(client) # create ec key @@ -240,7 +241,7 @@ async def test_backup_restore(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url, is_async=True) self.assertIsNotNone(client) key_name = self.get_resource_name("keybak") @@ -270,7 +271,7 @@ async def test_key_list(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url, is_async=True) self.assertIsNotNone(client) max_keys = self.list_test_size @@ -297,7 +298,7 @@ async def test_list_versions(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url, is_async=True) self.assertIsNotNone(client) key_name = self.get_resource_name("testKey") @@ -327,7 +328,7 @@ async def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url, is_async=True) self.assertIsNotNone(client) expected = {} @@ -362,7 +363,7 @@ async def test_recover(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url, is_async=True) self.assertIsNotNone(client) # create keys @@ -396,7 +397,7 @@ async def test_purge(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(azure_keyvault_url, is_async=True) self.assertIsNotNone(client) # create keys @@ -427,7 +428,7 @@ async def test_logging_enabled(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_key_client(azure_keyvault_url, logging_enable=True) + client = self.create_key_client(azure_keyvault_url, logging_enable=True, is_async=True) mock_handler = MockHandler() logger = logging.getLogger("azure") @@ -457,7 +458,7 @@ async def test_logging_disabled(self, azure_keyvault_url, **kwargs): self._skip_if_not_configured(is_hsm) azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url - client = self.create_key_client(azure_keyvault_url, logging_enable=False) + client = self.create_key_client(azure_keyvault_url, logging_enable=False, is_async=True) mock_handler = MockHandler() logger = logging.getLogger("azure") From edb30f31dc5583d58b08d38080e4b1ea7712ca7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Fri, 26 Mar 2021 09:48:17 -0700 Subject: [PATCH 10/12] Simplify base class logic --- .../azure-keyvault-keys/tests/_test_case_base.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py index 0ab9016250d7..b65305152f40 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py @@ -35,20 +35,18 @@ def tearDown(self): super(KeysTestCaseBase, self).tearDown() def create_key_client(self, vault_uri, **kwargs): - is_async = kwargs.pop("is_async", False) - if is_async: + if kwargs.pop("is_async", False): from azure.keyvault.keys.aio import KeyClient - credential = self.get_credential(KeyClient, is_async=is_async) + credential = self.get_credential(KeyClient, is_async=True) else: from azure.keyvault.keys import KeyClient credential = self.get_credential(KeyClient) return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) def create_crypto_client(self, key,**kwargs): - is_async = kwargs.pop("is_async", False) - if is_async: + if kwargs.pop("is_async", False): from azure.keyvault.keys.crypto.aio import CryptographyClient - credential = self.get_credential(CryptographyClient, is_async=is_async) + credential = self.get_credential(CryptographyClient, is_async=True) else: from azure.keyvault.keys.crypto import CryptographyClient credential = self.get_credential(CryptographyClient) From 06a603b8162ac9f4d03df0bda8fb2ff2600bfb2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Fri, 26 Mar 2021 11:24:05 -0700 Subject: [PATCH 11/12] _test_case_base -> _test_case --- .../azure-keyvault-keys/tests/_test_case.py | 56 ++++++++++++++++-- .../tests/_test_case_async.py | 11 ---- .../tests/_test_case_base.py | 57 ------------------- .../tests/test_crypto_client.py | 6 +- .../tests/test_crypto_client_async.py | 6 +- .../tests/test_key_client.py | 6 +- .../tests/test_keys_async.py | 6 +- 7 files changed, 63 insertions(+), 85 deletions(-) delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py delete mode 100644 sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py index 4bb56dbcc002..62900a8919f3 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py @@ -2,10 +2,56 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -from _test_case_base import KeysTestCaseBase -from _shared.test_case import KeyVaultTestCase +import os +from azure.keyvault.keys._shared import HttpChallengeCache +from devtools_testutils import AzureTestCase +from parameterized import parameterized +import pytest +from six.moves.urllib_parse import urlparse -class KeysTestCase(KeysTestCaseBase, KeyVaultTestCase): - def __init__(self, *args, **kwargs): - super(KeysTestCase, self).__init__(*args, **kwargs) + +def suffixed_test_name(testcase_func, param_num, param): + suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" + return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) + + +class KeysTestCase(AzureTestCase): + def setUp(self, *args, **kwargs): + playback_url = "https://managedhsmname.managedhsm.azure.net" + if self.is_live: + self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") + if self.managed_hsm_url: + real = urlparse(self.managed_hsm_url) + playback = urlparse(playback_url) + self.scrubber.register_name_pair(real.netloc, playback.netloc) + else: + self.managed_hsm_url = playback_url + super(KeysTestCase, self).setUp() + + def tearDown(self): + HttpChallengeCache.clear() + assert len(HttpChallengeCache._cache) == 0 + super(KeysTestCase, self).tearDown() + + def create_key_client(self, vault_uri, **kwargs): + if kwargs.pop("is_async", False): + from azure.keyvault.keys.aio import KeyClient + credential = self.get_credential(KeyClient, is_async=True) + else: + from azure.keyvault.keys import KeyClient + credential = self.get_credential(KeyClient) + return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) + + def create_crypto_client(self, key,**kwargs): + if kwargs.pop("is_async", False): + from azure.keyvault.keys.crypto.aio import CryptographyClient + credential = self.get_credential(CryptographyClient, is_async=True) + else: + from azure.keyvault.keys.crypto import CryptographyClient + credential = self.get_credential(CryptographyClient) + return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) + + def _skip_if_not_configured(self, is_hsm): + if self.is_live and is_hsm and self.managed_hsm_url is None: + pytest.skip("No HSM endpoint for live testing") diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py deleted file mode 100644 index bf24a6b0a08e..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_async.py +++ /dev/null @@ -1,11 +0,0 @@ -# ------------------------------------ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# ------------------------------------ -from _test_case_base import KeysTestCaseBase -from _shared.test_case_async import KeyVaultTestCase - - -class KeysTestCase(KeysTestCaseBase, KeyVaultTestCase): - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py deleted file mode 100644 index b65305152f40..000000000000 --- a/sdk/keyvault/azure-keyvault-keys/tests/_test_case_base.py +++ /dev/null @@ -1,57 +0,0 @@ -# ------------------------------------ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# ------------------------------------ -import os - -from azure.keyvault.keys._shared import HttpChallengeCache -from devtools_testutils import AzureTestCase -from parameterized import parameterized -import pytest -from six.moves.urllib_parse import urlparse - - -def suffixed_test_name(testcase_func, param_num, param): - suffix = "mhsm" if param.kwargs.get("is_hsm") else "vault" - return "{}_{}".format(testcase_func.__name__, parameterized.to_safe_name(suffix)) - - -class KeysTestCaseBase(AzureTestCase): - def setUp(self, *args, **kwargs): - playback_url = "https://managedhsmname.managedhsm.azure.net" - if self.is_live: - self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") - if self.managed_hsm_url: - real = urlparse(self.managed_hsm_url) - playback = urlparse(playback_url) - self.scrubber.register_name_pair(real.netloc, playback.netloc) - else: - self.managed_hsm_url = playback_url - super(KeysTestCaseBase, self).setUp() - - def tearDown(self): - HttpChallengeCache.clear() - assert len(HttpChallengeCache._cache) == 0 - super(KeysTestCaseBase, self).tearDown() - - def create_key_client(self, vault_uri, **kwargs): - if kwargs.pop("is_async", False): - from azure.keyvault.keys.aio import KeyClient - credential = self.get_credential(KeyClient, is_async=True) - else: - from azure.keyvault.keys import KeyClient - credential = self.get_credential(KeyClient) - return self.create_client_from_credential(KeyClient, credential=credential, vault_url=vault_uri, **kwargs) - - def create_crypto_client(self, key,**kwargs): - if kwargs.pop("is_async", False): - from azure.keyvault.keys.crypto.aio import CryptographyClient - credential = self.get_credential(CryptographyClient, is_async=True) - else: - from azure.keyvault.keys.crypto import CryptographyClient - credential = self.get_credential(CryptographyClient) - return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) - - def _skip_if_not_configured(self, is_hsm): - if self.is_live and is_hsm and self.managed_hsm_url is None: - pytest.skip("No HSM endpoint for live testing") diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py index c2cd3725c907..152725a7ec0d 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py @@ -24,8 +24,8 @@ import pytest from _shared.json_attribute_matcher import json_attribute_matcher -from _test_case import KeysTestCase -from _test_case_base import suffixed_test_name +from _shared.test_case import KeyVaultTestCase +from _test_case import KeysTestCase, suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -37,7 +37,7 @@ NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) -class CryptoClientTests(KeysTestCase): +class CryptoClientTests(KeysTestCase, KeyVaultTestCase): def __init__(self, *args, **kwargs): kwargs["match_body"] = False kwargs["custom_request_matchers"] = [json_attribute_matcher] diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py index b903564ec946..9d28665d9e89 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py @@ -22,8 +22,8 @@ from _shared.helpers_async import get_completed_future from _shared.json_attribute_matcher import json_attribute_matcher -from _test_case_async import KeysTestCase -from _test_case_base import suffixed_test_name +from _shared.test_case_async import KeyVaultTestCase +from _test_case import KeysTestCase, suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -35,7 +35,7 @@ NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) -class CryptoClientTests(KeysTestCase): +class CryptoClientTests(KeysTestCase, KeyVaultTestCase): def __init__(self, *args, **kwargs): super().__init__(*args, match_body=False, custom_request_matchers=[json_attribute_matcher], **kwargs) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py index 10f09b45e052..817aa9ce5e16 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py @@ -15,8 +15,8 @@ from devtools_testutils import PowerShellPreparer from parameterized import parameterized, param -from _test_case import KeysTestCase -from _test_case_base import suffixed_test_name +from _shared.test_case import KeyVaultTestCase +from _test_case import KeysTestCase, suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -34,7 +34,7 @@ def emit(self, record): self.messages.append(record) -class KeyClientTests(KeysTestCase): +class KeyClientTests(KeysTestCase, KeyVaultTestCase): def _assert_key_attributes_equal(self, k1, k2): self.assertEqual(k1.name, k2.name) self.assertEqual(k1.vault_url, k2.vault_url) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py index 6d5c23e555eb..6f603335f878 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py @@ -16,8 +16,8 @@ from devtools_testutils import PowerShellPreparer from parameterized import parameterized, param -from _test_case_async import KeysTestCase -from _test_case_base import suffixed_test_name +from _shared.test_case_async import KeyVaultTestCase +from _test_case import KeysTestCase, suffixed_test_name KeyVaultPreparer = functools.partial( PowerShellPreparer, @@ -35,7 +35,7 @@ def emit(self, record): self.messages.append(record) -class KeyVaultKeyTest(KeysTestCase): +class KeyVaultKeyTest(KeysTestCase, KeyVaultTestCase): def _assert_jwks_equal(self, jwk1, jwk2): assert jwk1.kid == jwk2.kid assert jwk1.kty == jwk2.kty From 295f2b895d4a764473b72a845056fb79ca1db293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= Date: Fri, 26 Mar 2021 17:24:12 -0700 Subject: [PATCH 12/12] Drop PSH prep. in vault/hsm tests --- .../azure-keyvault-keys/tests/_test_case.py | 29 ++++- .../tests/test_crypto_client.py | 120 +++++++----------- .../tests/test_crypto_client_async.py | 120 +++++++----------- .../tests/test_key_client.py | 70 ++++------ .../tests/test_keys_async.py | 70 ++++------ 5 files changed, 173 insertions(+), 236 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py index 62900a8919f3..b24b54af51e8 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py @@ -18,16 +18,22 @@ def suffixed_test_name(testcase_func, param_num, param): class KeysTestCase(AzureTestCase): def setUp(self, *args, **kwargs): - playback_url = "https://managedhsmname.managedhsm.azure.net" + vault_playback_url = "https://vaultname.vault.azure.net" + hsm_playback_url = "https://managedhsmname.managedhsm.azure.net" + if self.is_live: + self.vault_url = os.environ["AZURE_KEYVAULT_URL"] + self._scrub_url(real_url=self.vault_url, playback_url=vault_playback_url) + self.managed_hsm_url = os.environ.get("AZURE_MANAGEDHSM_URL") if self.managed_hsm_url: - real = urlparse(self.managed_hsm_url) - playback = urlparse(playback_url) - self.scrubber.register_name_pair(real.netloc, playback.netloc) + self._scrub_url(real_url=self.managed_hsm_url, playback_url=hsm_playback_url) else: - self.managed_hsm_url = playback_url - super(KeysTestCase, self).setUp() + self.vault_url = vault_playback_url + self.managed_hsm_url = hsm_playback_url + + self._set_mgmt_settings_real_values() + super(KeysTestCase, self).setUp(*args, **kwargs) def tearDown(self): HttpChallengeCache.clear() @@ -51,6 +57,17 @@ def create_crypto_client(self, key,**kwargs): from azure.keyvault.keys.crypto import CryptographyClient credential = self.get_credential(CryptographyClient) return self.create_client_from_credential(CryptographyClient, credential=credential, key=key, **kwargs) + + def _scrub_url(self, real_url, playback_url): + real = urlparse(real_url) + playback = urlparse(playback_url) + self.scrubber.register_name_pair(real.netloc, playback.netloc) + + def _set_mgmt_settings_real_values(self): + if self.is_live: + os.environ["AZURE_TENANT_ID"] = os.environ["KEYVAULT_TENANT_ID"] + os.environ["AZURE_CLIENT_ID"] = os.environ["KEYVAULT_CLIENT_ID"] + os.environ["AZURE_CLIENT_SECRET"] = os.environ["KEYVAULT_CLIENT_SECRET"] def _skip_if_not_configured(self, is_hsm): if self.is_live and is_hsm and self.managed_hsm_url is None: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py index 152725a7ec0d..a3b1fecb89e3 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py @@ -4,7 +4,6 @@ # ------------------------------------ import codecs from datetime import datetime -import functools import hashlib import time @@ -19,7 +18,6 @@ from azure.keyvault.keys.crypto import CryptographyClient, EncryptionAlgorithm, KeyWrapAlgorithm, SignatureAlgorithm from azure.keyvault.keys.crypto._key_validity import _UTC from azure.mgmt.keyvault.models import KeyPermissions, Permissions -from devtools_testutils import PowerShellPreparer from parameterized import parameterized, param import pytest @@ -27,12 +25,6 @@ from _shared.test_case import KeyVaultTestCase from _test_case import KeysTestCase, suffixed_test_name -KeyVaultPreparer = functools.partial( - PowerShellPreparer, - "keyvault", - azure_keyvault_url="https://vaultname.vault.azure.net" -) - # without keys/get, a CryptographyClient created with a key ID performs all ops remotely NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) @@ -140,14 +132,13 @@ def _import_symmetric_test_key(self, client, name): return imported_key @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_ec_key_id(self, azure_keyvault_url, **kwargs): + def test_ec_key_id(self, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) key = self._create_ec_key(key_client, self.get_resource_name("eckey"), hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key.id) @@ -160,14 +151,13 @@ def test_ec_key_id(self, azure_keyvault_url, **kwargs): crypto_client.verify(SignatureAlgorithm.es256_k, hashlib.sha256(self.plaintext).digest(), self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_rsa_key_id(self, azure_keyvault_url, **kwargs): + def test_rsa_key_id(self, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) key = self._create_rsa_key(key_client, self.get_resource_name("rsakey"), hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key.id) @@ -182,13 +172,12 @@ def test_rsa_key_id(self, azure_keyvault_url, **kwargs): crypto_client.wrap_key(KeyWrapAlgorithm.rsa_oaep, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): + def test_encrypt_and_decrypt(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) + key_client = self.create_key_client(endpoint_url, permissions=NO_GET) key_name = self.get_resource_name("keycrypt") imported_key = self._import_test_key(key_client, key_name, hardware_protected=is_hsm) @@ -203,13 +192,12 @@ def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): self.assertEqual(self.plaintext, result.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_sign_and_verify(self, azure_keyvault_url, **kwargs): + def test_sign_and_verify(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) + key_client = self.create_key_client(endpoint_url, permissions=NO_GET) key_name = self.get_resource_name("keysign") md = hashlib.sha256() @@ -228,13 +216,12 @@ def test_sign_and_verify(self, azure_keyvault_url, **kwargs): self.assertTrue(verified.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): + def test_wrap_and_unwrap(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) + key_client = self.create_key_client(endpoint_url, permissions=NO_GET) key_name = self.get_resource_name("keywrap") created_key = self._create_rsa_key(key_client, key_name, hardware_protected=is_hsm) @@ -249,13 +236,12 @@ def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): result = crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(key_bytes, result.key) - @KeyVaultPreparer() - def test_symmetric_encrypt_and_decrypt_mhsm(self, azure_keyvault_url, **kwargs): + def test_symmetric_encrypt_and_decrypt_mhsm(self, **kwargs): is_hsm = True self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) key_name = self.get_resource_name("symmetric-encrypt") imported_key = self._import_symmetric_test_key(key_client, key_name) @@ -291,13 +277,12 @@ def test_symmetric_encrypt_and_decrypt_mhsm(self, azure_keyvault_url, **kwargs): else: assert result.plaintext == self.plaintext - @KeyVaultPreparer() - def test_symmetric_wrap_and_unwrap_mhsm(self, azure_keyvault_url, **kwargs): + def test_symmetric_wrap_and_unwrap_mhsm(self, **kwargs): is_hsm = True self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) key_name = self.get_resource_name("symmetric-kw") imported_key = self._import_symmetric_test_key(key_client, key_name) @@ -311,14 +296,13 @@ def test_symmetric_wrap_and_unwrap_mhsm(self, azure_keyvault_url, **kwargs): assert result.key == self.plaintext @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_encrypt_local(self, azure_keyvault_url, **kwargs): + def test_encrypt_local(self, **kwargs): """Encrypt locally, decrypt with Key Vault""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) key_name = self.get_resource_name("encrypt-local") key = self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) @@ -332,14 +316,13 @@ def test_encrypt_local(self, azure_keyvault_url, **kwargs): self.assertEqual(result.plaintext, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): + def test_encrypt_local_from_jwk(self, **kwargs): """Encrypt locally, decrypt with Key Vault""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) key_name = self.get_resource_name("encrypt-local") key = self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) @@ -354,14 +337,13 @@ def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): self.assertEqual(result.plaintext, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_wrap_local(self, azure_keyvault_url, **kwargs): + def test_wrap_local(self, **kwargs): """Wrap locally, unwrap with Key Vault""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) key_name = self.get_resource_name("wrap-local") key = self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) @@ -374,14 +356,13 @@ def test_wrap_local(self, azure_keyvault_url, **kwargs): self.assertEqual(result.key, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): + def test_wrap_local_from_jwk(self, **kwargs): """Wrap locally, unwrap with Key Vault""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) key_name = self.get_resource_name("wrap-local") key = self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key) @@ -395,14 +376,13 @@ def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): self.assertEqual(result.key, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): + def test_rsa_verify_local(self, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) key = self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) @@ -424,14 +404,13 @@ def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): self.assertTrue(result.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): + def test_rsa_verify_local_from_jwk(self, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) key = self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) @@ -454,14 +433,13 @@ def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): self.assertTrue(result.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_ec_verify_local(self, azure_keyvault_url, **kwargs): + def test_ec_verify_local(self, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), KeyCurveName.p_256_k: (SignatureAlgorithm.es256_k, hashlib.sha256), @@ -483,14 +461,13 @@ def test_ec_verify_local(self, azure_keyvault_url, **kwargs): self.assertTrue(result.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): + def test_ec_verify_local_from_jwk(self, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url) + key_client = self.create_key_client(endpoint_url) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), KeyCurveName.p_256_k: (SignatureAlgorithm.es256_k, hashlib.sha256), @@ -513,14 +490,13 @@ def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): self.assertTrue(result.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_local_validity_period_enforcement(self, azure_keyvault_url, **kwargs): + def test_local_validity_period_enforcement(self, **kwargs): """Local crypto operations should respect a key's nbf and exp properties""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET) + key_client = self.create_key_client(endpoint_url, permissions=NO_GET) def test_operations(key, expected_error_substrings, encrypt_algorithms, wrap_algorithms): crypto_client = self.create_crypto_client(key) for algorithm in encrypt_algorithms: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py index 9d28665d9e89..5fc1d72be45a 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py @@ -5,7 +5,6 @@ import asyncio import codecs from datetime import datetime -import functools import hashlib import os from unittest import mock @@ -16,7 +15,6 @@ from azure.keyvault.keys.crypto._key_validity import _UTC from azure.keyvault.keys.crypto.aio import CryptographyClient, EncryptionAlgorithm, KeyWrapAlgorithm, SignatureAlgorithm from azure.mgmt.keyvault.models import KeyPermissions, Permissions -from devtools_testutils import PowerShellPreparer from parameterized import parameterized, param import pytest @@ -25,12 +23,6 @@ from _shared.test_case_async import KeyVaultTestCase from _test_case import KeysTestCase, suffixed_test_name -KeyVaultPreparer = functools.partial( - PowerShellPreparer, - "keyvault", - azure_keyvault_url="https://vaultname.vault.azure.net" -) - # without keys/get, a CryptographyClient created with a key ID performs all ops remotely NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) @@ -136,14 +128,13 @@ async def _import_symmetric_test_key(self, client, name): return imported_key @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_ec_key_id(self, azure_keyvault_url, **kwargs): + async def test_ec_key_id(self, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) key = await self._create_ec_key(key_client, self.get_resource_name("eckey"), hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key.id, is_async=True) @@ -156,14 +147,13 @@ async def test_ec_key_id(self, azure_keyvault_url, **kwargs): await crypto_client.verify(SignatureAlgorithm.es256, hashlib.sha256(self.plaintext).digest(), self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_rsa_key_id(self, azure_keyvault_url, **kwargs): + async def test_rsa_key_id(self, **kwargs): """When initialized with a key ID, the client should retrieve the key and perform public operations locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) key = await self._create_rsa_key(key_client, self.get_resource_name("rsakey"), hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key.id, is_async=True) @@ -178,13 +168,12 @@ async def test_rsa_key_id(self, azure_keyvault_url, **kwargs): await crypto_client.wrap_key(KeyWrapAlgorithm.rsa_oaep, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): + async def test_encrypt_and_decrypt(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET, is_async=True) + key_client = self.create_key_client(endpoint_url, permissions=NO_GET, is_async=True) key_name = self.get_resource_name("keycrypt") imported_key = await self._import_test_key(key_client, key_name, hardware_protected=is_hsm) @@ -199,13 +188,12 @@ async def test_encrypt_and_decrypt(self, azure_keyvault_url, **kwargs): self.assertEqual(self.plaintext, result.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_sign_and_verify(self, azure_keyvault_url, **kwargs): + async def test_sign_and_verify(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET, is_async=True) + key_client = self.create_key_client(endpoint_url, permissions=NO_GET, is_async=True) key_name = self.get_resource_name("keysign") md = hashlib.sha256() @@ -224,13 +212,12 @@ async def test_sign_and_verify(self, azure_keyvault_url, **kwargs): self.assertTrue(verified.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): + async def test_wrap_and_unwrap(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET, is_async=True) + key_client = self.create_key_client(endpoint_url, permissions=NO_GET, is_async=True) key_name = self.get_resource_name("keywrap") created_key = await self._create_rsa_key(key_client, key_name, hardware_protected=is_hsm) @@ -245,13 +232,12 @@ async def test_wrap_and_unwrap(self, azure_keyvault_url, **kwargs): result = await crypto_client.unwrap_key(result.algorithm, result.encrypted_key) self.assertEqual(key_bytes, result.key) - @KeyVaultPreparer() - async def test_symmetric_encrypt_and_decrypt_mhsm(self, azure_keyvault_url, **kwargs): + async def test_symmetric_encrypt_and_decrypt_mhsm(self, **kwargs): is_hsm = True self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) key_name = self.get_resource_name("symmetric-encrypt") imported_key = await self._import_symmetric_test_key(key_client, key_name) @@ -287,13 +273,12 @@ async def test_symmetric_encrypt_and_decrypt_mhsm(self, azure_keyvault_url, **kw else: assert result.plaintext == self.plaintext - @KeyVaultPreparer() - async def test_symmetric_wrap_and_unwrap_mhsm(self, azure_keyvault_url, **kwargs): + async def test_symmetric_wrap_and_unwrap_mhsm(self, **kwargs): is_hsm = True self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) key_name = self.get_resource_name("symmetric-kw") imported_key = await self._import_symmetric_test_key(key_client, key_name) @@ -307,14 +292,13 @@ async def test_symmetric_wrap_and_unwrap_mhsm(self, azure_keyvault_url, **kwargs assert result.key == self.plaintext @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_encrypt_local(self, azure_keyvault_url, **kwargs): + async def test_encrypt_local(self, **kwargs): """Encrypt locally, decrypt with Key Vault""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) key_name = self.get_resource_name("encrypt-local") key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key, is_async=True) @@ -328,14 +312,13 @@ async def test_encrypt_local(self, azure_keyvault_url, **kwargs): self.assertEqual(result.plaintext, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): + async def test_encrypt_local_from_jwk(self, **kwargs): """Encrypt locally, decrypt with Key Vault""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) key_name = self.get_resource_name("encrypt-local") key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key, is_async=True) @@ -350,14 +333,13 @@ async def test_encrypt_local_from_jwk(self, azure_keyvault_url, **kwargs): self.assertEqual(result.plaintext, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_wrap_local(self, azure_keyvault_url, **kwargs): + async def test_wrap_local(self, **kwargs): """Wrap locally, unwrap with Key Vault""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) key_name = self.get_resource_name("wrap-local") key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key, is_async=True) @@ -370,14 +352,13 @@ async def test_wrap_local(self, azure_keyvault_url, **kwargs): self.assertEqual(result.key, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): + async def test_wrap_local_from_jwk(self, **kwargs): """Wrap locally, unwrap with Key Vault""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) key_name = self.get_resource_name("wrap-local") key = await self._create_rsa_key(key_client, key_name, size=4096, hardware_protected=is_hsm) crypto_client = self.create_crypto_client(key, is_async=True) @@ -391,14 +372,13 @@ async def test_wrap_local_from_jwk(self, azure_keyvault_url, **kwargs): self.assertEqual(result.key, self.plaintext) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): + async def test_rsa_verify_local(self, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) key = await self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) @@ -420,14 +400,13 @@ async def test_rsa_verify_local(self, azure_keyvault_url, **kwargs): self.assertTrue(result.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): + async def test_rsa_verify_local_from_jwk(self, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) for size in (2048, 3072, 4096): key_name = self.get_resource_name("rsa-verify-{}".format(size)) key = await self._create_rsa_key(key_client, key_name, size=size, hardware_protected=is_hsm) @@ -450,14 +429,13 @@ async def test_rsa_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): self.assertTrue(result.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_ec_verify_local(self, azure_keyvault_url, **kwargs): + async def test_ec_verify_local(self, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), KeyCurveName.p_256_k: (SignatureAlgorithm.es256_k, hashlib.sha256), @@ -479,14 +457,13 @@ async def test_ec_verify_local(self, azure_keyvault_url, **kwargs): self.assertTrue(result.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): + async def test_ec_verify_local_from_jwk(self, **kwargs): """Sign with Key Vault, verify locally""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, is_async=True) + key_client = self.create_key_client(endpoint_url, is_async=True) matrix = { KeyCurveName.p_256: (SignatureAlgorithm.es256, hashlib.sha256), KeyCurveName.p_256_k: (SignatureAlgorithm.es256_k, hashlib.sha256), @@ -509,14 +486,13 @@ async def test_ec_verify_local_from_jwk(self, azure_keyvault_url, **kwargs): self.assertTrue(result.is_valid) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_local_validity_period_enforcement(self, azure_keyvault_url, **kwargs): + async def test_local_validity_period_enforcement(self, **kwargs): """Local crypto operations should respect a key's nbf and exp properties""" is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - key_client = self.create_key_client(azure_keyvault_url, permissions=NO_GET, is_async=True) + key_client = self.create_key_client(endpoint_url, permissions=NO_GET, is_async=True) async def test_operations(key, expected_error_substrings, encrypt_algorithms, wrap_algorithms): crypto_client = self.create_crypto_client(key, is_async=True) for algorithm in encrypt_algorithms: diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py index 817aa9ce5e16..99bbf9ef0770 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py @@ -12,18 +12,11 @@ from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.pipeline.policies import SansIOHTTPPolicy from azure.keyvault.keys import JsonWebKey, KeyClient, KeyCurveName -from devtools_testutils import PowerShellPreparer from parameterized import parameterized, param from _shared.test_case import KeyVaultTestCase from _test_case import KeysTestCase, suffixed_test_name -KeyVaultPreparer = functools.partial( - PowerShellPreparer, - "keyvault", - azure_keyvault_url="https://vaultname.vault.azure.net" -) - # used for logging tests class MockHandler(logging.Handler): def __init__(self): @@ -141,13 +134,12 @@ def _to_bytes(hex): return imported_key @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_key_crud_operations(self, azure_keyvault_url, **kwargs): + def test_key_crud_operations(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(endpoint_url) self.assertIsNotNone(client) # create ec key @@ -205,13 +197,12 @@ def test_key_crud_operations(self, azure_keyvault_url, **kwargs): self.assertEqual(rsa_key.id, deleted_key.id) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_backup_restore(self, azure_keyvault_url, **kwargs): + def test_backup_restore(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(endpoint_url) self.assertIsNotNone(client) key_name = self.get_resource_name("keybak") @@ -235,13 +226,12 @@ def test_backup_restore(self, azure_keyvault_url, **kwargs): self._assert_key_attributes_equal(created_bundle.properties, restored_key.properties) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_key_list(self, azure_keyvault_url, **kwargs): + def test_key_list(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(endpoint_url) self.assertIsNotNone(client) max_keys = self.list_test_size @@ -262,13 +252,12 @@ def test_key_list(self, azure_keyvault_url, **kwargs): self.assertEqual(len(expected), 0) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_list_versions(self, azure_keyvault_url, **kwargs): + def test_list_versions(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(endpoint_url) self.assertIsNotNone(client) key_name = self.get_resource_name("testKey") @@ -292,13 +281,12 @@ def test_list_versions(self, azure_keyvault_url, **kwargs): self.assertEqual(0, len(expected)) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): + def test_list_deleted_keys(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(endpoint_url) self.assertIsNotNone(client) expected = {} @@ -326,13 +314,12 @@ def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): del expected[key.name] @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_recover(self, azure_keyvault_url, **kwargs): + def test_recover(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(endpoint_url) self.assertIsNotNone(client) # create keys @@ -356,13 +343,12 @@ def test_recover(self, azure_keyvault_url, **kwargs): self._assert_key_attributes_equal(expected_key.properties, recovered_key.properties) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_purge(self, azure_keyvault_url, **kwargs): + def test_purge(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url) + client = self.create_key_client(endpoint_url) self.assertIsNotNone(client) # create keys @@ -391,13 +377,12 @@ def test_purge(self, azure_keyvault_url, **kwargs): self.assertTrue(not any(s in deleted for s in key_names)) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_logging_enabled(self, azure_keyvault_url, **kwargs): + def test_logging_enabled(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, logging_enable=True) + client = self.create_key_client(endpoint_url, logging_enable=True) mock_handler = MockHandler() logger = logging.getLogger("azure") @@ -421,13 +406,12 @@ def test_logging_enabled(self, azure_keyvault_url, **kwargs): assert False, "Expected request body wasn't logged" @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - def test_logging_disabled(self, azure_keyvault_url, **kwargs): + def test_logging_disabled(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, logging_enable=False) + client = self.create_key_client(endpoint_url, logging_enable=False) mock_handler = MockHandler() logger = logging.getLogger("azure") diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py index 6f603335f878..4fc069579c74 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py @@ -13,18 +13,11 @@ from azure.core.pipeline.policies import SansIOHTTPPolicy from azure.keyvault.keys import JsonWebKey, KeyCurveName from azure.keyvault.keys.aio import KeyClient -from devtools_testutils import PowerShellPreparer from parameterized import parameterized, param from _shared.test_case_async import KeyVaultTestCase from _test_case import KeysTestCase, suffixed_test_name -KeyVaultPreparer = functools.partial( - PowerShellPreparer, - "keyvault", - azure_keyvault_url="https://vaultname.vault.azure.net" -) - # used for logging tests class MockHandler(logging.Handler): def __init__(self): @@ -165,13 +158,12 @@ def _to_bytes(hex): return imported_key @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_key_crud_operations(self, azure_keyvault_url, **kwargs): + async def test_key_crud_operations(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, is_async=True) + client = self.create_key_client(endpoint_url, is_async=True) self.assertIsNotNone(client) # create ec key @@ -235,13 +227,12 @@ async def test_key_crud_operations(self, azure_keyvault_url, **kwargs): self.assertEqual(rsa_key.id, deleted_key.id) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_backup_restore(self, azure_keyvault_url, **kwargs): + async def test_backup_restore(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, is_async=True) + client = self.create_key_client(endpoint_url, is_async=True) self.assertIsNotNone(client) key_name = self.get_resource_name("keybak") @@ -265,13 +256,12 @@ async def test_backup_restore(self, azure_keyvault_url, **kwargs): self._assert_key_attributes_equal(created_bundle.properties, restored_key.properties) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_key_list(self, azure_keyvault_url, **kwargs): + async def test_key_list(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, is_async=True) + client = self.create_key_client(endpoint_url, is_async=True) self.assertIsNotNone(client) max_keys = self.list_test_size @@ -292,13 +282,12 @@ async def test_key_list(self, azure_keyvault_url, **kwargs): self.assertEqual(len(expected), 0) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_list_versions(self, azure_keyvault_url, **kwargs): + async def test_list_versions(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, is_async=True) + client = self.create_key_client(endpoint_url, is_async=True) self.assertIsNotNone(client) key_name = self.get_resource_name("testKey") @@ -322,13 +311,12 @@ async def test_list_versions(self, azure_keyvault_url, **kwargs): self.assertEqual(0, len(expected)) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): + async def test_list_deleted_keys(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, is_async=True) + client = self.create_key_client(endpoint_url, is_async=True) self.assertIsNotNone(client) expected = {} @@ -357,13 +345,12 @@ async def test_list_deleted_keys(self, azure_keyvault_url, **kwargs): self.assertEqual(len(expected), 0) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_recover(self, azure_keyvault_url, **kwargs): + async def test_recover(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, is_async=True) + client = self.create_key_client(endpoint_url, is_async=True) self.assertIsNotNone(client) # create keys @@ -391,13 +378,12 @@ async def test_recover(self, azure_keyvault_url, **kwargs): self.assertEqual(len(set(expected.keys()) & set(actual.keys())), len(expected)) @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_purge(self, azure_keyvault_url, **kwargs): + async def test_purge(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, is_async=True) + client = self.create_key_client(endpoint_url, is_async=True) self.assertIsNotNone(client) # create keys @@ -422,13 +408,12 @@ async def test_purge(self, azure_keyvault_url, **kwargs): assert deleted_key.name not in key_names @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_logging_enabled(self, azure_keyvault_url, **kwargs): + async def test_logging_enabled(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, logging_enable=True, is_async=True) + client = self.create_key_client(endpoint_url, logging_enable=True, is_async=True) mock_handler = MockHandler() logger = logging.getLogger("azure") @@ -452,13 +437,12 @@ async def test_logging_enabled(self, azure_keyvault_url, **kwargs): assert False, "Expected request body wasn't logged" @parameterized.expand([param(is_hsm=b) for b in [True, False]], name_func=suffixed_test_name) - @KeyVaultPreparer() - async def test_logging_disabled(self, azure_keyvault_url, **kwargs): + async def test_logging_disabled(self, **kwargs): is_hsm = kwargs.pop("is_hsm") self._skip_if_not_configured(is_hsm) - azure_keyvault_url = self.managed_hsm_url if is_hsm else azure_keyvault_url + endpoint_url = self.managed_hsm_url if is_hsm else self.vault_url - client = self.create_key_client(azure_keyvault_url, logging_enable=False, is_async=True) + client = self.create_key_client(endpoint_url, logging_enable=False, is_async=True) mock_handler = MockHandler() logger = logging.getLogger("azure")