Azure Trusted Signing (preview:2023-06-15)

2025/09/05 • 4 new methods

CertificateProfileOperations_Sign (new)
Description Submit a sign operation under the created account and profile name provided.
Reference Link ¶

⚼ Request

POST:  /codesigningaccounts/{accountName}/certificateprofiles/{certificateProfile}:sign
{
api-version: string ,
accountName: string ,
certificateProfile: string ,
client-version: string ,
x-correlation-id: string ,
body:
{
signatureAlgorithm: enum ,
digest: string ,
fileHashList:
[
string ,
]
,
authenticodeHashList:
[
string ,
]
,
}
,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
x-ms-error-code: string ,
}
,
$schema:
{
id: string ,
status: enum ,
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
result:
{
signature: string ,
signingCertificate: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
CertificateProfileOperations_GetSigningStatus (new)
Description This status operation requires that a Sign request has been submitted and the operationId is known.
Reference Link ¶

⚼ Request

GET:  /codesigningaccounts/{accountName}/certificateprofiles/{certificateProfile}/sign/{operationId}
{
api-version: string ,
accountName: string ,
certificateProfile: string ,
operationId: string ,
}

⚐ Response (200)

{
id: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
result:
{
signature: string ,
signingCertificate: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
CertificateProfileOperations_ListExtendedKeyUsages (new)
Description The list of extended key usages are used to determine the purpose of the certificate usage as part of the signing operation.
Reference Link ¶

⚼ Request

GET:  /codesigningaccounts/{accountName}/certificateprofiles/{certificateProfile}/sign/eku
{
api-version: string ,
accountName: string ,
certificateProfile: string ,
}

⚐ Response (200)

{
value:
[
{
eku: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
CertificateProfileOperations_GetSignRootCertificate (new)
Description The root certificate is generated as part of the initial account creation and it is used to sign the bits for the profile provided.
Reference Link ¶

⚼ Request

GET:  /codesigningaccounts/{accountName}/certificateprofiles/{certificateProfile}/sign/rootcert
{
api-version: string ,
accountName: string ,
certificateProfile: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}