Microsoft.KeyVault (stable:2025-05-01)

2025/09/11 • 48 new methods

Keys_CreateIfNotExist (new)
Description :  Creates the first version of a new key if it does not exist. If it already exists, then the existing key is returned without any write operations being performed. This API does not create subsequent versions, and does not update existing keys.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
keyName: string ,
api-version: string ,
parameters:
{
tags: object ,
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Keys_Get (new)
Description :  Gets the current version of the specified key from the specified key vault.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
keyName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Keys_List (new)
Description :  Lists the keys in the specified key vault.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Keys_GetVersion (new)
Description :  Gets the specified version of the specified key in the specified key vault.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}/versions/{keyVersion}
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
keyName: string ,
keyVersion: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Keys_ListVersions (new)
Description :  Lists the versions of the specified key in the specified key vault.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}/versions
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
keyName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ManagedHsmKeys_CreateIfNotExist (new)
Description :  Creates the first version of a new key if it does not exist. If it already exists, then the existing key is returned without any write operations being performed. This API does not create subsequent versions, and does not update existing keys.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
api-version: string ,
keyName: string ,
parameters:
{
tags: object ,
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ManagedHsmKeys_Get (new)
Description :  Gets the current version of the specified key from the specified managed HSM.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
keyName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ManagedHsmKeys_List (new)
Description :  Lists the keys in the specified managed HSM.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ManagedHsmKeys_GetVersion (new)
Description :  Gets the specified version of the specified key in the specified managed HSM.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions/{keyVersion}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
keyName: string ,
keyVersion: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ManagedHsmKeys_ListVersions (new)
Description :  Lists the versions of the specified key in the specified managed HSM.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
keyName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoveryLevel: enum ,
exportable: boolean ,
}
,
kty: enum ,
keyOps:
[
string ,
]
,
keySize: integer ,
curveName: enum ,
keyUri: string ,
keyUriWithVersion: string ,
rotationPolicy:
{
attributes:
{
created: integer ,
updated: integer ,
expiryTime: string ,
}
,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
}
,
release_policy:
{
contentType: string ,
data: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_CreateOrUpdate (new)
Description :  Create or update a key vault in the specified subscription.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
{
resourceGroupName: string ,
vaultName: string ,
api-version: string ,
parameters:
{
location: string ,
tags: object ,
properties:
{
tenantId: string ,
sku:
{
family: enum ,
name: enum ,
}
,
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
vaultUri: string ,
hsmPoolResourceId: string ,
enabledForDeployment: boolean ,
enabledForDiskEncryption: boolean ,
enabledForTemplateDeployment: boolean ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enableRbacAuthorization: boolean ,
createMode: enum ,
enablePurgeProtection: boolean ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
}
,
provisioningState: enum ,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: string ,
}
,
}
,
subscriptionId: string ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
tenantId: string ,
sku:
{
family: enum ,
name: enum ,
}
,
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
vaultUri: string ,
hsmPoolResourceId: string ,
enabledForDeployment: boolean ,
enabledForDiskEncryption: boolean ,
enabledForTemplateDeployment: boolean ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enableRbacAuthorization: boolean ,
createMode: enum ,
enablePurgeProtection: boolean ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
}
,
provisioningState: enum ,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
tenantId: string ,
sku:
{
family: enum ,
name: enum ,
}
,
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
vaultUri: string ,
hsmPoolResourceId: string ,
enabledForDeployment: boolean ,
enabledForDiskEncryption: boolean ,
enabledForTemplateDeployment: boolean ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enableRbacAuthorization: boolean ,
createMode: enum ,
enablePurgeProtection: boolean ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
}
,
provisioningState: enum ,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_Update (new)
Description :  Update a key vault in the specified subscription.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
{
resourceGroupName: string ,
vaultName: string ,
api-version: string ,
parameters:
{
tags: object ,
properties:
{
tenantId: string ,
sku:
{
family: enum ,
name: enum ,
}
,
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
enabledForDeployment: boolean ,
enabledForDiskEncryption: boolean ,
enabledForTemplateDeployment: boolean ,
enableSoftDelete: boolean ,
enableRbacAuthorization: boolean ,
softDeleteRetentionInDays: integer ,
createMode: enum ,
enablePurgeProtection: boolean ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
}
,
publicNetworkAccess: string ,
}
,
}
,
subscriptionId: string ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
tenantId: string ,
sku:
{
family: enum ,
name: enum ,
}
,
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
vaultUri: string ,
hsmPoolResourceId: string ,
enabledForDeployment: boolean ,
enabledForDiskEncryption: boolean ,
enabledForTemplateDeployment: boolean ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enableRbacAuthorization: boolean ,
createMode: enum ,
enablePurgeProtection: boolean ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
}
,
provisioningState: enum ,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
tenantId: string ,
sku:
{
family: enum ,
name: enum ,
}
,
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
vaultUri: string ,
hsmPoolResourceId: string ,
enabledForDeployment: boolean ,
enabledForDiskEncryption: boolean ,
enabledForTemplateDeployment: boolean ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enableRbacAuthorization: boolean ,
createMode: enum ,
enablePurgeProtection: boolean ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
}
,
provisioningState: enum ,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_Delete (new)
Description :  Deletes the specified Azure key vault.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
{
resourceGroupName: string ,
vaultName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_Get (new)
Description :  Gets the specified Azure key vault.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
{
resourceGroupName: string ,
vaultName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
tenantId: string ,
sku:
{
family: enum ,
name: enum ,
}
,
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
vaultUri: string ,
hsmPoolResourceId: string ,
enabledForDeployment: boolean ,
enabledForDiskEncryption: boolean ,
enabledForTemplateDeployment: boolean ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enableRbacAuthorization: boolean ,
createMode: enum ,
enablePurgeProtection: boolean ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
}
,
provisioningState: enum ,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_UpdateAccessPolicy (new)
Description :  Update access policies in a key vault in the specified subscription.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/accessPolicies/{operationKind}
{
resourceGroupName: string ,
vaultName: string ,
operationKind: string ,
api-version: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
subscriptionId: string ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_ListByResourceGroup (new)
Description :  The List operation gets information about the vaults associated with the subscription and within the specified resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults
{
resourceGroupName: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
tenantId: string ,
sku:
{
family: enum ,
name: enum ,
}
,
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
vaultUri: string ,
hsmPoolResourceId: string ,
enabledForDeployment: boolean ,
enabledForDiskEncryption: boolean ,
enabledForTemplateDeployment: boolean ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enableRbacAuthorization: boolean ,
createMode: enum ,
enablePurgeProtection: boolean ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
}
,
provisioningState: enum ,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_ListBySubscription (new)
Description :  The List operation gets information about the vaults associated with the subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults
{
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
tenantId: string ,
sku:
{
family: enum ,
name: enum ,
}
,
accessPolicies:
[
{
tenantId: string ,
objectId: string ,
applicationId: string ,
permissions:
{
keys:
[
string ,
]
,
secrets:
[
string ,
]
,
certificates:
[
string ,
]
,
storage:
[
string ,
]
,
}
,
}
,
]
,
vaultUri: string ,
hsmPoolResourceId: string ,
enabledForDeployment: boolean ,
enabledForDiskEncryption: boolean ,
enabledForTemplateDeployment: boolean ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enableRbacAuthorization: boolean ,
createMode: enum ,
enablePurgeProtection: boolean ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
ignoreMissingVnetServiceEndpoint: boolean ,
}
,
]
,
}
,
provisioningState: enum ,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_ListDeleted (new)
Description :  Gets information about the deleted vaults in a subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedVaults
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
vaultId: string ,
location: string ,
deletionDate: string ,
scheduledPurgeDate: string ,
tags: object ,
purgeProtectionEnabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_GetDeleted (new)
Description :  Gets the deleted Azure key vault.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}
{
vaultName: string ,
location: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
vaultId: string ,
location: string ,
deletionDate: string ,
scheduledPurgeDate: string ,
tags: object ,
purgeProtectionEnabled: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_PurgeDeleted (new)
Description :  Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}/purge
{
vaultName: string ,
location: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_List (new)
Description :  The List operation gets information about the vaults associated with the subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resources
{
$filter: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Vaults_CheckNameAvailability (new)
Description :  Checks that the vault name is valid and is not already in use.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability
{
vaultName:
{
name: string ,
type: enum ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateEndpointConnections_Get (new)
Description :  Gets the specified private endpoint connection associated with the key vault.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateEndpointConnections_Put (new)
Description :  Updates the specified private endpoint connection associated with the key vault.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
properties:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}
,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateEndpointConnections_Delete (new)
Description :  Deletes the specified private endpoint connection associated with the key vault.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}

⚐ Response (202)

{
retry-after: integer ,
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateEndpointConnections_ListByResource (new)
Description :  The List operation gets information about the private endpoint connections associated with the vault.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateLinkResources_ListByVault (new)
Description :  Gets the private link resources supported for the key vault.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateLinkResources
{
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ManagedHsms_CreateOrUpdate (new)
Description :  Create or update a managed HSM Pool in the specified subscription.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
{
resourceGroupName: string ,
name: string ,
api-version: string ,
parameters:
{
properties:
{
tenantId: string ,
initialAdminObjectIds:
[
string ,
]
,
hsmUri: string ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enablePurgeProtection: boolean ,
createMode: enum ,
statusMessage: string ,
provisioningState: enum ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
serviceTags:
[
{
tag: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
}
,
]
,
}
,
regions:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
scheduledPurgeDate: string ,
securityDomainProperties:
{
activationStatus: enum ,
activationStatusMessage: string ,
}
,
}
,
}
,
subscriptionId: string ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
tenantId: string ,
initialAdminObjectIds:
[
string ,
]
,
hsmUri: string ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enablePurgeProtection: boolean ,
createMode: enum ,
statusMessage: string ,
provisioningState: enum ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
serviceTags:
[
{
tag: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
}
,
]
,
}
,
regions:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
scheduledPurgeDate: string ,
securityDomainProperties:
{
activationStatus: enum ,
activationStatusMessage: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
tenantId: string ,
initialAdminObjectIds:
[
string ,
]
,
hsmUri: string ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enablePurgeProtection: boolean ,
createMode: enum ,
statusMessage: string ,
provisioningState: enum ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
serviceTags:
[
{
tag: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
}
,
]
,
}
,
regions:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
scheduledPurgeDate: string ,
securityDomainProperties:
{
activationStatus: enum ,
activationStatusMessage: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ManagedHsms_Update (new)
Description :  Update a managed HSM Pool in the specified subscription.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
{
resourceGroupName: string ,
name: string ,
api-version: string ,
parameters:
{
properties:
{
tenantId: string ,
initialAdminObjectIds:
[
string ,
]
,
hsmUri: string ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enablePurgeProtection: boolean ,
createMode: enum ,
statusMessage: string ,
provisioningState: enum ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
serviceTags:
[
{
tag: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
}
,
]
,
}
,
regions:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
scheduledPurgeDate: string ,
securityDomainProperties:
{
activationStatus: enum ,
activationStatusMessage: string ,
}
,
}
,
}
,
subscriptionId: string ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
tenantId: string ,
initialAdminObjectIds:
[
string ,
]
,
hsmUri: string ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enablePurgeProtection: boolean ,
createMode: enum ,
statusMessage: string ,
provisioningState: enum ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
serviceTags:
[
{
tag: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
}
,
]
,
}
,
regions:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
scheduledPurgeDate: string ,
securityDomainProperties:
{
activationStatus: enum ,
activationStatusMessage: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
tenantId: string ,
initialAdminObjectIds:
[
string ,
]
,
hsmUri: string ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enablePurgeProtection: boolean ,
createMode: enum ,
statusMessage: string ,
provisioningState: enum ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
serviceTags:
[
{
tag: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
}
,
]
,
}
,
regions:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
scheduledPurgeDate: string ,
securityDomainProperties:
{
activationStatus: enum ,
activationStatusMessage: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ManagedHsms_Delete (new)
Description :  Deletes the specified managed HSM Pool.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
{
resourceGroupName: string ,
name: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ManagedHsms_Get (new)
Description :  Gets the specified managed HSM Pool.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
{
resourceGroupName: string ,
name: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
tenantId: string ,
initialAdminObjectIds:
[
string ,
]
,
hsmUri: string ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enablePurgeProtection: boolean ,
createMode: enum ,
statusMessage: string ,
provisioningState: enum ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
serviceTags:
[
{
tag: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
}
,
]
,
}
,
regions:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
scheduledPurgeDate: string ,
securityDomainProperties:
{
activationStatus: enum ,
activationStatusMessage: string ,
}
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ManagedHsms_ListByResourceGroup (new)
Description :  The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs
{
resourceGroupName: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
tenantId: string ,
initialAdminObjectIds:
[
string ,
]
,
hsmUri: string ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enablePurgeProtection: boolean ,
createMode: enum ,
statusMessage: string ,
provisioningState: enum ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
serviceTags:
[
{
tag: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
}
,
]
,
}
,
regions:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
scheduledPurgeDate: string ,
securityDomainProperties:
{
activationStatus: enum ,
activationStatusMessage: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ManagedHsms_ListBySubscription (new)
Description :  The List operation gets information about the managed HSM Pools associated with the subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs
{
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
tenantId: string ,
initialAdminObjectIds:
[
string ,
]
,
hsmUri: string ,
enableSoftDelete: boolean ,
softDeleteRetentionInDays: integer ,
enablePurgeProtection: boolean ,
createMode: enum ,
statusMessage: string ,
provisioningState: enum ,
networkAcls:
{
bypass: enum ,
defaultAction: enum ,
ipRules:
[
{
value: string ,
}
,
]
,
serviceTags:
[
{
tag: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
}
,
]
,
}
,
regions:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
privateEndpointConnections:
[
{
id: string ,
etag: string ,
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
scheduledPurgeDate: string ,
securityDomainProperties:
{
activationStatus: enum ,
activationStatusMessage: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
MHSMPrivateEndpointConnections_ListByResource (new)
Description :  The List operation gets information about the private endpoint connections associated with the managed HSM Pool.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ManagedHsms_ListDeleted (new)
Description :  The List operation gets information about the deleted managed HSMs associated with the subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedManagedHSMs
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
mhsmId: string ,
location: string ,
deletionDate: string ,
scheduledPurgeDate: string ,
purgeProtectionEnabled: boolean ,
tags: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ManagedHsms_GetDeleted (new)
Description :  Gets the specified deleted managed HSM.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}
{
name: string ,
location: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
mhsmId: string ,
location: string ,
deletionDate: string ,
scheduledPurgeDate: string ,
purgeProtectionEnabled: boolean ,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ManagedHsms_PurgeDeleted (new)
Description :  Permanently deletes the specified managed HSM.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge
{
name: string ,
location: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
MHSMPrivateEndpointConnections_Get (new)
Description :  Gets the specified private endpoint connection associated with the managed HSM Pool.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
MHSMPrivateEndpointConnections_Put (new)
Description :  Updates the specified private endpoint connection associated with the managed hsm pool.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
privateEndpointConnectionName: string ,
api-version: string ,
properties:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}
,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MHSMPrivateEndpointConnections_Delete (new)
Description :  Deletes the specified private endpoint connection associated with the managed hsm pool.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
etag: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MHSMPrivateLinkResources_ListByMHSMResource (new)
Description :  Gets the private link resources supported for the managed hsm pool.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateLinkResources
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
MHSMRegions_ListByResource (new)
Description :  The List operation gets information about the regions associated with the managed HSM Pool.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/regions
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
provisioningState: enum ,
isPrimary: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ManagedHsms_CheckMhsmNameAvailability (new)
Description :  Checks that the managed hsm name is valid and is not already in use.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability
{
mhsmName:
{
name: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Operations_List (new)
Description :  Lists all of the available Key Vault Rest API operations.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.KeyVault/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties:
{
serviceSpecification:
{
logSpecifications:
[
{
name: string ,
displayName: string ,
blobDuration: string ,
}
,
]
,
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: string ,
aggregationType: string ,
supportedAggregationTypes:
[
string ,
]
,
supportedTimeGrainTypes:
[
string ,
]
,
lockAggregationType: string ,
dimensions:
[
{
name: string ,
displayName: string ,
toBeExportedForShoebox: boolean ,
}
,
]
,
fillGapWithZero: boolean ,
internalMetricName: string ,
}
,
]
,
}
,
}
,
isDataAction: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Secrets_CreateOrUpdate (new)
Description :  Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}
{
resourceGroupName: string ,
vaultName: string ,
secretName: string ,
api-version: string ,
parameters:
{
tags: object ,
properties:
{
value: string ,
contentType: string ,
attributes: object ,
secretUri: string ,
secretUriWithVersion: string ,
}
,
}
,
subscriptionId: string ,
}

⚐ Response (201)

{
properties:
{
value: string ,
contentType: string ,
attributes: object ,
secretUri: string ,
secretUriWithVersion: string ,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
contentType: string ,
attributes: object ,
secretUri: string ,
secretUriWithVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Secrets_Update (new)
Description :  Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}
{
resourceGroupName: string ,
vaultName: string ,
secretName: string ,
api-version: string ,
parameters:
{
tags: object ,
properties:
{
value: string ,
contentType: string ,
attributes: object ,
}
,
}
,
subscriptionId: string ,
}

⚐ Response (201)

{
properties:
{
value: string ,
contentType: string ,
attributes: object ,
secretUri: string ,
secretUriWithVersion: string ,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
contentType: string ,
attributes: object ,
secretUri: string ,
secretUriWithVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Secrets_Get (new)
Description :  Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}
{
resourceGroupName: string ,
vaultName: string ,
secretName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
contentType: string ,
attributes: object ,
secretUri: string ,
secretUriWithVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Secrets_List (new)
Description :  The List operation gets information about the secrets in a vault. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets
{
resourceGroupName: string ,
vaultName: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
contentType: string ,
attributes: object ,
secretUri: string ,
secretUriWithVersion: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}