Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,317 @@
{
"swagger": "2.0",
"info": {
"version": "2018-01-01",
"title": "Schema of Azure Key Vault events published to Azure Event Grid",
"description": "Describes the schema of the Azure Key Vault events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
},
"paths": {},
"definitions": {
"KeyVaultCertificateNewVersionCreatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an CertificateNewVersionCreated event.",
"type": "object",
"properties": {
"id": {
"description": "The id of the object that triggered this event.",
"type": "string"
},
"vaultName": {
"description": "Key vault name of the object that triggered this event.",
"type": "string"
},
"objectType": {
"description": "The type of the object that triggered this event",
"type": "string"
},
"objectName": {
"description": "The name of the object that triggered this event",
"type": "string"
},
"version": {
"description": "The version of the object that triggered this event",
"type": "string"
},
"nbf": {
"description": "Not before date of the object that triggered this event",
"type": "number"
},
"exp": {
"description": "The expiration date of the object that triggered this event",
"type": "number"
}
}
},
"KeyVaultCertificateNearExpiryEventData": {
"description": "Schema of the Data property of an EventGridEvent for an CertificateNearExpiry event.",
"type": "object",
"properties": {
"id": {
"description": "The id of the object that triggered this event.",
"type": "string"
},
"vaultName": {
"description": "Key vault name of the object that triggered this event.",
"type": "string"
},
"objectType": {
"description": "The type of the object that triggered this event",
"type": "string"
},
"objectName": {
"description": "The name of the object that triggered this event",
"type": "string"
},
"version": {
"description": "The version of the object that triggered this event",
"type": "string"
},
"nbf": {
"description": "Not before date of the object that triggered this event",
"type": "number"
},
"exp": {
"description": "The expiration date of the object that triggered this event",
"type": "number"
}
}
},
"KeyVaultCertificateExpiredEventData": {
"description": "Schema of the Data property of an EventGridEvent for an CertificateExpired event.",
"type": "object",
"properties": {
"id": {
"description": "The id of the object that triggered this event.",
"type": "string"
},
"vaultName": {
"description": "Key vault name of the object that triggered this event.",
"type": "string"
},
"objectType": {
"description": "The type of the object that triggered this event",
"type": "string"
},
"objectName": {
"description": "The name of the object that triggered this event",
"type": "string"
},
"version": {
"description": "The version of the object that triggered this event",
"type": "string"
},
"nbf": {
"description": "Not before date of the object that triggered this event",
"type": "number"
},
"exp": {
"description": "The expiration date of the object that triggered this event",
"type": "number"
}
}
},
"KeyVaultKeyNewVersionCreatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an KeyNewVersionCreated event.",
"type": "object",
"properties": {
"id": {
"description": "The id of the object that triggered this event.",
"type": "string"
},
"vaultName": {
"description": "Key vault name of the object that triggered this event.",
"type": "string"
},
"objectType": {
"description": "The type of the object that triggered this event",
"type": "string"
},
"objectName": {
"description": "The name of the object that triggered this event",
"type": "string"
},
"version": {
"description": "The version of the object that triggered this event",
"type": "string"
},
"nbf": {
"description": "Not before date of the object that triggered this event",
"type": "number"
},
"exp": {
"description": "The expiration date of the object that triggered this event",
"type": "number"
}
}
},
"KeyVaultKeyNearExpiryEventData": {
"description": "Schema of the Data property of an EventGridEvent for an KeyNearExpiry event.",
"type": "object",
"properties": {
"id": {
"description": "The id of the object that triggered this event.",
"type": "string"
},
"vaultName": {
"description": "Key vault name of the object that triggered this event.",
"type": "string"
},
"objectType": {
"description": "The type of the object that triggered this event",
"type": "string"
},
"objectName": {
"description": "The name of the object that triggered this event",
"type": "string"
},
"version": {
"description": "The version of the object that triggered this event",
"type": "string"
},
"nbf": {
"description": "Not before date of the object that triggered this event",
"type": "number"
},
"exp": {
"description": "The expiration date of the object that triggered this event",
"type": "number"
}
}
},
"KeyVaultKeyExpiredEventData": {
"description": "Schema of the Data property of an EventGridEvent for an KeyExpired event.",
"type": "object",
"properties": {
"id": {
"description": "The id of the object that triggered this event.",
"type": "string"
},
"vaultName": {
"description": "Key vault name of the object that triggered this event.",
"type": "string"
},
"objectType": {
"description": "The type of the object that triggered this event",
"type": "string"
},
"objectName": {
"description": "The name of the object that triggered this event",
"type": "string"
},
"version": {
"description": "The version of the object that triggered this event",
"type": "string"
},
"nbf": {
"description": "Not before date of the object that triggered this event",
"type": "number"
},
"exp": {
"description": "The expiration date of the object that triggered this event",
"type": "number"
}
}
},
"KeyVaultSecretNewVersionCreatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an SecretNewVersionCreated event.",
"type": "object",
"properties": {
"id": {
"description": "The id of the object that triggered this event.",
"type": "string"
},
"vaultName": {
"description": "Key vault name of the object that triggered this event.",
"type": "string"
},
"objectType": {
"description": "The type of the object that triggered this event",
"type": "string"
},
"objectName": {
"description": "The name of the object that triggered this event",
"type": "string"
},
"version": {
"description": "The version of the object that triggered this event",
"type": "string"
},
"nbf": {
"description": "Not before date of the object that triggered this event",
"type": "number"
},
"exp": {
"description": "The expiration date of the object that triggered this event",
"type": "number"
}
}
},
"KeyVaultSecretNearExpiryEventData": {
"description": "Schema of the Data property of an EventGridEvent for an SecretNearExpiry event.",
"type": "object",
"properties": {
"id": {
"description": "The id of the object that triggered this event.",
"type": "string"
},
"vaultName": {
"description": "Key vault name of the object that triggered this event.",
"type": "string"
},
"objectType": {
"description": "The type of the object that triggered this event",
"type": "string"
},
"objectName": {
"description": "The name of the object that triggered this event",
"type": "string"
},
"version": {
"description": "The version of the object that triggered this event",
"type": "string"
},
"nbf": {
"description": "Not before date of the object that triggered this event",
"type": "number"
},
"exp": {
"description": "The expiration date of the object that triggered this event",
"type": "number"
}
}
},
"KeyVaultSecretExpiredEventData": {
"description": "Schema of the Data property of an EventGridEvent for an SecretExpired event.",
"type": "object",
"properties": {
"id": {
"description": "The id of the object that triggered this event.",
"type": "string"
},
"vaultName": {
"description": "Key vault name of the object that triggered this event.",
"type": "string"
},
"objectType": {
"description": "The type of the object that triggered this event",
"type": "string"
},
"objectName": {
"description": "The name of the object that triggered this event",
"type": "string"
},
"version": {
"description": "The version of the object that triggered this event",
"type": "string"
},
"nbf": {
"description": "Not before date of the object that triggered this event",
"type": "number"
},
"exp": {
"description": "The expiration date of the object that triggered this event",
"type": "number"
}
}
}
}
}
3 changes: 2 additions & 1 deletion specification/eventgrid/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ input-file:
- Microsoft.Maps/stable/2018-01-01/Maps.json
- Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
- Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
- Microsoft.KeyVault/stable/2018-01-01/KeyVault.json
```

---
Expand Down Expand Up @@ -133,7 +134,7 @@ input-file:
- $(this-folder)/Microsoft.Maps/stable/2018-01-01/Maps.json
- $(this-folder)/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
- $(this-folder)/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json

- $(this-folder)/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json
```

If there are files that should not be in the `all-api-versions` set,
Expand Down