Microsoft.KeyVault (preview:7.6.2)

2025/02/04 • 99 new methods

FullBackup (new)
Description :  Creates a full backup using a user-provided SAS token to an Azure blob storage container.
Reference :  Link ¶

⚼ Request

POST:  /backup
{
api-version: string ,
azureStorageBlobContainerUri:
{
storageResourceUri: string ,
token: string ,
useManagedIdentity: boolean ,
}
,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
status: enum ,
statusDetails: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
startTime: integer ,
endTime: integer ,
jobId: string ,
azureStorageBlobContainerUri: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
FullBackupStatus (new)
Description :  Returns the status of full backup operation
Reference :  Link ¶

⚼ Request

GET:  /backup/{jobId}/pending
{
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
status: enum ,
statusDetails: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
startTime: integer ,
endTime: integer ,
jobId: string ,
azureStorageBlobContainerUri: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
SelectiveKeyRestoreOperation (new)
Description :  Restores all key versions of a given key using user supplied SAS token pointing to a previously stored Azure Blob storage backup folder
Reference :  Link ¶

⚼ Request

PUT:  /keys/{keyName}/restore
{
api-version: string ,
keyName: string ,
restoreBlobDetails:
{
sasTokenParameters:
{
storageResourceUri: string ,
token: string ,
useManagedIdentity: boolean ,
}
,
folder: string ,
}
,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
status: enum ,
statusDetails: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
jobId: string ,
startTime: integer ,
endTime: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
PreFullBackup (new)
Description :  Pre-backup operation for checking whether the customer can perform a full backup operation.
Reference :  Link ¶

⚼ Request

POST:  /prebackup
{
api-version: string ,
preBackupOperationParameters:
{
storageResourceUri: string ,
token: string ,
useManagedIdentity: boolean ,
}
,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
status: enum ,
statusDetails: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
startTime: integer ,
endTime: integer ,
jobId: string ,
azureStorageBlobContainerUri: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
PreFullRestoreOperation (new)
Description :  Pre-restore operation for checking whether the customer can perform a full restore operation.
Reference :  Link ¶

⚼ Request

PUT:  /prerestore
{
api-version: string ,
preRestoreOperationParameters:
{
sasTokenParameters:
{
storageResourceUri: string ,
token: string ,
useManagedIdentity: boolean ,
}
,
folderToRestore: string ,
}
,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
status: enum ,
statusDetails: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
jobId: string ,
startTime: integer ,
endTime: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
FullRestoreOperation (new)
Description :  Restores all key materials using the SAS token pointing to a previously stored Azure Blob storage backup folder
Reference :  Link ¶

⚼ Request

PUT:  /restore
{
api-version: string ,
restoreBlobDetails:
{
sasTokenParameters:
{
storageResourceUri: string ,
token: string ,
useManagedIdentity: boolean ,
}
,
folderToRestore: string ,
}
,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
status: enum ,
statusDetails: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
jobId: string ,
startTime: integer ,
endTime: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RestoreStatus (new)
Description :  Returns the status of restore operation
Reference :  Link ¶

⚼ Request

GET:  /restore/{jobId}/pending
{
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
status: enum ,
statusDetails: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
jobId: string ,
startTime: integer ,
endTime: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetCertificates (new)
Description :  The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
Reference :  Link ¶

⚼ Request

GET:  /certificates
{
api-version: string ,
maxresults: integer ,
includePending: boolean ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
x5t: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
DeleteCertificate (new)
Description :  Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission.
Reference :  Link ¶

⚼ Request

DELETE:  /certificates/{certificate-name}
{
api-version: string ,
certificate-name: string ,
}

⚐ Response (200)

{
id: string ,
kid: string ,
sid: string ,
x5t: string ,
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
cer: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetCertificate (new)
Description :  Gets information about a specific certificate. This operation requires the certificates/get permission.
Reference :  Link ¶

⚼ Request

GET:  /certificates/{certificate-name}/{certificate-version}
{
api-version: string ,
certificate-name: string ,
certificate-version: string ,
}

⚐ Response (200)

{
id: string ,
kid: string ,
sid: string ,
x5t: string ,
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
cer: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateCertificate (new)
Description :  The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.
Reference :  Link ¶

⚼ Request

PATCH:  /certificates/{certificate-name}/{certificate-version}
{
api-version: string ,
certificate-name: string ,
certificate-version: string ,
parameters:
{
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
id: string ,
kid: string ,
sid: string ,
x5t: string ,
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
cer: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
BackupCertificate (new)
Description :  Requests that a backup of the specified certificate be downloaded to the client. All versions of the certificate will be downloaded. This operation requires the certificates/backup permission.
Reference :  Link ¶

⚼ Request

POST:  /certificates/{certificate-name}/backup
{
api-version: string ,
certificate-name: string ,
}

⚐ Response (200)

{
value: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
CreateCertificate (new)
Description :  If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.
Reference :  Link ¶

⚼ Request

POST:  /certificates/{certificate-name}/create
{
api-version: string ,
certificate-name: string ,
parameters:
{
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
}
,
}

⚐ Response (202)

{
id: string ,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
csr: string ,
cancellation_requested: boolean ,
status: string ,
status_details: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
target: string ,
preserveCertOrder: boolean ,
request_id: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ImportCertificate (new)
Description :  Imports an existing valid certificate, containing a private key, into Azure Key Vault. This operation requires the certificates/import permission. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. Key Vault will only accept a key in PKCS#8 format.
Reference :  Link ¶

⚼ Request

POST:  /certificates/{certificate-name}/import
{
api-version: string ,
certificate-name: string ,
parameters:
{
value: string ,
pwd: string ,
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
}
,
}

⚐ Response (200)

{
id: string ,
kid: string ,
sid: string ,
x5t: string ,
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
cer: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetCertificateOperation (new)
Description :  Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.
Reference :  Link ¶

⚼ Request

GET:  /certificates/{certificate-name}/pending
{
api-version: string ,
certificate-name: string ,
}

⚐ Response (200)

{
id: string ,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
csr: string ,
cancellation_requested: boolean ,
status: string ,
status_details: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
target: string ,
preserveCertOrder: boolean ,
request_id: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateCertificateOperation (new)
Description :  Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.
Reference :  Link ¶

⚼ Request

PATCH:  /certificates/{certificate-name}/pending
{
api-version: string ,
certificate-name: string ,
certificateOperation:
{
cancellation_requested: boolean ,
}
,
}

⚐ Response (200)

{
id: string ,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
csr: string ,
cancellation_requested: boolean ,
status: string ,
status_details: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
target: string ,
preserveCertOrder: boolean ,
request_id: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
DeleteCertificateOperation (new)
Description :  Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission.
Reference :  Link ¶

⚼ Request

DELETE:  /certificates/{certificate-name}/pending
{
api-version: string ,
certificate-name: string ,
}

⚐ Response (200)

{
id: string ,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
csr: string ,
cancellation_requested: boolean ,
status: string ,
status_details: string ,
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
target: string ,
preserveCertOrder: boolean ,
request_id: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
MergeCertificate (new)
Description :  The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.
Reference :  Link ¶

⚼ Request

POST:  /certificates/{certificate-name}/pending/merge
{
api-version: string ,
certificate-name: string ,
parameters:
{
x5c:
[
string ,
]
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}
,
}

⚐ Response (201)

{
id: string ,
kid: string ,
sid: string ,
x5t: string ,
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
cer: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetCertificatePolicy (new)
Description :  The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission.
Reference :  Link ¶

⚼ Request

GET:  /certificates/{certificate-name}/policy
{
api-version: string ,
certificate-name: string ,
}

⚐ Response (200)

{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateCertificatePolicy (new)
Description :  Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission.
Reference :  Link ¶

⚼ Request

PATCH:  /certificates/{certificate-name}/policy
{
api-version: string ,
certificate-name: string ,
certificatePolicy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetCertificateVersions (new)
Description :  The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
Reference :  Link ¶

⚼ Request

GET:  /certificates/{certificate-name}/versions
{
api-version: string ,
certificate-name: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
x5t: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetCertificateContacts (new)
Description :  The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.
Reference :  Link ¶

⚼ Request

GET:  /certificates/contacts
{
api-version: string ,
}

⚐ Response (200)

{
id: string ,
contacts:
[
{
email: string ,
name: string ,
phone: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
SetCertificateContacts (new)
Description :  Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.
Reference :  Link ¶

⚼ Request

PUT:  /certificates/contacts
{
api-version: string ,
contacts:
{
id: string ,
contacts:
[
{
email: string ,
name: string ,
phone: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
contacts:
[
{
email: string ,
name: string ,
phone: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
DeleteCertificateContacts (new)
Description :  Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.
Reference :  Link ¶

⚼ Request

DELETE:  /certificates/contacts
{
api-version: string ,
}

⚐ Response (200)

{
id: string ,
contacts:
[
{
email: string ,
name: string ,
phone: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetCertificateIssuers (new)
Description :  The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
Reference :  Link ¶

⚼ Request

GET:  /certificates/issuers
{
api-version: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
provider: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetCertificateIssuer (new)
Description :  The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
Reference :  Link ¶

⚼ Request

GET:  /certificates/issuers/{issuer-name}
{
api-version: string ,
issuer-name: string ,
}

⚐ Response (200)

{
id: string ,
provider: string ,
credentials:
{
account_id: string ,
pwd: string ,
}
,
org_details:
{
id: string ,
admin_details:
[
{
first_name: string ,
last_name: string ,
email: string ,
phone: string ,
}
,
]
,
}
,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
SetCertificateIssuer (new)
Description :  The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.
Reference :  Link ¶

⚼ Request

PUT:  /certificates/issuers/{issuer-name}
{
api-version: string ,
issuer-name: string ,
parameter:
{
provider: string ,
credentials:
{
account_id: string ,
pwd: string ,
}
,
org_details:
{
id: string ,
admin_details:
[
{
first_name: string ,
last_name: string ,
email: string ,
phone: string ,
}
,
]
,
}
,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
provider: string ,
credentials:
{
account_id: string ,
pwd: string ,
}
,
org_details:
{
id: string ,
admin_details:
[
{
first_name: string ,
last_name: string ,
email: string ,
phone: string ,
}
,
]
,
}
,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateCertificateIssuer (new)
Description :  The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.
Reference :  Link ¶

⚼ Request

PATCH:  /certificates/issuers/{issuer-name}
{
api-version: string ,
issuer-name: string ,
parameter:
{
provider: string ,
credentials:
{
account_id: string ,
pwd: string ,
}
,
org_details:
{
id: string ,
admin_details:
[
{
first_name: string ,
last_name: string ,
email: string ,
phone: string ,
}
,
]
,
}
,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
provider: string ,
credentials:
{
account_id: string ,
pwd: string ,
}
,
org_details:
{
id: string ,
admin_details:
[
{
first_name: string ,
last_name: string ,
email: string ,
phone: string ,
}
,
]
,
}
,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
DeleteCertificateIssuer (new)
Description :  The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission.
Reference :  Link ¶

⚼ Request

DELETE:  /certificates/issuers/{issuer-name}
{
api-version: string ,
issuer-name: string ,
}

⚐ Response (200)

{
id: string ,
provider: string ,
credentials:
{
account_id: string ,
pwd: string ,
}
,
org_details:
{
id: string ,
admin_details:
[
{
first_name: string ,
last_name: string ,
email: string ,
phone: string ,
}
,
]
,
}
,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RestoreCertificate (new)
Description :  Restores a backed up certificate, and all its versions, to a vault. This operation requires the certificates/restore permission.
Reference :  Link ¶

⚼ Request

POST:  /certificates/restore
{
api-version: string ,
parameters:
{
value: string ,
}
,
}

⚐ Response (200)

{
id: string ,
kid: string ,
sid: string ,
x5t: string ,
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
cer: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedCertificates (new)
Description :  The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
Reference :  Link ¶

⚼ Request

GET:  /deletedcertificates
{
api-version: string ,
maxresults: integer ,
includePending: boolean ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
x5t: string ,
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedCertificate (new)
Description :  The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission.
Reference :  Link ¶

⚼ Request

GET:  /deletedcertificates/{certificate-name}
{
api-version: string ,
certificate-name: string ,
}

⚐ Response (200)

{
id: string ,
kid: string ,
sid: string ,
x5t: string ,
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
cer: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
PurgeDeletedCertificate (new)
Description :  The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission.
Reference :  Link ¶

⚼ Request

DELETE:  /deletedcertificates/{certificate-name}
{
api-version: string ,
certificate-name: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RecoverDeletedCertificate (new)
Description :  The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission.
Reference :  Link ¶

⚼ Request

POST:  /deletedcertificates/{certificate-name}/recover
{
api-version: string ,
certificate-name: string ,
}

⚐ Response (200)

{
id: string ,
kid: string ,
sid: string ,
x5t: string ,
policy:
{
id: string ,
key_props:
{
exportable: boolean ,
kty: enum ,
key_size: integer ,
reuse_key: boolean ,
crv: enum ,
}
,
secret_props:
{
contentType: string ,
}
,
x509_props:
{
subject: string ,
ekus:
[
string ,
]
,
sans:
{
emails:
[
string ,
]
,
dns_names:
[
string ,
]
,
upns:
[
string ,
]
,
}
,
key_usage:
[
string ,
]
,
validity_months: integer ,
}
,
lifetime_actions:
[
{
trigger:
{
lifetime_percentage: integer ,
days_before_expiry: integer ,
}
,
action:
{
action_type: enum ,
}
,
}
,
]
,
issuer:
{
name: string ,
cty: string ,
cert_transparency: boolean ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
cer: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
preserveCertOrder: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedKeys (new)
Description :  Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
Reference :  Link ¶

⚼ Request

GET:  /deletedkeys
{
api-version: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
kid: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedKey (new)
Description :  The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission.
Reference :  Link ¶

⚼ Request

GET:  /deletedkeys/{key-name}
{
api-version: string ,
key-name: string ,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
PurgeDeletedKey (new)
Description :  The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission.
Reference :  Link ¶

⚼ Request

DELETE:  /deletedkeys/{key-name}
{
api-version: string ,
key-name: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RecoverDeletedKey (new)
Description :  The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission.
Reference :  Link ¶

⚼ Request

POST:  /deletedkeys/{key-name}/recover
{
api-version: string ,
key-name: string ,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetKeys (new)
Description :  Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
Reference :  Link ¶

⚼ Request

GET:  /keys
{
api-version: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
kid: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
ImportKey (new)
Description :  The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
Reference :  Link ¶

⚼ Request

PUT:  /keys/{key-name}
{
api-version: string ,
key-name: string ,
parameters:
{
Hsm: boolean ,
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}
,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
DeleteKey (new)
Description :  The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.
Reference :  Link ¶

⚼ Request

DELETE:  /keys/{key-name}
{
api-version: string ,
key-name: string ,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetKey (new)
Description :  The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission.
Reference :  Link ¶

⚼ Request

GET:  /keys/{key-name}/{key-version}
{
api-version: string ,
key-name: string ,
key-version: string ,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateKey (new)
Description :  In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.
Reference :  Link ¶

⚼ Request

PATCH:  /keys/{key-name}/{key-version}
{
api-version: string ,
key-name: string ,
key-version: string ,
parameters:
{
key_ops:
[
string ,
]
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}
,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetKeyAttestation (new)
Description :  The get key attestation operation returns the key along with its attestation blob. This operation requires the keys/get permission.
Reference :  Link ¶

⚼ Request

GET:  /keys/{key-name}/{key-version}/attestation
{
api-version: string ,
key-name: string ,
key-version: string ,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
decrypt (new)
Description :  The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission. Microsoft recommends not to use CBC algorithms for decryption without first ensuring the integrity of the ciphertext using an HMAC, for example. See https://docs.microsoft.com/dotnet/standard/security/vulnerabilities-cbc-mode for more information.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/{key-version}/decrypt
{
api-version: string ,
key-name: string ,
key-version: string ,
parameters:
{
alg: enum ,
value: string ,
iv: string ,
aad: string ,
tag: string ,
}
,
}

⚐ Response (200)

{
kid: string ,
value: string ,
iv: string ,
tag: string ,
aad: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
encrypt (new)
Description :  The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encrypt permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/{key-version}/encrypt
{
api-version: string ,
key-name: string ,
key-version: string ,
parameters:
{
alg: enum ,
value: string ,
iv: string ,
aad: string ,
tag: string ,
}
,
}

⚐ Response (200)

{
kid: string ,
value: string ,
iv: string ,
tag: string ,
aad: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
release (new)
Description :  The release key operation is applicable to all key types. The target key must be marked exportable. This operation requires the keys/release permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/{key-version}/release
{
api-version: string ,
key-name: string ,
key-version: string ,
parameters:
{
target: string ,
nonce: string ,
enc: enum ,
}
,
}

⚐ Response (200)

{
value: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
sign (new)
Description :  The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/{key-version}/sign
{
api-version: string ,
key-name: string ,
key-version: string ,
parameters:
{
alg: enum ,
value: string ,
}
,
}

⚐ Response (200)

{
kid: string ,
value: string ,
iv: string ,
tag: string ,
aad: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
unwrapKey (new)
Description :  The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/{key-version}/unwrapkey
{
api-version: string ,
key-name: string ,
key-version: string ,
parameters:
{
alg: enum ,
value: string ,
iv: string ,
aad: string ,
tag: string ,
}
,
}

⚐ Response (200)

{
kid: string ,
value: string ,
iv: string ,
tag: string ,
aad: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
verify (new)
Description :  The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/{key-version}/verify
{
api-version: string ,
key-name: string ,
key-version: string ,
parameters:
{
alg: enum ,
digest: string ,
value: string ,
}
,
}

⚐ Response (200)

{
value: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
wrapKey (new)
Description :  The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/{key-version}/wrapkey
{
api-version: string ,
key-name: string ,
key-version: string ,
parameters:
{
alg: enum ,
value: string ,
iv: string ,
aad: string ,
tag: string ,
}
,
}

⚐ Response (200)

{
kid: string ,
value: string ,
iv: string ,
tag: string ,
aad: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
BackupKey (new)
Description :  The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/backup
{
api-version: string ,
key-name: string ,
}

⚐ Response (200)

{
value: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
CreateKey (new)
Description :  The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/create
{
api-version: string ,
key-name: string ,
parameters:
{
kty: enum ,
key_size: integer ,
public_exponent: integer ,
key_ops:
[
string ,
]
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
crv: enum ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}
,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RotateKey (new)
Description :  The operation will rotate the key based on the key policy. It requires the keys/rotate permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/{key-name}/rotate
{
api-version: string ,
key-name: string ,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetKeyRotationPolicy (new)
Description :  The GetKeyRotationPolicy operation returns the specified key policy resources in the specified key vault. This operation requires the keys/get permission.
Reference :  Link ¶

⚼ Request

GET:  /keys/{key-name}/rotationpolicy
{
api-version: string ,
key-name: string ,
}

⚐ Response (200)

{
id: string ,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
attributes:
{
expiryTime: string ,
created: integer ,
updated: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateKeyRotationPolicy (new)
Description :  Set specified members in the key policy. Leave others as undefined. This operation requires the keys/update permission.
Reference :  Link ¶

⚼ Request

PUT:  /keys/{key-name}/rotationpolicy
{
api-version: string ,
key-name: string ,
keyRotationPolicy:
{
id: string ,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
attributes:
{
expiryTime: string ,
created: integer ,
updated: integer ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
lifetimeActions:
[
{
trigger:
{
timeAfterCreate: string ,
timeBeforeExpiry: string ,
}
,
action:
{
type: enum ,
}
,
}
,
]
,
attributes:
{
expiryTime: string ,
created: integer ,
updated: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetKeyVersions (new)
Description :  The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
Reference :  Link ¶

⚼ Request

GET:  /keys/{key-name}/versions
{
api-version: string ,
key-name: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
kid: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RestoreKey (new)
Description :  Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.
Reference :  Link ¶

⚼ Request

POST:  /keys/restore
{
api-version: string ,
parameters:
{
value: string ,
}
,
}

⚐ Response (200)

{
key:
{
kid: string ,
kty: enum ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
d: string ,
dp: string ,
dq: string ,
qi: string ,
p: string ,
q: string ,
k: string ,
key_hsm: string ,
crv: enum ,
x: string ,
y: string ,
}
,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
exportable: boolean ,
hsmPlatform: string ,
attestation:
{
certificatePemFile: string ,
privateKeyAttestation: string ,
publicKeyAttestation: string ,
version: string ,
}
,
}
,
tags: object ,
managed: boolean ,
release_policy:
{
contentType: string ,
immutable: boolean ,
data: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetRandomBytes (new)
Description :  Get the requested number of bytes containing random values from a managed HSM.
Reference :  Link ¶

⚼ Request

POST:  /rng
{
api-version: string ,
parameters:
{
count: integer ,
}
,
}

⚐ Response (200)

{
value: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedSecrets (new)
Description :  The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.
Reference :  Link ¶

⚼ Request

GET:  /deletedsecrets
{
api-version: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
contentType: string ,
managed: boolean ,
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedSecret (new)
Description :  The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This operation requires the secrets/get permission.
Reference :  Link ¶

⚼ Request

GET:  /deletedsecrets/{secret-name}
{
api-version: string ,
secret-name: string ,
}

⚐ Response (200)

{
value: string ,
id: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
kid: string ,
managed: boolean ,
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
PurgeDeletedSecret (new)
Description :  The purge deleted secret operation removes the secret permanently, without the possibility of recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the secrets/purge permission.
Reference :  Link ¶

⚼ Request

DELETE:  /deletedsecrets/{secret-name}
{
api-version: string ,
secret-name: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RecoverDeletedSecret (new)
Description :  Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.
Reference :  Link ¶

⚼ Request

POST:  /deletedsecrets/{secret-name}/recover
{
api-version: string ,
secret-name: string ,
}

⚐ Response (200)

{
value: string ,
id: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
kid: string ,
managed: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetSecrets (new)
Description :  The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.
Reference :  Link ¶

⚼ Request

GET:  /secrets
{
api-version: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
contentType: string ,
managed: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
SetSecret (new)
Description :  The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.
Reference :  Link ¶

⚼ Request

PUT:  /secrets/{secret-name}
{
api-version: string ,
secret-name: string ,
parameters:
{
value: string ,
tags: object ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
}
,
}

⚐ Response (200)

{
value: string ,
id: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
kid: string ,
managed: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
DeleteSecret (new)
Description :  The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.
Reference :  Link ¶

⚼ Request

DELETE:  /secrets/{secret-name}
{
api-version: string ,
secret-name: string ,
}

⚐ Response (200)

{
value: string ,
id: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
kid: string ,
managed: boolean ,
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetSecret (new)
Description :  The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get permission.
Reference :  Link ¶

⚼ Request

GET:  /secrets/{secret-name}/{secret-version}
{
api-version: string ,
secret-name: string ,
secret-version: string ,
}

⚐ Response (200)

{
value: string ,
id: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
kid: string ,
managed: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateSecret (new)
Description :  The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.
Reference :  Link ¶

⚼ Request

PATCH:  /secrets/{secret-name}/{secret-version}
{
api-version: string ,
secret-name: string ,
secret-version: string ,
parameters:
{
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
value: string ,
id: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
kid: string ,
managed: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
BackupSecret (new)
Description :  Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will be downloaded. This operation requires the secrets/backup permission.
Reference :  Link ¶

⚼ Request

POST:  /secrets/{secret-name}/backup
{
api-version: string ,
secret-name: string ,
}

⚐ Response (200)

{
value: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetSecretVersions (new)
Description :  The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
Reference :  Link ¶

⚼ Request

GET:  /secrets/{secret-name}/versions
{
api-version: string ,
secret-name: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
contentType: string ,
managed: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RestoreSecret (new)
Description :  Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore permission.
Reference :  Link ¶

⚼ Request

POST:  /secrets/restore
{
api-version: string ,
parameters:
{
value: string ,
}
,
}

⚐ Response (200)

{
value: string ,
id: string ,
contentType: string ,
attributes:
{
enabled: boolean ,
nbf: integer ,
exp: integer ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
kid: string ,
managed: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
HSMSecurityDomain_DownloadPending (new)
Description :  Retrieves the Security Domain download operation status
Reference :  Link ¶

⚼ Request

GET:  /securitydomain/download/pending
{}

⚐ Response (200)

{
status: enum ,
status_details: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
HSMSecurityDomain_Download (new)
Description :  Retrieves the Security Domain from the managed HSM. Calling this endpoint can be used to activate a provisioned managed HSM resource.
Reference :  Link ¶

⚼ Request

POST:  /securitydomain/download
{
CertificateInfoObject:
{
certificates:
[
{
kid: string ,
kty: string ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
x5c:
[
string ,
]
,
use: string ,
x5t: string ,
x5t#S256: string ,
alg: string ,
}
,
]
,
required: integer ,
}
,
api-version: string ,
}

⚐ Response (202)

{
$headers:
{
retry-after: integer ,
azure-asyncoperation: string ,
}
,
$schema:
{
value: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
HSMSecurityDomain_TransferKey (new)
Description :  Retrieve Security Domain transfer key
Reference :  Link ¶

⚼ Request

GET:  /securitydomain/upload
{
api-version: string ,
}

⚐ Response (200)

{
key_format: string ,
transfer_key:
{
kid: string ,
kty: string ,
key_ops:
[
string ,
]
,
n: string ,
e: string ,
x5c:
[
string ,
]
,
use: string ,
x5t: string ,
x5t#S256: string ,
alg: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
HSMSecurityDomain_Upload (new)
Description :  Restore the provided Security Domain.
Reference :  Link ¶

⚼ Request

POST:  /securitydomain/upload
{
security_domain:
{
value: string ,
}
,
}

⚐ Response (202)

{
$headers:
{
retry-after: integer ,
azure-asyncoperation: string ,
}
,
$schema:
{
status: enum ,
status_details: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
HSMSecurityDomain_UploadPending (new)
Description :  Get Security Domain upload operation status
Reference :  Link ¶

⚼ Request

GET:  /securitydomain/upload/pending
{}

⚐ Response (200)

{
status: enum ,
status_details: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetSettings (new)
Description :  Retrieves a list of all the available account settings that can be configured.
Reference :  Link ¶

⚼ Request

GET:  /settings
{
api-version: string ,
}

⚐ Response (200)

{
settings:
[
{
name: string ,
value: string ,
type: enum ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetSetting (new)
Description :  Retrieves the setting object of a specified setting name.
Reference :  Link ¶

⚼ Request

GET:  /settings/{setting-name}
{
api-version: string ,
setting-name: string ,
}

⚐ Response (200)

{
name: string ,
value: string ,
type: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateSetting (new)
Description :  Description of the pool setting to be updated
Reference :  Link ¶

⚼ Request

PATCH:  /settings/{setting-name}
{
api-version: string ,
setting-name: string ,
parameters:
{
value: string ,
}
,
}

⚐ Response (200)

{
name: string ,
value: string ,
type: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetStorageAccounts (new)
Description :  List storage accounts managed by the specified key vault. This operation requires the storage/list permission.
Reference :  Link ¶

⚼ Request

GET:  /storage
{
maxresults: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
resourceId: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedStorageAccounts (new)
Description :  The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.
Reference :  Link ¶

⚼ Request

GET:  /deletedstorage
{
maxresults: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedStorageAccount (new)
Description :  The Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.
Reference :  Link ¶

⚼ Request

GET:  /deletedstorage/{storage-account-name}
{
storage-account-name: string ,
api-version: string ,
}

⚐ Response (200)

{
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
PurgeDeletedStorageAccount (new)
Description :  The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.
Reference :  Link ¶

⚼ Request

DELETE:  /deletedstorage/{storage-account-name}
{
storage-account-name: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RecoverDeletedStorageAccount (new)
Description :  Recovers the deleted storage account in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.
Reference :  Link ¶

⚼ Request

POST:  /deletedstorage/{storage-account-name}/recover
{
storage-account-name: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
resourceId: string ,
activeKeyName: string ,
autoRegenerateKey: boolean ,
regenerationPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
BackupStorageAccount (new)
Description :  Requests that a backup of the specified storage account be downloaded to the client. This operation requires the storage/backup permission.
Reference :  Link ¶

⚼ Request

POST:  /storage/{storage-account-name}/backup
{
storage-account-name: string ,
api-version: string ,
}

⚐ Response (200)

{
value: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RestoreStorageAccount (new)
Description :  Restores a backed up storage account to a vault. This operation requires the storage/restore permission.
Reference :  Link ¶

⚼ Request

POST:  /storage/restore
{
parameters:
{
value: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
resourceId: string ,
activeKeyName: string ,
autoRegenerateKey: boolean ,
regenerationPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
DeleteStorageAccount (new)
Description :  Deletes a storage account. This operation requires the storage/delete permission.
Reference :  Link ¶

⚼ Request

DELETE:  /storage/{storage-account-name}
{
storage-account-name: string ,
api-version: string ,
}

⚐ Response (200)

{
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetStorageAccount (new)
Description :  Gets information about a specified storage account. This operation requires the storage/get permission.
Reference :  Link ¶

⚼ Request

GET:  /storage/{storage-account-name}
{
storage-account-name: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
resourceId: string ,
activeKeyName: string ,
autoRegenerateKey: boolean ,
regenerationPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
SetStorageAccount (new)
Description :  Creates or updates a new storage account. This operation requires the storage/set permission.
Reference :  Link ¶

⚼ Request

PUT:  /storage/{storage-account-name}
{
storage-account-name: string ,
parameters:
{
resourceId: string ,
activeKeyName: string ,
autoRegenerateKey: boolean ,
regenerationPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
resourceId: string ,
activeKeyName: string ,
autoRegenerateKey: boolean ,
regenerationPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateStorageAccount (new)
Description :  Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.
Reference :  Link ¶

⚼ Request

PATCH:  /storage/{storage-account-name}
{
storage-account-name: string ,
parameters:
{
activeKeyName: string ,
autoRegenerateKey: boolean ,
regenerationPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
resourceId: string ,
activeKeyName: string ,
autoRegenerateKey: boolean ,
regenerationPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RegenerateStorageAccountKey (new)
Description :  Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission.
Reference :  Link ¶

⚼ Request

POST:  /storage/{storage-account-name}/regeneratekey
{
storage-account-name: string ,
parameters:
{
keyName: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
resourceId: string ,
activeKeyName: string ,
autoRegenerateKey: boolean ,
regenerationPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetSasDefinitions (new)
Description :  List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission.
Reference :  Link ¶

⚼ Request

GET:  /storage/{storage-account-name}/sas
{
storage-account-name: string ,
maxresults: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
sid: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedSasDefinitions (new)
Description :  The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.
Reference :  Link ¶

⚼ Request

GET:  /deletedstorage/{storage-account-name}/sas
{
storage-account-name: string ,
maxresults: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetDeletedSasDefinition (new)
Description :  The Get Deleted SAS Definition operation returns the specified deleted SAS definition along with its attributes. This operation requires the storage/getsas permission.
Reference :  Link ¶

⚼ Request

GET:  /deletedstorage/{storage-account-name}/sas/{sas-definition-name}
{
storage-account-name: string ,
sas-definition-name: string ,
api-version: string ,
}

⚐ Response (200)

{
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
RecoverDeletedSasDefinition (new)
Description :  Recovers the deleted SAS definition for the specified storage account. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.
Reference :  Link ¶

⚼ Request

POST:  /deletedstorage/{storage-account-name}/sas/{sas-definition-name}/recover
{
storage-account-name: string ,
sas-definition-name: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
sid: string ,
templateUri: string ,
sasType: enum ,
validityPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
DeleteSasDefinition (new)
Description :  Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission.
Reference :  Link ¶

⚼ Request

DELETE:  /storage/{storage-account-name}/sas/{sas-definition-name}
{
storage-account-name: string ,
sas-definition-name: string ,
api-version: string ,
}

⚐ Response (200)

{
recoveryId: string ,
scheduledPurgeDate: integer ,
deletedDate: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
GetSasDefinition (new)
Description :  Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission.
Reference :  Link ¶

⚼ Request

GET:  /storage/{storage-account-name}/sas/{sas-definition-name}
{
storage-account-name: string ,
sas-definition-name: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
sid: string ,
templateUri: string ,
sasType: enum ,
validityPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
SetSasDefinition (new)
Description :  Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission.
Reference :  Link ¶

⚼ Request

PUT:  /storage/{storage-account-name}/sas/{sas-definition-name}
{
storage-account-name: string ,
sas-definition-name: string ,
parameters:
{
templateUri: string ,
sasType: enum ,
validityPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
sid: string ,
templateUri: string ,
sasType: enum ,
validityPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
innererror: string ,
}
,
}
UpdateSasDefinition (new)
Description :  Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission.
Reference :  Link ¶

⚼ Request

PATCH:  /storage/{storage-account-name}/sas/{sas-definition-name}
{
storage-account-name: string ,
sas-definition-name: string ,
parameters:
{
templateUri: string ,
sasType: enum ,
validityPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
sid: string ,
templateUri: string ,
sasType: enum ,
validityPeriod: string ,
attributes:
{
enabled: boolean ,
created: integer ,
updated: integer ,
recoverableDays: integer ,
recoveryLevel: enum ,
}
,
tags: object ,
}

⚐ Response (default)

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