text: let nock = require('nock');
  
  module.exports.hash = "51c86d86d7f38de092102afb54239aa7";
  
  module.exports.testInfo = {"uniqueName":{"updaterotationpolicy":"updaterotationpolicy162929998008007828"},"newDate":{}}
  
  nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true})
    .post('/keys/updaterotationpolicy162929998008007828/create')
    .query(true)
    .reply(401, {"error":{"code":"Unauthorized","message":"AKV10000: Request is missing a Bearer or PoP token."}}, [
    'Cache-Control',
    'no-cache',
    'Pragma',
    'no-cache',
    'Content-Length',
    '97',
    'Content-Type',
    'application/json; charset=utf-8',
    'Expires',
    '-1',
    'WWW-Authenticate',
    'Bearer authorization="https://login.windows.net/12345678-1234-1234-1234-123456789012", resource="https://vault.azure.net"',
    'x-ms-keyvault-region',
    'westus2',
    'x-ms-client-request-id',
    '86536fab-f981-45b6-81cf-80abad0d387b',
    'x-ms-request-id',
    'fbb1326d-f562-4e44-a889-5cf70cbb7436',
    'x-ms-keyvault-service-version',
    '1.9.79.1',
    'x-ms-keyvault-network-info',
    'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;',
    'X-Powered-By',
    'ASP.NET',
    'Strict-Transport-Security',
    'max-age=31536000;includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'Date',
    'Wed, 18 Aug 2021 15:19:38 GMT'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .get('/common/discovery/instance')
    .query(true)
    .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
    'Cache-Control',
    'max-age=86400, private',
    'Content-Length',
    '980',
    'Content-Type',
    'application/json; charset=utf-8',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'Access-Control-Allow-Origin',
    '*',
    'Access-Control-Allow-Methods',
    'GET, OPTIONS',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    '8980e80c-1245-470c-a2d9-c64bd1ff2700',
    'x-ms-ests-server',
    '2.1.11935.14 - EUS ProdSlices',
    'Set-Cookie',
    'fpc=Agg9QugDTIVAqtEt_VpXdU0; expires=Fri, 17-Sep-2021 15:19:39 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIau1co5ywatQlxNHap0rFiQj_hVwV5CA3riiPCoYKmk-AkncFakyvU1RmwXNvt7onUukX7pGCioVBVKM2NIlCvFHtK35VBs0QI3yD9EW5Vw81H7e1YKOjV0UK8tl8Clur2L2cF1xUgSrAQebgneqOOZru_B_0Keh_GHtykR-pRcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Wed, 18 Aug 2021 15:19:38 GMT'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration')
    .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
    'Cache-Control',
    'max-age=86400, private',
    'Content-Type',
    'application/json; charset=utf-8',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'Access-Control-Allow-Origin',
    '*',
    'Access-Control-Allow-Methods',
    'GET, OPTIONS',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    '50118e5f-150a-47b7-8cda-d214b08c0401',
    'x-ms-ests-server',
    '2.1.11961.8 - EUS ProdSlices',
    'Set-Cookie',
    'fpc=Agg9QugDTIVAqtEt_VpXdU0; expires=Fri, 17-Sep-2021 15:19:39 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrNskCSAgbUevB2CTLTvOOBtcjvzeeaGItaD2fGCoRe2yBJ0MubdHcLoZHHUZzeWXIVfKz0NPPEkpdh4VgkqMv9gw8cvf9bHxrzsWgazROnAYjUGaWrIWnSsGtO4LGoF5oe95o2-fpLm0ltEiZfo2ADWbUoQBnZzVTD8uoltwOGj4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Wed, 18 Aug 2021 15:19:39 GMT',
    'Content-Length',
    '1753'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.2.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=317fa48f-d1e2-439e-a0be-5c42a3e82c2f&client_secret=azure_client_secret")
    .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
    'Cache-Control',
    'no-store, no-cache',
    'Pragma',
    'no-cache',
    'Content-Type',
    'application/json; charset=utf-8',
    'Expires',
    '-1',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    '0bef0ead-5893-4285-b239-2119ccb0e200',
    'x-ms-ests-server',
    '2.1.11961.8 - WUS2 ProdSlices',
    'x-ms-clitelem',
    '1,0,0,,',
    'Set-Cookie',
    'fpc=Agg9QugDTIVAqtEt_VpXdU1eySe-AQAAAAscr9gOAAAA; expires=Fri, 17-Sep-2021 15:19:40 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Wed, 18 Aug 2021 15:19:39 GMT',
    'Content-Length',
    '1315'
  ]);
  
  nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true})
    .post('/keys/updaterotationpolicy162929998008007828/create', {"kty":"EC"})
    .query(true)
    .reply(200, {"key":{"kid":"https://keyvault_name.vault.azure.net/keys/updaterotationpolicy162929998008007828/023b4c0c0f7f4561a2073e0b86fcfd37","kty":"EC","key_ops":["sign","verify"],"crv":"P-256","x":"FEghFZiB93t78bTzCtGFP7uPPW5X83yARUGSO0qKzYE","y":"DG1-zU1ofhYgUJLGEC39bfg9zZqzgi86rjpKa9Ku6zE"},"attributes":{"enabled":true,"created":1629299980,"updated":1629299980,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [
    'Cache-Control',
    'no-cache',
    'Pragma',
    'no-cache',
    'Content-Type',
    'application/json; charset=utf-8',
    'Expires',
    '-1',
    'x-ms-keyvault-region',
    'westus2',
    'x-ms-client-request-id',
    '86536fab-f981-45b6-81cf-80abad0d387b',
    'x-ms-request-id',
    '3e4e82a7-1291-4dd4-a4f8-d5206476065f',
    'x-ms-keyvault-service-version',
    '1.9.79.1',
    'x-ms-keyvault-network-info',
    'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;',
    'X-Powered-By',
    'ASP.NET',
    'Strict-Transport-Security',
    'max-age=31536000;includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'Date',
    'Wed, 18 Aug 2021 15:19:39 GMT',
    'Content-Length',
    '426'
  ]);
  
  nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true})
    .put('/keys/updaterotationpolicy162929998008007828/rotationpolicy', {"lifetimeActions":[{"trigger":{"timeBeforeExpiry":"P30D"},"action":{"type":"Notify"}}],"attributes":{"expiryTime":"P90D"}})
    .query(true)
    .reply(200, {"id":"https://keyvault_name.vault.azure.net/keys/updaterotationpolicy162929998008007828/rotationpolicy","lifetimeActions":[{"trigger":{"timeBeforeExpiry":"P30D"},"action":{"type":"Notify"}}],"attributes":{"expiryTime":"P90D","created":1629299980,"updated":1629299980}}, [
    'Cache-Control',
    'no-cache',
    'Pragma',
    'no-cache',
    'Content-Type',
    'application/json; charset=utf-8',
    'Expires',
    '-1',
    'x-ms-keyvault-region',
    'westus2',
    'x-ms-client-request-id',
    'f363bb8b-a66e-45f7-890b-8715e2dfd652',
    'x-ms-request-id',
    '36ffd0d8-4d7b-443f-8b0f-15713037ee85',
    'x-ms-keyvault-service-version',
    '1.9.79.1',
    'x-ms-keyvault-network-info',
    'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;',
    'X-Powered-By',
    'ASP.NET',
    'Strict-Transport-Security',
    'max-age=31536000;includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'Date',
    'Wed, 18 Aug 2021 15:19:39 GMT',
    'Content-Length',
    '268'
  ]);
  