key/aziot-keyd/openapi/2020-09-01.yaml [194:270]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    post:
      operationId: 'sign'
      summary: 'Signs the given message with the given key.'
      requestBody:
        content:
          'application/json':
            schema:
              $ref: '#/components/schemas/SignRequest'
        required: true
      responses:
        '200':
          description: 'HTTP 200 response'
          content:
            'application/json':
              schema:
                $ref: '#/components/schemas/SignResponse'


components:
  schemas:
    'KeyHandle':
      type: 'string'

    'KeyHandleResponse':
      type: 'object'
      properties:
        'keyHandle':
          $ref: '#/components/schemas/KeyHandle'
      required:
      - 'keyHandle'

    'CreateDerivedKeyRequest':
      type: 'object'
      properties:
        'baseKeyHandle':
          $ref: '#/components/schemas/KeyHandle'
        'derivationData':
          type: 'string'
          format: 'byte'
      required:
      - 'baseKeyHandle'
      - 'derivationData'

    'CreateKeyIfNotExistsRequest':
      oneOf:
      - type: 'object'
        properties:
          'keyId':
            type: 'string'
          'usage':
            type: 'string'
        required:
        - 'keyId'
        - 'usage'
      - type: 'object'
        properties:
          'keyId':
            type: 'string'
          'keyBytes':
            type: 'string'
            format: 'byte'
          'usage':
            type: 'string'
        required:
        - 'keyId'
        - 'keyBytes'
        - 'usage'

    'CreateKeyPairIfNotExistsRequest':
      type: 'object'
      properties:
        'keyId':
          type: 'string'
        'preferredAlgorithms':
          type: 'string'
      required:
      - 'keyId'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



key/aziot-keyd/openapi/2021-05-01.yaml [230:306]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    post:
      operationId: 'sign'
      summary: 'Signs the given message with the given key.'
      requestBody:
        content:
          'application/json':
            schema:
              $ref: '#/components/schemas/SignRequest'
        required: true
      responses:
        '200':
          description: 'HTTP 200 response'
          content:
            'application/json':
              schema:
                $ref: '#/components/schemas/SignResponse'


components:
  schemas:
    'KeyHandle':
      type: 'string'

    'KeyHandleResponse':
      type: 'object'
      properties:
        'keyHandle':
          $ref: '#/components/schemas/KeyHandle'
      required:
      - 'keyHandle'

    'CreateDerivedKeyRequest':
      type: 'object'
      properties:
        'baseKeyHandle':
          $ref: '#/components/schemas/KeyHandle'
        'derivationData':
          type: 'string'
          format: 'byte'
      required:
      - 'baseKeyHandle'
      - 'derivationData'

    'CreateKeyIfNotExistsRequest':
      oneOf:
      - type: 'object'
        properties:
          'keyId':
            type: 'string'
          'usage':
            type: 'string'
        required:
        - 'keyId'
        - 'usage'
      - type: 'object'
        properties:
          'keyId':
            type: 'string'
          'keyBytes':
            type: 'string'
            format: 'byte'
          'usage':
            type: 'string'
        required:
        - 'keyId'
        - 'keyBytes'
        - 'usage'

    'CreateKeyPairIfNotExistsRequest':
      type: 'object'
      properties:
        'keyId':
          type: 'string'
        'preferredAlgorithms':
          type: 'string'
      required:
      - 'keyId'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



