{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-access-information-secrets-contract-schema.json",
  "title": "AccessInformationSecretsContract",
  "description": "Tenant access information contract of the API Management service.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-api-management-tenantaccess-api-openapi.yml#/components/schemas/AccessInformationSecretsContract",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Access Information type ('access' or 'gitAccess')"
    },
    "principalId": {
      "type": "string",
      "description": "Principal (User) Identifier."
    },
    "primaryKey": {
      "type": "string",
      "x-ms-secret": true,
      "description": "Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value."
    },
    "secondaryKey": {
      "type": "string",
      "x-ms-secret": true,
      "description": "Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value."
    },
    "enabled": {
      "type": "boolean",
      "description": "Determines whether direct access is enabled."
    }
  }
}