Description | : Retrieves the Security Domain from the managed HSM. Calling this endpoint can be used to activate a provisioned managed HSM resource. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "HSMSecurityDomain_Download", "$parameters": [ { "#name": "api-version", "Description": { "new": "The API version to use for this operation.", "old": "Client API version." } }, { "@added_1c326e9c9c444d029fddd508b0d632aa": { "#name": "certificateInfoObject", "Description": "The Security Domain download operation requires customer to provide N certificates (minimum 3 and maximum 10) containing a public key in JWK format.", "Required": true, "$schema": { "Description": "The Security Domain download operation requires customer to provide N certificates (minimum 3 and maximum 10) containing a public key in JWK format.", "Type": "object", "$properties": [ { "#name": "certificates", "Description": "Certificates needed from customer.", "Required": true, "Type": "array", "$items": { "Description": "A JSON Web Key (JWK) for use in a security domain operation.", "Type": "object", "$properties": [ { "#name": "kid", "Description": "Key identifier.", "Required": true, "Type": "string" }, { "#name": "kty", "Description": "JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. For Security Domain this value must be RSA.", "Required": true, "Type": "string" }, { "#name": "key_ops", "Description": "Supported key operations.", "Required": true, "Type": "array", "$items": { "Type": "string" } }, { "#name": "n", "Description": "RSA modulus.", "Required": true, "Type": "string" }, { "#name": "e", "Description": "RSA public exponent.", "Required": true, "Type": "string" }, { "#name": "x5c", "Description": "X509 certificate chain parameter.", "Required": true, "Type": "array", "$items": { "Type": "string" } }, { "#name": "use", "Description": "Public Key Use Parameter. This is optional and if present must be enc.", "Required": false, "Type": "string" }, { "#name": "x5t", "Description": "X509 certificate SHA1 thumbprint. This is optional.", "Required": false, "Type": "string" }, { "#name": "x5t#S256", "Description": "X509 certificate SHA256 thumbprint.", "Required": true, "Type": "string" }, { "#name": "alg", "Description": "Algorithm intended for use with the key.", "Required": true, "Type": "string" } ] } }, { "#name": "required", "Description": "Customer to specify the number of certificates (minimum 2 and maximum 10) to restore Security Domain.", "Format": "int32", "Required": false, "Type": "integer" } ] } } }, { "@removed_6dc8611464704fa78459db47a49134f6": { "#name": "CertificateInfoObject", "Description": "The Security Domain download operation requires customer to provide N certificates (minimum 3 and maximum 10) containing a public key in JWK format.", "Required": true, "$schema": { "Type": "object", "$properties": [ { "#name": "certificates", "Description": "Certificates needed from customer", "Required": true, "Type": "array", "$items": { "Type": "object", "$properties": [ { "#name": "kid", "Description": "Key identifier.", "Required": true, "Type": "string" }, { "#name": "kty", "Description": "JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. For Security Domain this value must be RSA.", "Required": true, "Type": "string" }, { "#name": "key_ops", "Required": true, "Type": "array", "$items": { "Description": "Supported key operations.", "Type": "string" } }, { "#name": "n", "Description": "RSA modulus.", "Required": true, "Type": "string" }, { "#name": "e", "Description": "RSA public exponent.", "Required": true, "Type": "string" }, { "#name": "x5c", "Description": "X509 certificate chain parameter", "Required": true, "Type": "array", "$items": { "Type": "string" } }, { "#name": "use", "Description": "Public Key Use Parameter. This is optional and if present must be enc.", "Required": false, "Type": "string" }, { "#name": "x5t", "Description": "X509 certificate SHA1 thumbprint. This is optional.", "Required": false, "Type": "string" }, { "#name": "x5t#S256", "Description": "X509 certificate SHA256 thumbprint.", "Required": true, "Type": "string" }, { "#name": "alg", "Description": "Algorithm intended for use with the key.", "Required": true, "Type": "string" } ] } }, { "#name": "required", "Description": "Customer to specify the number of certificates (minimum 2 and maximum 10) to restore Security Domain", "Required": false, "Type": "integer" } ] } } } ] }
⚼ Request
POST:
/securitydomain/download
{
api-version:
string
,
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
,
}
⚐ Response (202)
{
$headers:
{
,
azure-asyncoperation:
string
,
retry-after:
integer
,
}
$schema:
}
{
,
value:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
innererror:
string
,
}