1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254
|
interactions:
- request:
body: ''
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: [0]
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.1
msrest_azure/0.4.33 azure-keyvault/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: PUT
uri: https://vault5346109c.vault.azure.net/secrets/crud-secret?api-version=7.0
response:
body: {string: ''}
headers:
cache-control: [no-cache]
content-length: ['0']
date: ['Fri, 22 Jun 2018 17:41:41 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=167.220.0.182;act_addr_fam=InterNetwork;]
x-ms-keyvault-region: [westus]
x-ms-keyvault-service-version: [1.0.0.849]
x-powered-by: [ASP.NET]
status: {code: 401, message: Unauthorized}
- request:
body: '{"value": "crud_secret_value5346109c"}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['38']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.1
msrest_azure/0.4.33 azure-keyvault/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: PUT
uri: https://vault5346109c.vault.azure.net/secrets/crud-secret?api-version=7.0
response:
body: {string: '{"value":"crud_secret_value5346109c","id":"https://vault5346109c.vault.azure.net/secrets/crud-secret/94d0bfd2f17f4178831f265a7cd07615","attributes":{"enabled":true,"created":1529689303,"updated":1529689303,"recoveryLevel":"Purgeable"}}'}
headers:
cache-control: [no-cache]
content-length: ['235']
content-type: [application/json; charset=utf-8]
date: ['Fri, 22 Jun 2018 17:41:43 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=167.220.0.182;act_addr_fam=InterNetwork;]
x-ms-keyvault-region: [westus]
x-ms-keyvault-service-version: [1.0.0.849]
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-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.1
msrest_azure/0.4.33 azure-keyvault/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: GET
uri: https://vault5346109c.vault.azure.net/secrets/crud-secret/?api-version=7.0
response:
body: {string: '{"value":"crud_secret_value5346109c","id":"https://vault5346109c.vault.azure.net/secrets/crud-secret/94d0bfd2f17f4178831f265a7cd07615","attributes":{"enabled":true,"created":1529689303,"updated":1529689303,"recoveryLevel":"Purgeable"}}'}
headers:
cache-control: [no-cache]
content-length: ['235']
content-type: [application/json; charset=utf-8]
date: ['Fri, 22 Jun 2018 17:41:44 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=167.220.0.182;act_addr_fam=InterNetwork;]
x-ms-keyvault-region: [westus]
x-ms-keyvault-service-version: [1.0.0.849]
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-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.1
msrest_azure/0.4.33 azure-keyvault/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: GET
uri: https://vault5346109c.vault.azure.net/secrets/crud-secret/94d0bfd2f17f4178831f265a7cd07615?api-version=7.0
response:
body: {string: '{"value":"crud_secret_value5346109c","id":"https://vault5346109c.vault.azure.net/secrets/crud-secret/94d0bfd2f17f4178831f265a7cd07615","attributes":{"enabled":true,"created":1529689303,"updated":1529689303,"recoveryLevel":"Purgeable"}}'}
headers:
cache-control: [no-cache]
content-length: ['235']
content-type: [application/json; charset=utf-8]
date: ['Fri, 22 Jun 2018 17:41:44 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=167.220.0.182;act_addr_fam=InterNetwork;]
x-ms-keyvault-region: [westus]
x-ms-keyvault-service-version: [1.0.0.849]
x-powered-by: [ASP.NET]
status: {code: 200, message: OK}
- request:
body: '{"contentType": "text/plain", "attributes": {"enabled": true, "exp": 2527401600},
"tags": {"foo": "updated tag"}}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['113']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.1
msrest_azure/0.4.33 azure-keyvault/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: PATCH
uri: https://vault5346109c.vault.azure.net/secrets/crud-secret/?api-version=7.0
response:
body: {string: '{"contentType":"text/plain","id":"https://vault5346109c.vault.azure.net/secrets/crud-secret/94d0bfd2f17f4178831f265a7cd07615","attributes":{"enabled":true,"exp":2527401600,"created":1529689303,"updated":1529689305,"recoveryLevel":"Purgeable"},"tags":{"foo":"updated
tag"}}'}
headers:
cache-control: [no-cache]
content-length: ['272']
content-type: [application/json; charset=utf-8]
date: ['Fri, 22 Jun 2018 17:41:45 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=167.220.0.182;act_addr_fam=InterNetwork;]
x-ms-keyvault-region: [westus]
x-ms-keyvault-service-version: [1.0.0.849]
x-powered-by: [ASP.NET]
status: {code: 200, message: OK}
- request:
body: '{"contentType": "text/plain", "attributes": {"enabled": true, "exp": 2527401600},
"tags": {"foo": "updated tag"}}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['113']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.1
msrest_azure/0.4.33 azure-keyvault/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: PATCH
uri: https://vault5346109c.vault.azure.net/secrets/crud-secret/94d0bfd2f17f4178831f265a7cd07615?api-version=7.0
response:
body: {string: '{"contentType":"text/plain","id":"https://vault5346109c.vault.azure.net/secrets/crud-secret/94d0bfd2f17f4178831f265a7cd07615","attributes":{"enabled":true,"exp":2527401600,"created":1529689303,"updated":1529689306,"recoveryLevel":"Purgeable"},"tags":{"foo":"updated
tag"}}'}
headers:
cache-control: [no-cache]
content-length: ['272']
content-type: [application/json; charset=utf-8]
date: ['Fri, 22 Jun 2018 17:41:46 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=167.220.0.182;act_addr_fam=InterNetwork;]
x-ms-keyvault-region: [westus]
x-ms-keyvault-service-version: [1.0.0.849]
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']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.1
msrest_azure/0.4.33 azure-keyvault/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: DELETE
uri: https://vault5346109c.vault.azure.net/secrets/crud-secret?api-version=7.0
response:
body: {string: '{"contentType":"text/plain","id":"https://vault5346109c.vault.azure.net/secrets/crud-secret/94d0bfd2f17f4178831f265a7cd07615","attributes":{"enabled":true,"exp":2527401600,"created":1529689303,"updated":1529689306,"recoveryLevel":"Purgeable"},"tags":{"foo":"updated
tag"}}'}
headers:
cache-control: [no-cache]
content-length: ['272']
content-type: [application/json; charset=utf-8]
date: ['Fri, 22 Jun 2018 17:41:46 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=167.220.0.182;act_addr_fam=InterNetwork;]
x-ms-keyvault-region: [westus]
x-ms-keyvault-service-version: [1.0.0.849]
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-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.1
msrest_azure/0.4.33 azure-keyvault/1.0.0 Azure-SDK-For-Python]
accept-language: [en-US]
method: GET
uri: https://vault5346109c.vault.azure.net/secrets/crud-secret/?api-version=7.0
response:
body: {string: '{"error":{"code":"SecretNotFound","message":"Secret not found:
crud-secret"}}'}
headers:
cache-control: [no-cache]
content-length: ['77']
content-type: [application/json; charset=utf-8]
date: ['Fri, 22 Jun 2018 17:41:46 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=167.220.0.182;act_addr_fam=InterNetwork;]
x-ms-keyvault-region: [westus]
x-ms-keyvault-service-version: [1.0.0.849]
x-powered-by: [ASP.NET]
status: {code: 404, message: Not Found}
version: 1
|