Microsoft Entra · Schema
PasswordCredential
Represents a password credential (client secret) associated with an application or service principal
Access ManagementAuthenticationAzure ADEntraIdentityIdentity GovernanceMicrosoftNetwork SecuritySecurityZero Trust
Properties
| Name | Type | Description |
|---|---|---|
| keyId | string | Unique identifier for the password |
| displayName | stringnull | Friendly name for the password credential |
| hint | string | Contains the first three characters of the password (returned on read operations) |
| secretText | string | The generated password value. Only returned at creation time and cannot be retrieved later. |
| startDateTime | string | The date and time at which the password becomes valid |
| endDateTime | string | The date and time at which the password expires. Maximum lifetime varies by policy. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PasswordCredential",
"title": "PasswordCredential",
"type": "object",
"description": "Represents a password credential (client secret) associated with an application or service principal",
"properties": {
"keyId": {
"type": "string",
"format": "uuid",
"readOnly": true,
"description": "Unique identifier for the password",
"example": "500123"
},
"displayName": {
"type": [
"string",
"null"
],
"description": "Friendly name for the password credential",
"example": "example_value"
},
"hint": {
"type": "string",
"readOnly": true,
"description": "Contains the first three characters of the password (returned on read operations)",
"example": "example_value"
},
"secretText": {
"type": "string",
"readOnly": true,
"description": "The generated password value. Only returned at creation time and cannot be retrieved later.",
"example": "example_value"
},
"startDateTime": {
"type": "string",
"format": "date-time",
"description": "The date and time at which the password becomes valid",
"example": "2026-01-15T10:30:00Z"
},
"endDateTime": {
"type": "string",
"format": "date-time",
"description": "The date and time at which the password expires. Maximum lifetime varies by policy.",
"example": "2026-01-15T10:30:00Z"
}
}
}