Microsoft.KeyVault (stable:2024-11-01)

2025/01/13 • 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: