-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding 7.2-preview version (#8397) * Adding 7.2-preview version Signed-off-by: vasanthrajams <vasanthrajams@microsoft.com> * Resolve PR feedback * Fix output-folder for go code generation Co-authored-by: Heath Stewart <heaths@outlook.com> * full backup restore yaml changes (#8685) * Adding the required swagger file changes for full HSM backup Signed-off-by: vasanthrajams <vasanthrajams@microsoft.com> * Resolved a few semantic errors in pipeline Signed-off-by: vasanthrajams <vasanthrajams@microsoft.com> * Fixed incremental github pipeline model validation erors Signed-off-by: vasanthrajams <vasanthrajams@microsoft.com> * Fixed review comments & ci pipeline * spell check fix * pretty fix * Adding required headers as per azure async operations guidelines Signed-off-by: vasanthrajams <vasanthrajams@microsoft.com> * Fixed minor typos Signed-off-by: vasanthrajams <vasanthrajams@microsoft.com> Co-authored-by: vasanthrajams <vasanthrajams@microsoft.com> * selective key restore (#8781) * selective key restore * moved selective key restore to keys.json * fixed github pipeline checks * example missing folder property * Resolved review comments * minor fix * review comments * pretty check fix Co-authored-by: vasanthrajams <vasanthrajams@microsoft.com> * Additional 7.2 preview changes (#9141) * Additional 7.2 preview changes * Corrections and Feedback updates * Remove ProtectedKey * Patch export sample * Fix validation errors * Fix more validation errors * More validation fixes * Add 6 more AES-CBC algorithms (#9317) * Add 6 more algorithms * Add new words to fix the spelling * Adding 7.2-preview version (#8397) * Adding 7.2-preview version Signed-off-by: vasanthrajams <vasanthrajams@microsoft.com> * Resolve PR feedback * Fix output-folder for go code generation Co-authored-by: Heath Stewart <heaths@outlook.com> * selective key restore (#8781) * selective key restore * moved selective key restore to keys.json * fixed github pipeline checks * example missing folder property * Resolved review comments * minor fix * review comments * pretty check fix Co-authored-by: vasanthrajams <vasanthrajams@microsoft.com> * Additional 7.2 preview changes (#9141) * Additional 7.2 preview changes * Corrections and Feedback updates * Remove ProtectedKey * Patch export sample * Fix validation errors * Fix more validation errors * More validation fixes * Add 6 more AES-CBC algorithms (#9317) * Add 6 more algorithms * Add new words to fix the spelling * fixing validation failures * key-version example fix * model validation Co-authored-by: Heath Stewart <heaths@outlook.com> Co-authored-by: vasanthrajams <vasanthrajams@microsoft.com> Co-authored-by: Hervey Wilson <herveyw@microsoft.com> Co-authored-by: Rick Qing Xu <qinx@microsoft.com>
- Loading branch information
1 parent
d540ef6
commit 9a54fc6
Showing
10 changed files
with
436 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
...cation/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ExportKey-example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parameters": { | ||
"vaultBaseUrl": "https://myvault.vault.azure.net/", | ||
"key-name": "exportable-aes-key", | ||
"key-version": "4eb68492b5f6421e835d961ad2be3155", | ||
"api-version": "7.2-preview", | ||
"parameters": { | ||
"env": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkdXQXkxNk5ieFJJQ3lCUzVKckJxRk5DdXdjS2YxYUVYbS1hUDVsUlJ4UEUiLCJqa3UiOiJodHRwOi8vbG9jYWxob3N0OjgwMjMva2V5cyJ9.eyJhYXMtZWhkIjoiZXlKclpYbHpJanBiZXlKbElqb2lRVkZCUWlJc0ltdGxlVjl2Y0hNaU9sc2laR1ZqY25sd2RDSXNJbVZ1WTNKNWNIUWlYU3dpYTJsa0lqb2lOVE16TmpReU5HTXRaV1kzWlMxaU1tRm1MVFU1WmprdE5HUXdPRGhtTURR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t6e9xTKopwEnDt-Mc52oAAe6zicFwX3REZd5E0m3WzJuSYS8H9iKTGL1dfusflPx74C5xLTZiHe0D2YFHYoW3efEm3r55DwkpTbA6tbDjMY7OIC9XuC7prAf4nQ5hYRk0LATzwytYIZ-c-R08ZEt5CV5XqR5MuSDKWWslPm36BHD3l03VVNEEG4hC9KuCIZ2z9YK5ofGze-IY1J9x1EwnG-y_1RF6rDKENjOROOaOH9JvohHGIfK0FKVj8_7E6JxMTQMb7K-45GfE20tTVdCs4A4k3jXNrIRcGmSK5EMrB_LbHzk0PIc6sjl-VuPZVqGxhsaAyoH3cdA" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"attributes": { | ||
"created": 1587425174, | ||
"enabled": true, | ||
"exportable": true, | ||
"recoverableDays": 90, | ||
"recoveryLevel": "Recoverable+Purgeable", | ||
"updated": 1587425174 | ||
}, | ||
"key": { | ||
"key_ops": [ | ||
"decrypt", | ||
"encrypt" | ||
], | ||
"kid": "https://myvault.vault.azure.net/keys/exportable-aes-key/903fab0c1bab0b30266200be85f5f2ed", | ||
"kty": "oct", | ||
"key_hsm": "CxX3qVTt22ZvjwdS-fmMSsLpaQQ8IcfGAC2TYWo3FXIPnOrSmZWdWN3gLMNSLUtUOhXqwXCe6jOxH2jMr6suO4Q0mfrKurAB-IC5gbDZGGD9XksrAkyYS-0p4p4I4Q4QxEOCtCKYPYWWu91dg5xg5aYjVRyR5G3C6O0haotp1FL1FiOB1PVcW9HchDIdHMFCszsb33pbvDuYvJXPPqdSIGIT8P8ExVG9_RwYTZl2Kj3MTSbe9zjOEEW-EnA6Phr0EFO0h94dWK0Y2tPhyzGYOSBScJCWIdwD9lT1aaHNFE0rSLJ9wv0qGezR10nD7V7ALZiEscsrAcwrWTtmmCJMAIJpGf0u9rN1_JQiXuO4Q9Cf4b73nSP1kIIAPkZ3r6Fqmrm8F7NeKis" | ||
}, | ||
"release_policy": { | ||
"anyOf": [ | ||
{ | ||
"allOf": [ | ||
{ | ||
"claim": "sgx-mrsigner", | ||
"condition": "equals", | ||
"value": "86788fe40448f2a12e20bf8d5e7a1c3139bc5fdc1432b370c1da3489ab649a85" | ||
}, | ||
{ | ||
"claim": "is-debuggable", | ||
"condition": "equals", | ||
"value": "false" | ||
} | ||
], | ||
"authority": "http://localhost:8023/" | ||
} | ||
], | ||
"version": "0.2" | ||
} | ||
} | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...ation/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullBackup-example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...yvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullBackup-pending-example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...tion/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullRestore-example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...vault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullRestore-pending-example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SelectiveRestore-example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"vaultBaseUrl": "https://myvault.vault.azure.net", | ||
"keyName": "hsm-mail-key", | ||
"restoreBlobDetails": { | ||
"sasTokenParameters": { | ||
"storageResourceUri": "https://myaccount.blob.core.windows.net/sascontainer/sasContainer", | ||
"token": "se=2018-02-01T00%3A00Z&spr=https&sv=2017-04-17&sr=b&sig=XXFNfuMCH112BxhemJ7PWn0xGfImMXT6LfbXWvtRUk%3D" | ||
}, | ||
"folder": "mhsm-mypool-20200303062926785" | ||
}, | ||
"api-version": "7.2-preview" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": 5, | ||
"Azure-AsyncOperation": "https://myvault.vault.azure.net/restore/45aacd568a23b0s49a2803861e8dd3ase21f/pending" | ||
}, | ||
"body": { | ||
"status": "InProgress", | ||
"statusDetails": "Selective Key restore is in progress", | ||
"jobId": "45aacd568a23b0s49a2803861e8dd3ase21f", | ||
"startTime": 1490790000, | ||
"endTime": 0 | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.