passwordCredential resource type
Namespace: microsoft.graph
Represents a password credential associated with an application or a service principal. The passwordCredentials property of the application entity is a collection of passwordCredential objects.
Important
Using POST or PATCH to set the passwordCredential property is not supported. Use the following addPassword and removePassword methods to update the password or secret for an application or a servicePrincipal:
Properties
Property | Type | Description |
---|---|---|
customKeyIdentifier | Binary | Do not use. |
displayName | String | Friendly name for the password. Optional. |
endDateTime | DateTimeOffset | The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z . Optional. |
hint | String | Contains the first three characters of the password. Read-only. |
keyId | Guid | The unique identifier for the password. |
secretText | String | Read-only; Contains the strong passwords generated by Microsoft Entra ID that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future. |
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 is 2014-01-01T00:00:00Z . Optional. |
JSON representation
The following is a JSON representation of the resource.
{
"customKeyIdentifier": "Binary",
"displayName": "String",
"endDateTime": "String (timestamp)",
"hint": "String",
"keyId": "Guid",
"secretText": "String",
"startDateTime": "String (timestamp)"
}
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기