From eb8c2a7bda70da64018d5f943c8556b2342db9a9 Mon Sep 17 00:00:00 2001 From: vasanthrajams <60414148+vasanthrajams@users.noreply.github.com> Date: Wed, 17 Jun 2020 11:21:01 -0700 Subject: [PATCH] Security domain backup restore REST OpenAPI specification (#9647) * Adding 7.2-preview version (#8397) * Adding 7.2-preview version Signed-off-by: vasanthrajams * Resolve PR feedback * Fix output-folder for go code generation Co-authored-by: Heath Stewart * MHSM Security domain backup restore REST OpenAPI specifications * Reolved review comments * resolved conflicts * lint errors * Resolved x-ms-long running operation options comment * run pretty check * adding long running operation options * long-running-operation-options * fix avacado cl error * fixing avocado failures Co-authored-by: Heath Stewart Co-authored-by: vasanthrajams --- custom-words.txt | 6 + .../{7.2 => 7.2-preview}/backuprestore.json | 0 .../{7.2 => 7.2-preview}/certificates.json | 0 .../preview/{7.2 => 7.2-preview}/common.json | 0 .../examples/BackupCertificate-example.json | 0 .../examples/BackupKey-example.json | 0 .../examples/BackupSecret-example.json | 0 .../examples/CreateCertificate-example.json | 0 .../examples/CreateKey-example.json | 0 .../examples/DeleteCertificate-example.json | 0 .../DeleteCertificateContacts-example.json | 0 .../DeleteCertificateIssuer-example.json | 0 .../DeleteCertificateOperation-example.json | 0 .../examples/DeleteKey-example.json | 0 .../DeleteRoleAssignments-example.json | 0 .../examples/DeleteSecret-example.json | 0 .../examples/ExportKey-example.json | 0 .../examples/FullBackup-example.json | 0 .../examples/FullBackup-pending-example.json | 0 .../examples/FullRestore-example.json | 0 .../examples/FullRestore-pending-example.json | 0 .../examples/GetCertificate-example.json | 0 .../GetCertificateContacts-example.json | 0 .../GetCertificateIssuer-example.json | 0 .../GetCertificateIssuers-example.json | 0 .../GetCertificateOperation-example.json | 0 .../GetCertificatePolicy-example.json | 0 .../GetCertificateVersions-example.json | 0 .../examples/GetCertificates-example.json | 0 .../GetDeletedCertificate-example.json | 0 .../GetDeletedCertificates-example.json | 0 .../examples/GetDeletedKey-example.json | 0 .../examples/GetDeletedKeys-example.json | 0 .../examples/GetDeletedSecret-example.json | 0 .../examples/GetDeletedSecrets-example.json | 0 .../examples/GetKey-example.json | 0 .../examples/GetKeyVersions-example.json | 0 .../examples/GetKeys-example.json | 0 .../examples/GetRoleAssignments-example.json | 0 .../examples/GetSecret-example.json | 0 .../examples/GetSecretVersions-example.json | 0 .../examples/GetSecrets-example.json | 0 .../examples/ImportCertificate-example.json | 0 .../examples/ImportKey-example.json | 0 .../examples/ListRoleAssignments-example.json | 0 .../examples/ListRoleDefinitions-example.json | 0 .../examples/MergeCertificate-example.json | 0 .../PurgeDeletedCertificate-example.json | 0 .../examples/PurgeDeletedKey-example.json | 0 .../examples/PurgeDeletedSecret-example.json | 0 .../examples/PutRoleAssignments-example.json | 0 .../RecoverDeletedCertificate-example.json | 0 .../examples/RecoverDeletedKey-example.json | 0 .../RecoverDeletedSecret-example.json | 0 .../examples/RestoreCertificate-example.json | 0 .../examples/RestoreKey-example.json | 0 .../examples/RestoreSecret-example.json | 0 .../examples/SelectiveRestore-example.json | 0 .../SetCertificateContacts-example.json | 0 .../SetCertificateIssuer-example.json | 0 .../examples/SetSecret-example.json | 0 .../examples/UpdateCertificate-example.json | 0 .../UpdateCertificateIssuer-example.json | 0 .../UpdateCertificateOperation-example.json | 0 .../UpdateCertificatePolicy-example.json | 0 .../examples/UpdateKey-example.json | 0 .../examples/UpdateSecret-example.json | 0 .../examples/backupStorageAccount.json | 0 .../examples/decrypt-example.json | 0 .../examples/deleteStorageAccount.json | 0 .../examples/deleteStorageSasDefinition.json | 0 .../examples/encrypt-example.json | 0 .../examples/getDeletedStorageAccount.json | 0 .../getDeletedStorageSasDefinition.json | 0 .../examples/getStorageAccount.json | 0 .../examples/getStorageSasDefinition.json | 0 .../examples/listDeletedStorageAccount.json | 0 .../listDeletedStorageSasDefinition.json | 0 .../examples/listStorageAccount.json | 0 .../examples/listStorageSasDefinition.json | 0 .../examples/purgeStorageAccount.json | 0 .../examples/recoverStorageAccount.json | 0 .../examples/recoverStorageSasDefinition.json | 0 .../examples/regenerateStorageAccountKey.json | 0 .../examples/restoreStorageAccount.json | 0 .../securitydomaindownloadpost-example.json | 74 ++++ ...securitydomainoperationstatus-example.json | 14 + .../securitydomaintransferkey-example.json | 27 ++ ...securitydomainuploadoperation-example.json | 21 ++ .../examples/setStorageAccount.json | 0 .../examples/setStorageSasDefinition.json | 0 .../examples/sign-example.json | 0 .../examples/unwrapKey-example.json | 0 .../examples/updateStorageAccount.json | 0 .../examples/updateStorageSasDefinition.json | 0 .../examples/verify-example.json | 0 .../examples/wrapKey-example.json | 0 .../preview/{7.2 => 7.2-preview}/index.md | 0 .../preview/{7.2 => 7.2-preview}/keys.json | 0 .../preview/{7.2 => 7.2-preview}/rbac.json | 0 .../preview/{7.2 => 7.2-preview}/secrets.json | 0 .../preview/7.2-preview/securitydomain.json | 330 ++++++++++++++++++ .../preview/{7.2 => 7.2-preview}/storage.json | 0 specification/keyvault/data-plane/readme.md | 65 ++-- 104 files changed, 507 insertions(+), 30 deletions(-) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/backuprestore.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/certificates.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/common.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/BackupCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/BackupKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/BackupSecret-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/CreateCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/CreateKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/DeleteCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/DeleteCertificateContacts-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/DeleteCertificateIssuer-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/DeleteCertificateOperation-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/DeleteKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/DeleteRoleAssignments-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/DeleteSecret-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/ExportKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/FullBackup-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/FullBackup-pending-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/FullRestore-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/FullRestore-pending-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetCertificateContacts-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetCertificateIssuer-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetCertificateIssuers-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetCertificateOperation-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetCertificatePolicy-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetCertificateVersions-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetCertificates-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetDeletedCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetDeletedCertificates-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetDeletedKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetDeletedKeys-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetDeletedSecret-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetDeletedSecrets-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetKeyVersions-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetKeys-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetRoleAssignments-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetSecret-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetSecretVersions-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/GetSecrets-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/ImportCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/ImportKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/ListRoleAssignments-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/ListRoleDefinitions-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/MergeCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/PurgeDeletedCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/PurgeDeletedKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/PurgeDeletedSecret-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/PutRoleAssignments-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/RecoverDeletedCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/RecoverDeletedKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/RecoverDeletedSecret-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/RestoreCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/RestoreKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/RestoreSecret-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/SelectiveRestore-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/SetCertificateContacts-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/SetCertificateIssuer-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/SetSecret-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/UpdateCertificate-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/UpdateCertificateIssuer-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/UpdateCertificateOperation-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/UpdateCertificatePolicy-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/UpdateKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/UpdateSecret-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/backupStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/decrypt-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/deleteStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/deleteStorageSasDefinition.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/encrypt-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/getDeletedStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/getDeletedStorageSasDefinition.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/getStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/getStorageSasDefinition.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/listDeletedStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/listDeletedStorageSasDefinition.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/listStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/listStorageSasDefinition.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/purgeStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/recoverStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/recoverStorageSasDefinition.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/regenerateStorageAccountKey.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/restoreStorageAccount.json (100%) create mode 100644 specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomaindownloadpost-example.json create mode 100644 specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomainoperationstatus-example.json create mode 100644 specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomaintransferkey-example.json create mode 100644 specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomainuploadoperation-example.json rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/setStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/setStorageSasDefinition.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/sign-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/unwrapKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/updateStorageAccount.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/updateStorageSasDefinition.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/verify-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/examples/wrapKey-example.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/index.md (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/keys.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/rbac.json (100%) rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/secrets.json (100%) create mode 100644 specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/securitydomain.json rename specification/keyvault/data-plane/Microsoft.KeyVault/preview/{7.2 => 7.2-preview}/storage.json (100%) diff --git a/custom-words.txt b/custom-words.txt index 75494be7c350..d47d37ab39fc 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1790,6 +1790,12 @@ userprincipalname sessionstate sessionhosts hostpool +securitydomain +securitydomaindownloadpost +securitydomaintransferkey +securitydomainuploadoperation +securitydomainoperationstatus +transferkey Alexa regeneratekeys Directline diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/backuprestore.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/backuprestore.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/backuprestore.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/backuprestore.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/certificates.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/certificates.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/certificates.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/certificates.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/common.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/common.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/common.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/common.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/BackupCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/BackupCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/BackupCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/BackupCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/BackupKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/BackupKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/BackupKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/BackupKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/BackupSecret-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/BackupSecret-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/BackupSecret-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/BackupSecret-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/CreateCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/CreateCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/CreateCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/CreateCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/CreateKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/CreateKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/CreateKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/CreateKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteCertificateContacts-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteCertificateContacts-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteCertificateContacts-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteCertificateContacts-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteCertificateIssuer-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteCertificateIssuer-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteCertificateIssuer-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteCertificateIssuer-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteCertificateOperation-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteCertificateOperation-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteCertificateOperation-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteCertificateOperation-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteRoleAssignments-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteRoleAssignments-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteRoleAssignments-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteRoleAssignments-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteSecret-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteSecret-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/DeleteSecret-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/DeleteSecret-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ExportKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ExportKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ExportKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ExportKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullBackup-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/FullBackup-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullBackup-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/FullBackup-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullBackup-pending-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/FullBackup-pending-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullBackup-pending-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/FullBackup-pending-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullRestore-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/FullRestore-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullRestore-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/FullRestore-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullRestore-pending-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/FullRestore-pending-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullRestore-pending-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/FullRestore-pending-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateContacts-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateContacts-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateContacts-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateContacts-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateIssuer-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateIssuer-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateIssuer-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateIssuer-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateIssuers-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateIssuers-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateIssuers-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateIssuers-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateOperation-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateOperation-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateOperation-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateOperation-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificatePolicy-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificatePolicy-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificatePolicy-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificatePolicy-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateVersions-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateVersions-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificateVersions-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificateVersions-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificates-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificates-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetCertificates-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetCertificates-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedCertificates-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedCertificates-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedCertificates-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedCertificates-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedKeys-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedKeys-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedKeys-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedKeys-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedSecret-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedSecret-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedSecret-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedSecret-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedSecrets-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedSecrets-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetDeletedSecrets-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetDeletedSecrets-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetKeyVersions-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetKeyVersions-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetKeyVersions-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetKeyVersions-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetKeys-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetKeys-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetKeys-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetKeys-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetRoleAssignments-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetRoleAssignments-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetRoleAssignments-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetRoleAssignments-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetSecret-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetSecret-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetSecret-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetSecret-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetSecretVersions-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetSecretVersions-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetSecretVersions-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetSecretVersions-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetSecrets-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetSecrets-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/GetSecrets-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/GetSecrets-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ImportCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ImportCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ImportCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ImportCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ImportKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ImportKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ImportKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ImportKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ListRoleAssignments-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ListRoleAssignments-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ListRoleAssignments-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ListRoleAssignments-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ListRoleDefinitions-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ListRoleDefinitions-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/ListRoleDefinitions-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/ListRoleDefinitions-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/MergeCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/MergeCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/MergeCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/MergeCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/PurgeDeletedCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/PurgeDeletedCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/PurgeDeletedCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/PurgeDeletedCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/PurgeDeletedKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/PurgeDeletedKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/PurgeDeletedKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/PurgeDeletedKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/PurgeDeletedSecret-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/PurgeDeletedSecret-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/PurgeDeletedSecret-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/PurgeDeletedSecret-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/PutRoleAssignments-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/PutRoleAssignments-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/PutRoleAssignments-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/PutRoleAssignments-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RecoverDeletedCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RecoverDeletedCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RecoverDeletedCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RecoverDeletedCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RecoverDeletedKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RecoverDeletedKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RecoverDeletedKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RecoverDeletedKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RecoverDeletedSecret-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RecoverDeletedSecret-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RecoverDeletedSecret-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RecoverDeletedSecret-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RestoreCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RestoreCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RestoreCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RestoreCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RestoreKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RestoreKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RestoreKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RestoreKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RestoreSecret-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RestoreSecret-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/RestoreSecret-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/RestoreSecret-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SelectiveRestore-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/SelectiveRestore-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SelectiveRestore-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/SelectiveRestore-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SetCertificateContacts-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/SetCertificateContacts-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SetCertificateContacts-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/SetCertificateContacts-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SetCertificateIssuer-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/SetCertificateIssuer-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SetCertificateIssuer-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/SetCertificateIssuer-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SetSecret-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/SetSecret-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SetSecret-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/SetSecret-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateCertificate-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateCertificate-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateCertificate-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateCertificate-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateCertificateIssuer-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateCertificateIssuer-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateCertificateIssuer-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateCertificateIssuer-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateCertificateOperation-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateCertificateOperation-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateCertificateOperation-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateCertificateOperation-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateCertificatePolicy-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateCertificatePolicy-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateCertificatePolicy-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateCertificatePolicy-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateSecret-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateSecret-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/UpdateSecret-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/UpdateSecret-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/backupStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/backupStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/backupStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/backupStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/decrypt-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/decrypt-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/decrypt-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/decrypt-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/deleteStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/deleteStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/deleteStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/deleteStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/deleteStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/deleteStorageSasDefinition.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/deleteStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/deleteStorageSasDefinition.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/encrypt-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/encrypt-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/encrypt-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/encrypt-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/getDeletedStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/getDeletedStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/getDeletedStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/getDeletedStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/getDeletedStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/getDeletedStorageSasDefinition.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/getDeletedStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/getDeletedStorageSasDefinition.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/getStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/getStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/getStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/getStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/getStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/getStorageSasDefinition.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/getStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/getStorageSasDefinition.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/listDeletedStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/listDeletedStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/listDeletedStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/listDeletedStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/listDeletedStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/listDeletedStorageSasDefinition.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/listDeletedStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/listDeletedStorageSasDefinition.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/listStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/listStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/listStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/listStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/listStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/listStorageSasDefinition.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/listStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/listStorageSasDefinition.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/purgeStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/purgeStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/purgeStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/purgeStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/recoverStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/recoverStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/recoverStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/recoverStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/recoverStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/recoverStorageSasDefinition.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/recoverStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/recoverStorageSasDefinition.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/regenerateStorageAccountKey.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/regenerateStorageAccountKey.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/regenerateStorageAccountKey.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/regenerateStorageAccountKey.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/restoreStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/restoreStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/restoreStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/restoreStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomaindownloadpost-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomaindownloadpost-example.json new file mode 100644 index 000000000000..1c733f9c7967 --- /dev/null +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomaindownloadpost-example.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "vaultBaseUrl": "https://myvault.vault.azure.net/", + "Certificates": { + "certificates": [ + { + "value": { + "kid": "id1", + "kty": "RSA", + "key_ops": [ + "verify", + "encrypt", + "wrapKey" + ], + "alg": "RSA-OAEP-256", + "x5c": [ + "MIIEnTCCBAgIBATANBgkAoWgAwIqhkiG9w0BAQsFADAQMQ4wDAYDVQQDDAVjZXJ0QTAeFw0yMDA0MjYwMzU1NDNaFw0yMTA0MjYwMzU1NDNaMBAxDjAMBgNVBAMMBWNlcnRBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAi0+23X8hLsFgrh7O2VtM2fVrSRIUDM/7+/D7A+FQOyt1jsMC8CSYHixo65l/FbAWGx79mqANMa0v2NX4UPDgkRhHlnQXstXa+VRgylqKpS+Da0x9Om/mivTQ26aDwb1Pd8h+SGcgJNy1VOnmI5+uvgfh9Qj6glJZHEyvh6dat6f4DDTwRVf6Vvc5noB+6PXXM/nReFWs32fiojoFeUbneQthQnRCS7CeokqIF1KJoOIrTZFCJ+hw2qtCtKrr8K+0rqC/Jq5r1cu6o0/NOweOqKgwRQKapcrbdY0JsmcTERisX07w9fMbtMA/yiilaMj1GPW0Bwg5u5atZcjzTb6wOFYOGd2Y1WFBwQqqxriWo62Fp/TO5+kQigYkgVZXcPjbm2c0hdkisPt+APqEdMotmYTANxtC6McP+9KOO8+12K2fj2a9NEhRJOboGQeZ0M7DJoQDl4wg8f2nswxH/36Vfc5ad+nxRYwYObRYfgOh8vpYaw3cpj5+UHBaPQ8ZiQNDoWHJWvX5z1nTmCc2NmLHdi3ijkoc7AKHIv/ZX7qbNhv11a76gJRi/IoHkcf1UTpxCoD+eTbo8Isxt4c9fBTk1vS4wSGsJCewxcyMlTB9FHufPM8k5Uz/ZCOrc+RoaznKPGamgMJOOwbPE1WcBnxuG4rQcskdCa59NiZXyZsx5vsCAwEAAaMCMAAwDQYJKoZIhvcNAQELBQADggIBAAjHy9GCPejDYIVb/iv8Wo40n317LQN7H6ay+YB5L2byEQATvC1ixde6VqwU6k9VdoQOTfP3xJhfstKrO+n5mFJBL4KG8BZBbd6XQu/ggPLKEIVZFbeQkX6o03K54gY8GxYjHr6gF12I6heLWVKA/Qi480GqSlp2Nz+LE1jgPp9u52xpUPjsvRHXtxYZ7Q3O2jhPToNr3D/TZSu3tmQOeqj9M/igLDe9TxqN9C9jraUGR7Lr4zN1srtvIKhxGMS3Q9kC4Mq+ZNNIwC9+jzzd8fB2pGJP/iTFDzB0pDh9Jz0/CR4O4aGoYqkQEx629aZH2TzhOh2yf04TaniwkHXnUEsPTxrpY8ty/OUG3HzBMHCDhS08ZSimrrxhiWyH6g0OEglXVGrI2nH6nnQIn1MTNILcjUTMRt/WSOz6G07oZciAouKD2YS/W1qPap600kGhTya81BuYThGmFoXVMs7Mk3XBzZ81b6hJ6ncwCLb3g4YzqeQ8bOf42jYJctq4tPNaXTfoC7N0FX7lPVJpRdh6BFcHYcg0NPWJsdk6LtSJB6bp2qptRAgJ5S94s843FRd8PRFE10TKDfj3YFRBNkx7qDjwUhtN8/JC9+RHHw0Ngd0x2/BLqeCEMAQaJoC53h0aMLW6PSyovnsLvdJbN/rYc15qUXSz8TtjaHFpjsy/Fo5H" + ], + "x5t": "dJKBile6IJDrRGqa3k5d8_IKFdI", + "x5t#S256": "0HylM2tkO5ny9CyZ9VLASxspFr8GknnsvuoJEzuZO2A", + "n": "i0-23X8hLsFgrh7O2VtM2fVrSRIUDM_7-_D7A-FQOyt1jsMC8CSYHixo65l_FbAWGx79mqANMa0v2NX4UPDgkRhHlnQXstXa-VRgylqKpS-Da0x9Om_mivTQ26aDwb1Pd8h-SGcgJNy1VOnmI5-uvgfh9Qj6glJZHEyvh6dat6f4DDTwRVf6Vvc5noB-6PXXM_nReFWs32fiojoFeUbneQthQnRCS7CeokqIF1KJoOIrTZFCJ-hw2qtCtKrr8K-0rqC_Jq5r1cu6o0_NOweOqKgwRQKapcrbdY0JsmcTERisX07w9fMbtMA_yiilaMj1GPW0Bwg5u5atZcjzTb6wOFYOGd2Y1WFBwQqqxriWo62Fp_TO5-kQigYkgVZXcPjbm2c0hdkisPt-APqEdMotmYTANxtC6McP-9KOO8-12K2fj2a9NEhRJOboGQeZ0M7DJoQDl4wg8f2nswxH_36Vfc5ad-nxRYwYObRYfgOh8vpYaw3cpj5-UHBaPQ8ZiQNDoWHJWvX5z1nTmCc2NmLHdi3ijkoc7AKHIv_ZX7qbNhv11a76gJRi_IoHkcf1UTpxCoD-eTbo8Isxt4c9fBTk1vS4wSGsJCewxcyMlTB9FHufPM8k5Uz_ZCOrc-RoaznKPGamgMJOOwbPE1WcBnxuG4rQcskdCa59NiZXyZsx5vs", + "e": "AQAB" + } + }, + { + "value": { + "kid": "id2", + "kty": "RSA", + "key_ops": [ + "verify", + "encrypt", + "wrapKey" + ], + "alg": "RSA-OAEP-256", + "x5c": [ + "MIIEnTCCBAgIBAoWgAwIqhkiG9w0BTANBgkAAQsFADAQMQ4wDAYDVQQDDAVjZXJ0QTAeFw0yMDA0MjYwMzU1NDNaFw0yMTA0MjYwMzU1NDNaMBAxDjAMBgNVBAMMBWNlcnRBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAi0+23X8hLsFgrh7O2VtM2fVrSRIUDM/7+/D7A+FQOyt1jsMC8CSYHixo65l/FbAWGx79mqANMa0v2NX4UPDgkRhHlnQXstXa+VRgylqKpS+Da0x9Om/mivTQ26aDwb1Pd8h+SGcgJNy1VOnmI5+uvgfh9Qj6glJZHEyvh6dat6f4DDTwRVf6Vvc5noB+6PXXM/nReFWs32fiojoFeUbneQthQnRCS7CeokqIF1KJoOIrTZFCJ+hw2qtCtKrr8K+0rqC/Jq5r1cu6o0/NOweOqKgwRQKapcrbdY0JsmcTERisX07w9fMbtMA/yiilaMj1GPW0Bwg5u5atZcjzTb6wOFYOGd2Y1WFBwQqqxriWo62Fp/TO5+kQigYkgVZXcPjbm2c0hdkisPt+APqEdMotmYTANxtC6McP+9KOO8+12K2fj2a9NEhRJOboGQeZ0M7DJoQDl4wg8f2nswxH/36Vfc5ad+nxRYwYObRYfgOh8vpYaw3cpj5+UHBaPQ8ZiQNDoWHJWvX5z1nTmCc2NmLHdi3ijkoc7AKHIv/ZX7qbNhv11a76gJRi/IoHkcf1UTpxCoD+eTbo8Isxt4c9fBTk1vS4wSGsJCewxcyMlTB9FHufPM8k5Uz/ZCOrc+RoaznKPGamgMJOOwbPE1WcBnxuG4rQcskdCa59NiZXyZsx5vsCAwEAAaMCMAAwDQYJKoZIhvcNAQELBQADggIBAAjHy9GCPejDYIVb/iv8Wo40n317LQN7H6ay+YB5L2byEQATvC1ixde6VqwU6k9VdoQOTfP3xJhfstKrO+n5mFJBL4KG8BZBbd6XQu/ggPLKEIVZFbeQkX6o03K54gY8GxYjHr6gF12I6heLWVKA/Qi480GqSlp2Nz+LE1jgPp9u52xpUPjsvRHXtxYZ7Q3O2jhPToNr3D/TZSu3tmQOeqj9M/igLDe9TxqN9C9jraUGR7Lr4zN1srtvIKhxGMS3Q9kC4Mq+ZNNIwC9+jzzd8fB2pGJP/iTFDzB0pDh9Jz0/CR4O4aGoYqkQEx629aZH2TzhOh2yf04TaniwkHXnUEsPTxrpY8ty/OUG3HzBMHCDhS08ZSimrrxhiWyH6g0OEglXVGrI2nH6nnQIn1MTNILcjUTMRt/WSOz6G07oZciAouKD2YS/W1qPap600kGhTya81BuYThGmFoXVMs7Mk3XBzZ81b6hJ6ncwCLb3g4YzqeQ8bOf42jYJctq4tPNaXTfoC7N0FX7lPVJpRdh6BFcHYcg0NPWJsdk6LtSJB6bp2qptRAgJ5S94s843FRd8PRFE10TKDfj3YFRBNkx7qDjwUhtN8/JC9+RHHw0Ngd0x2/BLqeCEMAQaJoC53h0aMLW6PSyovnsLvdJbN/rYc15qUXSz8TtjaHFpjsy/Fo5H" + ], + "x5t": "dJKBile6IJDrRGqa3k5d8_IKFdI", + "x5t#S256": "0HylM2tkO5ny9CyZ9VLASxspFr8GknnsvuoJEzuZO2A", + "n": "i0-23X8hLsFgrh7O2VtM2fVrSRIUDM_7-_D7A-FQOyt1jsMC8CSYHixo65l_FbAWGx79mqANMa0v2NX4UPDgkRhHlnQXstXa-VRgylqKpS-Da0x9Om_mivTQ26aDwb1Pd8h-SGcgJNy1VOnmI5-uvgfh9Qj6glJZHEyvh6dat6f4DDTwRVf6Vvc5noB-6PXXM_nReFWs32fiojoFeUbneQthQnRCS7CeokqIF1KJoOIrTZFCJ-hw2qtCtKrr8K-0rqC_Jq5r1cu6o0_NOweOqKgwRQKapcrbdY0JsmcTERisX07w9fMbtMA_yiilaMj1GPW0Bwg5u5atZcjzTb6wOFYOGd2Y1WFBwQqqxriWo62Fp_TO5-kQigYkgVZXcPjbm2c0hdkisPt-APqEdMotmYTANxtC6McP-9KOO8-12K2fj2a9NEhRJOboGQeZ0M7DJoQDl4wg8f2nswxH_36Vfc5ad-nxRYwYObRYfgOh8vpYaw3cpj5-UHBaPQ8ZiQNDoWHJWvX5z1nTmCc2NmLHdi3ijkoc7AKHIv_ZX7qbNhv11a76gJRi_IoHkcf1UTpxCoD-eTbo8Isxt4c9fBTk1vS4wSGsJCewxcyMlTB9FHufPM8k5Uz_ZCOrc-RoaznKPGamgMJOOwbPE1WcBnxuG4rQcskdCa59NiZXyZsx5vs", + "e": "AQAB" + } + }, + { + "value": { + "kid": "id3", + "kty": "RSA", + "key_ops": [ + "verify", + "encrypt", + "wrapKey" + ], + "alg": "RSA-OAEP-256", + "x5c": [ + "MIIEnTCCBkiG9w0BAQsFADAQMQ4wDAYDVQQDDAgIBATANBgkAoWgAwIqhAVjZXJ0QTAeFw0yMDA0MjYwMzU1NDNaFw0yMTA0MjYwMzU1NDNaMBAxDjAMBgNVBAMMBWNlcnRBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAi0+23X8hLsFgrh7O2VtM2fVrSRIUDM/7+/D7A+FQOyt1jsMC8CSYHixo65l/FbAWGx79mqANMa0v2NX4UPDgkRhHlnQXstXa+VRgylqKpS+Da0x9Om/mivTQ26aDwb1Pd8h+SGcgJNy1VOnmI5+uvgfh9Qj6glJZHEyvh6dat6f4DDTwRVf6Vvc5noB+6PXXM/nReFWs32fiojoFeUbneQthQnRCS7CeokqIF1KJoOIrTZFCJ+hw2qtCtKrr8K+0rqC/Jq5r1cu6o0/NOweOqKgwRQKapcrbdY0JsmcTERisX07w9fMbtMA/yiilaMj1GPW0Bwg5u5atZcjzTb6wOFYOGd2Y1WFBwQqqxriWo62Fp/TO5+kQigYkgVZXcPjbm2c0hdkisPt+APqEdMotmYTANxtC6McP+9KOO8+12K2fj2a9NEhRJOboGQeZ0M7DJoQDl4wg8f2nswxH/36Vfc5ad+nxRYwYObRYfgOh8vpYaw3cpj5+UHBaPQ8ZiQNDoWHJWvX5z1nTmCc2NmLHdi3ijkoc7AKHIv/ZX7qbNhv11a76gJRi/IoHkcf1UTpxCoD+eTbo8Isxt4c9fBTk1vS4wSGsJCewxcyMlTB9FHufPM8k5Uz/ZCOrc+RoaznKPGamgMJOOwbPE1WcBnxuG4rQcskdCa59NiZXyZsx5vsCAwEAAaMCMAAwDQYJKoZIhvcNAQELBQADggIBAAjHy9GCPejDYIVb/iv8Wo40n317LQN7H6ay+YB5L2byEQATvC1ixde6VqwU6k9VdoQOTfP3xJhfstKrO+n5mFJBL4KG8BZBbd6XQu/ggPLKEIVZFbeQkX6o03K54gY8GxYjHr6gF12I6heLWVKA/Qi480GqSlp2Nz+LE1jgPp9u52xpUPjsvRHXtxYZ7Q3O2jhPToNr3D/TZSu3tmQOeqj9M/igLDe9TxqN9C9jraUGR7Lr4zN1srtvIKhxGMS3Q9kC4Mq+ZNNIwC9+jzzd8fB2pGJP/iTFDzB0pDh9Jz0/CR4O4aGoYqkQEx629aZH2TzhOh2yf04TaniwkHXnUEsPTxrpY8ty/OUG3HzBMHCDhS08ZSimrrxhiWyH6g0OEglXVGrI2nH6nnQIn1MTNILcjUTMRt/WSOz6G07oZciAouKD2YS/W1qPap600kGhTya81BuYThGmFoXVMs7Mk3XBzZ81b6hJ6ncwCLb3g4YzqeQ8bOf42jYJctq4tPNaXTfoC7N0FX7lPVJpRdh6BFcHYcg0NPWJsdk6LtSJB6bp2qptRAgJ5S94s843FRd8PRFE10TKDfj3YFRBNkx7qDjwUhtN8/JC9+RHHw0Ngd0x2/BLqeCEMAQaJoC53h0aMLW6PSyovnsLvdJbN/rYc15qUXSz8TtjaHFpjsy/Fo5H" + ], + "x5t": "dJKBile6IJDrRGqa3k5d8_IKFdI", + "x5t#S256": "0HylM2tkO5ny9CyZ9VLASxspFr8GknnsvuoJEzuZO2A", + "n": "i0-23X8hLsFgrh7O2VtM2fVrSRIUDM_7-_D7A-FQOyt1jsMC8CSYHixo65l_FbAWGx79mqANMa0v2NX4UPDgkRhHlnQXstXa-VRgylqKpS-Da0x9Om_mivTQ26aDwb1Pd8h-SGcgJNy1VOnmI5-uvgfh9Qj6glJZHEyvh6dat6f4DDTwRVf6Vvc5noB-6PXXM_nReFWs32fiojoFeUbneQthQnRCS7CeokqIF1KJoOIrTZFCJ-hw2qtCtKrr8K-0rqC_Jq5r1cu6o0_NOweOqKgwRQKapcrbdY0JsmcTERisX07w9fMbtMA_yiilaMj1GPW0Bwg5u5atZcjzTb6wOFYOGd2Y1WFBwQqqxriWo62Fp_TO5-kQigYkgVZXcPjbm2c0hdkisPt-APqEdMotmYTANxtC6McP-9KOO8-12K2fj2a9NEhRJOboGQeZ0M7DJoQDl4wg8f2nswxH_36Vfc5ad-nxRYwYObRYfgOh8vpYaw3cpj5-UHBaPQ8ZiQNDoWHJWvX5z1nTmCc2NmLHdi3ijkoc7AKHIv_ZX7qbNhv11a76gJRi_IoHkcf1UTpxCoD-eTbo8Isxt4c9fBTk1vS4wSGsJCewxcyMlTB9FHufPM8k5Uz_ZCOrc-RoaznKPGamgMJOOwbPE1WcBnxuG4rQcskdCa59NiZXyZsx5vs", + "e": "AQAB" + } + } + ] + }, + "api-version": "7.2-preview" + }, + "responses": { + "200": { + "body": { + "value": "{\"EncData\":{\"data\":[{\"compact_jwe\":\"ey$Jhb%232GciOiJkaXIiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiZW5jbGF2ZS$J9..5eVwZFlsZQeYXQ11HPC_JJg.4d32grvkQBMxyGmncd82VHOggiFbtuaKX2wXvjU-vKukMAtS7oLl9QsSZZJ5s94xAz7Atye93e6gA_2tbHW0QEzLOXiuV-vZ342zP46dxV56bEEjENIOgzBWAfxUkuUdnYE2UDahGSJSbhNxo8URa44CaSAX682q_otmwqh0jgxk5ZcbHRdwpbSFZnfQ6SgHBqrvQUUpKlWJMJQNuWeEjmWaPkCOUnwkJ1ZLOnVj1AB8rlfj0qnEtBotc4V5066vztRDaTLEOV99lp08WRcRPAY2QVBSfhZdzslQ2baRukk6WOTI5KxIl0cf7o0db_zgoT6vluewXgzTSe6NTcrparwVJ-r6kxw12gkYJtrr3ytvOT_lgip5-7H3PLAgDDRDjHd_PEdNyPqsg56QjtVXBUwutQrfh46s_ATm0dFrhAF6Icf9H2rLDGCiFmKUn-CrtM3vErNzu9BMC8ekuSOe0t0XTnsKOjdiabE95MoRIqQYWQGfi02Rp2XO_lSEUnQJTNomd1IATKPiqqktE5YUu0OzDrVCdSGBGg5IDedmGSp0QIf8m7kSc8xYUsU1PTdJoSzgiOAue0ur_P1i2xr_BSSI6I4BJekw9e58qqBbWN-kc3swgLddsCfXqyW9RnNBvjQmnwdffv1O_4zF0wGVnohs6PYu-9RqIzLxgfHvnlBQbsauWlqpNfw5h_JpnoKW287vPc2iXRONHlGdd-4Mp3323JFbISM6NgGg8y6nUAdKASjyXuqR7bTnr3pNTpjF4523buuzKG3Q4nzr-jnWGPIpxeyBV6unEK0Aw3-QQpY7CG_s3-76P484gJm4vPum03I_V3tmnNt}]}}" + } + } + } +} diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomainoperationstatus-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomainoperationstatus-example.json new file mode 100644 index 000000000000..36e66d0862b5 --- /dev/null +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomainoperationstatus-example.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "vaultBaseUrl": "https://myvault.vault.azure.net/", + "api-version": "7.2-preview" + }, + "responses": { + "200": { + "body": { + "status": "InProgress", + "status_details": "" + } + } + } +} diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomaintransferkey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomaintransferkey-example.json new file mode 100644 index 000000000000..9c9edb0d91fa --- /dev/null +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomaintransferkey-example.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "vaultBaseUrl": "https://myvault.vault.azure.net/", + "api-version": "7.2-preview" + }, + "responses": { + "200": { + "body": { + "transfer_key": { + "kid": "https://myvault.vault.azure.net/transfer_key", + "kty": "RSA", + "key_ops": [ + "encrypt" + ], + "n": "2HJAE5fU3Cw2Rt9hEuq-F6XjINKGa-zskfISVqopqUy60GOs2eyhxbWbJBeUXNor_gf-tXtNeuqeBgitLeVa640UDvnEjYTKWjCniTxZRaU7ewY8BfTSk-7KxoDdLsPSpX_MX4rwlAx-_1UGk5t4sQgTbm9T6Fm2oqFd37dsz5-Gj27UP2GTAShfJPFD7MqU_zIgOI0pfqsbNL5xTQVM29K6rX4jSPtylZV3uWJtkoQIQnrIHhk1d0SC0KwlBV3V7R_LVYjiXLyIXsFzSNYgQ68ZjAwt8iL7I8Osa-ehQLM13DVvLASaf7Jnu3sC3CWl3Gyirgded6cfMmswJzY87w", + "e": "AQAB", + "alg": "RSA-OAEP-256", + "x5c": [ + "MIIEnTCCBAgIBATANBgkAoWgAwIqhkiG9w0BAQsFADAQMQ4wDAYDVQQDDAVjZXJ0QTAeFw0yMDA0MjYwM/mivTQ26aDwb1Pd8h+SGcgJNy1VOnmI5+uvgfh9Qj6glJZHEyvh6dat6f4DDTwRVf6Vvc5noB/yiilaMj1GPW0Bwg5u5atZcjzTb6wOFYOGd2Y1WFBwQqqxriWo62Fp/TO5+kQigYkgVZXcPjbm2c0hdkisPt+APqEdMotmYTANxtC6McP+9KOO8+12K2fj2a9NEhRJOboGQeZ0M7DJoQDl4wg8f2nswxH/36Vfc5ad+nxRYwYObRYfgOh8vpYaw3cpj5+UHBaPQ8ZiQNDoWHJWvX5z1nTmCc2NmLHdi3ijkoc7AKHIv/ZX7qbNhv11a76gJRi/IoHkcf1UTpxCoD+eTbo8Isxt4c9fBTk1vS4wSGsJCewxcyMlTB9FHufPM8k5Uz/ZCOrc+RoaznKPGamgMJOOwbPE1WcBnxuG4rQcskdCa59NiZXyZsx5vsCAwEAAaMCMAAwDQYJKoZIhvcNAQELBQADggIBAAjHy9GCPejDYIVb/iv8Wo40n317LQN7H6ay+YB5L2byEQATvC1ixde6VqwU6k9VdoQOTfP3xJhfstKrO+n5mFJBL4KG8BZBbd6XQu/ggPLKEIVZFbeQkX6o03K54gY8GxYjHr6gF12I6heLWVKA/Qi480GqSlp2Nz+LE1jgPp9u52xpUPjsvRHXtxYZ7Q3O2jhPToNr3D/TZSu3tmQOeqj9M/igLDe9TxqN9C9jraUGR7Lr4zN1srtvIKhxGMS3Q9kC4Mq+ZNNIwC9+jzzd8fB2pGJP/iTFDzB0pDh9Jz0/CR4O4aGoYqkQEx629aZH2TzhOh2yf04TaniwkHXnUEsPTxrpY8ty/OUG3HzBMHCDhS08ZSimrrxhiWyH6g0OEglXVGrI2nH6nnQIn1MTNILcjUTMRt/WSOz6G07oZciAouKD2YS/W1qPap600kGhTya81BuYThGmFoXVMs7Mk3XBzZ81b6hJ6ncwCLb3g4YzqeQ8bOf42jYJctq4tPNaXTfoC7N0FX7lPVJpRdh6BFcHYcg0NPWJsdk6LtSJB6bp2qptRAgJ5S94s843FRd8PRFE10TKDfj3YFRBNkx7qDjwUhtN8/JC9+RHHw0Ngd0x2/BLqeCEMAQaJoC53h0aMLW6PSyovnsLvdJbN/rYc15qUXSz8TtjaHFpjsy/Fo5H" + ], + "x5t": "dJKBile6IJDrRGqa3k5d8_IKFdI", + "x5t#S256": "gIBQCTDDN" + } + } + } + } +} diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomainuploadoperation-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomainuploadoperation-example.json new file mode 100644 index 000000000000..e59cc01e4939 --- /dev/null +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/securitydomainuploadoperation-example.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "vaultBaseUrl": "https://myvault.vault.azure.net/", + "security_domain": { + "value": "" + }, + "api-version": "7.2-preview" + }, + "responses": { + "202": { + "headers": { + "Retry-After": 5, + "Azure-AsyncOperation": "https://myvault.vault.azure.net/securitydomain/upload/pending" + }, + "body": { + "status": "InProgress", + "status_details": "" + } + } + } +} diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/setStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/setStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/setStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/setStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/setStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/setStorageSasDefinition.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/setStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/setStorageSasDefinition.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/sign-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/sign-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/sign-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/sign-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/unwrapKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/unwrapKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/unwrapKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/unwrapKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/updateStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/updateStorageAccount.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/updateStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/updateStorageAccount.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/updateStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/updateStorageSasDefinition.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/updateStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/updateStorageSasDefinition.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/verify-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/verify-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/verify-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/verify-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/wrapKey-example.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/wrapKey-example.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/wrapKey-example.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/examples/wrapKey-example.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/index.md b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/index.md similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/index.md rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/index.md diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/keys.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/keys.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/keys.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/keys.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/rbac.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/rbac.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/rbac.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/rbac.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/secrets.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/secrets.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/secrets.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/secrets.json diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/securitydomain.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/securitydomain.json new file mode 100644 index 000000000000..6f2bb9644780 --- /dev/null +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/securitydomain.json @@ -0,0 +1,330 @@ +{ + "swagger": "2.0", + "info": { + "title": "KeyVaultClient", + "description": "The key vault client performs cryptographic key operations and vault operations against the Key Vault service.", + "version": "7.2-preview" + }, + "x-ms-parameterized-host": { + "hostTemplate": "{vaultBaseUrl}", + "useSchemePrefix": false, + "positionInOperation": "first", + "parameters": [ + { + "name": "vaultBaseUrl", + "description": "The vault name, for example https://myvault.vault.azure.net.", + "required": true, + "type": "string", + "in": "path", + "x-ms-skip-url-encoding": true + } + ] + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/securitydomain/download": { + "post": { + "tags": [ + "HSMSecurityDomain" + ], + "operationId": "HSMSecurityDomain_Download", + "description": "Retrieves Security domain from HSM enclave", + "parameters": [ + { + "in": "body", + "name": "Certificates", + "required": true, + "schema": { + "$ref": "#/definitions/CertificateSet" + }, + "description": "Security domain download operation requires customer to provide three certificates containing public key in JWK format." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Security domain download response", + "schema": { + "$ref": "#/definitions/SecurityDomainObject" + } + }, + "default": { + "description": "Key Vault error response describing why the operation failed.", + "schema": { + "$ref": "common.json#/definitions/KeyVaultError" + } + } + }, + "x-ms-examples": { + "Retrieve Security domain": { + "$ref": "./examples/securitydomaindownloadpost-example.json" + } + } + } + }, + "/securitydomain/transferkey": { + "get": { + "tags": [ + "HSMSecurityDomain" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "operationId": "HSMSecurityDomain_TransferKey", + "description": "Retrieve security domain transfer key", + "responses": { + "200": { + "description": "Security domain transfer key operation", + "schema": { + "$ref": "#/definitions/TransferKey" + } + }, + "default": { + "description": "Key Vault error response describing why the operation failed.", + "schema": { + "$ref": "common.json#/definitions/KeyVaultError" + } + } + }, + "x-ms-examples": { + "Retrieve security domain transfer key": { + "$ref": "./examples/securitydomaintransferkey-example.json" + } + } + } + }, + "/securitydomain/upload": { + "post": { + "tags": [ + "HSMSecurityDomain" + ], + "operationId": "HSMSecurityDomain_Upload", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "description": "Request Security domain upload operation", + "parameters": [ + { + "in": "body", + "name": "security_domain", + "description": "security domain", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityDomainObject" + } + } + ], + "responses": { + "202": { + "description": "Security domain upload operation started", + "headers": { + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/SecurityDomainOperationStatus" + } + }, + "default": { + "description": "Key Vault error response describing why the operation failed.", + "schema": { + "$ref": "common.json#/definitions/KeyVaultError" + } + } + }, + "x-ms-examples": { + "Security domain upload operation": { + "$ref": "./examples/securitydomainuploadoperation-example.json" + } + } + } + }, + "/securitydomain/upload/pending": { + "get": { + "tags": [ + "HSMSecurityDomain" + ], + "operationId": "HSMSecurityDomain_UploadPending", + "description": "Get Security domain upload operation status", + "responses": { + "200": { + "description": "Security domain upload operation status", + "schema": { + "$ref": "#/definitions/SecurityDomainOperationStatus" + } + }, + "default": { + "description": "Key Vault error response describing why the operation failed.", + "schema": { + "$ref": "common.json#/definitions/KeyVaultError" + } + } + }, + "x-ms-examples": { + "Find security domain upload operation status": { + "$ref": "./examples/securitydomainoperationstatus-example.json" + } + } + } + } + }, + "definitions": { + "CertificateSet": { + "properties": { + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityDomainCertificateItem" + }, + "minItems": 3, + "maxItems": 3, + "uniqueItems": true, + "description": "Three certificates needed from customer" + } + }, + "required": [ + "certificates" + ] + }, + "SecurityDomainCertificateItem": { + "properties": { + "value": { + "$ref": "#/definitions/SecurityDomainJsonWebKey", + "description": "Customer generated certificate containing public key in JWK format" + } + }, + "required": [ + "value" + ] + }, + "TransferKey": { + "properties": { + "transfer_key": { + "$ref": "#/definitions/SecurityDomainJsonWebKey" + } + }, + "required": [ + "transfer_key" + ] + }, + "SecurityDomainObject": { + "properties": { + "value": { + "type": "string" + } + } + }, + "SecurityDomainOperationStatus": { + "properties": { + "status": { + "description": "operation status", + "enum": [ + "Success", + "InProgress", + "Failed" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "OperationStatus" + }, + "type": "string" + }, + "status_details": { + "type": "string" + } + } + }, + "SecurityDomainJsonWebKey": { + "properties": { + "kid": { + "type": "string", + "description": "Key identifier." + }, + "kty": { + "type": "string", + "description": "JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. For security domain this value must be RSA", + "enum": [ + "RSA", + "RSA-HSM" + ], + "x-ms-enum": { + "name": "JsonWebKeyType", + "modelAsString": true + } + }, + "key_ops": { + "type": "array", + "items": { + "type": "string", + "description": "Supported key operations." + } + }, + "n": { + "type": "string", + "description": "RSA modulus." + }, + "e": { + "type": "string", + "description": "RSA public exponent." + }, + "x5c": { + "description": "X509 certificate chain parameter", + "type": "array", + "items": { + "type": "string" + } + }, + "use": { + "description": "Public Key Use Parameter. This is optional and if present must be enc.", + "type": "string" + }, + "x5t": { + "description": "X509 certificate SHA1 thumbprint. This is optional.", + "type": "string" + }, + "x5t#S256": { + "description": "X509 certificate SHA256 thumbprint.", + "type": "string" + }, + "alg": { + "description": "Algorithm intended for use with the key.", + "type": "string" + } + }, + "required": [ + "kty", + "key_ops", + "kid", + "x5c", + "x5t#S256", + "n", + "e" + ] + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." + } + } +} diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/storage.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/storage.json similarity index 100% rename from specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/storage.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/storage.json diff --git a/specification/keyvault/data-plane/readme.md b/specification/keyvault/data-plane/readme.md index 9db0128e0f77..601fc2219975 100644 --- a/specification/keyvault/data-plane/readme.md +++ b/specification/keyvault/data-plane/readme.md @@ -35,31 +35,16 @@ These settings apply only when `--tag=package-7.2-preview` is specified on the c ```yaml $(tag) == 'package-7.2-preview' input-file: -- Microsoft.KeyVault/preview/7.2/certificates.json -- Microsoft.KeyVault/preview/7.2/common.json -- Microsoft.KeyVault/preview/7.2/keys.json -- Microsoft.KeyVault/preview/7.2/rbac.json -- Microsoft.KeyVault/preview/7.2/secrets.json -- Microsoft.KeyVault/preview/7.2/storage.json -- Microsoft.KeyVault/preview/7.2/backuprestore.json +- Microsoft.KeyVault/preview/7.2-preview/certificates.json +- Microsoft.KeyVault/preview/7.2-preview/common.json +- Microsoft.KeyVault/preview/7.2-preview/keys.json +- Microsoft.KeyVault/preview/7.2-preview/rbac.json +- Microsoft.KeyVault/preview/7.2-preview/secrets.json +- Microsoft.KeyVault/preview/7.2-preview/storage.json +- Microsoft.KeyVault/preview/7.2-preview/backuprestore.json +- Microsoft.KeyVault/preview/7.2-preview/securitydomain.json ``` -### Tag: package-7.2-preview - -These settings apply only when `--tag=package-7.2-preview` is specified on the command line. - -```yaml $(tag) == 'package-7.2-preview' -input-file: -- Microsoft.KeyVault/preview/7.2/certificates.json -- Microsoft.KeyVault/preview/7.2/common.json -- Microsoft.KeyVault/preview/7.2/keys.json -- Microsoft.KeyVault/preview/7.2/rbac.json -- Microsoft.KeyVault/preview/7.2/secrets.json -- Microsoft.KeyVault/preview/7.2/storage.json -- Microsoft.KeyVault/preview/7.2/backuprestore.json -``` - - ### Tag: package-7.1-preview These settings apply only when `--tag=package-7.1-preview` is specified on the command line. @@ -169,13 +154,13 @@ require: $(this-folder)/../../../profiles/readme.md # all the input files across all versions input-file: - - $(this-folder)/Microsoft.KeyVault/preview/7.2/certificates.json - - $(this-folder)/Microsoft.KeyVault/preview/7.2/common.json - - $(this-folder)/Microsoft.KeyVault/preview/7.2/keys.json - - $(this-folder)/Microsoft.KeyVault/preview/7.2/rbac.json - - $(this-folder)/Microsoft.KeyVault/preview/7.2/secrets.json - - $(this-folder)/Microsoft.KeyVault/preview/7.2/storage.json - - $(this-folder)/Microsoft.KeyVault/preview/7.2/backuprestore.json + - $(this-folder)/Microsoft.KeyVault/preview/7.2-preview/certificates.json + - $(this-folder)/Microsoft.KeyVault/preview/7.2-preview/common.json + - $(this-folder)/Microsoft.KeyVault/preview/7.2-preview/keys.json + - $(this-folder)/Microsoft.KeyVault/preview/7.2-preview/rbac.json + - $(this-folder)/Microsoft.KeyVault/preview/7.2-preview/secrets.json + - $(this-folder)/Microsoft.KeyVault/preview/7.2-preview/storage.json + - $(this-folder)/Microsoft.KeyVault/preview/7.2-preview/backuprestore.json - $(this-folder)/Microsoft.KeyVault/preview/7.1/certificates.json - $(this-folder)/Microsoft.KeyVault/preview/7.1/common.json - $(this-folder)/Microsoft.KeyVault/preview/7.1/keys.json @@ -355,4 +340,24 @@ directive: - suppress: MISSING_REQUIRED_PARAMETER from: storage.json reason: Suppress an invalid error caused by a bug in the linter. + - suppress: DefinitionsPropertiesNamesCamelCase + from: securitydomain.json + where: $.definitions.TransferKey.properties.transfer_key + reason: Merely refactored existing definitions into new files. + - suppress: DefinitionsPropertiesNamesCamelCase + from: securitydomain.json + where: $.definitions.UploadPendingResponse.properties.status_details + reason: Consistency with other properties. + - suppress: DefinitionsPropertiesNamesCamelCase + from: securitydomain.json + where: $.definitions.SecurityDomainOperationStatus.properties.status_details + reason: Consistency with other properties. + - suppress: DefinitionsPropertiesNamesCamelCase + from: securitydomain.json + where: $.definitions.SecurityDomainOperationStatus.properties.key_ops + reason: Consistency with other properties. + - suppress: DefinitionsPropertiesNamesCamelCase + from: securitydomain.json + where: $.definitions.SecurityDomainOperationStatus.properties.x5t#S256 + reason: Consistency with other properties. ```