Microsoft Azure Certificate Profiles API

The Certificate Profiles API from Microsoft Azure, for certificate profiles.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles List certificate profiles in a signing account · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which certificate profiles are set up in my Trusted Signing account?”
“Can I see every code signing certificate profile under one account?”
Tell an agent
List certificate profiles in trusted signing account {accountName}.
Show the code signing profiles under account {accountName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName} Get a code signing certificate profile · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What are the details of a specific certificate profile?”
“Can I check the status of one code signing profile by name?”
Tell an agent
Get certificate profile {profileName} in signing account {accountName}.
Show the details of code signing profile {profileName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName} Create a code signing certificate profile · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I create a certificate profile for code signing?”
“Can I add a new certificate profile to an existing Trusted Signing account?”
Tell an agent
Create certificate profile {profileName} in signing account {accountName}.
Add a new code signing profile called {profileName} under {accountName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName} Delete a code signing certificate profile · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I delete a certificate profile I no longer sign with?”
“Is removing a code signing profile permanent?”
Tell an agent destructive · confirm first
Delete certificate profile {profileName} from signing account {accountName}.
Remove code signing profile {profileName} under {accountName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}/revokeCertificate Revoke a code signing certificate · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I revoke a compromised code signing certificate?”
“Can I backdate a certificate revocation with an effective time and reason?”
Tell an agent destructive · confirm first
Revoke cert {serialNumber} (thumbprint {thumbprint}) in profile {profileName} of {accountName}, effective {effectiveAt}, reason {reason}.
Revoke certificate {serialNumber} under profile {profileName} because {reason}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-certificate-profiles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-certificate-profiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure CodeSigningManagementClient Certificate…
  version: 2024-02-05-preview
  description: Code Signing resource provider api.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Certificate Profiles
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles
  : get:
      operationId: microsoftAzureCertificateprofilesListbycodesigningaccount
      tags:
      - Certificate Profiles
      description: List certificate profiles under a trusted signing account.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: accountName
        in: path
        description: Trusted Signing account name.
        required: true
        schema:
          type: string
          pattern: ^(?=.{3,24}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificateProfileListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List certificate profiles under a trusted signing account.:
          $ref: ./examples/CertificateProfiles_ListByCodeSigningAccount.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}
  : get:
      operationId: microsoftAzureCertificateprofilesGet
      tags:
      - Certificate Profiles
      description: Get details of a certificate profile.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: accountName
        in: path
        description: Trusted Signing account name.
        required: true
        schema:
          type: string
          pattern: ^(?=.{3,24}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: profileName
        in: path
        description: Certificate profile name.
        required: true
        schema:
          type: string
          pattern: ^(?=.{5,100}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificateProfile'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Get details of a certificate profile.:
          $ref: ./examples/CertificateProfiles_Get.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      operationId: microsoftAzureCertificateprofilesCreate
      tags:
      - Certificate Profiles
      description: Create a certificate profile.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: accountName
        in: path
        description: Trusted Signing account name.
        required: true
        schema:
          type: string
          pattern: ^(?=.{3,24}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: profileName
        in: path
        description: Certificate profile name.
        required: true
        schema:
          type: string
          pattern: ^(?=.{5,100}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      responses:
        '200':
          description: Resource 'CertificateProfile' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificateProfile'
        '201':
          description: Resource 'CertificateProfile' create operation succeeded
          headers:
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CertificateProfile'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Create a certificate profile.:
          $ref: ./examples/CertificateProfiles_Create.json
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CertificateProfile'
        description: Parameters to create the certificate profile
        required: true
    delete:
      operationId: microsoftAzureCertificateprofilesDelete
      tags:
      - Certificate Profiles
      description: Delete a certificate profile.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: accountName
        in: path
        description: Trusted Signing account name.
        required: true
        schema:
          type: string
          pattern: ^(?=.{3,24}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: profileName
        in: path
        description: Certificate profile name.
        required: true
        schema:
          type: string
          pattern: ^(?=.{5,100}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      responses:
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Delete a certificate profile.:
          $ref: ./examples/CertificateProfiles_Delete.json
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}/revokeCertificate
  : post:
      operationId: microsoftAzureCertificateprofilesRevokecertificate
      tags:
      - Certificate Profiles
      description: Revoke a certificate under a certificate profile.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: accountName
        in: path
        description: Trusted Signing account name.
        required: true
        schema:
          type: string
          pattern: ^(?=.{3,24}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: profileName
        in: path
        description: Certificate profile name.
        required: true
        schema:
          type: string
          pattern: ^(?=.{5,100}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      responses:
        '204':
          description: Action completed successfully.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Revoke a certificate under a certificate profile.:
          $ref: ./examples/CertificateProfiles_RevokeCertificate.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevokeCertificate'
        description: Parameters to revoke the certificate profile
        required: true
components:
  schemas:
    CertificateProfile:
      type: object
      description: Certificate profile resource.
      properties:
        properties:
          $ref: '#/components/schemas/CertificateProfileProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
      allOf:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
    RevocationStatus:
      type: string
      description: Revocation status of the certificate.
      enum:
      - Succeeded
      - InProgress
      - Failed
      x-ms-enum:
        name: RevocationStatus
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Certificate revocation succeeded.
        - name: InProgress
          value: InProgress
          description: Certificate revocation is in progress.
        - name: Failed
          value: Failed
          description: Certificate revocation failed.
      readOnly: true
    CertificateStatus:
      type: string
      description: Status of the certificate
      enum:
      - Active
      - Expired
      - Revoked
      x-ms-enum:
        name: CertificateStatus
        modelAsString: true
        values:
        - name: Active
          value: Active
          description: The certificate is active.
        - name: Expired
          value: Expired
          description: The certificate is expired.
        - name: Revoked
          value: Revoked
          description: The certificate is revoked.
    CertificateProfileProperties:
      type: object
      description: Properties of the certificate profile.
      properties:
        profileType:
          $ref: '#/components/schemas/ProfileType'
          description: Profile type of the certificate.
        commonName:
          type: string
          description: Used as CN in the certificate subject name.
          readOnly: true
        organization:
          type: string
          description: Used as O in the certificate subject name.
          readOnly: true
        organizationUnit:
          type: string
          description: Used as OU in the private trust certificate subject name.
          readOnly: true
        streetAddress:
          type: string
          description: Used as STREET in the certificate subject name.
          readOnly: true
        includeStreetAddress:
          type: boolean
          description: Whether to include STREET in the certificate subject name.
          default: false
        city:
          type: string
          description: Used as L in the certificate subject name.
          readOnly: true
        includeCity:
          type: boolean
          description: Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types
          default: false
        state:
          type: string
          description: Used as S in the certificate subject name.
          readOnly: true
        includeState:
          type: boolean
          description: Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types
          default: false
        country:
          type: string
          description: Used as C in the certificate subject name.
          readOnly: true
        includeCountry:
          type: boolean
          description: Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types
          default: false
        postalCode:
          type: string
          description: Used as PC in the certificate subject name.
          readOnly: true
        includePostalCode:
          type: boolean
          description: Whether to include PC in the certificate subject name.
          default: false
        enhancedKeyUsage:
          type: string
          description: Enhanced key usage of the certificate.
          readOnly: true
        identityValidationId:
          type: string
          description: Identity validation id used for the certificate subject name.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: Status of the current operation on certificate profile.
          readOnly: true
        status:
          $ref: '#/components/schemas/CertificateProfileStatus'
          description: Status of the certificate profile.
          readOnly: true
        certificates:
          type: array
          description: List of renewed certificates.
          items:
            $ref: '#/components/schemas/Certificate'
          readOnly: true
          x-ms-client-flatten: true
          x-ms-identifiers: []
      required:
      - profileType
    CertificateProfileStatus:
      type: string
      description: Status of the certificate profiles.
      enum:
      - Active
      - Disabled
      - Suspended
      x-ms-enum:
        name: CertificateProfileStatus
        modelAsString: true
        values:
        - name: Active
          value: Active
          description: The certificate profile is active.
        - name: Disabled
          value: Disabled
          description: The certificate profile is disabled.
        - name: Suspended
          value: Suspended
          description: The certificate profile is suspended.
    Certificate:
      type: object
      description: Properties of the certificate.
      properties:
        serialNumber:
          type: string
          description: Serial number of the certificate.
        subjectName:
          type: string
          description: Subject name of the certificate.
        thumbprint:
          type: string
          description: Thumbprint of the certificate.
        createdDate:
          type: string
          description: Certificate created date.
        expiryDate:
          type: string
          description: Certificate expiry date.
        status:
          $ref: '#/components/schemas/CertificateStatus'
          description: Status of the certificate.
        revocation:
          $ref: '#/components/schemas/Revocation'
          description: Revocations history of a certificate.
          x-ms-client-flatten: true
    Revocation:
      type: object
      description: Revocation details of the certificate.
      properties:
        requestedAt:
          type: string
          format: date-time
          description: The timestamp when the revocation is requested.
        effectiveAt:
          type: string
          format: date-time
          description: The timestamp when the revocation is effective.
        reason:
          type: string
          description: Reason for revocation.
        remarks:
          type: string
          description: Remarks for the revocation.
        status:
          $ref: '#/components/schemas/RevocationStatus'
          description: Status of the revocation.
        failureReason:
          type: string
          description: Reason for the revocation failure.
    ProfileType:
      type: string
      description: Type of the certificate
      enum:
      - PublicTrust
      - PrivateTrust
      - PrivateTrustCIPolicy
      - VBSEnclave
      - PublicTrustTest
      x-ms-enum:
        name: ProfileType
        modelAsString: true
        values:
        - name: PublicTrust
          value: PublicTrust
          description: Used for signing files which are distributed publicly.
        - name: PrivateTrust
          value: PrivateTrust
          description: Used for signing files which are distributed internally within organization or group boundary.
        - name: PrivateTrustCIPolicy
          value: PrivateTrustCIPolicy
          description: Used for signing CI policy files.
        - name: VBSEnclave
          value: VBSEnclave
          description: Used for signing files which are run in secure vbs enclave.
        - name: PublicTrustTest
          value: PublicTrustTest
          description: Used for signing files for testing purpose.
    ProvisioningState:
      type: string
      description: The status of the current operation.
      enum:
      - Succeeded
      - Failed
      - Canceled
      - Updating
      - Deleting
      - Accepted
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Resource has been created.
        - name: Failed
          value: Failed
          description: Resource creation failed.
        - name: Canceled
          value: Canceled
          description: Resource creation was canceled.
        - name: Updating
          value: Updating
          description: Updating in progress.
        - name: Deleting
          value: Deleting
          description: Deletion in progress.
        - name: Accepted
          value: Accepted
          description: Resource creation started.
      readOnly: true
    CertificateProfileListResult:
      type: object
      description: The response of a CertificateProfile list operation.
      properties:
        value:
          type: array
          description: The CertificateProfile items on this page
          items:
            $ref: '#/components/schemas/CertificateProfile'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    RevokeCertificate:
      type: object
      description: Defines the certificate revocation properties.
      properties:
        serialNumber:
          type: string
          description: Serial number of the certificate.
        thumbprint:
          type: string
          description: Thumbprint of the certificate.
        effectiveAt:
          type: string
          format: date-time
          description: The timestamp when the revocation is effective.
        reason:
          type: string
          description: Reason for the revocation.
        remarks:
          type: string
          description: Remarks for the revocation.
      required:
      - serialNumber
      - thumbprint
      - effectiveAt
      - reason
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.