Azure Key Vault Securitydomain API

The Securitydomain API from Azure Key Vault — 4 operation(s) for securitydomain.

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

POST /securitydomain/download Download the managed HSM security domain · HSM security domain download #
Ask an LLM
“How do I retrieve the security domain from my managed HSM?”
“Can I download the HSM security domain with my own certificates?”
Tell an agent
Download the managed HSM security domain using certificates {certificates}.
Get the security domain from my managed HSM with {required} certificates.
GET /securitydomain/download/pending Check the security domain download status · HSM security domain download pending #
Ask an LLM
“Is my managed HSM security domain download still pending?”
“What is the status of the HSM security domain download operation?”
Tell an agent
Check the pending security domain download status.
Show whether the managed HSM security domain download has finished.
GET /securitydomain/upload Get the security domain transfer key · HSM security domain transfer key #
Ask an LLM
“Where do I get the transfer key for my managed HSM security domain?”
“What do I need to upload a security domain to my HSM?”
Tell an agent
Retrieve the security domain transfer key.
Get the key needed to upload a security domain to my managed HSM.
POST /securitydomain/upload Restore the security domain to the HSM · HSM security domain upload #
Ask an LLM
“How do I restore a security domain back into my managed HSM?”
“Can I upload a security domain to an HSM?”
Tell an agent
Restore security domain {value} into my managed HSM.
Upload the security domain {value} to the HSM.
GET /securitydomain/upload/pending Check the security domain upload status · HSM security domain upload pending #
Ask an LLM
“Is my managed HSM security domain upload still pending?”
“Has the security domain upload to my HSM finished?”
Tell an agent
Check the pending security domain upload status.
Show whether the managed HSM security domain upload has completed.

Documentation

Specifications

Schemas & Data

Other Resources

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-key-vault:microsoft-azure-key-vault-securitydomain-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-key-vault-securitydomain-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KeyVaultClient Securitydomain API
  version: '7.6'
  description: The key vault client performs cryptographic key operations and vault operations against the Key Vault service.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
security:
- OAuth2Auth:
  - https://vault.azure.net/.default
tags:
- name: Securitydomain
paths:
  /securitydomain/download:
    post:
      operationId: HSMSecurityDomain_Download
      description: Retrieves the Security Domain from the managed HSM. Calling this endpoint can be used to activate a provisioned managed HSM resource.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      responses:
        '202':
          description: The request has been accepted for processing, but processing has not yet completed.
          headers:
            Azure-AsyncOperation:
              description: The URI to poll for completion status.
              schema:
                type: string
            Retry-After:
              description: The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityDomainObject'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyVaultError'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/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
      tags:
      - Securitydomain
      summary: HSM security domain download
      x-summary-source: derived
  /securitydomain/download/pending:
    get:
      operationId: HSMSecurityDomain_DownloadPending
      description: Retrieves the Security Domain download operation status
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityDomainOperationStatus'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyVaultError'
      tags:
      - Securitydomain
      summary: HSM security domain download pending
      x-summary-source: derived
  /securitydomain/upload:
    get:
      operationId: HSMSecurityDomain_TransferKey
      description: Retrieve Security Domain transfer key
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferKey'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyVaultError'
      tags:
      - Securitydomain
      summary: HSM security domain transfer key
      x-summary-source: derived
    post:
      operationId: HSMSecurityDomain_Upload
      description: Restore the provided Security Domain.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      responses:
        '202':
          description: The request has been accepted for processing, but processing has not yet completed.
          headers:
            Azure-AsyncOperation:
              description: The URI to poll for completion status.
              schema:
                type: string
            Retry-After:
              description: The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityDomainOperationStatus'
        '204':
          description: 'There is no content to send for this request, but the headers may be useful. '
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyVaultError'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SecurityDomainObject'
        description: The Security Domain to be restored.
        required: true
      tags:
      - Securitydomain
      summary: HSM security domain upload
      x-summary-source: derived
  /securitydomain/upload/pending:
    get:
      operationId: HSMSecurityDomain_UploadPending
      description: Get Security Domain upload operation status
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityDomainOperationStatus'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyVaultError'
      tags:
      - Securitydomain
      summary: HSM security domain upload pending
      x-summary-source: derived
