Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Key Vault] Add 7.6-preview.2 to TSP #32332

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"operationId": "RoleAssignments_Delete",
"title": "Delete a role assignment",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "keys",
"roleAssignmentName": "roleAssignmentName",
"api-version": "7.6-preview.2"
},
"responses": {
"200": {
"body": {
"properties": {
"roleDefinitionId": "/keys/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
"principalId": "principalId",
"scope": "/keys"
},
"id": "/keys/providers/Microsoft.Authorization/roleAssignments/roleAssignmentId",
"type": "Microsoft.Authorization/roleAssignments",
"name": "roleAssignmentId"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"operationId": "RoleDefinitions_Delete",
"title": "Delete a custom role definition",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "/",
"roleDefinitionName": "00000000-0000-0000-0000-000000000000",
"api-version": "7.6-preview.2"
},
"responses": {
"200": {
"body": {
"properties": {
"roleName": "My custom role",
"type": "CustomRole",
"description": "Role description",
"assignableScopes": [
"/"
],
"permissions": [
{
"dataActions": [
"Microsoft.KeyVault/managedHsm/keys/sign/action"
]
}
]
},
"id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Authorization/roleDefinitions",
"name": "00000000-0000-0000-0000-000000000000"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"operationId": "FullBackup",
"title": "Create a full backup",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"azureStorageBlobContainerUri": {
"storageResourceUri": "https://myaccount.blob.core.windows.net/sascontainer/sasContainer",
"token": "se=2018-02-01T00%3A00Z&spr=https&sv=2017-04-17&sr=b&sig=REDACTED"
},
"api-version": "7.6-preview.2"
},
"responses": {
"202": {
"headers": {
"Retry-After": 5,
"Azure-AsyncOperation": "https://myvault.vault.azure.net/backup/45aacd568ab049a2803861e8dd3ae21f/pending"
},
"body": {
"status": "InProgress",
"statusDetails": "Full backup is in progress",
"azureStorageBlobContainerUri": "https://myaccount.blob.core.windows.net/sascontainer/fullbackup-pool-61e8dd3ae21f-1579243113",
"jobId": "45aacd568ab049a2803861e8dd3ae21f",
"startTime": 1490790000,
"endTime": 0
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"operationId": "FullBackupStatus",
"title": "Get the status of a full backup operation",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"jobId": "45aacd568ab049a2803861e8dd3ae21f",
"api-version": "7.6-preview.2"
},
"responses": {
"200": {
"body": {
"status": "InProgress",
"statusDetails": "Full backup is in progress",
"azureStorageBlobContainerUri": "https://myaccount.blob.core.windows.net/sascontainer/.fullbackup-pool-61e8dd3ae21f-1579243113",
"jobId": "45aacd568ab049a2803861e8dd3ae21f",
"startTime": 1490790000,
"endTime": 0
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"operationId": "FullRestoreOperation",
"title": "Restore all key materials from a previously stored Azure Blob Storage backup",
"parameters": {
"vaultBaseUrl": "https://myhsm.managedhsm.azure.net",
"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=REDACTED"
},
"folderToRestore": "mhsm-mypool-20200303062926785"
},
"api-version": "7.6-preview.2"
},
"responses": {
"202": {
"headers": {
"Retry-After": 5,
"Azure-AsyncOperation": "https://myvault.vault.azure.net/restore/45aacd568ab049a2803861e8dd3ae21f/pending"
},
"body": {
"status": "InProgress",
"statusDetails": "Full restore is in progress",
"jobId": "45aacd568ab049a2803861e8dd3ae21f",
"startTime": 1490790000,
"endTime": 0
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"operationId": "RoleAssignments_Get",
"title": "Get the specified role assignment",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "keys",
"roleAssignmentName": "roleAssignmentName",
"api-version": "7.6-preview.2"
},
"responses": {
"200": {
"body": {
"properties": {
"roleDefinitionId": "/keys/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
"principalId": "principalId",
"scope": "/keys"
},
"id": "/keys/providers/Microsoft.Authorization/roleAssignments/roleAssignmentId",
"type": "Microsoft.Authorization/roleAssignments",
"name": "roleAssignmentId"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"operationId": "RoleDefinitions_Get",
"title": "Get the specified role definition",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "/",
"api-version": "7.6-preview.2",
"roleDefinitionName": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"properties": {
"roleName": "My custom role",
"type": "CustomRole",
"description": "Role description",
"assignableScopes": [
"/"
],
"permissions": [
{
"dataActions": [
"Microsoft.KeyVault/managedHsm/keys/sign/action"
]
}
]
},
"id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Authorization/roleDefinitions",
"name": "00000000-0000-0000-0000-000000000000"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"operationId": "RoleAssignments_ListForScope",
"title": "Get role assignments for a scope",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "keys",
"api-version": "7.6-preview.2"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"roleDefinitionId": "/keys/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
"principalId": "principalId",
"scope": "/keys"
},
"id": "/keys/providers/Microsoft.Authorization/roleAssignments/roleAssignmentId",
"type": "Microsoft.Authorization/roleAssignments",
"name": "roleAssignmentId"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"operationId": "RoleDefinitions_List",
"title": "Get all role definitions that are applicable at scope and above",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "keys",
"api-version": "7.6-preview.2"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"roleName": "Role name",
"type": "roletype",
"description": "Role description",
"assignableScopes": [
"/keys"
],
"permissions": [
{
"actions": [
"get"
],
"notActions": []
}
]
},
"id": "/keys/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
"type": "Microsoft.Authorization/roleDefinitions",
"name": "roleDefinitionId"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"operationId": "GetSettings",
"title": "List account settings",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"api-version": "7.6-preview.2"
},
"responses": {
"200": {
"body": {
"settings": [
{
"name": "AllowKeyManagementOperationsThroughARM",
"value": "true",
"type": "boolean"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"operationId": "PreFullBackup",
"title": "Check whether the customer can perform a full backup operation",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"preBackupOperationParameters": {
"storageResourceUri": "https://myaccount.blob.core.windows.net/sascontainer/sasContainer",
"token": "se=2018-02-01T00%3A00Z&spr=https&sv=2017-04-17&sr=b&sig=REDACTED"
},
"api-version": "7.6-preview.2"
},
"responses": {
"202": {
"headers": {
"Retry-After": 5,
"Azure-AsyncOperation": "https://myvault.vault.azure.net/backup/45aacd568ab049a2803861e8dd3ae21f/pending"
},
"body": {
"status": "InProgress",
"statusDetails": "Pre Full backup is in progress",
"azureStorageBlobContainerUri": null,
"jobId": "45aacd568ab049a2803861e8dd3ae21f",
"startTime": 1490790000,
"endTime": 0
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"operationId": "PreFullRestoreOperation",
"title": "Check whether the customer can perform a full restore operation",
"parameters": {
"vaultBaseUrl": "https://myhsm.managedhsm.azure.net",
"preRestoreOperationParameters": {
"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=REDACTED"
},
"folderToRestore": "mhsm-mypool-20200303062926785"
},
"api-version": "7.6-preview.2"
},
"responses": {
"202": {
"headers": {
"Retry-After": 5,
"Azure-AsyncOperation": "https://myvault.vault.azure.net/restore/45aacd568ab049a2803861e8dd3ae21f/pending"
},
"body": {
"status": "InProgress",
"statusDetails": "Pre Full restore operation is in progress",
"jobId": "45aacd568ab049a2803861e8dd3ae21f",
"startTime": 1490790000,
"endTime": 0
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"operationId": "RoleAssignments_Create",
"title": "Create a role assignment",
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "keys",
"roleAssignmentName": "roleAssignmentName",
"parameters": {
"properties": {
"roleDefinitionId": "/keys/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
"principalId": "principalId"
}
},
"api-version": "7.6-preview.2"
},
"responses": {
"201": {
"body": {
"properties": {
"roleDefinitionId": "/keys/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
"principalId": "principalId",
"scope": "/keys"
},
"id": "/keys/providers/Microsoft.Authorization/roleAssignments/roleAssignmentId",
"type": "Microsoft.Authorization/roleAssignments",
"name": "roleAssignmentId"
}
}
}
}
Loading