{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-event-hubs/json-schema/microsoft-azure-event-hubs-access-keys-schema.json",
  "title": "AccessKeys",
  "description": "Namespace/EventHub Connection String.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-event-hubs-authorization-rules-api-openapi.yml#/components/schemas/AccessKeys",
  "type": "object",
  "properties": {
    "primaryConnectionString": {
      "type": "string",
      "readOnly": true,
      "description": "Primary connection string of the created namespace AuthorizationRule."
    },
    "secondaryConnectionString": {
      "type": "string",
      "readOnly": true,
      "description": "Secondary connection string of the created namespace AuthorizationRule."
    },
    "aliasPrimaryConnectionString": {
      "type": "string",
      "readOnly": true,
      "description": "Primary connection string of the alias if GEO DR is enabled."
    },
    "aliasSecondaryConnectionString": {
      "type": "string",
      "readOnly": true,
      "description": "Secondary connection string of the alias if GEO DR is enabled."
    },
    "primaryKey": {
      "type": "string",
      "readOnly": true,
      "description": "A base64-encoded 256-bit primary key for signing and validating the SAS token."
    },
    "secondaryKey": {
      "type": "string",
      "readOnly": true,
      "description": "A base64-encoded 256-bit secondary key for signing and validating the SAS token."
    },
    "keyName": {
      "type": "string",
      "readOnly": true,
      "description": "A string that describes the AuthorizationRule."
    }
  }
}