components:
  schemas:
    Error:
      type:
      - object
      - 'null'
      properties:
        code:
          type: string
          description: The error code.
          readOnly: true
        message:
          type: string
          description: The error message.
          readOnly: true
        innererror:
          $ref: '#/components/schemas/Error'
          description: The key vault server error.
          readOnly: true
          x-ms-client-name: innerError
    KeyVaultError:
      type: object
      description: The key vault error exception.
      properties:
        error:
          $ref: '#/components/schemas/Error'
          description: The key vault server error.
          readOnly: true
    CertificateInfoObject:
      type: object
      description: The Security Domain download operation requires customer to provide N certificates (minimum 3 and maximum 10) containing a public key in JWK format.
      properties:
        certificates:
          type: array
          description: Certificates needed from customer.
          minItems: 3
          maxItems: 10
          items:
            $ref: '#/components/schemas/SecurityDomainJsonWebKey'
        required:
          type: integer
          format: int32
          description: Customer to specify the number of certificates (minimum 2 and maximum 10) to restore Security Domain.
          default: 2
          minimum: 2
          maximum: 10
      required:
      - certificates
    OperationStatus:
      type: string
      description: Operation status.
      enum:
      - Success
      - InProgress
      - Failed
      x-ms-enum:
        name: OperationStatus
        modelAsString: true
        values:
        - name: Success
          value: Success
          description: The operation succeeded.
        - name: InProgress
          value: InProgress
          description: The operation is in progress.
        - name: Failed
          value: Failed
          description: The operation failed.
    SecurityDomainOperationStatus:
      type: object
      description: The Security Domain operation status.
      properties:
        status:
          $ref: '#/components/schemas/OperationStatus'
          description: Operation status.
        status_details:
          type: string
          description: Details of the operation status.
    TransferKey:
      type: object
      description: Security Domain transfer key.
      properties:
        key_format:
          type: string
          description: Specifies the format of the transfer key.
          default: jwk
        transfer_key:
          $ref: '#/components/schemas/SecurityDomainJsonWebKey'
          description: Specifies the transfer key in JWK format.
      required:
      - transfer_key
    SecurityDomainJsonWebKey:
      type: object
      description: A JSON Web Key (JWK) for use in a security domain operation.
      properties:
        kid:
          type: string
          description: Key identifier.
        kty:
          type: string
          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.
        key_ops:
          type: array
          description: Supported key operations.
          items:
            type: string
        n:
          type: string
          description: RSA modulus.
        e:
          type: string
          description: RSA public exponent.
        x5c:
          type: array
          description: X509 certificate chain parameter.
          items:
            type: string
        use:
          type: string
          description: Public Key Use Parameter. This is optional and if present must be enc.
        x5t:
          type: string
          description: X509 certificate SHA1 thumbprint. This is optional.
        x5t#S256:
          type: string
          description: X509 certificate SHA256 thumbprint.
        alg:
          type: string
          description: Algorithm intended for use with the key.
      required:
      - kid
      - kty
      - key_ops
      - n
      - e
      - x5c
      - x5t#S256
      - alg
    SecurityDomainObject:
      type: object
      description: The Security Domain.
      properties:
        value:
          type: string
          description: The Security Domain.
      required:
      - value
  parameters:
    Azure.Core.Foundations.ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      x-ms-parameter-location: method
      x-ms-client-name: apiVersion
      schema:
        type: string
        minLength: 1
  securitySchemes:
    OAuth2Auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            https://vault.azure.net/.default: ''
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
x-ms-parameterized-host:
  hostTemplate: '{vaultBaseUrl}'
  useSchemePrefix: false
  parameters:
  - name: vaultBaseUrl
    in: path
    required: true
    type: string
    format: uri
    x-ms-skip-url-encoding: true