Microsoft Azure · Schema

JsonWebKey

JSON Web Key (JWK) representation of a key.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
kid string Key identifier.
kty string Key type (e.g., RSA, EC, oct, oct-HSM).
key_ops array Allowed key operations.
n string RSA modulus.
e string RSA public exponent.
d string RSA private exponent.
dp string RSA private key parameter.
dq string RSA private key parameter.
qi string RSA private key parameter.
p string RSA secret prime.
q string RSA secret prime.
k string Symmetric key.
crv string Elliptic curve name.
x string X component of an EC public key.
y string Y component of an EC public key.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-jsonwebkey-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JsonWebKey",
  "title": "JsonWebKey",
  "type": "object",
  "description": "JSON Web Key (JWK) representation of a key.",
  "properties": {
    "kid": {
      "type": "string",
      "description": "Key identifier.",
      "example": "500123"
    },
    "kty": {
      "type": "string",
      "description": "Key type (e.g., RSA, EC, oct, oct-HSM).",
      "enum": [
        "EC",
        "EC-HSM",
        "RSA",
        "RSA-HSM",
        "oct",
        "oct-HSM"
      ],
      "example": "EC"
    },
    "key_ops": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "encrypt",
          "decrypt",
          "sign",
          "verify",
          "wrapKey",
          "unwrapKey",
          "import",
          "export"
        ]
      },
      "description": "Allowed key operations.",
      "example": []
    },
    "n": {
      "type": "string",
      "description": "RSA modulus.",
      "example": "example_value"
    },
    "e": {
      "type": "string",
      "description": "RSA public exponent.",
      "example": "example_value"
    },
    "d": {
      "type": "string",
      "description": "RSA private exponent.",
      "example": "example_value"
    },
    "dp": {
      "type": "string",
      "description": "RSA private key parameter.",
      "example": "example_value"
    },
    "dq": {
      "type": "string",
      "description": "RSA private key parameter.",
      "example": "example_value"
    },
    "qi": {
      "type": "string",
      "description": "RSA private key parameter.",
      "example": "example_value"
    },
    "p": {
      "type": "string",
      "description": "RSA secret prime.",
      "example": "example_value"
    },
    "q": {
      "type": "string",
      "description": "RSA secret prime.",
      "example": "example_value"
    },
    "k": {
      "type": "string",
      "description": "Symmetric key.",
      "example": "example_value"
    },
    "crv": {
      "type": "string",
      "description": "Elliptic curve name.",
      "enum": [
        "P-256",
        "P-384",
        "P-521",
        "P-256K"
      ],
      "example": "P-256"
    },
    "x": {
      "type": "string",
      "description": "X component of an EC public key.",
      "example": "example_value"
    },
    "y": {
      "type": "string",
      "description": "Y component of an EC public key.",
      "example": "example_value"
    }
  }
}