| title | credential resource type |
|---|---|
| description | Indicates a single credential used for sign-in to an application. |
| ms.localizationpriority | medium |
| author | Jackson-Woods |
| ms.subservice | entra-sign-in |
| doc_type | resourcePageType |
| ms.date | 07/22/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Indicates a single credential used for sign-in to an application. For example, username is one credential, password is another credential.
| Property | Type | Description |
|---|---|---|
| fieldId | String | The name of the field for this credential. e.g, username or password or phoneNumber. This is defined by the application. Must match what is in the html field on singleSignOnSettings/password object. |
| type | String | The type for this credential. Valid values: username, password, or other. |
| value | String | The value for this credential. e.g, mysuperhiddenpassword. Note the value for passwords is write-only, the value can never be read back. |
None.
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.credential",
"fieldId": "param_username",
"value": "myusername",
"type": "username"
}