|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: 'b''{"location": "westus", "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", |
| 4 | + "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": |
| 5 | + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "00000000-0000-0000-0000-000000000000", |
| 6 | + "permissions": {"keys": ["encrypt", "decrypt", "wrapKey", "unwrapKey", "sign", |
| 7 | + "verify", "get", "list", "create", "update", "import", "delete", "backup", "restore", |
| 8 | + "recover", "purge"], "secrets": ["get", "list", "set", "delete", "backup", "restore", |
| 9 | + "recover", "purge"], "certificates": ["get", "list", "delete", "create", "import", |
| 10 | + "update", "managecontacts", "getissuers", "listissuers", "setissuers", "deleteissuers", |
| 11 | + "manageissuers", "recover", "purge"]}}], "enabledForDeployment": true, "enabledForDiskEncryption": |
| 12 | + true, "enabledForTemplateDeployment": true}}''' |
| 13 | + headers: |
| 14 | + Accept: |
| 15 | + - application/json |
| 16 | + Accept-Encoding: |
| 17 | + - gzip, deflate |
| 18 | + Connection: |
| 19 | + - keep-alive |
| 20 | + Content-Length: |
| 21 | + - '823' |
| 22 | + Content-Type: |
| 23 | + - application/json; charset=utf-8 |
| 24 | + User-Agent: |
| 25 | + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 |
| 26 | + msrest_azure/0.6.2 azure-mgmt-keyvault/2.2.0 Azure-SDK-For-Python |
| 27 | + accept-language: |
| 28 | + - en-US |
| 29 | + method: PUT |
| 30 | + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_keyvault_test_keyvault14930f02/providers/Microsoft.KeyVault/vaults/myVaultSss?api-version=2019-09-01 |
| 31 | + response: |
| 32 | + body: |
| 33 | + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_keyvault_test_keyvault14930f02/providers/Microsoft.KeyVault/vaults/myVaultSss","name":"myVaultSss","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"keys":["encrypt","decrypt","wrapKey","unwrapKey","sign","verify","get","list","create","update","import","delete","backup","restore","recover","purge"],"secrets":["get","list","set","delete","backup","restore","recover","purge"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover","purge"]}}],"enabledForDeployment":true,"enabledForDiskEncryption":true,"enabledForTemplateDeployment":true,"enableSoftDelete":true,"vaultUri":"https://myVaultSss.vault.azure.net","provisioningState":"RegisteringDns"}}' |
| 34 | + headers: |
| 35 | + cache-control: |
| 36 | + - no-cache |
| 37 | + content-length: |
| 38 | + - '1101' |
| 39 | + content-type: |
| 40 | + - application/json; charset=utf-8 |
| 41 | + date: |
| 42 | + - Wed, 15 Apr 2020 13:13:24 GMT |
| 43 | + expires: |
| 44 | + - '-1' |
| 45 | + pragma: |
| 46 | + - no-cache |
| 47 | + server: |
| 48 | + - Microsoft-IIS/10.0 |
| 49 | + strict-transport-security: |
| 50 | + - max-age=31536000; includeSubDomains |
| 51 | + transfer-encoding: |
| 52 | + - chunked |
| 53 | + vary: |
| 54 | + - Accept-Encoding |
| 55 | + x-aspnet-version: |
| 56 | + - 4.0.30319 |
| 57 | + x-content-type-options: |
| 58 | + - nosniff |
| 59 | + x-ms-keyvault-service-version: |
| 60 | + - 1.1.0.276 |
| 61 | + x-ms-ratelimit-remaining-subscription-writes: |
| 62 | + - '1198' |
| 63 | + x-powered-by: |
| 64 | + - ASP.NET |
| 65 | + status: |
| 66 | + code: 200 |
| 67 | + message: OK |
| 68 | +- request: |
| 69 | + body: null |
| 70 | + headers: |
| 71 | + Accept: |
| 72 | + - application/json |
| 73 | + Accept-Encoding: |
| 74 | + - gzip, deflate |
| 75 | + Connection: |
| 76 | + - keep-alive |
| 77 | + User-Agent: |
| 78 | + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 |
| 79 | + msrest_azure/0.6.2 azure-mgmt-keyvault/2.2.0 Azure-SDK-For-Python |
| 80 | + method: GET |
| 81 | + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_keyvault_test_keyvault14930f02/providers/Microsoft.KeyVault/vaults/myVaultSss?api-version=2019-09-01 |
| 82 | + response: |
| 83 | + body: |
| 84 | + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_keyvault_test_keyvault14930f02/providers/Microsoft.KeyVault/vaults/myVaultSss","name":"myVaultSss","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"keys":["encrypt","decrypt","wrapKey","unwrapKey","sign","verify","get","list","create","update","import","delete","backup","restore","recover","purge"],"secrets":["get","list","set","delete","backup","restore","recover","purge"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover","purge"]}}],"enabledForDeployment":true,"enabledForDiskEncryption":true,"enabledForTemplateDeployment":true,"enableSoftDelete":true,"vaultUri":"https://myvaultsss.vault.azure.net/","provisioningState":"Succeeded"}}' |
| 85 | + headers: |
| 86 | + cache-control: |
| 87 | + - no-cache |
| 88 | + content-length: |
| 89 | + - '1097' |
| 90 | + content-type: |
| 91 | + - application/json; charset=utf-8 |
| 92 | + date: |
| 93 | + - Wed, 15 Apr 2020 13:13:58 GMT |
| 94 | + expires: |
| 95 | + - '-1' |
| 96 | + pragma: |
| 97 | + - no-cache |
| 98 | + server: |
| 99 | + - Microsoft-IIS/10.0 |
| 100 | + strict-transport-security: |
| 101 | + - max-age=31536000; includeSubDomains |
| 102 | + transfer-encoding: |
| 103 | + - chunked |
| 104 | + vary: |
| 105 | + - Accept-Encoding |
| 106 | + x-aspnet-version: |
| 107 | + - 4.0.30319 |
| 108 | + x-content-type-options: |
| 109 | + - nosniff |
| 110 | + x-ms-keyvault-service-version: |
| 111 | + - 1.1.0.276 |
| 112 | + x-powered-by: |
| 113 | + - ASP.NET |
| 114 | + status: |
| 115 | + code: 200 |
| 116 | + message: OK |
| 117 | +- request: |
| 118 | + body: null |
| 119 | + headers: |
| 120 | + Accept: |
| 121 | + - application/json |
| 122 | + Accept-Encoding: |
| 123 | + - gzip, deflate |
| 124 | + Connection: |
| 125 | + - keep-alive |
| 126 | + User-Agent: |
| 127 | + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 |
| 128 | + msrest_azure/0.6.2 azure-mgmt-keyvault/2.2.0 Azure-SDK-For-Python |
| 129 | + accept-language: |
| 130 | + - en-US |
| 131 | + method: GET |
| 132 | + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_keyvault_test_keyvault14930f02/providers/Microsoft.KeyVault/vaults/myVaultSss?api-version=2019-09-01 |
| 133 | + response: |
| 134 | + body: |
| 135 | + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_keyvault_test_keyvault14930f02/providers/Microsoft.KeyVault/vaults/myVaultSss","name":"myVaultSss","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"keys":["encrypt","decrypt","wrapKey","unwrapKey","sign","verify","get","list","create","update","import","delete","backup","restore","recover","purge"],"secrets":["get","list","set","delete","backup","restore","recover","purge"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover","purge"]}}],"enabledForDeployment":true,"enabledForDiskEncryption":true,"enabledForTemplateDeployment":true,"enableSoftDelete":true,"vaultUri":"https://myvaultsss.vault.azure.net/","provisioningState":"Succeeded"}}' |
| 136 | + headers: |
| 137 | + cache-control: |
| 138 | + - no-cache |
| 139 | + content-length: |
| 140 | + - '1097' |
| 141 | + content-type: |
| 142 | + - application/json; charset=utf-8 |
| 143 | + date: |
| 144 | + - Wed, 15 Apr 2020 13:13:58 GMT |
| 145 | + expires: |
| 146 | + - '-1' |
| 147 | + pragma: |
| 148 | + - no-cache |
| 149 | + server: |
| 150 | + - Microsoft-IIS/10.0 |
| 151 | + strict-transport-security: |
| 152 | + - max-age=31536000; includeSubDomains |
| 153 | + transfer-encoding: |
| 154 | + - chunked |
| 155 | + vary: |
| 156 | + - Accept-Encoding |
| 157 | + x-aspnet-version: |
| 158 | + - 4.0.30319 |
| 159 | + x-content-type-options: |
| 160 | + - nosniff |
| 161 | + x-ms-keyvault-service-version: |
| 162 | + - 1.1.0.276 |
| 163 | + x-powered-by: |
| 164 | + - ASP.NET |
| 165 | + status: |
| 166 | + code: 200 |
| 167 | + message: OK |
| 168 | +- request: |
| 169 | + body: '{"name": "sample-vault", "type": "Microsoft.KeyVault/vaults"}' |
| 170 | + headers: |
| 171 | + Accept: |
| 172 | + - application/json |
| 173 | + Accept-Encoding: |
| 174 | + - gzip, deflate |
| 175 | + Connection: |
| 176 | + - keep-alive |
| 177 | + Content-Length: |
| 178 | + - '61' |
| 179 | + Content-Type: |
| 180 | + - application/json; charset=utf-8 |
| 181 | + User-Agent: |
| 182 | + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 |
| 183 | + msrest_azure/0.6.2 azure-mgmt-keyvault/2.2.0 Azure-SDK-For-Python |
| 184 | + accept-language: |
| 185 | + - en-US |
| 186 | + method: POST |
| 187 | + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/checkNameAvailability?api-version=2019-09-01 |
| 188 | + response: |
| 189 | + body: |
| 190 | + string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"The name |
| 191 | + ''sample-vault'' is already in use."}' |
| 192 | + headers: |
| 193 | + cache-control: |
| 194 | + - no-cache |
| 195 | + content-length: |
| 196 | + - '103' |
| 197 | + content-type: |
| 198 | + - application/json; charset=utf-8 |
| 199 | + date: |
| 200 | + - Wed, 15 Apr 2020 13:13:58 GMT |
| 201 | + expires: |
| 202 | + - '-1' |
| 203 | + pragma: |
| 204 | + - no-cache |
| 205 | + server: |
| 206 | + - Microsoft-IIS/10.0 |
| 207 | + strict-transport-security: |
| 208 | + - max-age=31536000; includeSubDomains |
| 209 | + transfer-encoding: |
| 210 | + - chunked |
| 211 | + vary: |
| 212 | + - Accept-Encoding |
| 213 | + x-aspnet-version: |
| 214 | + - 4.0.30319 |
| 215 | + x-content-type-options: |
| 216 | + - nosniff |
| 217 | + x-ms-keyvault-service-version: |
| 218 | + - 1.1.0.276 |
| 219 | + x-powered-by: |
| 220 | + - ASP.NET |
| 221 | + status: |
| 222 | + code: 200 |
| 223 | + message: OK |
| 224 | +- request: |
| 225 | + body: null |
| 226 | + headers: |
| 227 | + Accept: |
| 228 | + - application/json |
| 229 | + Accept-Encoding: |
| 230 | + - gzip, deflate |
| 231 | + Connection: |
| 232 | + - keep-alive |
| 233 | + Content-Length: |
| 234 | + - '0' |
| 235 | + User-Agent: |
| 236 | + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 |
| 237 | + msrest_azure/0.6.2 azure-mgmt-keyvault/2.2.0 Azure-SDK-For-Python |
| 238 | + accept-language: |
| 239 | + - en-US |
| 240 | + method: DELETE |
| 241 | + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_keyvault_test_keyvault14930f02/providers/Microsoft.KeyVault/vaults/myVaultSss?api-version=2019-09-01 |
| 242 | + response: |
| 243 | + body: |
| 244 | + string: '' |
| 245 | + headers: |
| 246 | + cache-control: |
| 247 | + - no-cache |
| 248 | + content-length: |
| 249 | + - '0' |
| 250 | + date: |
| 251 | + - Wed, 15 Apr 2020 13:14:01 GMT |
| 252 | + expires: |
| 253 | + - '-1' |
| 254 | + pragma: |
| 255 | + - no-cache |
| 256 | + server: |
| 257 | + - Microsoft-IIS/10.0 |
| 258 | + strict-transport-security: |
| 259 | + - max-age=31536000; includeSubDomains |
| 260 | + x-aspnet-version: |
| 261 | + - 4.0.30319 |
| 262 | + x-content-type-options: |
| 263 | + - nosniff |
| 264 | + x-ms-keyvault-service-version: |
| 265 | + - 1.1.0.276 |
| 266 | + x-ms-ratelimit-remaining-subscription-deletes: |
| 267 | + - '14998' |
| 268 | + x-powered-by: |
| 269 | + - ASP.NET |
| 270 | + status: |
| 271 | + code: 200 |
| 272 | + message: OK |
| 273 | +version: 1 |
0 commit comments