Skip to content

Commit

Permalink
add back removed keys test recording
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft committed Jul 1, 2020
1 parent efb2d47 commit 7529685
Showing 1 changed file with 110 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
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.2.0b1 Python/3.8.0 (Windows-10-10.0.18362-SP0)
method: POST
uri: https://vaultname.vault.azure.net/keys/rsa-key-name/create?api-version=7.1-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, 05 Mar 2020 23:16:49 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=76.121.58.221;act_addr_fam=InterNetwork;
x-ms-keyvault-region:
- westus
x-ms-keyvault-service-version:
- 1.1.0.897
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.2.0b1 Python/3.8.0 (Windows-10-10.0.18362-SP0)
method: POST
uri: https://vaultname.vault.azure.net/keys/rsa-key-name/create?api-version=7.1-preview
response:
body:
string: '{"key":{"kid":"https://vaultname.vault.azure.net/keys/rsa-key-name/05171c05e42b41b2afaf309ae1ba9ac8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"xpQWL0VR5FEjMqtrBzholVzvVh4J_O_lRpq2LXFoc2U8lfpwlqJUh8xxdBSP2rKHxwOzYKGxSsx9R3w6gnpC_gLNF9mdS1LexLznN9NUWDCt7VYrHQFv-lxk7TpzPjTB1udWXewY3wZwgRt2ryFbEidUu1qxH97qAxObgHQllKm2SaMGB19h7qyrT_bIVpaEiihrqRxTBdSBeFLCGx61bHKLcDq5QBLcsMp5sgaLHvehBtq3cpw0wXq3SuHWQtKeYDH4ufdu_Jpx68HJhN254WyEszyz4nqBJi9hks-z3rrJli_7o6EfgzFkxo5IY3q-1clurV5jwPC16i0YC0gPew","e":"AQAB"},"attributes":{"enabled":true,"created":1583450209,"updated":1583450209,"recoveryLevel":"Recoverable+Purgeable"}}'
headers:
cache-control:
- no-cache
content-length:
- '671'
content-type:
- application/json; charset=utf-8
date:
- Thu, 05 Mar 2020 23:16:49 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=76.121.58.221;act_addr_fam=InterNetwork;
x-ms-keyvault-region:
- westus
x-ms-keyvault-service-version:
- 1.1.0.897
x-powered-by:
- ASP.NET
status:
code: 200
message: OK
version: 1

0 comments on commit 7529685

Please sign in to comment.