passwordCredential resource type

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

Contains a password credential associated with an application or a service principal. The passwordCredentials property of the servicePrincipal entity and of the application entity is a collection of passwordCredential.

JSON representation

Here is a JSON representation of the resource

{
  "customKeyIdentifier": "binary",
  "endDateTime": "String (timestamp)",
  "keyId": "guid",
  "startDateTime": "String (timestamp)",
  "secretText": "string",
  "hint": "string"
}

Properties

Property Type Description
customKeyIdentifier Binary
endDateTime DateTimeOffset The date and time at which the password expires.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
keyId Guid
startDateTime DateTimeOffset The date and time at which the password becomes valid.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
secretText String The passwords must be 16-64 characters in length
hint String