編輯

共用方式為


selfSignedCertificate resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Contains the public part of a signing certificate. It's the return type of the action addTokenSigningCertificate. Service providers use the public part of the signing certificate to validate the issuer of the token.

Properties

Property Type Description
customKeyIdentifier Binary Custom key identifier.
displayName String The friendly name for the key.
endDateTime DateTimeOffset The date and time at which the credential 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 is 2014-01-01T00:00:00Z.
keyId Guid The unique identifier (GUID) for the key.
startDateTime DateTimeOffset The date and time at which the credential 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.
type String The type of key credential. "AsymmetricX509Cert".
usage String A string that describes the purpose for which the key can be used. For example, "Verify".
key Binary The value for the key credential. Should be a base-64 encoded value.
thumbprint String The thumbprint value for the key.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.selfSignedCertificate",
  "customKeyIdentifier": "String (Binary)",
  "displayName": "String",
  "endDateTime": "String (timestamp)",
  "key": "String (Binary)",
  "keyId": "Guid",
  "startDateTime": "String (timestamp)",
  "thumbprint": "String",
  "type": "String",
  "usage": "String"
}