> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# title_secret_key_changed

> title_secret_key_changed event.

This event is triggered when a title adds or updates a Secret Key

## Properties

| Name          | Type     | Description                                                                    |
| :------------ | :------- | :----------------------------------------------------------------------------- |
| Deleted       | Boolean  | Flag indicating if the key was deleted by this operation. Either true or null. |
| DeveloperId   | String   |                                                                                |
| Disabled      | Boolean  | Flag indicating if the key is disabled                                         |
| ExpiryDate    | DateTime | Optional UTC date time that the secret key will expire at.                     |
| SecretKeyId   | String   | Id of the secret key affected.                                                 |
| SecretKeyName | String   | Name of the secret key affected.                                               |
| UserId        | String   |                                                                                |

## Common Properties

All V1 PlayStream events are formatted as JSON objects and share the following common properties:

| Name           | Type                                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                      |
| :------------- | :-------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| EntityId       | String                                                                      | The identifier for the entity (title, player, etc) to which this event applies.                                                                                                                                                                                                                                                                                                                  |
| EntityType     | String                                                                      | The type of entity (player, title, etc.) to which this event applies. If PlayFab is meant to take action on this entity, then the EntityType must be either 'player', 'character', or 'title'. It is required that any entity type that PlayFab does not currently parse should be prepended with a namespace (like 'com.mygame.guild') as PlayFab may begin to parse root entities at any time. |
| EventId        | String                                                                      | PlayFab-assigned unique identifier for this event.                                                                                                                                                                                                                                                                                                                                               |
| EventName      | String                                                                      | The name of this event.                                                                                                                                                                                                                                                                                                                                                                          |
| EventNamespace | String                                                                      | The assigned namespacing for this event. For example: 'com.myprogram.ads'                                                                                                                                                                                                                                                                                                                        |
| Source         | String                                                                      | The name of the source of this PlayStream event; will be PlayFab if the event originated from us.                                                                                                                                                                                                                                                                                                |
| SourceType     | [SourceType](/services/playfab/api-references/events/data-types/sourcetype) | The type of source of this event (PlayFab partner, other backend, or from the PlayFab API).                                                                                                                                                                                                                                                                                                      |
| Timestamp      | DateTime                                                                    | The time (in UTC) associated with this event.                                                                                                                                                                                                                                                                                                                                                    |


## Related topics

- [PlayStream event model reference for PlayFab](/services/playfab/api-references/events/index.md)
- [Walkthrough: Deploy builds using PowerShell/API](/services/playfab/multiplayer/servers/quickstart-for-multiplayer-servers-api-powershell.md)
- [Deploy builds using PowerShell/API](/services/playfab/multiplayer/servers/deploy-using-powershell-api.md)
- [Quickstart on leaderboards](/services/playfab/community/leaderboards/quickstart-leaderboards.md)
- [Quickstart on statistics](/services/playfab/player-progression/statistics/quickstart-statistics.md)
